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

SpiralFormer:通过多分辨率递归学习层次依赖的循环Transformer

SpiralFormer: Looped Transformers Can Learn Hierarchical Dependencies via Multi-Resolution Recursion

Alibaba Group(阿里巴巴集团);Zhejiang University(浙江大学);ShanghaiTech University(上海科技大学)

Chengting Yu, Xiaobo Shu, Yadao Wang, Yizhen Zhang, Haoyi Wu, You Wu, Rujiao Long, Ziheng Chen, Yuchi Xu, Wenbo Su, Bo Zheng

AI总结:

SpiralFormer通过多分辨率递归机制提升循环Transformer的参数和计算效率,实验证明其在不同模型规模下均优于传统递归和非递归基线。

摘要:

递归(循环)Transformer通过重复应用共享层,将计算深度与参数深度解耦,提供迭代细化和潜在推理的显式架构原语。然而,早期循环Transformer往往在同等计算量下表现不佳。尽管近期文献引入了更有效的递归机制以缩小这一差距,现有架构仍以固定、全token分辨率运行,忽视了在压缩潜在表示上计算的潜在效率。在本文中,我们提出了SpiralFormer,一种在多分辨率递归调度下执行递归的循环Transformer。我们提供了探测证据,表明多分辨率递归使模型能够通过在不同尺度上诱导迭代级功能专业化来学习层次依赖。实证表明,SpiralFormer在从160M到1.4B的模型规模上,均在参数和计算效率上优于循环和非循环基线,确立序列分辨率作为扩展递归架构的潜在轴线。

英文摘要:

Recursive (looped) Transformers decouple computational depth from parameter depth by repeatedly applying shared layers, providing an explicit architectural primitive for iterative refinement and latent reasoning. However, early looped Transformers often underperform non-recursive baselines of equal compute. While recent literature has introduced more effective recursion mechanisms to mitigate this gap, existing architectures still operate at a fixed, full-token resolution, neglecting the potential efficiency of computing over compressed latent representations. In this paper, we propose SpiralFormer, a looped Transformer that executes recurrence under a multi-resolution recursion schedule. We provide probing evidence that multi-resolution recursion enables the model to learn hierarchical dependencies by inducing iteration-wise functional specialization across different scales. Empirically, SpiralFormer achieves better parameter and compute efficiency than both looped and non-looped baselines across model scales from 160M to 1.4B, establishing sequence resolution as a potential axis for scaling recursive architectures.

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

↑