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

自回归下一词元预测器是通用学习器

Auto-Regressive Next-Token Predictors are Universal Learners

Harvard University(哈佛大学);Kempner Institute for the Study of Natural and Artificial Intelligence(坎普纳自然与人工智能研究所)

Eran Malach

AI总结:

本文提出研究自回归下一词元预测器的理论框架,证明在CoT数据上训练的简单线性预测器即可近似图灵机计算的任意函数,并引入长度复杂度,揭示了LLM的强大能力主要源于自回归训练方案而非特定架构。

摘要:

大型语言模型在逻辑和数学推理方面展现出卓越的能力,使其能够解决复杂的任务。有趣的是,这些能力是在基于简单的下一词元预测任务训练的网络中涌现出来的。在这项工作中,我们提出了一个用于研究自回归下一词元预测器的理论框架。我们证明,即使在Chain-of-Thought(CoT,思维链)数据上训练的线性下一词元预测器等简单模型,也能近似任何由图灵机高效计算的函数。我们引入了一种新的复杂度度量——长度复杂度,它衡量了近似某个目标函数所需的CoT序列中的中间词元数量,并分析了长度复杂度与其他复杂度概念之间的相互作用。最后,我们通过实验表明,简单的下一词元预测器(如线性网络和浅层Multi-Layer Perceptrons(MLPs,多层感知机))在文本生成和算术任务上表现出非平凡的性能。我们的结果表明,当今LLMs的强大能力在很大程度上可以归因于自回归下一词元训练方案,而不一定是因为特定架构的选择。

英文摘要:

Large language models display remarkable capabilities in logical and mathematical reasoning, allowing them to solve complex tasks. Interestingly, these abilities emerge in networks trained on the simple task of next-token prediction. In this work, we present a theoretical framework for studying auto-regressive next-token predictors. We demonstrate that even simple models such as linear next-token predictors, trained on Chain-of-Thought (CoT) data, can approximate any function efficiently computed by a Turing machine. We introduce a new complexity measure -- length complexity -- which measures the number of intermediate tokens in a CoT sequence required to approximate some target function, and analyze the interplay between length complexity and other notions of complexity. Finally, we show experimentally that simple next-token predictors, such as linear networks and shallow Multi-Layer Perceptrons (MLPs), display non-trivial performance on text generation and arithmetic tasks. Our results demonstrate that the power of today's LLMs can be attributed, to a great extent, to the auto-regressive next-token training scheme, and not necessarily to a particular choice of architecture.

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

↑