Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
He, Bolei, Chen, Nuo, He, Xinran, Yan, Lingyong, Wei, Zhenkai, Luo, Jinchang, Ling, Zhen-Hua
–arXiv.org Artificial Intelligence
Recent Retrieval Augmented Generation (RAG) aims to enhance Large Language Models (LLMs) by incorporating extensive knowledge retrieved from external sources. However, such approach encounters some challenges: Firstly, the original queries may not be suitable for precise retrieval, resulting in erroneous contextual knowledge; Secondly, the language model can easily generate inconsistent answer with external references due to their knowledge boundary limitation. To address these issues, we propose the chain-of-verification (CoV-RAG) to enhance the external retrieval correctness and internal generation consistency. Specifically, we integrate the verification module into the RAG, engaging in scoring, judgment, and rewriting. To correct external retrieval errors, CoV-RAG retrieves new knowledge using a revised query. To correct internal generation errors, we unify QA and verification tasks with a Chain-of-Thought (CoT) reasoning during training. Our comprehensive experiments across various LLMs demonstrate the effectiveness and adaptability compared with other strong baselines. Especially, our CoV-RAG can significantly surpass the state-of-the-art baselines using different LLM backbones.
arXiv.org Artificial Intelligence
Oct-8-2024
- Country:
- North America
- United States
- Alabama (0.04)
- Nebraska (0.04)
- Michigan (0.04)
- Oklahoma (0.04)
- Indiana > Marion County
- Indianapolis (0.04)
- Canada > Ontario
- Toronto (0.04)
- United States
- Asia
- North America
- Genre:
- Research Report > New Finding (0.93)
- Industry:
- Leisure & Entertainment > Sports > Football (0.96)
- Technology: