TL;DR
CoV-RAG introduces a "Chain-of-Verification" (CoV) module to Retrieval-Augmented Generation, enabling models to self-critique their answers and refine their search queries. By unifying question-answering and verification through multi-task training, it significantly reduces hallucinations and improves retrieval accuracy across multiple LLM backbones.
What Problem Does This Paper Address?
Retrieval-Augmented Generation (RAG) is the standard way to ground Large Language Models (LLMs) in external facts. However, standard RAG pipelines often fail in two specific ways:
- External Retrieval Errors: User queries are often vague or incomplete, leading the retriever to return irrelevant or incorrect documents.
- Internal Generation Errors: Even with the right documents, LLMs can still hallucinate due to their own internal knowledge biases or an inability to properly cite the provided context.
Existing solutions often try to fix these in isolation. The authors of this paper argue for a unified approach that allows the model to "rethink" its output and "revise" its search strategy when things go wrong.
Methods
The core of the proposal is the CoV-RAG framework, which adds a verification step into both the inference and training phases.
CoV-RAG Inference
As shown in Figure 2, the inference process is an iterative loop:
- Retrieve & Generate: The system performs a standard RAG step.
- Chain-of-Verification (CoV): A dedicated module performs three sub-tasks:
- Score: It assigns scores to the references and the generated answer based on criteria like truthfulness, bias, and citation accuracy.
- Judge: It makes a binary "True/False" judgment on whether the answer is factually sound.
- Revise: If the judgment is "False," it generates a new, refined search query.
- Re-retrieve & Re-generate: If needed, the system uses the revised query to fetch better documents and generate a final, corrected answer.
CoV-RAG Training
To make the model capable of self-verification, the authors use Verified Augmented Training. They take a standard RAG dataset and split it. One half is used for standard QA training. For the other half, they use ChatGPT to synthesize "negative" samples—answers with common errors like repeated phrases, wrong citations, or bad retrieval results. The model is then trained to generate not just the answer, but the full verification rationale (the scores, judgment, and revision).
Datasets
The model was evaluated on four popular open-domain question-answering benchmarks:
- Natural Questions (NQ)
- WebQuestions (WebQ)
- TriviaQA
- Mintaka
The training data was derived and augmented from the WebGLM dataset.
Key Insights and Ideas
- Unified Multi-tasking: By training the model to perform QA and verification simultaneously, the model develops a better "internal compass" for factuality. Even in single-iteration mode (without re-retrieval), the verification training helps the model stay grounded.
- Query Refinement as a Second Chance: The model often knows what it doesn't know. By allowing it to rewrite the query after a failed generation attempt, it can specifically target the missing information it needs to be accurate.
- Learning from Mistakes: The inclusion of synthesized negative samples is critical. LLMs rarely see "bad" examples during standard SFT (Supervised Fine-Tuning); showing them exactly how RAG can fail allows them to recognize those patterns during inference.
Key Results
CoV-RAG consistently outperformed strong baselines like WebGLM and Self-RAG across various model backbones (Llama2, Vicuna, and ChatGLM2).
- Accuracy Gains: On average, CoV-RAG achieved a 75.1% accuracy with Llama2-13b, surpassing the previous state-of-the-art WebGLM (73.8%).
- Model Agnostic: The performance boost was consistent regardless of model size. As seen in Figure 4, CoV-RAG (green bars) consistently leads over vanilla WebGLM (sky blue bars).
- Qualitative Superiority: Using GPT-4 as an automated evaluator for fine-grained metrics, CoV-RAG ranked highest in citation accuracy, truthfulness, and conciseness.
Limitations and Future Work
- Efficiency: The multi-iteration process (retrieving twice) naturally increases latency and computational cost. The authors suggest using the single-iteration version (CoV-RAG-S) for applications where speed is paramount.
- Teacher Model Dependency: The quality of the verification rationales depends on the "teacher" model (GPT-4) used to generate the training data.
- Multi-round Validation: Currently, the system only performs one revision. The authors note that some complex queries might benefit from a second or third round of validation, which they leave for future research.
Summary updated