arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.07932stat.MLcs.AIcs.CCcs.LG
收藏

自回归思维链学习理论

A Theory of Learning with Autoregressive Chain of Thought

Toyota Technological Institute at Chicago(丰田技术研究所(芝加哥));Weizmann Institute of Science(魏兹曼科学研究院);Microsoft Research, NYC(微软研究院(纽约));University of Pennsylvania(宾夕法尼亚大学);Yale University(耶鲁大学)

Nirmit Joshi, Gal Vardi, Adam Block, Surbhi Goel, Zhiyuan Li, Theodor Misiakiewicz, Nathan Srebro

AI总结:

本文形式化了自回归思维链的学习问题,分析了在观测和潜在思维链情况下的样本与计算复杂度,并提出一种具备通用表示能力且计算易处理的基础类,其时不变性使样本复杂度独立于思维链长度。

摘要:

对于给定的序列到下一标记生成器的基础类,我们考虑学习提示到答案的映射,该映射通过迭代一个固定、时不变的生成器多步来生成思维链,并将最终标记作为答案。我们分别在思维链被观测到以及仅在提示-答案对上训练(思维链为潜在变量)的情况下,形式化了学习问题。我们基于基础类的一般性质(如其 VC 维度)及线性阈值等特定基础类,分析了样本和计算复杂度。我们提出了一个简单的基础类,可实现通用表示能力与计算上易处理的思维链学习。我们发展的核心在于,时不变性使得样本复杂度独立于思维链的长度。注意力机制在我们的构造中自然产生。

英文摘要:

For a given base class of sequence-to-next-token generators, we consider learning prompt-to-answer mappings obtained by iterating a fixed, time-invariant generator for multiple steps, thus generating a chain-of-thought, and then taking the final token as the answer. We formalize the learning problems both when the chain-of-thought is observed and when training only on prompt-answer pairs, with the chain-of-thought latent. We analyze the sample and computational complexity both in terms of general properties of the base class (e.g. its VC dimension) and for specific base classes such as linear thresholds. We present a simple base class that allows for universal representability and computationally tractable chain-of-thought learning. Central to our development is that time invariance allows for sample complexity that is independent of the length of the chain-of-thought. Attention arises naturally in our construction.

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

↑