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

一个不完整的循环:语言模型中的演绎、归纳和溯因推理

An Incomplete Loop: Deductive, Inductive, and Abductive Reasoning in Language Models

Carnegie Mellon University(卡内基梅隆大学);Massachusetts Institute of Technology(麻省理工学院)

Emmy Liu, Graham Neubig, Jacob Andreas

AI总结:

本研究探究语言模型在指令遵循、少样本提示和指令推断中分别调用的演绎、归纳与溯因推理能力,发现它们之间存在强烈分离,凸显了当前大型语言模型推理的非系统性本质。

摘要:

现代语言模型(LMs)可以通过不同方式学习执行新任务:在指令遵循中,目标任务以自然语言明确描述;在少样本提示中,任务通过少量示例隐式指定;在指令推断中,语言模型被提供上下文示例,然后在做出预测前被提示生成自然语言任务描述。这些过程各自可被视为调用不同形式的推理:指令遵循涉及演绎推理,少样本提示涉及归纳推理,指令推断涉及溯因推理。这些不同能力之间有何关联?在四个语言模型(来自gpt和llama系列)和两个学习问题(涉及算术函数和机器翻译)中,我们发现不同类型的推理之间存在强烈分离:语言模型有时能从少样本提示中有效学习,即使它们无法解释自己的预测规则;相反,它们有时能推断出有用的任务描述,却完全无法从同一任务的人类生成描述中学习。我们的结果凸显了即使在当今一些最大的语言模型中,推理也缺乏系统性,并强调看似相似的提示程序可能调用截然不同的学习机制。

英文摘要:

Modern language models (LMs) can learn to perform new tasks in different ways: in instruction following, the target task is described explicitly in natural language; in few-shot prompting, the task is specified implicitly with a small number of examples; in instruction inference, LMs are presented with in-context examples and are then prompted to generate a natural language task description before making predictions. Each of these procedures may be thought of as invoking a different form of reasoning: instruction following involves deductive reasoning, few-shot prompting involves inductive reasoning, and instruction inference involves abductive reasoning. How do these different capabilities relate? Across four LMs (from the gpt and llama families) and two learning problems (involving arithmetic functions and machine translation) we find a strong dissociation between the different types of reasoning: LMs can sometimes learn effectively from few-shot prompts even when they are unable to explain their own prediction rules; conversely, they sometimes infer useful task descriptions while completely failing to learn from human-generated descriptions of the same task. Our results highlight the non-systematic nature of reasoning even in some of today's largest LMs, and underscore the fact that very different learning mechanisms may be invoked by seemingly similar prompting procedures.

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

↑