arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.16674cs.LGcs.CCcs.LO
收藏

深度学习的局限性:透过复杂性理论的视角看序列建模

Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theory

University of Zurich(苏黎世大学);ETH Zurich(苏黎世联邦理工学院)

Nikola Zubić, Federico Soldá, Aurelio Sulser, Davide Scaramuzza

AI总结:

本研究通过复杂性理论探讨了结构化状态空间模型和Transformers在函数组合等复杂推理任务中的局限性,理论证明单层SSMs存在计算瓶颈,实验证实现有模型即使采用先进提示技术仍会因计算能力限制导致性能显著下降。

摘要:

尽管取得了成功,深度学习模型在需要复杂推理和函数组合的任务中仍面临困难。我们对结构化状态空间模型(SSMs)和Transformers在此类任务中的局限性进行了理论与实证研究。我们证明,单层SSMs在不具备不切实际的大状态规模的情况下,无法在大域上高效执行函数组合;即使有思维链提示,它们所需的步数也会随函数组合的复杂性而不利地扩展。此外,有限精度SSM的语言属于正则语言类。我们的实验证实了这些理论发现。在包括各种函数组合设置、多位数乘法、动态规划和爱因斯坦谜题等任务上评估模型时,我们发现即使采用先进的提示技术,性能也会显著下降。模型经常采取捷径,导致错误不断累积。这些发现突显了当前深度学习架构中根植于其计算能力的基本障碍。我们强调需要创新解决方案来超越这些限制,实现可靠的多步推理和组合任务求解,这对于迈向通用人工智能至关重要。

英文摘要:

Despite their successes, deep learning models struggle with tasks requiring complex reasoning and function composition. We present a theoretical and empirical investigation into the limitations of Structured State Space Models (SSMs) and Transformers in such tasks. We prove that one-layer SSMs cannot efficiently perform function composition over large domains without impractically large state sizes, and even with Chain-of-Thought prompting, they require a number of steps that scale unfavorably with the complexity of the function composition. Also, the language of a finite-precision SSM is within the class of regular languages. Our experiments corroborate these theoretical findings. Evaluating models on tasks including various function composition settings, multi-digit multiplication, dynamic programming, and Einstein's puzzle, we find significant performance degradation even with advanced prompting techniques. Models often resort to shortcuts, leading to compounding errors. These findings highlight fundamental barriers within current deep learning architectures rooted in their computational capacities. We underscore the need for innovative solutions to transcend these constraints and achieve reliable multi-step reasoning and compositional task-solving, which is critical for advancing toward general artificial intelligence.

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

↑