InfoBERT: Improving Language Model Robustness from an Information-Theoretic PerspectiveInfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective
Addressing the problem that BERT-like models are vulnerable to textual adversarial attacks, researchers propose InfoBERT, a learning framework for robust fine-tuning of pretrained language models, and the authors claim it achieves the best robust accuracy on multiple adversarial datasets for NLI and QA tasks. The framework contains two mutual-information-based regularizers: the information bottleneck regularizer suppresses noisy mutual information between the input and the feature representation, and the robust feature regularizer enhances mutual information between local robust features and global features. The paper also provides methods for theoretically analyzing and improving the robustness of language model representation learning in standard training and adversarial training, and the code is open-sourced on GitHub (https://github.com/AI-secure/InfoBERT)。