arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.09165cs.LGcs.CL
收藏

稀疏层对扩展循环语言模型至关重要

Sparse Layers are Critical to Scaling Looped Language Models

USC Information Sciences Institute(美国南加州大学信息科学研究所);Netflix(netflix公司)

Ryan Lee, Jacob Biloki, Edward J. Hu, Jonathan May

AI总结:

研究比较了带循环和不带循环的MoE和标准Transformer,发现循环MoE模型在扩展性上优于标准模型,且循环模型在计算质量权衡中具有更好的早退性能。

摘要:

循环语言模型通过深度重复Transformer层来降低内存成本,并在循环边界提供自然的早退点。然而,循环模型的扩展性不如标准Transformer。本文比较了带循环和不带循环的MoE和标准Transformer,发现循环MoE模型在扩展性上优于标准模型,而密集循环模型则不行。这是因为循环MoE模型中每次通过相同共享层时会激活不同的专家,从而恢复了表达能力而无需额外参数。其次,循环模型在计算质量权衡中比标准模型更优,因为每个循环结束时都会使用相同的层生成最终输出,因此循环边界是更优的早退点。总之,本文为扩展循环模型提供了明确方向:带有早退的循环MoE模型不仅在大规模上能超越标准Transformer,还能通过最小的质量降级实现显著的内存和推理节省。

英文摘要:

Looped language models repeat a set of transformer layers through depth, reducing memory costs and providing natural early-exit points at loop boundaries. However, looped models do not scale as favorably as standard transformers with unique layers. We compare standard and Mixture-of-Experts (MoE) transformers, with and without looping, and find two main results. First, we find Looped-MoE models scale better than the standard baseline while dense looped models do not. We trace this to routing divergence between loops: in Looped-MoE models, different experts are activated on each pass through the same shared layers, recovering expressivity without additional parameters. Our second finding is that looped models have better compute-quality trade-offs with early exits than standard models. Because each loop ends with the same layers that produce the final output, loop boundaries are superior exit points, as confirmed by earlier output convergence at these points. In sum, we provide a clear direction for scaling looped models: a Looped-MoE model with early exits can not only beat standard transformers at scale, but also enable significant memory and inference savings with minimal degradation in quality.

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

↑