arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.18654cs.CLcs.AIcs.LG
收藏

信念与命运:Transformer在组合性问题上的局限性

Faith and Fate: Limits of Transformers on Compositionality

Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of Washington(华盛顿大学);University of Southern California(南加州大学);University of Chicago(芝加哥大学)
Nouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li, Liwei Jiang, Bill Yuchen Lin, Peter West, Chandra Bhagavatula, Ronan Le Bras, Jena D. Hwang, Soumya Sa… 展开作者

Nouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li, Liwei Jiang, Bill Yuchen Lin, Peter West, Chandra Bhagavatula, Ronan Le Bras, Jena D. Hwang, Soumya Sanyal, Sean Welleck, Xiang Ren, Allyson Ettinger, Zaid Harchaoui, Yejin Choi

AI总结:

本文通过多位数乘法、逻辑网格谜题和动态规划三类组合任务,实证与理论结合地揭示Transformer大语言模型将多步组合推理退化为线性化子图匹配,缺乏系统性解题能力,且性能随任务复杂度增加而快速下降。

摘要:

Transformer大语言模型(LLMs)因其在需要复杂多步推理的任务上表现卓越而备受赞誉。然而,这些模型同时在一些令人惊讶的简单问题上出现失败。这引出一个问题:这些错误是偶然的,还是预示着更深层的局限性?为了揭开Transformer大语言模型的面纱,我们研究了这些模型在三类代表性组合任务上的局限性——多位数乘法、逻辑网格谜题和一个经典的动态规划问题。这些任务要求将问题分解为子步骤,并将这些步骤综合成精确答案。我们将组合任务形式化为计算图,以系统量化复杂度水平,并将推理步骤分解为中间子过程。我们的实证发现表明,Transformer大语言模型通过将多步组合推理简化为线性化子图匹配来解决组合任务,而未必发展出系统性的问题解决能力。为完善我们的实证研究,我们针对抽象多步推理问题提供了理论论证,强调自回归生成的性能会随着任务复杂度的增加而迅速下降。

英文摘要:

Transformer large language models (LLMs) have sparked admiration for their exceptional performance on tasks that demand intricate multi-step reasoning. Yet, these models simultaneously show failures on surprisingly trivial problems. This begs the question: Are these errors incidental, or do they signal more substantial limitations? In an attempt to demystify transformer LLMs, we investigate the limits of these models across three representative compositional tasks -- multi-digit multiplication, logic grid puzzles, and a classic dynamic programming problem. These tasks require breaking problems down into sub-steps and synthesizing these steps into a precise answer. We formulate compositional tasks as computation graphs to systematically quantify the level of complexity, and break down reasoning steps into intermediate sub-procedures. Our empirical findings suggest that transformer LLMs solve compositional tasks by reducing multi-step compositional reasoning into linearized subgraph matching, without necessarily developing systematic problem-solving skills. To round off our empirical study, we provide theoretical arguments on abstract multi-step reasoning problems that highlight how autoregressive generations' performance can rapidly decay with\,increased\,task\,complexity.

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

↑