TRIO:面向检索增强生成的个体优化任务精炼

·

研究论文 · 2026/11/10

本文研究检索增强生成(RAG),旨在利用外部知识提升语言模型性能。针对当前RAG方法因检索不足和潜在幻觉而效果不佳的问题,提出了一种新方法TRIO(任务精炼与个体优化)。TRIO的核心思想是通过对齐三个设计良好的智能体的个体优化目标,为其配备迭代精炼范式。具体而言,首先用查询扩展智能体扩展模糊查询,并根据改进的答案质量量化奖励,以精炼该智能体提高扩展效率;为增强检索质量,采用一致投票将扩展查询标注为不足或充分,并利用其生成结果作为真实标签优化判断智能体;为进一步提高证据利用和答案准确性,用基于动态匹配的奖励和课程学习优化答案智能体以生成最终输出。在多个基准数据集上的大量实验验证了TRIO相较于最先进方法的有效性。代码见https://github.com/yingtaoren/TRIO。

TRIO通过多智能体协同优化和迭代精炼机制,系统性地解决了RAG中检索不足和幻觉问题,实验证明其有效性,且代码开源,对RAG领域的研究和应用具有参考价值。

This paper studies retrieval-augmented generation (RAG), which leverages external knowledge to improve the performance of language models. Despite the remarkable progress, current RAG approaches are still far from satisfactory due to inadequate retrieval and potential hallucinations. Towards this end, we propose a novel approach named Task Refinement with Individual Optimization (TRIO) for RAG. The core idea of our TRIO is to equip three well-designed agents with an iterative refinement paradigm by aligning their individual optimization objectives. Specifically, we first expand ambiguous queries with a query extension agent and quantify the reward based on the improved answer quality, which can be utilized to refine our agent for higher expansion efficiency. To enhance the retrieval quality, we include a unanimity voting to annotate the expanded query as insufficient or sufficient, and their generative outcomes are utilized as ground truth to optimize the judge agent. To further improve evidence utilization and answer accuracy, an answer agent is optimized with dynamic matching-based rewards with curriculum learning for final outputs. Extensive experiments across multiple benchmark datasets validate the effectiveness of the proposed TRIO in comparison with state-of-the-art approaches. Our code is available at https://github.com/yingtaoren/TRIO.

阅读原文

参与讨论