FreeLB: Enhanced Adversarial Training for Natural Language Understanding
Not on the map. Why?
Abstract (arXiv)
Adversarial training, which minimizes the maximal risk for label-preserving input perturbations, has proved to be effective for improving the generalization of language models. In this work, we propose a novel adversarial training algorithm, FreeLB, that promotes higher invariance in the embedding space, by adding adversarial perturbations to word embeddings and minimizing the resultant adversarial risk inside different regions around input samples. To validate the effectiveness of the proposed approach, we apply it to Transformer-based models for natural language understanding and commonsense reasoning tasks. Experiments on the GLUE benchmark show that when applied only to the finetuning stage, it is able to improve the overall test scores of BERT-base model from 78.3 to 79.4, and RoBERTa-large model from 88.5 to 88.8. In addition, the proposed approach achieves state-of-the-art single-model test accuracies of 85.44% and 67.75% on ARC-Easy and ARC-Challenge. Experiments on CommonsenseQA benchmark further demonstrate that FreeLB can be generalized and boost the performance of RoBERTa-large model on other tasks as well. Code is available at urlhttps://github.com/zhuchen03/FreeLB .
Key facts. Cited by 261 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 63; 2022: 61; 2023: 42; 2024: 57; 2025: 24; 2026: 14.
261 papers.
Sort:
By area:
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2024Rethinking Machine Unlearning for Large Language Modelscited by 247
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
- 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMcited by 173
- 2024A Survey on Recent Advances in LLM-Based Multi-turn Dialogue Systemscited by 170
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
- 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 149
38 more
- 2021On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptationcited by 147
- 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 140
- 2021Advances in adversarial attacks and defenses in computer vision: A surveycited by 127
- 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 123
- 2021A Survey on Data Augmentation for Text Classificationcited by 111
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2024Efficient Adversarial Training in LLMs with Continuous Attackscited by 104
- 2021Self-Guided Contrastive Learning for BERT Sentence Representationscited by 103
- 2021An Empirical Survey of Data Augmentation for Limited Data Learning in NLPcited by 101
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2023NEFTune: Noisy Embeddings Improve Instruction Finetuningcited by 99
- 2023Revisiting Out-of-distribution Robustness in NLP: Benchmark, Analysis, and LLMs Evaluationscited by 96
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Spacecited by 88
- 2024Enhancing Noise Robustness of Retrieval-Augmented Language Models with Adaptive Adversarial Trainingcited by 88
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 82
- 2022One Transformer Can Understand Both 2D & 3D Molecular Datacited by 77
- 2021Revisiting and Advancing Fast Adversarial Training Through The Lens of Bi-Level Optimizationcited by 75
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 75
- 2021Improved OOD Generalization via Adversarial Training and Pre-trainingcited by 66
- 2024Robust LLM safeguarding via refusal feature adversarial trainingcited by 60
- 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
- 2021Fine-Tuning Large Neural Language Models for Biomedical Natural Language Processingcited by 57
- 2022Debiased Contrastive Learning of Unsupervised Sentence Representationscited by 56
- 2021Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitutioncited by 55
- 2021CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understandingcited by 50
- 2021Adversarial Attacks On Multi-Agent Communicationcited by 48
- 2022Aug-NeRF: Training Stronger Neural Radiance Fields with Triple-Level Physically-Grounded Augmentationscited by 46
- 2022Out-of-distribution Generalization with Causal Invariant Transformationscited by 45
- 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
- 2021Consistency Regularization for Cross-Lingual Fine-Tuningcited by 41
- 2021JointLK: Joint Reasoning with Language Models and Knowledge Graphs for Commonsense Question Answeringcited by 40
- 2021SSMix: Saliency-Based Span Mixup for Text Classificationcited by 39
- 2021Improved Text Classification via Contrastive Adversarial Trainingcited by 38
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
- 2021HiddenCut: Simple Data Augmentation for Natural Language Understanding with Better Generalizationcited by 31
- 2021Defending Against Backdoor Attacks in Natural Language Generationcited by 30
- 2021Noise Stability Regularization for Improving BERT Fine-tuningcited by 29
- 2021Data-Efficient GAN Training Beyond (Just) Augmentations: A Lottery Ticket Perspectivecited by 25
50 most cited of 261 All 261 (JSON)
- 2026Learning Perturbation Robust Policies for LLM Agents with Stable Optimization28 Sep 2026
- 2026Isotropic Embedding Perturbations for Robust Vision Language Encoders9 Sep 2026
- 2026Robust Context-Aware Detection of Malicious Instructions in Text5 Aug 2026
- 2026S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLP11 Jun 2026
- 2026Small Data, Big Noise: Adversarial Training for Robust Parameter-Efficient Fine-Tuning9 Jun 2026
- 2026Cheap Reward Hacking Detection8 Jun 2026
- 2026Hybrid Adversarial Defence for Natural Language Understanding Tasks3 Jun 2026
- 2026AutoTail-BSFGM: Class-Balance-Aware Fine-Tuning for Chinese Scholarly Text Classification2 Jun 2026
- 2026Repurposing Adversarial Perturbations for Continual Learning: From Defense to Active Alignment1 Jun 2026
- 2026Learning Perturbations to Extrapolate Your LLM13 May 2026
- 2026FragileFlow: Spectral Control of Correct-but-Fragile Predictions for Foundation Model Robustness9 May 2026
- 2026Where Do Prompt Perturbations Break Generation? A Segment-Level View of Robustness in LoRA-Tuned Language Models2 May 2026
38 more
- 2026From Flat Facts to Sharp Hallucinations: Detecting Stubborn Errors via Gradient Sensitivity1 May 2026
- 2026Unifying Adversarial Robustness and Training Across Text Scoring Models31 Jan 2026
- 2025Vulnerability-Aware Robust Multimodal Adversarial Training22 Nov 2025
- 2025JELV: A Judge of Edit-Level Validity for Evaluation and Automated Reference Expansion in Grammatical Error Correction16 Nov 2025
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustness12 Nov 2025
- 2025Breaking the Adversarial Robustness-Performance Trade-off in Text Classification via Manifold Purification11 Nov 2025
- 2025RedHerring Attack: Testing the Reliability of Attack Detection25 Sep 2025
- 2025RanAT4BIE: Random Adversarial Training for Biomedical Information Extraction14 Sep 2025
- 2025More Reliable Pseudo-labels, Better Performance: A Generalized Approach to Single Positive Multi-label Learning28 Aug 2025
- 2025SALMAN: Stability Analysis of Language Models Through the Maps Between Graph-based Manifolds23 Aug 2025
- 2025Adversarial Defence without Adversarial Defence: Enhancing Language Model Robustness via Instance-level Principal Component Removal29 Jul 2025
- 2025Adversarial Training Improves Generalization Under Distribution Shifts in Bird Sound Classification18 Jul 2025
- 2025PRM-Free Security Alignment of Large Models via Red Teaming and Adversarial Training14 Jul 2025
- 2025Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach14 Jul 2025
- 2025Self-Supervised Graph Learning via Spectral Bootstrapping and Laplacian-Based Augmentations25 Jun 2025
- 2025Robustness in Both Domains: CLIP Needs a Robust Text Encoder3 Jun 2025
- 2025Evaluating the performance and fragility of large language models on the self-assessment for neurological surgeons29 May 2025
- 2025GenoArmory: A Unified Evaluation Framework for Adversarial Attacks on Genomic Foundation Models16 May 2025
- 2025IM-BERT: Enhancing Robustness of BERT through the Implicit Euler Method11 May 2025
- 2025Unified Enhancement of the Generalization and Robustness of Language Models via Bi-Stage Optimization19 Mar 2025
- 2025Improved Diffusion-based Generative Model with Better Adversarial Robustness24 Feb 2025
- 2025ParetoRAG: Leveraging Sentence-Context Attention for Robust and Efficient Retrieval-Augmented Generation12 Feb 2025
- 2025Dynamic Noise Preference Optimization: Self-Improvement of Large Language Models with Self-Synthetic Data8 Feb 2025
- 2025Confidence Elicitation: A New Attack Vector for Large Language Models7 Feb 2025
- 2025Enhancing Generalization in Chain of Thought Reasoning for Smaller Models16 Jan 2025
- 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks5 Jan 2025
- 2024Generalizing Trust: Weak-to-Strong Trustworthiness in Language Models31 Dec 2024
- 2024Learning from Mistakes: Self-correct Adversarial Training for Chinese Unnatural Text Correction23 Dec 2024
- 2024Adversarial Robustness through Dynamic Ensemble Learning20 Dec 2024
- 2024The Vulnerability of Language Model Benchmarks: Do They Accurately Reflect True LLM Performance?2 Dec 2024
- 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Models29 Nov 2024
- 2024Eguard: Defending LLM Embeddings Against Inversion Attacks via Text Mutual Information Optimization6 Nov 2024
- 2024Latent Paraphrasing: Perturbation on Layers Improves Knowledge Injection in Language Models1 Nov 2024
- 2024ProTransformer: Robustify Transformers via Plug-and-Play Paradigm30 Oct 2024
- 2024Instruction-Driven Game Engine: A Poker Case Study17 Oct 2024
- 2024Adversarial Decoding: Generating Readable Documents for Adversarial Objectives3 Oct 2024
- 2024TPN: Transferable Proto-Learning Network towards Few-shot Document-Level Relation Extraction1 Oct 2024
- 2024Robust LLM safeguarding via refusal feature adversarial training30 Sep 2024
50 newest of 261 All 261 (JSON)
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
- 2024Efficient Adversarial Training in LLMs with Continuous Attackscited by 104
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 82
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
- 2021Defending Against Backdoor Attacks in Natural Language Generationcited by 30
- 2024Adversarial Decoding: Generating Readable Documents for Adversarial Objectivescited by 16
- 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothingcited by 15
- 2024PromptFix: Few-shot Backdoor Removal via Adversarial Prompt Tuningcited by 2
- 2026Hybrid Adversarial Defence for Natural Language Understanding Taskscited by 0
- 2026Robust Context-Aware Detection of Malicious Instructions in Textcited by 0
- 2026Robust Context-Aware Detection of Malicious Instructions in Text5 Aug 2026
- 2026Hybrid Adversarial Defence for Natural Language Understanding Tasks3 Jun 2026
- 2024Adversarial Decoding: Generating Readable Documents for Adversarial Objectives3 Oct 2024
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs22 Jul 2024
- 2024PromptFix: Few-shot Backdoor Removal via Adversarial Prompt Tuning6 Jun 2024
- 2024Efficient Adversarial Training in LLMs with Continuous Attacks24 May 2024
- 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothing18 Apr 2024
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Training8 Mar 2024
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal6 Feb 2024
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models28 May 2023
- 2021Defending Against Backdoor Attacks in Natural Language Generation3 Jun 2021
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMcited by 173
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Spacecited by 88
- 2025Dynamic Noise Preference Optimization: Self-Improvement of Large Language Models with Self-Synthetic Datacited by 3
- 2025PRM-Free Security Alignment of Large Models via Red Teaming and Adversarial Trainingcited by 1
- 2026Unifying Adversarial Robustness and Training Across Text Scoring Modelscited by 0
- 2026Cheap Reward Hacking Detectioncited by 0
- 2026Cheap Reward Hacking Detection8 Jun 2026
- 2026Unifying Adversarial Robustness and Training Across Text Scoring Models31 Jan 2026
- 2025PRM-Free Security Alignment of Large Models via Red Teaming and Adversarial Training14 Jul 2025
- 2025Dynamic Noise Preference Optimization: Self-Improvement of Large Language Models with Self-Synthetic Data8 Feb 2025
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space14 Feb 2024
- 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM18 Sep 2023
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Models1 Sep 2023
- 2024Perturbing Attention Gives You More Bang for the Buck: Subtle Imaging Perturbations That Efficiently Fool Customized Diffusion Modelscited by 18
- 2024Slight Corruption in Pre-training Data Makes Better Diffusion Modelscited by 9
- 2024ROIC-DM: Robust Text Inference and Classification via Diffusion Modelcited by 5
- 2025Improved Diffusion-based Generative Model with Better Adversarial Robustnesscited by 3
- 2025Improved Diffusion-based Generative Model with Better Adversarial Robustness24 Feb 2025
- 2024Slight Corruption in Pre-training Data Makes Better Diffusion Models30 May 2024
- 2024Perturbing Attention Gives You More Bang for the Buck: Subtle Imaging Perturbations That Efficiently Fool Customized Diffusion Models23 Apr 2024
- 2024ROIC-DM: Robust Text Inference and Classification via Diffusion Model7 Jan 2024
- 2024Rethinking Machine Unlearning for Large Language Modelscited by 247
- 2024Enhancing Noise Robustness of Retrieval-Augmented Language Models with Adaptive Adversarial Trainingcited by 88
- 2023GrapeQA: GRaph Augmentation and Pruning to Enhance Question-Answeringcited by 17
- 2025Enhancing Generalization in Chain of Thought Reasoning for Smaller Modelscited by 5
- 2025Enhancing Generalization in Chain of Thought Reasoning for Smaller Models16 Jan 2025
- 2024Enhancing Noise Robustness of Retrieval-Augmented Language Models with Adaptive Adversarial Training31 May 2024
- 2024Rethinking Machine Unlearning for Large Language Models13 Feb 2024
- 2023GrapeQA: GRaph Augmentation and Pruning to Enhance Question-Answering22 Mar 2023
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
- 2024A Survey on Recent Advances in LLM-Based Multi-turn Dialogue Systemscited by 170
- 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 149
- 2021On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptationcited by 147
- 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 140
- 2021Advances in adversarial attacks and defenses in computer vision: A surveycited by 127
- 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 123
- 2021A Survey on Data Augmentation for Text Classificationcited by 111
12 most cited of 230 All 230 (JSON)
- 2026Isotropic Embedding Perturbations for Robust Vision Language Encoders9 Sep 2026
- 2026S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLP11 Jun 2026
- 2026Small Data, Big Noise: Adversarial Training for Robust Parameter-Efficient Fine-Tuning9 Jun 2026
- 2026AutoTail-BSFGM: Class-Balance-Aware Fine-Tuning for Chinese Scholarly Text Classification2 Jun 2026
- 2026Repurposing Adversarial Perturbations for Continual Learning: From Defense to Active Alignment1 Jun 2026
- 2026Learning Perturbations to Extrapolate Your LLM13 May 2026
- 2026FragileFlow: Spectral Control of Correct-but-Fragile Predictions for Foundation Model Robustness9 May 2026
- 2026Where Do Prompt Perturbations Break Generation? A Segment-Level View of Robustness in LoRA-Tuned Language Models2 May 2026
- 2026From Flat Facts to Sharp Hallucinations: Detecting Stubborn Errors via Gradient Sensitivity1 May 2026
- 2025Vulnerability-Aware Robust Multimodal Adversarial Training22 Nov 2025
- 2025JELV: A Judge of Edit-Level Validity for Evaluation and Automated Reference Expansion in Grammatical Error Correction16 Nov 2025
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustness12 Nov 2025
12 newest of 230 All 230 (JSON)