mlsanityData to 7 Oct 2026

A Curious Case of Searching for the Correlation between Training Data and Adversarial Robustness of Transformer Textual Models

arXiv 2402.11469 ↗First posted 18 Feb 2024cs.LG cs.CL cs.CRcited by 5

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  6. 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
  7. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  8. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
  9. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  10. 2018Universal Sentence Encodercited by 485
  11. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 419
  12. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 414
12 more
  1. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  2. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
  3. 2020The Multilingual Amazon Reviews Corpuscited by 142
  4. 2020FastIF: Scalable Influence Functions for Efficient Model Interpretation and Debuggingcited by 120
  5. 2020Adv-BERT: BERT is not robust on misspellings! Generating nature adversarial samples on BERTcited by 69
  6. 2020Better Robustness by More Coverage: Adversarial Training with Mixup Augmentation for Robust Fine-tuningcited by 39
  7. 2021Interpreting the Robustness of Neural NLP Models to Textual Perturbationscited by 17
  8. 2022Improving the Adversarial Robustness of NLP Models by Information Bottleneckcited by 17
  9. 2019Understanding Adversarial Robustness Through Loss Landscape Geometriescited by 12
  10. 2022Contrastive Error Attribution for Finetuned Language Modelscited by 12
  11. 2023Adversarial Examples Might be Avoidable: The Role of Data Concentration in Adversarial Robustnesscited by 11
  12. 2018Interpreting Adversarial Robustness: A View from Decision Surface in Input Spacecited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 4.

5 papers.