Looped Transformers increase the computational depth of language models by repeatedly applying shared layers. However, standard looped Transformers rely on hidden-state updates to guide subsequent attention reads, leaving the next retrieval goal implicit. In this paper, we introduce Moment-Tilted Attention (MoTA), which uses the same attention weights to retrieve content and write a compact target for the next loop. To guide the next read, MoTA uses soft moment matching to move the attention-weighted mean of learned source features toward the target while preserving proximity to the original attention distribution. The resulting update uses source covariance to determine the correction direction and the range of projected source scores to set a closed-form step size. We further establish a descent guarantee for the dual objective. Experiments across four model sizes demonstrate consistent improvements in aggregate pretraining performance over standard looped Transformers. The gains extend to mathematical knowledge after lightweight adaptation, with further improvements in mathematical problem solving, scientific question answering, and analytical reasoning at larger model scales after mathematical midtraining.
翻译:暂无翻译