RaFe: Ranking Feedback Improves Query Rewriting for RAG

Shengyu Mao, Yong Jiang, Boli Chen, Xiao Li, Peng Wang +5 more
5/23/2024
cs.CLcs.AIcs.IR

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

As Large Language Models (LLMs) and Retrieval Augmentation Generation (RAG) techniques have evolved, query rewriting has been widely incorporated into the RAG system for downstream tasks like open-domain QA. Many works have attempted to utilize small models with reinforcement learning rather than costly LLMs to improve query rewriting. However, current methods require annotations (e.g., labeled relevant documents or downstream answers) or predesigned rewards for feedback, which lack generalization, and fail to utilize signals tailored for query rewriting. In this paper, we propose ours, a framework for training query rewriting models free of annotations. By leveraging a publicly available reranker, ours~provides feedback aligned well with the rewriting objectives. Experimental results demonstrate that ours~can obtain better performance than baselines.

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. 1 weaker match is 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{mao2024rafe,
  title  = {RaFe: Ranking Feedback Improves Query Rewriting for RAG},
  author = {Shengyu Mao and Yong Jiang and Boli Chen and Xiao Li and Peng Wang and Xinyu Wang and Pengjun Xie and Fei Huang and Huajun Chen and Ningyu Zhang},
  year   = {2024},
  eprint = {2405.14431},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.14431v1}
}

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/2405.14431.svg)](https://codeofpaper.com/paper/2405.14431)

Discussion