DMQR-RAG: Diverse Multi-Query Rewriting for RAG

Zhicong Li, Jiahao Wang, Zhishu Jiang, Hangyu Mao, Zhongxia Chen +5 more
11/20/2024
cs.IRcs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Large language models often encounter challenges with static knowledge and hallucinations, which undermine their reliability. Retrieval-augmented generation (RAG) mitigates these issues by incorporating external information. However, user queries frequently contain noise and intent deviations, necessitating query rewriting to improve the relevance of retrieved documents. In this paper, we introduce DMQR-RAG, a Diverse Multi-Query Rewriting framework designed to improve the performance of both document retrieval and final responses in RAG. Specifically, we investigate how queries with varying information quantities can retrieve a diverse array of documents, presenting four rewriting strategies that operate at different levels of information to enhance the performance of baseline approaches. Additionally, we propose an adaptive strategy selection method that minimizes the number of rewrites while optimizing overall performance. Our methods have been rigorously validated through extensive experiments conducted in both academic and industry settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2024dmqrrag,
  title  = {DMQR-RAG: Diverse Multi-Query Rewriting for RAG},
  author = {Zhicong Li and Jiahao Wang and Zhishu Jiang and Hangyu Mao and Zhongxia Chen and Jiazhen Du and Yuanxing Zhang and Fuzheng Zhang and Di Zhang and Yong Liu},
  year   = {2024},
  eprint = {2411.13154},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.13154v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.13154.svg)](https://codeofpaper.com/paper/2411.13154)

Discussion