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

Olmo Hybrid:从理论到实践再回到理论

Olmo Hybrid: From Theory to Practice and Back

Allen Institute for AI(Allen人工智能研究所);University of Washington(华盛顿大学)
William Merrill, Yanhong Li, Tyler Romero, Anej Svete, Caia Costello, Pradeep Dasigi, Dirk Groeneveld, David Heineman, Bailey Kuehl, Nathan Lambert, Chuan Li, K… 展开作者

William Merrill, Yanhong Li, Tyler Romero, Anej Svete, Caia Costello, Pradeep Dasigi, Dirk Groeneveld, David Heineman, Bailey Kuehl, Nathan Lambert, Chuan Li, Kyle Lo, Saumya Malik, DJ Matusz, Benjamin Minixhofer, Jacob Morrison, Luca Soldaini, Finbarr Timbers, Pete Walsh, Noah A. Smith, Hannaneh Hajishirzi, Ashish Sabharwal

AI总结:

本文通过理论分析和实验验证,证明混合模型(结合注意力与线性RNN)在表达能力、扩展效率上优于纯Transformer,并训练了7B参数的Olmo Hybrid模型,在标准评估中超越Olmo 3。

摘要:

近期工作展示了非Transformer语言模型(尤其是线性递归神经网络(RNN)和混合注意力与递归的混合模型)的潜力。然而,对于这些新架构的潜在优势是否值得承担规模化扩展的风险和努力,尚无共识。为解决此问题,我们从多个方面提供混合模型优于纯Transformer的证据。首先,理论上,我们证明混合模型不仅继承了Transformer和线性RNN的表达能力,还能表达超出两者的任务,例如代码执行。将这一理论付诸实践,我们训练了Olmo Hybrid,一个70亿参数模型,与Olmo 3 7B基本相当,但将滑动窗口层替换为Gated DeltaNet层。我们表明,在标准预训练和中期训练评估中,Olmo Hybrid优于Olmo 3,证明了混合模型在受控大规模设置下的优势。我们发现混合模型的扩展效率显著高于Transformer,这解释了其更高的性能。然而,尚不清楚为何特定形式问题上的更高表达能力会导致更好的扩展性或在下游任务(与这些问题无关)上表现更优。为解释这一明显差距,我们回到理论,论证为何增强的表达能力应转化为更好的扩展效率,从而完成循环。总体而言,我们的结果表明,混合注意力和递归层的混合模型是语言建模范式的强大扩展:不仅用于减少推理时的内存,更是获得在预训练中更好扩展的更具表达能力模型的基本途径。

英文摘要:

Recent work has demonstrated the potential of non-transformer language models, especially linear recurrent neural networks (RNNs) and hybrid models that mix recurrence and attention. Yet there is no consensus on whether the potential benefits of these new architectures justify the risk and effort of scaling them up. To address this, we provide evidence for the advantages of hybrid models over pure transformers on several fronts. First, theoretically, we show that hybrid models do not merely inherit the expressivity of transformers and linear RNNs, but can express tasks beyond both, such as code execution. Putting this theory to practice, we train Olmo Hybrid, a 7B-parameter model largely comparable to Olmo 3 7B but with the sliding window layers replaced by Gated DeltaNet layers. We show that Olmo Hybrid outperforms Olmo 3 across standard pretraining and mid-training evaluations, demonstrating the benefit of hybrid models in a controlled, large-scale setting. We find that the hybrid model scales significantly more efficiently than the transformer, explaining its higher performance. However, its unclear why greater expressivity on specific formal problems should result in better scaling or superior performance on downstream tasks unrelated to those problems. To explain this apparent gap, we return to theory and argue why increased expressivity should translate to better scaling efficiency, completing the loop. Overall, our results suggest that hybrid models mixing attention and recurrent layers are a powerful extension to the language modeling paradigm: not merely to reduce memory during inference, but as a fundamental way to obtain more expressive models that scale better during pretraining.

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

↑