Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation

Bolei He, Nuo Chen, Xinran He, Lingyong Yan, Zhenkai Wei, Jinchang Luo, Zhen-Hua Ling

Abstract

Retrieval-Augmented Generation (RAG) is a powerful technique for grounding Large Language Models (LLMs) in external knowledge, yet it remains susceptible to retrieval failures and model hallucinations. We present CoV-RAG, a framework that integrates a Chain-of-Verification (CoV) module to enable self-correction. CoV-RAG allows models to evaluate their own retrieval quality and iteratively refine search queries when errors are detected. By training on a mixture of successful and intentionally flawed RAG examples, CoV-RAG achieves state-of-the-art performance across multiple open-domain question-answering benchmarks, demonstrating significant improvements in accuracy and hallucination reduction.

Introduction

While RAG has become the industry standard for reducing LLM hallucinations, it faces two primary failure modes: retrieval errors, where vague queries lead to irrelevant context, and generation errors, where models ignore provided facts or hallucinate beyond their knowledge boundaries. Most existing RAG systems are "one-and-done," lacking a mechanism to identify and rectify these failures during inference. CoV-RAG addresses this by introducing a robust self-correction loop that identifies retrieval failures and takes active steps to fix them.

Methods

The CoV-RAG framework consists of a novel inference pipeline and a specialized training strategy designed to foster self-verification capabilities.

The Inference Pipeline

Unlike standard linear RAG paths, CoV-RAG employs an iterative loop:

  1. Initial Retrieval & Generation: The system performs an initial search and generates a preliminary answer.
  2. Chain-of-Verification (CoV): The model executes three sub-tasks: Score (assigning metrics to reference and answer quality), Judge (making a binary decision on reliability), and Revise (generating a refined search query if the judgment is "False").
  3. Re-retrieval: The revised query is used to pull higher-quality data for a final, corrected response.
CoV-RAG Pipeline Overview

Training Strategy: Negative RAG Augmentation

To train the model to recognize its own mistakes, the authors utilized Negative RAG Augmentation. Using ChatGPT, they synthesized "bad" RAG examples characterized by illogical citations or poor queries. The model was then trained using Multi-Task Learning to perform standard QA alongside the verification tasks, unifying reasoning and self-correction into a single process.

Results

CoV-RAG was evaluated on four benchmarks: Natural Questions (NQ), Web Questions (WebQ), TriviaQA, and Mintaka. The model demonstrated consistent improvements across various LLM backbones, including Llama2, Vicuna, and ChatGLM.

Benchmark Performance Comparison

Key findings include:

  • Superior Accuracy: CoV-RAG (Llama2-13b) achieved an average accuracy of 75.1%, surpassing the state-of-the-art WebGLM (73.8%) and vanilla ChatGPT (71.1%).
  • Hallucination Reduction: GPT-4-based evaluations showed that CoV-RAG ranked highest in citation accuracy and truthfulness, sticking closer to the provided text than competitors.
  • Effective Query Revision: The "End-Revise" strategy—revising after an initial failure—proved more effective than pre-retrieval query refinement, as the model better understands missing information after a failed attempt.

Conclusion

CoV-RAG represents a significant step toward more reliable RAG systems. By teaching models to describe and correct their own failures through negative training and iterative verification, the framework achieves higher grounding and accuracy. While the re-retrieval process introduces additional latency, the gains in truthfulness and reasoning make it a compelling approach for complex information retrieval tasks. Future work may explore multi-round validation to further enhance performance on highly complex queries.

Summary updated

BibTeX
@inproceedings{he2024retrieving,
  author = {Bolei He and Nuo Chen and Xinran He and Lingyong Yan and Zhenkai Wei and Jinchang Luo and Zhen-Hua Ling},
  title = {{Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.607},
}
Figure