arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.28686cs.AI
收藏

小模型更善于提问:为检索增强生成微调查询澄清

A Small Model Asks Better: Fine-Tuning Query Clarification for Retrieval-Augmented Generation

IBM Research(IBM研究院)

Lihong He, Lucian Popa, Marina Danilevsky

AI总结:

该研究针对检索增强生成(RAG)系统的模糊查询问题,提出 ClariEdge 数据集,通过微调 LoRA 实现高分类准确率与生成质量,可作为 RAG 流程的查询检查模块。

摘要:

查询澄清对于面临模糊用户查询的检索增强生成(RAG)系统至关重要。我们考虑多轮 grounded 对话场景,其中用户查询要么在先前对话的语境中表述不当或模糊,更有趣的是,它可能表述得当,但针对检索到的文档时存在多种相关解释。该任务是识别这两种情况,然后向用户生成适当的澄清请求。我们提出 ClariEdge,一个包含约 3900 个示例的新数据集,这些示例包括此类模糊查询以及不需要澄清的负例。我们还表明,轻量级微调 LoRA 实现了 96.6% 的分类准确率,并且在分类和澄清生成质量方面优于许多更大模型的提示基线。我们的研究表明,难负例是区分真正模糊查询与看似模糊但并非(可从语境中解决)的查询的关键要素。相同的 LoRA 在检索前和检索后场景中均实现高性能,因此可在 RAG 流程中作为答案生成前的检查使用。ClariEdge 数据集可在此 https URL 获取。

英文摘要:

Query clarification is essential for retrieval-augmented generation (RAG) systems that face ambiguous user queries. We consider multi-turn grounded conversational scenarios where a user query is either ill-formed or ambiguous in the context of the prior dialog or, more interestingly, it may be well-formed but when posed against retrieved documents there are multiple relevant interpretations. The task is to recognize both such cases and then generate an appropriate clarification request to the user. We present ClariEdge, a new dataset of approximately 3,900 examples that include such ambiguous queries along with negative examples that do not require clarification. We also show that a lightweight fine-tuned LoRA achieves 96.6% classification accuracy and outperforms prompted baselines of many larger models on both classification and quality of clarification generation. Our study shows that hard negatives are an essential ingredient to separate out queries that are truly ambiguous from queries that may look ambiguous but are not (i.e., can be resolved from the context). The same LoRA achieves high performance in both pre-retrieval and post-retrieval scenarios; thus, it can be used in two places in a RAG pipeline as a check before answer generation. The ClariEdge dataset is available at https://huggingface.co/datasets/ibm-research/ClariEdge.

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

↑