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

能量-熵正则化:最小循环转换器的真实力量

Energy-Entropy Regularization: The True Power of Minimal Looped Transformers

Wai-Lun Lam

Wai-Lun Lam

AI总结:

本文提出利用Tsallis熵和哈密顿动力学改进循环转换器训练,成功解决长序列归纳任务,揭示其推理能力的内在机制。

摘要:

最近的研究表明,循环转换器在推理能力方面优于标准深度架构。当前训练单头循环架构在基准任务上经常失败或产生次优性能,因为损失景观高度非凸且不规则。在这些情况下,优化通常停滞在损失景观的较差局部极小值和鞍点,阻止模型发现全局最小点。这些单头循环转换器模型的内部机制仍不清晰,从头开始训练仍是一个重大挑战。在本文中,我们提出了一种新的训练框架,利用Tsallis熵和哈密顿动力学来改变损失景观的几何结构。通过将参数更新视为物理流动,我们成功地训练了一个单头循环转换器,模型维度d=8,以解决归纳头部任务,输入序列长度为1000个标记。这一成功揭示了超推理能力背后的内部机制。

英文摘要:

Recent research suggests that looped Transformers have superior reasoning capabilities compared to standard deep architectures. Current approaches to training single-head looped architectures on benchmark tasks frequently fail or yield suboptimal performance due to a highly non-convex and irregular loss landscape. In these settings, optimization often stagnates in poor local minima and saddle points of the loss landscape, preventing the model from discovering the global minimum point. The internal mechanisms of these single-head looped transformer models remain poorly understood, and training them from scratch remains a significant challenge. In this paper, we propose a novel training framework that leverages Tsallis entropy and Hamiltonian dynamics to transform the geometry of the loss landscape. By treating the parameter updates as a physical flow, we successfully trained a single-head looped Transformer with model dimension $d = 8$ to solve induction head task with input sequence length of 1000 tokens. This success reveals the internal mechanism behind the superior reasoning capability.

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

↑