Research Papers 论文研究 2d ago Updated 1d ago 更新于 1天前 45

Allocating Recurrent Compute in Looped Language Models 在循环语言模型中分配循环计算

Looped language models apply shared computation repeatedly, but existing systems loop entire layer stacks despite mixer and dense FFN performing different operations at different costs The paper introduces Iterative Transport Rank (ITR) and marginal ITR to measure cumulative and nonredundant cross-position influence trajectories across recurrent applications MixerLoop repeats each Gated DeltaNet mixer while applying its dense FFN only once, motivated by the insight that value comes from exposing 循环语言模型通过重复应用共享计算提升推理能力,但现有方法重复整个层堆栈,未区分mixer和dense FFN的不同成本 提出"迭代传输秩(ITR)"理论框架,将循环价值定义为暴露新的跨位置影响方向且可在任务读取时观测 设计MixerLoop架构:重复Gated DeltaNet mixer,但dense FFN仅应用一次 在15M参数下MixerLoop在聚合CORE基准上超越FullLoop;在110M参数下保留41.5%的改进,同时减少45.9%的循环投影FLOPs

58
Hot 热度
72
Quality 质量
65
Impact 影响力

Analysis 深度分析

TL;DR

  • Looped language models apply shared computation repeatedly, but existing systems loop entire layer stacks despite mixer and dense FFN performing different operations at different costs
  • The paper introduces Iterative Transport Rank (ITR) and marginal ITR to measure cumulative and nonredundant cross-position influence trajectories across recurrent applications
  • MixerLoop repeats each Gated DeltaNet mixer while applying its dense FFN only once, motivated by the insight that value comes from exposing new observable influence directions
  • At 15M parameters, MixerLoop surpasses FullLoop on aggregate CORE benchmark; at 110M parameters, it retains 41.5% of FullLoop's CORE improvement
  • MixerLoop reduces recurrent-backbone projection FLOPs by 45.9% while preserving meaningful recurrent depth benefits without repeatedly executing the dense FFN

Why It Matters

This work directly addresses the efficiency-performance tradeoff in recurrent language models, which are increasingly relevant for long-context reasoning and deployment-constrained environments. By decoupling mixer recurrence from FFN repetition, it offers a principled path to cheaper recurrent architectures without fully sacrificing the reasoning gains that looped computation provides.

Technical Details

  • MixerLoop Architecture: Repeats each Gated DeltaNet mixer iteratively while applying the dense feed-forward network (FFN) only once per layer, contrasting with FullLoop which repeats the entire layer stack
  • Iterative Transport Rank (ITR): A theoretical framework where ITR describes the cumulative influence trajectory of recurrent applications, and marginal ITR quantifies the nonredundant cross-position influence contributed by successive applications
  • Value Criterion for Recurrence: An application is deemed valuable when it exposes a new cross-position influence direction that remains observable at the task readout, providing a principled justification for selective looping
  • Experimental Setup: Compared MixerLoop against no recurrence and full-block recurrence at 15M and 110M parameter scales under identical data, initialization, and architecture conditions
  • Evaluation Method: Used a finite context-off intervention to test whether later mixer applications produce distinct, non-negligible, and beneficial changes at the final language model readout, with CORE as the aggregate benchmark

Industry Insight

  • Selective recurrence—looping only the mixing component rather than full layers—could become a standard optimization for efficient recurrent language models, especially as the industry pushes toward longer context windows and on-device deployment
  • The ITR framework provides a measurable, theory-grounded criterion for designing recurrent architectures, suggesting that future work should quantify influence redundancy before committing to full-stack looping
  • The 45.9% FLOP reduction at retained performance demonstrates that significant compute savings are achievable in recurrent models without proportional accuracy loss, making mixed-recurrence designs attractive for cost-sensitive production environments

TL;DR

  • 循环语言模型通过重复应用共享计算提升推理能力,但现有方法重复整个层堆栈,未区分mixer和dense FFN的不同成本
  • 提出"迭代传输秩(ITR)"理论框架,将循环价值定义为暴露新的跨位置影响方向且可在任务读取时观测
  • 设计MixerLoop架构:重复Gated DeltaNet mixer,但dense FFN仅应用一次
  • 在15M参数下MixerLoop在聚合CORE基准上超越FullLoop;在110M参数下保留41.5%的改进,同时减少45.9%的循环投影FLOPs

为什么值得看

本文从信息流动的理论视角重新审视循环语言模型的计算分配问题,为高效模型设计提供了新的分析框架。研究成果对降低大模型推理成本、优化架构设计具有直接参考价值。

技术解析

  • 核心理论:提出迭代传输秩(ITR)和边际ITR概念,用于量化循环应用中新增的跨位置影响贡献,为判断"何时循环有价值"提供可度量标准
  • MixerLoop架构:基于Gated DeltaNet mixer,对mixer进行循环重复,而dense FFN仅执行一次,实现计算效率与性能的平衡
  • 实验设置:在15M和110M参数规模下,控制数据、初始化和架构相同,对比无循环、FullLoop和MixerLoop三种方案
  • 评估方法:采用有限上下文干预测试,验证后续mixer循环应用是否在最终读取层产生独特、显著且有益的变更
  • 性能结果:15M参数下MixerLoop在CORE基准上全面超越FullLoop;110M参数下保留41.5%的改进幅度,同时FLOPs降低45.9%

行业启示

  • 循环计算不应"一刀切"地重复整个层堆栈,mixer与FFN应承担不同角色,差异化循环策略可显著降低计算开销
  • ITR理论框架为模型可解释性和计算分配优化提供了新的分析工具,值得在更多架构中验证和推广
  • 在模型规模化过程中,保持循环收益的同时控制计算成本是关键趋势,MixerLoop的设计思路可作为后续研究的参考基线

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Research 科学研究 Training 训练 Inference 推理