Think Then Rewrite: Reasoning Enhanced Query Rewriting for Domain Specific Retrieval
Proceedings of the AAAI Conference on Artificial Intelligence · 14.03.2026 · 40 (18) · 15045-15053
DOI: 10.1609/aaai.v40i18.38527 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 14.03.2026. Verfasst von Ang Li und 9 weiteren Autor:innen.
Abstract (Originalsprache)
Query rewriting is a crucial task for improving retrieval, especially in professional domains such as law and medicine, where user queries are often underspecified and ambiguous. While large language models (LLMs) offer strong understanding and generation capabilities, existing LLM-based approaches reduce the task to text transformation or expansion, neglecting reasoning to disambiguate queries, which fails to bridge the cognitive gap between user queries and specialized documents. In this paper, we propose Think-Then-Rewrite (TTR), a reinforcement learning based framework that unleashes LLMs' reasoning ability for domain-specific query rewriting. TTR introduces a contrastive mutual information reward to encourage the LLM to generate reasoning processes that effectively distinguish confusing distractors. To boost early-stage training, TTR also constructs golden query rewrites as off‑policy data, providing strong guidance for RL learning. A mixed-policy optimization then combines on-policy and off-policy signals, ensuring both effectiveness and stability. Extensive experiments on legal and medical retrieval benchmarks demonstrate that TTR achieves state-of-the-art performance.
Zitieren
APA
Li, A., Shi, Y., Si, Y., Wu, Y., Cai, M., Tan, X., Wang, Y., Sun, C., Liu, X., & Kuang, K. (2026). Think Then Rewrite: Reasoning Enhanced Query Rewriting for Domain Specific Retrieval. Proceedings of the AAAI Conference on Artificial Intelligence, 40(18), 15045-15053. https://doi.org/10.1609/aaai.v40i18.38527
Vancouver
Li A, Shi Y, Si Y, Wu Y, Cai M, Tan X, et al. Think Then Rewrite: Reasoning Enhanced Query Rewriting for Domain Specific Retrieval. Proceedings of the AAAI Conference on Artificial Intelligence. 2026;40(18):15045-15053. doi:10.1609/aaai.v40i18.38527
BibTeX
@article{Li2026,
author = {Li, Ang and Shi, Yufei and Si, Yuxuan and Wu, Yiquan and Cai, Ming and Tan, Xu and Wang, Yi and Sun, Changlong and Liu, Xiaozhong and Kuang, Kun},
title = {Think Then Rewrite: Reasoning Enhanced Query Rewriting for Domain Specific Retrieval},
journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
year = {2026},
volume = {40},
number = {18},
pages = {15045--15053},
doi = {10.1609/aaai.v40i18.38527}
}
EUVIMED