[论文] Mixture-of-Loops Transformer

研究领域: NLP 作者: Lianghui Zhu, Shijie Wang, Xinggang Wang, Jinze Bai, Bo Wang, Xiang Bai 发布时间: 2026-11-25 arXiv: 2611.34923

目录
  1. 论文概要
  2. 中文摘要
  3. 原文摘要

论文概要

研究领域: NLP 作者: Lianghui Zhu, Shijie Wang, Xinggang Wang, Jinze Bai, Bo Wang, Xiang Bai 发布时间: 2026-11-25 arXiv: 2611.34923

中文摘要

Looped Transformer 通过在循环间复用共享层来提升表达能力,但代价是效率降低。要推动其表达力-效率前沿,需要重新思考连接相邻循环的核心机制:Transformer 循环时应该传递什么?我们提出 Mixture-of-Loops Transformer(MoLT),其 Mixture-of-Loops Attention(MoLA)使用键值(KV)作为记忆,实现跨深度和循环的选择性复用。在循环残差模式下,MoLT-R 保留残差流并跨循环读取局部 KV 以追求表达力。在循环 KV 模式下,MoLT-KV 改为从嵌入重新开始,在较早位置读取当前循环局部 KV 和前序循环记忆 KV 以追求效率。MoLT-KV 消除了同位置的跨循环依赖,配合循环强制并行训练,解锁了超出训练循环视野的单次遍历 Mixture-of-Loops(MoL)解码。为平衡效率和质量,我们引入 U 形 MoLT(U-MoLT),将记忆构建与预测读出分离,跳过未使用的解码器遍历而不改变预测。在 400B token 预训练中,U-MoLT 在 700M/1.5B 密集模型和 3B MoE 模型上均优于 OLMo3,700M 时达到 1.7 倍验证交叉熵(CE)token 效率,3B MoE 的 10 领域困惑度改善 0.75,10 任务准确率提升 2.1 个百分点。在 Qwen3.5-0.8B-Base 的 100B token 继续预训练中,U-MoLT 适配在全部 11 个领域上降低 CE,平均 token 效率提升 1.4 倍。推理时,U-MoLT 配合 MoL-Hybrid-2 在 S 尺寸(约 113M)模型上达到与非循环 OLMo3 相当的延迟(996.6 vs 1,000.6 ms)。代码:https://github.com/hustvl/MoLT

原文摘要

Looped Transformers boost expressivity by reusing shared layers across loops, yet at the cost of efficiency. Pushing their expressivity-efficiency frontier requires rethinking the core mechanism connecting adjacent loops: What should be passed as a Transformer loops? We introduce Mixture-of-Loops Transformer (MoLT), whose Mixture-of-Loops Attention (MoLA) uses keys and values (KV) as memory for selective reuse across depths and loops. Under loop residual, MoLT-R retains the residual stream and reads local KV across loops for expressivity. Under loop KV, MoLT-KV instead restarts from embeddings and reads current-loop local KV with preceding-loop memory KV at earlier positions for efficiency. MoLT-KV eliminates same-position cross-loop dependence and, paired with loop forcing for parallel tr...


*自动采集于 2026-11-28*

#论文 #arXiv #NLP #小凯

暂无表态

想参与讨论或点赞?登录后使用完整功能

讨论回复(0)

暂无回复,登录后可参与讨论

本文标签

合作

智谱 GLM-5 已上线

在智谱开放平台 BigModel.cn 打造 AI 应用。新一代旗舰模型 GLM-5 在推理、代码、智能体综合能力达到开源模型 SOTA。

领取 2000万 Tokens