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

Selection-Inference:利用大语言模型进行可解释逻辑推理

Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoning

DeepMind(深度思维)

Antonia Creswell, Murray Shanahan, Irina Higgins

摘要:

大语言模型(LLM)已经被证明能够对新任务进行令人印象深刻的Few-Shot概括。然而,他们仍然倾向于在多步逻辑推理问题上表现不佳。在这里,我们对50个任务进行了全面的LLM评估,这些任务探索了逻辑推理的不同方面。我们发现,语言模型往往在单步的推理或蕴涵任务中表现得相当好,但很难将多个推理步骤链接在一起来解决更复杂的问题。有鉴于此,我们提出了一个选择-推理(SI)框架,该框架利用预先训练的LLM作为通用处理模块,并在选择和推理之间交替,以生成一系列可解释的、随意的推理步骤,从而得出最终答案。我们表明,在SI框架内使用的7 B参数LLM在5杆泛化设置,没有微调,产生超过100%的性能改善相比,一套10逻辑推理任务的等效香草基线。在相同的设置中,相同的模型在相同的任务套件上甚至优于显著更大的280 B参数基线。此外,由SI框架产生的答案伴随着因果自然语言为基础的推理轨迹,这对系统的安全性和可信度具有重要意义。

英文摘要:

Large language models (LLMs) have been shown to be capable of impressive few-shot generalisation to new tasks. However, they still tend to perform poorly on multi-step logical reasoning problems. Here we carry out a comprehensive evaluation of LLMs on 50 tasks that probe different aspects of logical reasoning. We show that language models tend to perform fairly well at single step inference or entailment tasks, but struggle to chain together multiple reasoning steps to solve more complex problems. In light of this, we propose a Selection-Inference (SI) framework that exploits pre-trained LLMs as general processing modules, and alternates between selection and inference to generate a series of interpretable, casual reasoning steps leading to the final answer. We show that a 7B parameter LLM used within the SI framework in a 5-shot generalisation setting, with no fine-tuning, yields a performance improvement of over 100% compared to an equivalent vanilla baseline on a suite of 10 logical reasoning tasks. The same model in the same setting even outperforms a significantly larger 280B parameter baseline on the same suite of tasks. Moreover, answers produced by the SI framework are accompanied by a causal natural-language-based reasoning trace, which has important implications for the safety and trustworthiness of the system.

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

↑