Attention Latent Feedback:让注意力读取上一位置深层状态的新架构
Attention Latent Feedback
这篇论文给Transformer解码加了个小改动:让浅层能直接读上一token的深层输出。在1.6B-4.0B的MoE上只多花1.1%的解码FLOP,下游准确率能涨约2个点。做开源模型或推理优化的人可以看看实现思路。
arXiv 论文提出 Attention Latent Feedback(ALF)架构,解决自回归解码中浅层无法读取上一 token 深层表示的问题:标准自注意力只在同一深度连接位置,ALF 让每个 sublayer 都能 attend 到上一位置更深层的输出。
训练时跨位置递归展开为两次并行 pass,解码时则利用缓存的上一 token 状态保持单 pass。在最大 4.0B 参数的 MoE 模型上,ALF 将 held-out loss 降低 0.022-0.024 nats,解码 FLOP 开销仅约 1.1%,并在三种规模上均超过此前的 final-state feedback 方案。
效率层面,MoE-1.6B 上 ALF 相当于 1.38 倍 token 预算的基线表现,MoE-4.0B 上将 17 个下游基准的平均准确率从 45.1% 提升到 47.0%。分析显示中间层和邻近的深层贡献最大收益,一个固定最近窗口变体以线性读取成本保留 89%-94% 的增益。
Attention Latent Feedback
During autoregressive decoding, the deeper representations of the previous token have already been computed, yet shallow layers at the current token cannot read them directly because standard self-attention connects positions only at the same depth. We introduce Attention Latent Feedback (ALF), an architecture that allows every sublayer to attend to the outputs of the deeper layers at the previous position. Training unrolls this cross-position recurrence into two parallel passes, whereas decoding remains single-pass using cached previous-token states. Across mixture-of-experts models with up to 4.0B parameters, ALF lowers held-out loss by 0.022-0.024 nats over the standard residual with about 1.1% decoding FLOP overhead, and consistently outperforms prior final-state feedback across all three scales on both standard and attention residual backbones. On MoE-1.6B, ALF matches a $1.38\times$ larger baseline token budget, and on MoE-4.0B it lifts average accuracy across seventeen downstream benchmarks from 45.1% to 47.0%. Analysis further reveals that intermediate and nearby deeper layers drive most of this benefit, allowing a fixed nearest-window variant to retain 89%-94% of the gain at linear read cost while learned attention widens its margin with scale.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Attention Latent Feedback、MoE、推理模型、架构创新,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Xuyuan Xiong, Siyu Chen, Mengzhao Chen, Yue Su, Zhuoran Yang, Ping Luo, Xihui Liu),经 AITOP 多维评分管线结构化提炼。