Saved in:
Bibliographic Details
Main Authors: He, Bolei, Chen, Nuo, He, Xinran, Yan, Lingyong, Wei, Zhenkai, Luo, Jinchang, Ling, Zhen-Hua
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.05801
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912064164855808
author He, Bolei
Chen, Nuo
He, Xinran
Yan, Lingyong
Wei, Zhenkai
Luo, Jinchang
Ling, Zhen-Hua
author_facet He, Bolei
Chen, Nuo
He, Xinran
Yan, Lingyong
Wei, Zhenkai
Luo, Jinchang
Ling, Zhen-Hua
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_05801
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle 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
Computation and Language
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.
title Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.05801