A Curious Case of Searching for the Correlation between Training Data and Adversarial Robustness of Transformer Textual Models
Not on the map. Why?
Abstract (arXiv)
Existing works have shown that fine-tuned textual transformer models achieve state-of-the-art prediction performances but are also vulnerable to adversarial text perturbations. Traditional adversarial evaluation is often done textitonly after fine-tuning the models and ignoring the training data. In this paper, we want to prove that there is also a strong correlation between training data and model robustness. To this end, we extract 13 different features representing a wide range of input fine-tuning corpora properties and use them to predict the adversarial robustness of the fine-tuned models. Focusing mostly on encoder-only transformer models BERT and RoBERTa with additional results for BART, ELECTRA, and GPT2, we provide diverse evidence to support our argument. First, empirical analyses show that (a) extracted features can be used with a lightweight classifier such as Random Forest to predict the attack success rate effectively, and (b) features with the most influence on the model robustness have a clear correlation with the robustness. Second, our framework can be used as a fast and effective additional tool for robustness evaluation since it (a) saves 30x-193x runtime compared to the traditional technique, (b) is transferable across models, (c) can be used under adversarial training, and (d) robust to statistical randomness. Our code is publicly available at urlhttps://github.com/CaptainCuong/RobustTextACL2024.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 18 Feb 2024.
Builds on
24 of 39 references.
References · 24
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018Universal Sentence Encodercited by 485
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 419
- 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 414
12 more
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
- 2020The Multilingual Amazon Reviews Corpuscited by 142
- 2020FastIF: Scalable Influence Functions for Efficient Model Interpretation and Debuggingcited by 120
- 2020Adv-BERT: BERT is not robust on misspellings! Generating nature adversarial samples on BERTcited by 69
- 2020Better Robustness by More Coverage: Adversarial Training with Mixup Augmentation for Robust Fine-tuningcited by 39
- 2021Interpreting the Robustness of Neural NLP Models to Textual Perturbationscited by 17
- 2022Improving the Adversarial Robustness of NLP Models by Information Bottleneckcited by 17
- 2019Understanding Adversarial Robustness Through Loss Landscape Geometriescited by 12
- 2022Contrastive Error Attribution for Finetuned Language Modelscited by 12
- 2023Adversarial Examples Might be Avoidable: The Role of Data Concentration in Adversarial Robustnesscited by 11
- 2018Interpreting Adversarial Robustness: A View from Decision Surface in Input Spacecited by 10
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 4.
5 papers.
- 2024OpenFact at CheckThat! 2024: Combining Multiple Attack Methods for Effective Adversarial Text Generationcited by 4
- 2026URAG: A Benchmark for Uncertainty Quantification in Retrieval-Augmented Large Language Modelscited by 3
- 2026PreUnlearn: Auditing Collateral Knowledge Damage Before Large Language Model Unlearningcited by 1
- 2026The Confidence Trap: Calibration Attacks for Graph Neural Networkscited by 0
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generationcited by 0
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generation25 Aug 2026
- 2026PreUnlearn: Auditing Collateral Knowledge Damage Before Large Language Model Unlearning16 Jun 2026
- 2026The Confidence Trap: Calibration Attacks for Graph Neural Networks7 Jun 2026
- 2026URAG: A Benchmark for Uncertainty Quantification in Retrieval-Augmented Large Language Models2 Mar 2026
- 2024OpenFact at CheckThat! 2024: Combining Multiple Attack Methods for Effective Adversarial Text Generation4 Sep 2024