Adversarial Training for Large Neural Language Models
Not on the map. Why?
Abstract (arXiv)
Generalization and robustness are both key desiderata for designing machine learning methods. Adversarial training can enhance robustness, but past work often finds it hurts generalization. In natural language processing (NLP), pre-training large neural language models such as BERT have demonstrated impressive gain in generalization for a variety of tasks, with further improvement from adversarial fine-tuning. However, these models are still vulnerable to adversarial attacks. In this paper, we show that adversarial pre-training can improve both generalization and robustness. We propose a general algorithm ALUM (Adversarial training for large neural LangUage Models), which regularizes the training objective by applying perturbations in the embedding space that maximizes the adversarial loss. We present the first comprehensive study of adversarial training in all stages, including pre-training from scratch, continual pre-training on a well-trained model, and task-specific fine-tuning. ALUM obtains substantial gains over BERT on a wide range of NLP tasks, in both regular and adversarial scenarios. Even for models that have been well trained on extremely large text corpora, such as RoBERTa, ALUM can still produce significant gains from continual pre-training, whereas conventional non-adversarial methods can not. ALUM can be further combined with task-specific fine-tuning to attain additional gains. The ALUM code is publicly available at https://github.com/namisan/mt-dnn.
Key facts. Cited by 109 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 27; 2022: 25; 2023: 25; 2024: 22; 2025: 8; 2026: 2.
109 papers.
Sort:
By area:
- 2023GPT-4 Technical Reportcited by 18,132
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2022Making the Most of Text Semantics to Improve Biomedical Vision--Language Processingcited by 336
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
- 2021Muppet: Massive Multi-task Representations with Pre-Finetuningcited by 192
38 more
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
- 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 123
- 2024Large Language Model Unlearning via Embedding-Corrupted Promptscited by 112
- 2021A Survey on Data Augmentation for Text Classificationcited by 111
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2024Efficient Adversarial Training in LLMs with Continuous Attackscited by 104
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Spacecited by 88
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 82
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2024Building Guardrails for Large Language Modelscited by 61
- 2021Consistency Regularization for Cross-Lingual Fine-Tuningcited by 41
- 2023Hijacking Large Language Models via Adversarial In-Context Learningcited by 41
- 2021The Dangers of Underclaiming: Reasons for Caution When Reporting How NLP Systems Failcited by 38
- 2023SentimentGPT: Exploiting GPT for Advanced Sentiment Analysis and its Departure from Current Machine Learningcited by 38
- 2023Prompt Optimization via Adversarial In-Context Learningcited by 33
- 2023Token-Level Adversarial Prompt Detection Based on Perplexity Measures and Contextual Informationcited by 32
- 2021HiddenCut: Simple Data Augmentation for Natural Language Understanding with Better Generalizationcited by 31
- 2024On the Challenges and Opportunities in Generative AIcited by 31
- 2024PICLe: Eliciting Diverse Behaviors from Large Language Models with Persona In-Context Learningcited by 28
- 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
- 2022METRO: Efficient Denoising Pretraining of Large Scale Autoencoding Language Models with Model Generated Signalscited by 20
- 2023METAL: Metamorphic Testing Framework for Analyzing Large-Language Model Qualitiescited by 20
- 2022Improving Contrastive Learning of Sentence Embeddings with Case-Augmented Positives and Retrieved Negativescited by 16
- 2022Debiasing Masks: A New Framework for Shortcut Mitigation in NLUcited by 16
- 2021Adversarial Reinforced Instruction Attacker for Robust Vision-Language Navigationcited by 15
- 2021Distributed Methods with Compressed Communication for Solving Variational Inequalities, with Theoretical Guaranteescited by 15
- 2022On Robust Prefix-Tuning for Text Classificationcited by 15
- 2024Estimating the Probabilities of Rare Outputs in Language Modelscited by 15
- 2024Detecting and Understanding Vulnerabilities in Language Models via Mechanistic Interpretabilitycited by 13
- 2023A Review of ChatGPT Applications in Education, Marketing, Software Engineering, and Healthcare: Benefits, Drawbacks, and Research Directionscited by 12
- 2023VIBE: Topic-Driven Temporal Adaptation for Twitter Classificationcited by 12
- 2024A Comprehensive Survey of Contamination Detection Methods in Large Language Modelscited by 12
- 2021Unifying Model Explainability and Robustness for Joint Text Classification and Rationale Extractioncited by 11
- 2023Toward Adversarial Training on Contextualized Language Representationcited by 10
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10
- 2021Consistency Training with Virtual Adversarial Discrete Perturbationcited by 9
- 2021Understanding and Improvement of Adversarial Training for Network Embedding from an Optimization Perspectivecited by 9
- 2022Impact of Adversarial Training on Robustness and Generalizability of Language Modelscited by 9
50 most cited of 109 All 109 (JSON)
- 2026Deactivating Refusal Triggers: Understanding and Mitigating Overrefusal in Safety Alignment12 Mar 2026
- 2026Unifying Adversarial Robustness and Training Across Text Scoring Models31 Jan 2026
- 2025SAGE: A Realistic Benchmark for Semantic Understanding25 Sep 2025
- 2025Attacking LLMs and AI Agents: Advertisement Embedding Attacks Against Large Language Models25 Aug 2025
- 2025CCFC: Core & Core-Full-Core Dual-Track Defense for LLM Jailbreak Protection19 Aug 2025
- 2025PRM-Free Security Alignment of Large Models via Red Teaming and Adversarial Training14 Jul 2025
- 2025Search-based Selection of Metamorphic Relations for Optimized Robustness Testing of Large Language Models8 Jul 2025
- 2025LLMs are Frequency Pattern Learners in Natural Language Inference27 May 2025
- 2025Retrieval-Augmented Purifier for Robust LLM-Empowered Recommendation3 Apr 2025
- 2025Enhancing Generalization in Chain of Thought Reasoning for Smaller Models16 Jan 2025
- 2024Achieving Domain-Independent Certified Robustness via Knowledge Continuity3 Nov 2024
- 2024Adversarial Training: A Survey19 Oct 2024
38 more
- 2024Estimating the Probabilities of Rare Outputs in Language Models17 Oct 2024
- 2024Recent Advances in Attack and Defense Approaches of Large Language Models5 Sep 2024
- 2024MEDSAGE: Enhancing Robustness of Medical Dialogue Summarization to ASR Errors with LLM-generated Synthetic Dialogues26 Aug 2024
- 2024Detecting and Understanding Vulnerabilities in Language Models via Mechanistic Interpretability29 Jul 2024
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs22 Jul 2024
- 2024Logicbreaks: A Framework for Understanding Subversion of Rule-based Inference21 Jun 2024
- 2024Large Language Model Unlearning via Embedding-Corrupted Prompts12 Jun 2024
- 2024Efficient Adversarial Training in LLMs with Continuous Attacks24 May 2024
- 2024PICLe: Eliciting Diverse Behaviors from Large Language Models with Persona In-Context Learning3 May 2024
- 2024Adversarial Attacks and Defense for Conversation Entailment Task1 May 2024
- 2024Enhancing Adversarial Robustness of Vision-Language Models through Low-Rank Adaptation20 Apr 2024
- 2024A Comprehensive Survey of Contamination Detection Methods in Large Language Models31 Mar 2024
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Training8 Mar 2024
- 2024On the Challenges and Opportunities in Generative AI28 Feb 2024
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space14 Feb 2024
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal6 Feb 2024
- 2024Building Guardrails for Large Language Models2 Feb 2024
- 2024Black-Box Access is Insufficient for Rigorous AI Audits25 Jan 2024
- 2024Fast Adversarial Training against Textual Adversarial Attacks23 Jan 2024
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Security10 Jan 2024
- 2023METAL: Metamorphic Testing Framework for Analyzing Large-Language Model Qualities11 Dec 2023
- 2023Prompt Optimization via Adversarial In-Context Learning5 Dec 2023
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attention29 Nov 2023
- 2023Token-Level Adversarial Prompt Detection Based on Perplexity Measures and Contextual Information20 Nov 2023
- 2023Hijacking Large Language Models via Adversarial In-Context Learning16 Nov 2023
- 2023Evaluating Concurrent Robustness of Language Models Across Diverse Challenge Sets15 Nov 2023
- 2023Robust Text Classification: Analyzing Prototype-Based Networks11 Nov 2023
- 2023BERT Lost Patience Won't Be Robust to Adversarial Slowdown29 Oct 2023
- 2023Data Optimization in Deep Learning: A Survey25 Oct 2023
- 2023VIBE: Topic-Driven Temporal Adaptation for Twitter Classification16 Oct 2023
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct 2023
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep 2023
- 2023Designing an attack-defense game: how to increase robustness of financial transaction models via a competition22 Aug 2023
- 2023SentimentGPT: Exploiting GPT for Advanced Sentiment Analysis and its Departure from Current Machine Learning16 Jul 2023
- 2023A Comprehensive Overview of Large Language Models12 Jul 2023
- 2023MAT: Mixed-Strategy Game of Adversarial Training in Fine-tuning27 Jun 2023
- 2023Modeling Hierarchical Reasoning Chains by Linking Discourse Units and Key Phrases for Reading Comprehension21 Jun 2023
50 newest of 109 All 109 (JSON)
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
- 2024Large Language Model Unlearning via Embedding-Corrupted Promptscited by 112
- 2024Efficient Adversarial Training in LLMs with Continuous Attackscited by 104
- 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 82
- 2024Building Guardrails for Large Language Modelscited by 61
- 2023Hijacking Large Language Models via Adversarial In-Context Learningcited by 41
- 2023Token-Level Adversarial Prompt Detection Based on Perplexity Measures and Contextual Informationcited by 32
- 2024Logicbreaks: A Framework for Understanding Subversion of Rule-based Inferencecited by 3
12 most cited of 13 All 13 (JSON)
- 2025CCFC: Core & Core-Full-Core Dual-Track Defense for LLM Jailbreak Protection19 Aug 2025
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs22 Jul 2024
- 2024Logicbreaks: A Framework for Understanding Subversion of Rule-based Inference21 Jun 2024
- 2024Large Language Model Unlearning via Embedding-Corrupted Prompts12 Jun 2024
- 2024Efficient Adversarial Training in LLMs with Continuous Attacks24 May 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
- 2024Building Guardrails for Large Language Models2 Feb 2024
- 2023Token-Level Adversarial Prompt Detection Based on Perplexity Measures and Contextual Information20 Nov 2023
- 2023Hijacking Large Language Models via Adversarial In-Context Learning16 Nov 2023
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct 2023
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep 2023
12 newest of 13 All 13 (JSON)
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Spacecited by 88
- 2026Deactivating Refusal Triggers: Understanding and Mitigating Overrefusal in Safety Alignmentcited by 6
- 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
- 2026Deactivating Refusal Triggers: Understanding and Mitigating Overrefusal in Safety Alignment12 Mar 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
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space14 Feb 2024
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
- 2025Attacking LLMs and AI Agents: Advertisement Embedding Attacks Against Large Language Modelscited by 3
- 2022Red Teaming with Mind Reading: White-Box Adversarial Policies Against RL Agentscited by 1
- 2025Attacking LLMs and AI Agents: Advertisement Embedding Attacks Against Large Language Models25 Aug 2025
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Security10 Jan 2024
- 2022Red Teaming with Mind Reading: White-Box Adversarial Policies Against RL Agents5 Sep 2022
- 2023GPT-4 Technical Reportcited by 18,132
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2022Making the Most of Text Semantics to Improve Biomedical Vision--Language Processingcited by 336
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
- 2021Muppet: Massive Multi-task Representations with Pre-Finetuningcited by 192
- 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 123
- 2021A Survey on Data Augmentation for Text Classificationcited by 111
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2021Consistency Regularization for Cross-Lingual Fine-Tuningcited by 41
12 most cited of 85 All 85 (JSON)
- 2025SAGE: A Realistic Benchmark for Semantic Understanding25 Sep 2025
- 2025Search-based Selection of Metamorphic Relations for Optimized Robustness Testing of Large Language Models8 Jul 2025
- 2025LLMs are Frequency Pattern Learners in Natural Language Inference27 May 2025
- 2024Achieving Domain-Independent Certified Robustness via Knowledge Continuity3 Nov 2024
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024Estimating the Probabilities of Rare Outputs in Language Models17 Oct 2024
- 2024Recent Advances in Attack and Defense Approaches of Large Language Models5 Sep 2024
- 2024MEDSAGE: Enhancing Robustness of Medical Dialogue Summarization to ASR Errors with LLM-generated Synthetic Dialogues26 Aug 2024
- 2024Detecting and Understanding Vulnerabilities in Language Models via Mechanistic Interpretability29 Jul 2024
- 2024PICLe: Eliciting Diverse Behaviors from Large Language Models with Persona In-Context Learning3 May 2024
- 2024Adversarial Attacks and Defense for Conversation Entailment Task1 May 2024
- 2024A Comprehensive Survey of Contamination Detection Methods in Large Language Models31 Mar 2024
12 newest of 85 All 85 (JSON)