Search-Oriented Conversational Query Editing

Kelong Mao, Zhicheng Dou, Bang Liu, Hongjin Qian, Fengran Mo, Xiangli Wu, Xiaohua Cheng, Zhao Cao

Abstract

Conversational Query Rewriting (CQR) is a critical component in conversational search, transforming context-dependent user queries into standalone versions suitable for traditional retrieval systems. Existing CQR methods often rely on computationally expensive autoregressive generation and are optimized to mimic human language rather than search performance. This paper introduces EDIRCS (Search-Oriented Conversational Query Editing), a framework that treats CQR as a "select-then-generate" editing task. By incorporating retrieval-oriented objectives—Contrastive Ranking Augmentation (CRA) and Contextualization Knowledge Transfer (CKT)—EDIRCS achieves state-of-the-art retrieval accuracy with a 10x speedup over traditional models.

Introduction

In conversational search, users interact through a series of turns where context is often implicit. For instance, a query like "How many rings does he have?" requires context from previous turns (e.g., "Michael Jordan") to be processed by a search engine. Traditional CQR models rewrite these into standalone queries (e.g., "How many NBA championship rings does Michael Jordan have?").

However, current approaches suffer from two main drawbacks. First, they are inefficient, generating rewrites token-by-token even though most required words are already present in the dialogue. Second, they are typically trained on human-written "gold" rewrites, which are optimized for linguistic clarity rather than retrieval effectiveness.

Methods: The EDIRCS Framework

EDIRCS addresses these limitations by shifting from full generation to an editing paradigm. The architecture consists of a non-autoregressive Selector that identifies key tokens to retain from the dialogue and a lightweight Generator (a 4-layer Transformer decoder) that produces only a few supplemental tokens to complete the query.

The EDIRCS framework consists of three main modules: Conversational Query Editing, Contextualization Knowledge Transfer (CKT), and Contrastive Ranking Augmentation (CRA).

To align the model with search objectives, the authors introduce two training strategies:

  • Contrastive Ranking Augmentation (CRA): This forces the model to learn embeddings where the dialogue and its relevant search results are close in vector space, helping the selector identify "search-heavy" terms.
  • Contextualization Knowledge Transfer (CKT): Using a high-performing SPLADE-based retriever as a "teacher," EDIRCS learns to prioritize tokens that contribute most to successful retrieval, even if they seem less important to a human rewriter.

Experimental Results

The model was evaluated on the QReCC, CAsT-19, and CAsT-20 benchmarks. EDIRCS demonstrated superior accuracy, achieving an MRR of 0.412 on QReCC with BM25 retrieval, surpassing the human-rewrite baseline of 0.397.

Ablation study results showing the impact of CRA and CKT components on retrieval performance (MRR) across different retrievers.

Beyond accuracy, EDIRCS provides a massive efficiency gain. With a latency of just 59ms per query, it is approximately 10 times faster than T5 or GPT-2 based models (~600ms). Ablation studies (Figure 6) confirm that the search-oriented objectives (CRA and CKT) are vital for this performance, as removing them leads to significant drops in MRR.

Conclusion

EDIRCS represents a significant advancement in conversational search by prioritizing retrieval utility and computational efficiency. By treating query rewriting as an editing task and leveraging downstream search signals, it bridges the gap between natural language processing and information retrieval. Future work will explore improving the grammatical coherence of the generated queries and handling more complex implicit user intents.

Summary updated

BibTeX
@inproceedings{mao2023search,
  author = {Kelong Mao and Zhicheng Dou and Bang Liu and Hongjin Qian and Fengran Mo and Xiangli Wu and Xiaohua Cheng and Zhao Cao},
  title = {{Search-Oriented Conversational Query Editing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.256},
}
Figure