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

循环变换器的稳定性和泛化能力

Stability and Generalization in Looped Transformers

Asher Labovich

Asher Labovich

AI总结:

本文研究了循环变换器在测试时的计算扩展性,通过分析稳定性轴(可达性、输入依赖性和几何性)提出固定点框架,证明无回忆的循环网络无法实现强输入依赖性,而结合外归一化的回忆可产生稳定固定点区域,实验验证了其在棋盘、数独和前缀和任务中的性能。

摘要:

循环变换器通过在更难的问题上进行更多迭代来实现测试时的计算扩展性,但尚不清楚哪些架构选择能使其在测试时泛化到更难的问题而非记忆训练特定的解决方案。我们提出一个基于固定点的框架,沿稳定性三个轴(可达性、输入依赖性和几何性)分析循环架构,并用它来确定固定点迭代何时会产生有意义的预测。理论上,我们证明无回忆的循环网络具有可数个固定点,无法在任何谱域实现强输入依赖性,而回忆与外归一化结合可靠地产生一个区域,其中固定点同时可达、输入局部平滑且受稳定反向传播支持。经验上,我们训练单层循环变换器在国际象棋、数独和前缀和任务上,并发现下游性能与框架预测在任务和架构配置上一致。我们还引入了内部回忆,一种新的回忆放置变体,并证明在应用外归一化后,它在数独任务上优于标准回忆放置。

英文摘要:

Looped transformers promise test-time compute scaling by spending more iterations on harder problems, but it remains unclear which architectural choices let them extrapolate to harder problems at test time rather than memorize training-specific solutions. We introduce a fixed-point based framework for analyzing looped architectures along three axes of stability -- local attractivity, input-dependence, and geometry -- and use it to characterize when fixed-point iteration yields meaningful predictions. Theoretically, we prove that looped networks without recall have countable fixed points and cannot achieve strong input-dependence at any spectral regime, while recall with outer normalization reliably produces a regime in which fixed points are simultaneously locally-attractive, locally smooth in the input, and supported by stable backpropagation. Empirically, we train small looped transformers on chess, sudoku, and prefix-sums and find that downstream performance tracks the framework's predictions across tasks and architectural configurations. We additionally introduce internal recall, a novel recall placement variant allowing an identity residual path, and exploit its contrasting fixed-point behavior to test our framework's predictions in a controlled setting.

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

↑