arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.14271cs.AIcs.CL
收藏

基于大语言模型的可信推理

Faithful Reasoning Using Large Language Models

DeepMind(深度思维)

Antonia Creswell, Murray Shanahan

摘要:

尽管当代的大语言模型(LM)展示了令人印象深刻的问答能力,但它们的答案通常是对模型的单个调用的产物。这必然带来不受欢迎的不透明程度,并损害性能,特别是在本质上是多步骤的问题上。为了解决这些限制,我们展示了如何LM可以通过一个过程,其因果结构反映了问题的基本逻辑结构来执行忠实的多步推理。我们的方法通过将推理步骤链接在一起来工作,其中每个步骤的结果来自对两个微调的LM的调用,一个用于选择,一个用于推理,以产生有效的推理轨迹。我们的方法通过推理轨迹的空间进行束搜索,以提高推理质量。我们证明了我们的模型在多步逻辑推理和科学问答上的有效性,表明它在最终答案准确性上优于基线,并生成可由用户检查其有效性的可解释的推理轨迹。

英文摘要:

Although contemporary large language models (LMs) demonstrate impressive question-answering capabilities, their answers are typically the product of a single call to the model. This entails an unwelcome degree of opacity and compromises performance, especially on problems that are inherently multi-step. To address these limitations, we show how LMs can be made to perform faithful multi-step reasoning via a process whose causal structure mirrors the underlying logical structure of the problem. Our approach works by chaining together reasoning steps, where each step results from calls to two fine-tuned LMs, one for selection and one for inference, to produce a valid reasoning trace. Our method carries out a beam search through the space of reasoning traces to improve reasoning quality. We demonstrate the effectiveness of our model on multi-step logical deduction and scientific question-answering, showing that it outperforms baselines on final answer accuracy, and generates humanly interpretable reasoning traces whose validity can be checked by the user.

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

↑