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

循环求解:语言和推理的吸引子模型

Solve the Loop: Attractor Models for Language and Reasoning

University of Southern California(南加州大学)

Jacob Fein-Ashley, Paria Rashidinejad

AI总结:

本文提出吸引子模型,通过固定点求解实现循环优化,提升语言模型和推理性能,在大规模预训练和小模型推理中均优于现有模型。

摘要:

Looped Transformers 提供了一种替代纯前馈计算的有前景方法,通过迭代优化潜在表示来改进语言建模和推理。然而,递归架构在训练中不稳定,优化和部署成本高,且受限于小固定循环深度。我们引入吸引子模型,其中骨干模块首先提出输出嵌入,然后吸引子模块通过求解固定点来优化它们,通过隐式微分获得梯度。因此,有效深度下的训练内存保持恒定,迭代次数通过收敛性自适应选择。实证表明,吸引子模型在两个领域均优于现有模型:大规模语言模型预训练和小模型推理。在语言建模中,吸引子模型在标准Transformer和稳定循环模型上实现了帕累托改进,通过减少训练成本,将困惑度降低高达46.6%,下游准确率提高高达19.7%。值得注意的是,一个770M的吸引子模型在训练两次更多token的1.3B Transformer上表现更优。在具有挑战性的推理任务中,我们展示了一个仅含27M参数和约1000个示例的模型在Sudoku-Extreme上达到91.4%的准确率,在Maze-Hard上达到93.1%的准确率,其中前沿模型如Claude和GPT o3完全失败,专门的递归推理器在更大规模上崩溃。最后,我们展示吸引子模型表现出一种新的现象,称为平衡内部化:固定点训练使模型的初始输出嵌入接近平衡,允许在推理时移除求解器而几乎没有降级。这些结果表明,吸引子模型通过将递归转化为模型可以学习内部化的计算,使迭代优化变得可扩展。

英文摘要:

Looped Transformers offer a promising alternative to purely feed-forward computation by iteratively refining latent representations, improving language modeling and reasoning. Yet recurrent architectures remain unstable to train, costly to optimize and deploy, and constrained to small, fixed recurrence depths. We introduce Attractor Models, in which a backbone module first proposes output embeddings, then an attractor module refines them by solving for the fixed point, with gradients obtained through implicit differentiation. Thus, training memory remains constant in effective depth, and iterations are chosen adaptively by convergence. Empirically, Attractor Models outperform existing models across two regimes, large-scale language-model pretraining and reasoning with tiny models. In language modeling, Attractor Models deliver a Pareto improvement over standard Transformers and stable looped models across sizes, improving perplexity by up to 46.6% and downstream accuracy by up to 19.7% while reducing training cost. Notably, a 770M Attractor Model outperforms a 1.3B Transformer trained on twice as many tokens. On challenging reasoning tasks, we show that our model with only 27M parameters and approximately 1000 examples achieves 91.4% accuracy on Sudoku-Extreme and 93.1% on Maze-Hard, scaling favorably where frontier models like Claude and GPT o3, fail completely, and specialized recursive reasoners collapse at larger sizes. Lastly, we show that Attractor Models exhibit a novel phenomenon, which we call equilibrium internalization: fixed-point training places the model's initial output embedding near equilibrium, allowing the solver to be removed at inference time with little degradation. Together, these results suggest that Attractor Models make iterative refinement scalable by turning recurrence into a computation the model can learn to internalize.

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

↑