[论文解读] Knowledge-Driven CoT: Exploring Faithful Reasoning in LLMs for Knowledge-intensive Question Answering
KD-CoT 引入了一种 Knowledge-Driven Chain-of-Thought 框架,使 LLMs 与外部 QA 系统交互以验证和调整中间推理,从而提升在 WebQSP 和 CWQ 上的知识密集型 KBQA 性能。
Equipped with Chain-of-Thought (CoT), Large language models (LLMs) have shown impressive reasoning ability in various downstream tasks. Even so, suffering from hallucinations and the inability to access external knowledge, LLMs often come with incorrect or unfaithful intermediate reasoning steps, especially in the context of answering knowledge-intensive tasks such as KBQA. To alleviate this issue, we propose a framework called Knowledge-Driven Chain-of-Thought (KD-CoT) to verify and modify reasoning traces in CoT via interaction with external knowledge, and thus overcome the hallucinations and error propagation. Concretely, we formulate the CoT rationale process of LLMs into a structured multi-round QA format. In each round, LLMs interact with a QA system that retrieves external knowledge and produce faithful reasoning traces based on retrieved precise answers. The structured CoT reasoning of LLMs is facilitated by our developed KBQA CoT collection, which serves as in-context learning demonstrations and can also be utilized as feedback augmentation to train a robust retriever. Extensive experiments on WebQSP and ComplexWebQuestion datasets demonstrate the effectiveness of proposed KD-CoT in task-solving reasoning generation, which outperforms the vanilla CoT ICL with an absolute success rate of 8.0% and 5.1%. Furthermore, our proposed feedback-augmented retriever outperforms the state-of-the-art baselines for retrieving knowledge, achieving significant improvement in Hit and recall performance. Our code and data are released on https://github.com/AdelWang/KD-CoT/tree/main.
研究动机与目标
- 解决 LLM 在知识密集型 KBQA 任务中的幻觉现象和不可信的中间推理。
- 利用外部 QA 系统检索精确知识并验证/修改中间子答案。
- 构建一个 KBQA CoT 集合,以实现就地学习和检索器训练。
- 证明反馈增强检索和验证器能够提升知识获取和推理质量。
提出的方法
- 通过对 LLMs 进行迭代相似性示例的提示,并使用 ChatGPT 生成结构化的 CoT 理由,来构建一个 KBQA CoT 集合。
- 提出 KD-CoT:一个交互循环,LLMs 产生可提交给检索-读取 QA 系统和验证器的子问题;该过程迭代以在不改变最终答案的情况下细化 CoT。
- 将 KBs(如 Freebase 的 1-hop 子图)线性化为非结构化文本,以便与 Wikipedia 段落一起进行检索。
- 使用 CoT 集合训练基于 DPR 的反馈增强检索器,以识别包含查询和答案实体的相关段落。
- 使用 Fuse-in-Decoder 阅读器将前 N 条段落与问题编码并生成候选答案;训练基于 PEFT 的验证器以在 LLM 子答案和检索得到的答案之间进行选择。
- 证明结构化的 CoT 示范在知识密集型多跳 KBQA 中优于非结构化 CoT 与其他 ICL 基线。
实验结果
研究问题
- RQ1外部知识检索和中间验证是否能提高 LLM 在 KBQA 中推理的可信度?
- RQ2结构化的 CoT 集合是否能为知识密集型问题实现更好的就地学习和检索增强?
- RQ3反馈增强检索器和验证器如何影响 WebQSP 和 CWQ 的检索质量和答案准确性?
- RQ4在使用 KD-CoT 框架时,多跳 KBQA 推理的迭代次数有哪些权衡?
主要发现
- KD-CoT 在 WebQSP 的 Hits@1 比 vanilla CoT ICL 提高了 8.0 个百分点,在 CWQ 提高了 5.1 个百分点。
- 反馈增强检索器(FBA-DPR)显著提高了前 100 条段落的命中/召回,相对于以往工作(WebQSP 和 CWQ)。
- 验证器通常保留 LLM 的子答案,但经常进行纠正,从而提升最终答案。
- 迭代交互对 CWQ(多跳)的提升大于对 WebQSP(更多单跳),表明 KD-CoT 对复杂问题的帮助更大。
- 用 CoT 理由对小模型进行微调在简单问题上收益有限,在复杂多跳 KBQA 上可能带来损害。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。