arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.00477cs.IR
收藏

重写前先阅读文档:通过持续预训练为重写器配备领域知识

Read the Docs Before Rewriting: Equip Rewriter with Domain Knowledge via Continual Pre-training

Qi Wang, Yixuan Cao, Yifan Liu, Jiangtao Zhao, Ping Luo

AI总结:

针对专业领域查询重写模型因领域知识有限导致性能不足的问题,提出R&R重写器,通过专业文档持续预训练并结合监督微调,有效弥合查询与文档措辞差异,推动RAG-based QA系统在专业领域的应用。

摘要:

基于检索增强生成(RAG)的问答(QA)系统通过根据用户查询检索相关文档来增强大型语言模型的知识。用户查询与文档措辞之间的差异通常需要查询重写。然而,在专业领域,由于领域特定知识有限,重写器模型可能会遇到困难。为解决此问题,我们提出R&R(重写前阅读文档)重写器,它涉及在专业文档上进行持续预训练,类似于学生通过复习教科书为开卷考试做准备的方式。此外,它可以与监督微调相结合以获得更好的结果。在多个数据集上的实验表明,R&R在多个领域的专业QA中表现出色,有效弥合查询-文档差距,同时在一般场景中保持良好性能,从而推动基于RAG的QA系统在专业领域的应用。

英文摘要:

A Retrieval-Augmented Generation (RAG)-based question-answering (QA) system enhances a large language model's knowledge by retrieving relevant documents based on user queries. Discrepancies between user queries and document phrasings often necessitate query rewriting. However, in specialized domains, the rewriter model may struggle due to limited domain-specific knowledge. To resolve this, we propose the R\&R (Read the doc before Rewriting) rewriter, which involves continual pre-training on professional documents, akin to how students prepare for open-book exams by reviewing textbooks. Additionally, it can be combined with supervised fine-tuning for improved results. Experiments on multiple datasets demonstrate that R\&R excels in professional QA across multiple domains, effectively bridging the query-document gap, while maintaining good performance in general scenarios, thus advancing the application of RAG-based QA systems in specialized fields.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑