arXiv:2505.17126cs.CLcs.LG2025-05ICLR被引 18

用推理图结构提升语言模型输出的逻辑一致性与事实正确性。

Conformal Language Model Reasoning with Coherent Factuality

  • 基于可演绎图构建推理路径,用分片合符预测保证每步结论的连贯事实性。
  • 在MATH和FELM数据集上实现90%严格事实性,保留超80%原始结论。
  • 适合需高可信推理链的任务,如数学证明、严谨问答系统。

语言模型日益用于关键决策流程,确保输出正确性至关重要。现有方法对生成内容拆解为独立陈述进行事实性评估,并结合合符预测过滤非事实陈述,适用于信息检索等任务。然而,此类方法不适用于推理任务,因为逻辑推导步骤的正确性需依赖前序陈述的上下文。为此,本文提出“连贯事实性”概念,设计一种基于合符预测的方法,以保障语言模型输出的推理链条整体一致。该方法将分片合符预测应用于“可演绎图”中的子图,该图表示推理问题的各步骤关系。在MATH与FELM数据集上的数学推理任务中,本方法能稳定生成正确且有依据的陈述顺序,在不同目标覆盖率下均实现连贯事实性。尤其在更严格的定义下,达到90%的事实性,同时保留80%以上的原始陈述,验证了基于可演绎图引导方法的有效性。

原文摘要 · Abstract (English)

Language models are increasingly being used in important decision pipelines, so ensuring the correctness of their outputs is crucial. Recent work has proposed evaluating the "factuality" of claims decomposed from a language model generation and applying conformal prediction techniques to filter out those claims that are not factual. This can be effective for tasks such as information retrieval, where constituent claims may be evaluated in isolation for factuality, but is not appropriate for reasoning tasks, as steps of a logical argument can be evaluated for correctness only within the context of the claims that precede them. To capture this, we define "coherent factuality" and develop a conformal-prediction-based method to guarantee coherent factuality for language model outputs. Our approach applies split conformal prediction to subgraphs within a "deducibility" graph" that represents the steps of a reasoning problem. We evaluate our method on mathematical reasoning problems from the MATH and FELM datasets and find that our algorithm consistently produces correct and substantiated orderings of claims, achieving coherent factuality across target coverage levels. Moreover, we achieve 90% factuality on our stricter definition while retaining 80% or more of the original claims, highlighting the utility of our deducibility-graph-guided approach.

语言模型推理验证合符预测事实性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。