mlsanityData to 7 Oct 2026

How Does Adversarial Fine-Tuning Benefit BERT?

arXiv 2108.13602 ↗First posted 31 Aug 2021cs.CL cs.AI cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Adversarial training (AT) is one of the most reliable methods for defending against adversarial attacks in machine learning. Variants of this method have been used as regularization mechanisms to achieve SOTA results on NLP benchmarks, and they have been found to be useful for transfer learning and continual learning. We search for the reasons for the effectiveness of AT by contrasting vanilla and adversarially fine-tuned BERT models. We identify partial preservation of BERT's syntactic abilities during fine-tuning as the key to the success of AT. We observe that adversarially fine-tuned models remain more faithful to BERT's language modeling behavior and are more sensitive to the word order. As concrete examples of syntactic abilities, an adversarially fine-tuned model could have an advantage of up to 38% on anaphora agreement and up to 11% on dependency parsing. Our analysis demonstrates that vanilla fine-tuning oversimplifies the sentence representation by focusing heavily on a small subset of words. AT, however, moderates the effect of these influential words and encourages representational diversity. This allows for a more hierarchical representation of a sentence and leads to the mitigation of BERT's loss of syntactic abilities.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 58 of its 78 references that are in the map. First posted on arXiv 31 Aug 2021.

Builds on

58 of 78 references.

References · 58

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  7. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  8. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  9. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  11. 2018Deep contextualized word representationscited by 2,285
  12. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
38 more
  1. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  2. 2016Adversarial Machine Learning at Scalecited by 934
  3. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
  4. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  5. 2020Fast is better than free: Revisiting adversarial trainingcited by 723
  6. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
  7. 2019Designing and Interpreting Probes with Control Taskscited by 608
  8. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 553
  9. 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 436
  10. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  11. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
  12. 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 349
  13. 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 315
  14. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  15. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
  16. 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 254
  17. 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 253
  18. 2018Targeted Syntactic Evaluation of Language Modelscited by 239
  19. 2020Revisiting Few-sample BERT Fine-tuningcited by 237
  20. 2020Information-Theoretic Probing with Minimum Description Lengthcited by 230
  21. 2019Assessing BERT's Syntactic Abilitiescited by 191
  22. 2018Deep learning generalizes because the parameter-function map is biased towards simple functionscited by 180
  23. 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
  24. 2017What do Neural Machine Translation Models Learn about Morphology?cited by 165
  25. 2020Better Fine-Tuning by Reducing Representational Collapsecited by 156
  26. 2021The Low-Rank Simplicity Bias in Deep Networkscited by 150
  27. 2020Adversarial Training for Large Neural Language Modelscited by 109
  28. 2020Perturbed Masking: Parameter-free Probing for Analyzing and Interpreting BERTcited by 109
  29. 2020Feature Purification: How Adversarial Training Performs Robust Deep Learningcited by 107
  30. 2020Out of Order: How Important Is The Sequential Order of Words in a Sentence in Natural Language Understanding Tasks?cited by 72
  31. 2020UnNatural Language Inferencecited by 68
  32. 2019Visualizing and Understanding the Effectiveness of BERTcited by 67
  33. 2020How do Decisions Emerge across Layers in Neural Models? Interpretation with Differentiable Maskingcited by 63
  34. 2021Low-Complexity Probing via Finding Subnetworkscited by 63
  35. 2020Pareto Probing: Trading Off Accuracy for Complexitycited by 55
  36. 2020Adversarial Learning Guarantees for Linear Hypotheses and Neural Networkscited by 47
  37. 2021BERT & Family Eat Word Salad: Experiments with Text Understandingcited by 44
  38. 2021On the proper role of linguistically-oriented deep net analysis in linguistic theorizingcited by 43

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 0; 2024: 1; 2025: 1.

3 papers.