Toward General Instruction-Following Alignment for Retrieval-Augmented Generation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Following natural instructions is crucial for the effective application of Retrieval-Augmented Generation (RAG) systems. Despite recent advancements in Large Language Models (LLMs), research on assessing and improving instruction-following (IF) alignment within the RAG domain remains limited. To address this issue, we propose VIF-RAG, the first automated, scalable, and verifiable synthetic pipeline for instruction-following alignment in RAG systems. We start by manually crafting a minimal set of atomic instructions (<100) and developing combination rules to synthesize and verify complex instructions for a seed set. We then use supervised models for instruction rewriting while simultaneously generating code to automate the verification of instruction quality via a Python executor. Finally, we integrate these instructions with extensive RAG and general data samples, scaling up to a high-quality VIF-RAG-QA dataset (>100k) through automated processes. To further bridge the gap in instruction-following auto-evaluation for RAG systems, we introduce FollowRAG Benchmark, which includes approximately 3K test samples, covering 22 categories of general instruction constraints and four knowledge-intensive QA datasets. Due to its robust pipeline design, FollowRAG can seamlessly integrate with different RAG benchmarks. Using FollowRAG and eight widely-used IF and foundational abilities benchmarks for LLMs, we demonstrate that VIF-RAG markedly enhances LLM performance across a broad range of general instruction constraints while effectively leveraging its capabilities in RAG scenarios. Further analysis offers practical insights for achieving IF alignment in RAG systems. Our code and datasets are released at https://FollowRAG.github.io.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 30 of its 44 references that are in the map. First posted on arXiv 12 Oct 2024.
Builds on
30 of 44 references.
References · 30
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2024Qwen2 Technical Reportcited by 2,076
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,057
18 more
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 738
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 694
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 618
- 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 354
- 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 302
- 2024We-Math: Does Your Large Multimodal Model Achieve Human-like Mathematical Reasoning?cited by 281
- 2023Rethinking Benchmark and Contamination for Language Models with Rephrased Samplescited by 192
- 2024Benchmarking Complex Instruction-Following with Multiple Constraints Compositioncited by 147
- 2023Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentationcited by 146
- 2024FOFO: A Benchmark to Evaluate LLMs' Format-Following Capabilitycited by 79
- 2023MuggleMath: Assessing the Impact of Query and Response Augmentation on Math Reasoningcited by 45
- 2024Towards Scalable Automated Alignment of LLMs: A Surveycited by 33
- 2024SELF-GUIDE: Better Task-Specific Instruction Following via Self-Synthetic Finetuningcited by 32
- 2024DotaMath: Decomposition of Thought with Code Assistance and Self-correction for Mathematical Reasoningcited by 19
- 2023Bridging the KB-Text Gap: Leveraging Structured Knowledge-aware Pre-training for KBQAcited by 17
Built on by
Citing papers per year: 2024: 1; 2025: 8.
9 papers.
- 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 320
- 2025Agentic Reinforced Policy Optimizationcited by 166
- 2025V-Thinker: Interactive Thinking with Imagescited by 26
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Surveycited by 20
- 2025Kanana: Compute-efficient Bilingual Language Modelscited by 19
- 2025Incentivizing Reasoning for Advanced Instruction-Following of Large Language Modelscited by 17
- 2024Multi-Dimensional Insights: Benchmarking Real-World Personalization in Large Multimodal Modelscited by 1
- 2025GRAPH-GRPO-LEX: Contract Graph Modeling and Reinforcement Learning with Group Relative Policy Optimizationcited by 1
- 2025SSFO: Self-Supervised Faithfulness Optimization for Retrieval-Augmented Generationcited by 0
- 2025GRAPH-GRPO-LEX: Contract Graph Modeling and Reinforcement Learning with Group Relative Policy Optimization10 Nov 2025
- 2025V-Thinker: Interactive Thinking with Images6 Nov 2025
- 2025SSFO: Self-Supervised Faithfulness Optimization for Retrieval-Augmented Generation24 Aug 2025
- 2025Agentic Reinforced Policy Optimization26 Jul 2025
- 2025Incentivizing Reasoning for Advanced Instruction-Following of Large Language Models2 Jun 2025
- 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capability30 Apr 2025
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Survey21 Apr 2025
- 2025Kanana: Compute-efficient Bilingual Language Models26 Feb 2025
- 2024Multi-Dimensional Insights: Benchmarking Real-World Personalization in Large Multimodal Models17 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024RAG-Instruct: Boosting LLMs with Diverse Retrieval-Augmented Instructions
- 2024Enhancing and Assessing Instruction-Following with Fine-Grained Instruction Variants
- 2024PA-RAG: RAG Alignment via Multi-Perspective Preference Optimization
- 2024Benchmarking Large Language Models on Controllable Generation under Diversified Instructions
- 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning
- 2025MAIN: Mutual Alignment Is Necessary for instruction tuning
- 2025Retrieval is Not Enough: Enhancing RAG Reasoning through Test-Time Critique and Optimization
- 2024A Tale of Trust and Accuracy: Base vs. Instruct LLMs in RAG Systems