[Paper Review] Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Models
This paper introduces Adversarial GLUE (AdvGLUE), a high-quality, multi-task benchmark derived by applying 14 textual adversarial attack methods to GLUE tasks, with human-validated annotations. The key contribution is the discovery that most existing attacks produce semantically distorted examples, and that even robust models perform poorly on AdvGLUE, revealing critical robustness gaps in state-of-the-art language models.
Large-scale pre-trained language models have achieved tremendous success across a wide range of natural language understanding (NLU) tasks, even surpassing human performance. However, recent studies reveal that the robustness of these models can be challenged by carefully crafted textual adversarial examples. While several individual datasets have been proposed to evaluate model robustness, a principled and comprehensive benchmark is still missing. In this paper, we present Adversarial GLUE (AdvGLUE), a new multi-task benchmark to quantitatively and thoroughly explore and evaluate the vulnerabilities of modern large-scale language models under various types of adversarial attacks. In particular, we systematically apply 14 textual adversarial attack methods to GLUE tasks to construct AdvGLUE, which is further validated by humans for reliable annotations. Our findings are summarized as follows. (i) Most existing adversarial attack algorithms are prone to generating invalid or ambiguous adversarial examples, with around 90% of them either changing the original semantic meanings or misleading human annotators as well. Therefore, we perform a careful filtering process to curate a high-quality benchmark. (ii) All the language models and robust training methods we tested perform poorly on AdvGLUE, with scores lagging far behind the benign accuracy. We hope our work will motivate the development of new adversarial attacks that are more stealthy and semantic-preserving, as well as new robust language models against sophisticated adversarial attacks. AdvGLUE is available at https://adversarialglue.github.io.
Motivation & Objective
- To address the lack of a principled, comprehensive benchmark for evaluating the robustness of large-scale language models against textual adversarial attacks.
- To systematically apply 14 adversarial attack methods to GLUE tasks to generate a diverse and representative benchmark.
- To filter adversarial examples through human evaluation to ensure semantic fidelity and avoid misleading or invalid examples.
- To expose the vulnerability of current language models and robust training methods under realistic, high-quality adversarial examples.
- To motivate the development of more stealthy, semantic-preserving attacks and more robust language models in response.
Proposed method
- Applying 14 distinct textual adversarial attack methods to all tasks in the GLUE benchmark to generate adversarial examples.
- Implementing a rigorous filtering pipeline that removes adversarial examples judged as semantically altered or ambiguous by human annotators.
- Validating the final adversarial examples through human annotation to ensure high-quality, reliable, and meaningful perturbations.
- Constructing a multi-task benchmark (AdvGLUE) that preserves the original task distribution and evaluation protocols of GLUE.
- Evaluating multiple pre-trained and robustly fine-tuned language models on AdvGLUE to measure performance degradation under adversarial conditions.
- Using human evaluation to assess both the semantic similarity of adversarial examples to originals and their potential to mislead annotators.
Experimental results
Research questions
- RQ1To what extent do existing adversarial attack methods generate adversarial examples that preserve the original meaning and are not misleading to humans?
- RQ2How do state-of-the-art language models perform on a high-quality, human-validated adversarial benchmark compared to their performance on standard GLUE tasks?
- RQ3What is the gap between benign accuracy and robustness on AdvGLUE across different model architectures and robust training methods?
- RQ4How do semantic perturbations affect model performance, and what does this reveal about current model vulnerabilities?
- RQ5Can a multi-task, human-validated benchmark like AdvGLUE serve as a reliable standard for evaluating and improving model robustness?
Key findings
- Approximately 90% of adversarial examples generated by existing attack methods alter the original semantic meaning or mislead human annotators, indicating poor quality in current attack methods.
- After human filtering, the resulting AdvGLUE benchmark contains only high-quality, semantically faithful adversarial examples, ensuring reliable evaluation.
- All evaluated language models, including those fine-tuned with robust training techniques, show significantly lower performance on AdvGLUE compared to their benign GLUE accuracy.
- The performance gap on AdvGLUE is substantial, indicating that current robustness methods are insufficient against well-crafted, semantic-preserving adversarial examples.
- The results highlight a critical need for new adversarial attack methods that are more stealthy and preserve semantics, as well as improved robust training strategies.
- AdvGLUE is publicly available at https://adversarialglue.github.io to support future research in model robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.