Enhancing Noise Robustness of Retrieval-Augmented Language Models with Adaptive Adversarial Training
Feiteng Fang, Yuelin Bai, Shiwen Ni, Min Yang, Xiaojun Chen, Ruifeng Xu · 2024 · 180 citationsRead the paper
Large Language Models (LLMs) exhibit substantial capabilities yet encounter challenges including hallucination, outdated knowledge, and untraceable reasoning processes. Retrieval-augmented generation (RAG) has emerged as a promising solution, integrating knowledge from external databases to mitigate these challenges. However, inappropriate retrieved passages can potentially hinder the LLMs’ capacity to generate comprehensive and high-quality responses. Prior RAG studies on the robustness of retrieval noises often confine themselves to a limited set of noise types, deviating from real-world retrieval environments and limiting practical applicability. In this study, we initially investigate retrieval noises and categorize them into three distinct types, reflecting real-world environments. We analyze the impact of these various retrieval noises on the robustness of LLMs. Subsequently, we propose a novel RAG approach known as Retrieval-augmented Adaptive Adversarial Training (RAAT). RAAT leverages adaptive adversarial training to dynamically adjust the model’s training process in response to retrieval noises. Concurrently, it employs multi-task learning to ensure the model’s capacity to internally recognize noisy contexts. Extensive experiments demonstrate that the LLaMA-2 7B model trained using RAAT exhibits significant improvements in F1 and EM scores under diverse noise conditions. For reproducibility, we will release our code and data upon acceptance.
What the full text shows
Working prototype- RAAT outperformed the RALMmultiple baseline across all noise environments. — 2.08% increase in average F1 and 2.5% increase in average EM (LLaMA-2 7B model on RAG-Bench)
- Counterfactual retrieval noise has the most significant negative impact on LLM robustness compared to relevant or irrelevant noise. (Across six tested LLMs (ChatGPT-3.5, LLaMA-2, Qwen))
- Larger parameter sizes correlate with better robustness against retrieval noise. — LLaMA2-7B had a 12.46% F1 reduction vs. LLaMA2-13B's 7% reduction under relevant noise (Relevant retrieval noise)
- Removing the noise-aware classification loss (Lcls) reduces overall performance. — 0.49% decrease in F1 and 0.52% decrease in EM (RAAT ablation study)
- Setup
- LLaMA-2 7B backbone; RAG-Bench dataset derived from Natural Questions, TriviaQA, and WebQ (4,500 training samples, 3,000 test samples); trained on 4 NVIDIA A100 80GB GPUs.
- How
- The authors proposed Retrieval-augmented Adaptive Adversarial Training (RAAT), which uses adaptive adversarial training to dynamically adjust training based on noise and multi-task learning to help the model recognize noisy contexts. They also created RAG-Bench, a benchmark categorizing noise into relevant, irrelevant, and counterfactual types.
- Limitations
- Benchmark relies exclusively on three open-domain QA datasets. · Focuses only on fortifying the LLM end rather than joint training of the retriever and LLM.
Summarized by Gemma 4 from the open-access full text · 28 Nov 2026. Read it