RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generation

AI-generated keywords: Large Language Models

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors introduce Retrieval-Augmented Generation (RAG) to enhance accuracy by integrating external documents into response generation process
  • Existing RAG implementations may overlook complexities in queries, requiring further clarification or decomposition for precise responses
  • RQ-RAG proposed as a solution with explicit rewriting, decomposition, and disambiguation capabilities
  • Experimental evaluations using a 7B Llama2 model show RQ-RAG outperforms previous state-of-the-art models by an average of 1.9% across three single-hop question-answering datasets
  • RQ-RAG exhibits enhanced performance in handling complex multi-hop tasks
  • Authors provide access to code on GitHub at https://github.com/chanchimin/RQ-RAG for further exploration and implementation
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Chi-Min Chan, Chunpu Xu, Ruibin Yuan, Hongyin Luo, Wei Xue, Yike Guo, Jie Fu

Abstract: Large Language Models (LLMs) exhibit remarkable capabilities but are prone to generating inaccurate or hallucinatory responses. This limitation stems from their reliance on vast pretraining datasets, making them susceptible to errors in unseen scenarios. To tackle these challenges, Retrieval-Augmented Generation (RAG) addresses this by incorporating external, relevant documents into the response generation process, thus leveraging non-parametric knowledge alongside LLMs' in-context learning abilities. However, existing RAG implementations primarily focus on initial input for context retrieval, overlooking the nuances of ambiguous or complex queries that necessitate further clarification or decomposition for accurate responses. To this end, we propose learning to Refine Query for Retrieval Augmented Generation (RQ-RAG) in this paper, endeavoring to enhance the model by equipping it with capabilities for explicit rewriting, decomposition, and disambiguation. Our experimental results indicate that our method, when applied to a 7B Llama2 model, surpasses the previous state-of-the-art (SOTA) by an average of 1.9\% across three single-hop QA datasets, and also demonstrates enhanced performance in handling complex, multi-hop QA datasets. Our code is available at https://github.com/chanchimin/RQ-RAG.

Submitted to arXiv on 31 Mar. 2024

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2404.00610v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

, , , , In their paper titled "RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generation," authors Chi-Min Chan, Chunpu Xu, Ruibin Yuan, Hongyin Luo, Wei Xue, Yike Guo, and Jie Fu delve into the challenges faced by Large Language Models (LLMs) in generating accurate responses. The authors introduce Retrieval-Augmented Generation (RAG) as a methodology that integrates external documents into the response generation process to enhance accuracy. However, existing RAG implementations may overlook complexities in queries that require further clarification or decomposition for precise responses. To address this limitation, the authors propose RQ-RAG as a solution with explicit rewriting, decomposition, and disambiguation capabilities. Experimental evaluations using a 7B Llama2 model show that RQ-RAG outperforms previous state-of-the-art models by an average of 1.9% across three single-hop question-answering datasets and exhibits enhanced performance in handling complex multi-hop tasks. The authors provide access to their code on GitHub at https://github.com/chanchimin/RQ-RAG for further exploration and implementation of their proposed methodology.
Created on 12 Nov. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.