arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.23036cs.LG
收藏

迈向正确的循环模型,第一部分:拓扑结构、输入注入、循环状态设计

Towards Looped Models Done Right, Part I: Topology, Input Injection, Recurrent-State Design

Institute of Foundation Models(基础模型研究所);USC(南加州大学);CMU(卡内基梅隆大学)

Benhao Huang, Chufan Shi, Junlin Chen, Shicheng Wen, Zhengzhong Liu, Eric Xing, Xuezhe Ma

AI总结:

该研究分离循环语言模型的拓扑、输入注入等设计维度,提出Huginn式循环模型,其在非MoE和MoE基准测试中均优于Ouro,且参数效率更高。

摘要:

循环语言模型在逻辑深度上复用物理Transformer块,但现有架构将循环放置、输入注入和循环状态组织纠缠在一起。我们在参数规模、逻辑深度和token预算匹配的情况下从头训练模型,分离这些维度,然后测试所得设计原则是否可迁移到常驻参数和激活参数匹配的混合专家(MoE)模型。prelude-recurrent block-coda三明治架构在上下文提取和推理密集型任务上持续提升性能;输入注入主要增强知识检索和上下文利用;而随机初始化和独立的H/L循环状态则带来混合或负面效果。综合来看,这些结果支持Huginn式设计:在7.3亿参数和3360亿token规模下,完整的Huginn架构在全部10个基准测试中均优于Ouro;Huginn相对于Ouro的优势可迁移到MoE模型,在8B0.8B(展开后为32B3B)规模、5000亿token训练下,Huginn在涵盖知识、推理和编码的几乎所有基准测试中均优于Ouro,同时专家路由更均衡。在训练和推理FLOPs匹配的情况下,Huginn式模型比112层前馈MoE基线少用75%的常驻参数,尽管物理参数更小,仍在DROP和GSM8K上优于前馈基线,在MATH500上与之相当,在其他基准测试中保持竞争力。

英文摘要:

Looped language models reuse physical Transformer blocks across logical depth, but established architectures entangle recurrence placement, input injection, and recurrent state organization. We isolate these axes in models trained from scratch at matched parameter scale, logical depth, and token budgets, and then test whether the resulting design principles transfer to resident- and active-parameter-matched Mixture-of-Experts (MoE) models. The prelude-recurrent block-coda sandwich architecture consistently improves performance on context extraction and reasoning-intensive tasks. Input injection primarily enhances knowledge retrieval and context utilization, whereas random initialization and separate H/L recurrent states provide mixed or negative returns. Taken together, these results favor the Huginn-style design: at the 730M-parameter and 336B-token scale, the complete Huginn architecture outperforms Ouro across all ten benchmarks. The advantages of Huginn over Ouro transfer to MoE models. At the 8BA0.8B (32BA3B when unrolled) scale trained on 500B tokens, Huginn outperforms Ouro on nearly all benchmarks spanning knowledge, reasoning, and coding, while also exhibiting more balanced expert routing. Under matched training and inference FLOPs, the Huginn-style model uses 75% fewer resident parameters than a 112-layer feedforward MoE baseline. Despite its smaller physical parameters, it outperforms the feedforward baseline on DROP and GSM8K, matches it on MATH500, and remains competitive on the other benchmarks.

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

↑