RbFT: Robust Fine-tuning for Retrieval-Augmented Generation against Retrieval Defects
Yiteng Tu, Weihang Su, Yujia Zhou, Yiqun Liu, Qingyao Ai
TL;DR
RbFT addresses the vulnerability of retrieval-augmented generation to defective retrieval results by training LLMs to detect defective documents and extract useful information from flawed inputs. It introduces two tasks—Defects Detection and Utility Extraction—finely tuned via LoRA to preserve efficiency. Across Natural Questions, HotpotQA, and TriviaQA, RbFT consistently outperforms Vanilla RAG and other baselines under varying defect levels, with notable gains on counterfactual content while keeping inference speeds comparable. The work suggests a practical path to deploying robust, efficient RAG in real-world settings and points to broader applications beyond QA tasks.
Abstract
Retrieval-augmented generation (RAG) enhances large language models (LLMs) by integrating external knowledge retrieved from a knowledge base. However, its effectiveness is fundamentally constrained by the reliability of both the retriever and the knowledge base. In real-world scenarios, imperfections in these components often lead to the retrieval of noisy, irrelevant, or misleading counterfactual information, ultimately undermining the trustworthiness of RAG systems. To address this challenge, we propose Robust Fine-Tuning (RbFT), a method designed to enhance the resilience of LLMs against retrieval defects through two targeted fine-tuning tasks. Experimental results demonstrate that RbFT significantly improves the robustness of RAG systems across diverse retrieval conditions, surpassing existing methods while maintaining high inference efficiency and compatibility with other robustness techniques.
