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

自回归推理的样本复杂性:链式推理与端到端

Sample Complexity of Autoregressive Reasoning: Chain-of-Thought vs. End-to-End

Purdue University(普渡大学);The Hebrew University(希伯来大学);Technion and Google Research(技术学院和谷歌研究)

Steve Hanneke, Idan Mehalel, Shay Moran

AI总结:

本文研究自回归系统的学习难度,发现端到端监督下样本复杂性随生成长度T变化丰富,而链式推理监督可使样本复杂性与T无关,从而消除对生成长度的依赖。

摘要:

现代大语言模型通过自回归方式生成文本,逐个生成token。为了研究此类系统的可学习性,Joshi等人(COLT 2025)引入了针对next-token生成器的PAC学习框架,该框架中未知的next-token生成器将token序列映射为下一个token,并在T步内迭代应用,生成一个token链,最终token构成模型输出。学习任务是学习由该自回归过程诱导的输入输出映射。根据可用监督,训练示例可能仅揭示最终输出(端到端监督)或整个生成链(链式推理监督)。这引发两个自然问题:样本复杂性如何依赖于生成长度T,以及链式推理监督能减少这种依赖程度多少。本文通过揭示样本复杂性随T变化的分类,回答了这两个问题。对于端到端学习,我们显示其景观异常丰富:在温和条件下,样本复杂性几乎可以是常数到线性之间的任何增长率,结合Joshi等人的线性上界,从而获得完整刻画。相比之下,在链式推理监督下,样本复杂性与T无关,证明访问中间推理步骤可完全消除对生成长度的依赖。我们的分析引入了新的组合工具,并作为推论,我们解决了Joshi等人提出的关于可学习性对生成长度依赖性和链式推理监督作用的几个开放问题。

英文摘要:

Modern large language models generate text autoregressively, producing tokens one at a time. To study the learnability of such systems, Joshi et al. (COLT 2025) introduced a PAC-learning framework for next-token generators, the primitive underlying autoregressive models. In this framework, an unknown next-token generator maps a sequence of tokens to the next token and is iteratively applied for $T$ steps, producing a chain of tokens whose final token constitutes the model's output. The learning task is to learn the input-output mapping induced by this autoregressive process. Depending on the available supervision, training examples may reveal only the final output (End-to-End supervision) or the entire generated chain (Chain-of-Thought supervision). This raises two natural questions: how the sample complexity depends on the generation length $T$, and how much Chain-of-Thought supervision can reduce this dependence. In this work we give a nearly complete answer to both questions by uncovering a taxonomy of how the sample complexity scales with $T$. For End-to-End learning, we show that the landscape is remarkably rich: subject to mild conditions, essentially any growth rate $r(T)$ between constant and linear can arise as the sample complexity, and combined with the linear upper bound of Joshi et al., this yields an essentially complete characterization. In contrast, under Chain-of-Thought supervision we show that the sample complexity is independent of $T$, demonstrating that access to intermediate reasoning steps can eliminate the dependence on the generation length altogether. Our analysis introduces new combinatorial tools, and as corollaries we resolve several open questions posed by Joshi et al. regarding the dependence of learnability on the generation length and the role of Chain-of-Thought supervision.

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

↑