Linguistic Constraints and Posterior Regularization Improve the Robustness of Reading Comprehension Models Such as BERTRobust Reading Comprehension with Linguistic Constraints via Posterior Regularization
AI summary
Combining linguistic constraints with posterior regularization can simultaneously alleviate overconfidence and oversensitivity in reading comprehension models and improve their robustness to adversarial examples. The method introduces three types of linguistic constraints—entity, lexical, and predicate—and then injects the constraints into existing neural reading comprehension models through posterior regularization. It can be applied to models including BERT; experiments show that the robustness of the base models improves markedly, and that it can simultaneously handle adversarial examples that are semantically different and semantically equivalent.