[论文解读] Chain-of-Note: Enhancing Robustness in Retrieval-Augmented Language Models
Chain-of-Note (CoN) 为检索增强的语言模型添加对检索到的文档的顺序阅读笔记,提高对噪声和未知查询的鲁棒性,并提升在开放领域基准上的问答性能。
Retrieval-augmented language models (RALMs) represent a substantial advancement in the capabilities of large language models, notably in reducing factual hallucination by leveraging external knowledge sources. However, the reliability of the retrieved information is not always guaranteed. The retrieval of irrelevant data can lead to misguided responses, and potentially causing the model to overlook its inherent knowledge, even when it possesses adequate information to address the query. Moreover, standard RALMs often struggle to assess whether they possess adequate knowledge, both intrinsic and retrieved, to provide an accurate answer. In situations where knowledge is lacking, these systems should ideally respond with "unknown" when the answer is unattainable. In response to these challenges, we introduces Chain-of-Noting (CoN), a novel approach aimed at improving the robustness of RALMs in facing noisy, irrelevant documents and in handling unknown scenarios. The core idea of CoN is to generate sequential reading notes for retrieved documents, enabling a thorough evaluation of their relevance to the given question and integrating this information to formulate the final answer. We employed ChatGPT to create training data for CoN, which was subsequently trained on an LLaMa-2 7B model. Our experiments across four open-domain QA benchmarks show that RALMs equipped with CoN significantly outperform standard RALMs. Notably, CoN achieves an average improvement of +7.9 in EM score given entirely noisy retrieved documents and +10.5 in rejection rates for real-time questions that fall outside the pre-training knowledge scope.
研究动机与目标
- 动机:由于检索到的文档嘈杂或无关以及未知信息,引发检索增强语言模型(RALMs)的鲁棒性问题。
- 提出 Chain-of-Note (CoN),为每个检索到的文档生成顺序阅读笔记,以评估相关性并筛选内容。
- 通过实验演示 CoN 能在开放域基准(NQ、TriviaQA、WebQ、RealTimeQA)上提升问答性能和鲁棒性。
- 展示通过 ChatGPT 生成的笔记进行数据收集,以及用对笔记和最终答案赋权损失的方式对 LLaMa-2 7B 模型进行训练。
提出的方法
- 引入 Chain-of-Note (CoN) 框架,为每个检索到的文档生成顺序阅读笔记。
- 设计三种笔记类型:直接答案笔记、情境笔记和未知笔记(在适当时引导为“unknown”回答)。
- 通过对 10k 个 NQ 派生问题对 ChatGPT 进行提示来创建训练数据,并微调一个 LLaMa-2 7B 模型以生成笔记和最终答案。
- 使用加权损失策略进行训练,交替聚焦笔记和最终答案,以在信息丰富性与答案准确性之间取得平衡。

实验结果
研究问题
- RQ1CoN 是否能在开放域基准上提升 DPR 检索的 RALMs 的整体问答性能?
- RQ2CoN 是否通过筛选无关或误导性内容来增强对噪声的鲁棒性?
- RQ3CoN 是否提升模型拒绝超出其知识范围的问题的能力(未知鲁棒性)?
- RQ4CoN 在域内和跨域数据集(NQ、TriviaQA、WebQ、RealTimeQA)上的表现如何?
主要发现
- CoN 在三个开放域问答数据集上优于标准 RALMs,相对于基线 DPR+LLaMa-2 的平均 EM 提升为 +1.97。
- 在完全嘈杂的检索文档下,CoN 在 NQ、TriviaQA 和 WebQ 上达到 +7.9 的平均 EM 提升。
- CoN 在 RealTimeQA 上显著提高拒绝率 (RR) +10.5,表明更强的未知鲁棒性。
- 在消融实验中,当 DPR 检索到相关文档缺失时,CoN 获得更大提升(例如 NQ 上 EM 提升 +2.3,当相关文档缺失时)。
- 案例研究展示了 CoN 汇集跨文档证据的能力,在表面线索误导标准 RALMs 的问题上提高正确性。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。