arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.14366cs.CLcs.AI
收藏

语言模型线性化中什么更重要?架构、规模和任务适应的比较研究

What Matters in Linearizing Language Models? A Comparative Study of Architecture, Scale, and Task Adaptation

Humboldt-Universität zu Berlin(柏林洪堡大学)

Patrick Haller, Jonas Golde, Alan Akbik

AI总结:

本研究比较了七种架构在线性化语言模型中的表现,发现架构归纳偏置是影响线性化成功的关键因素,而非单纯扩大训练计算量。

摘要:

线性化已成为开发高效语言模型(LMs)的一种策略。从现有的基于Transformer的LM开始,线性化将注意力组件替换为计算效率更高的子二次token混合器。然而,随着越来越多的混合器被提出,仍不清楚哪些归纳偏置最适合继承原始Transformer的能力。此外,不清楚线性化如何受到参数和令牌预算扩展的影响。为了解决这些问题,我们提出了一种统一的设置来比较七种代表性的架构,包括xLSTM、GLA和Gated DeltaNet。我们的发现表明,性能层级从1.4亿到17亿参数保持稳定,纠错更新规则显示出更优的扩展指数。我们显示性能差距在早期建立并在100亿令牌的渐近成熟期持续存在,这表明状态解析比蒸馏预算更基本的瓶颈。最后,尽管大多数模型适应于指令微调,只有门控delta规则形式能够维持长上下文检索所需的精度,而加法模型则会因不可逆的状态饱和而受损。这些结果表明,对于成功的线性化,架构归纳偏置仍然是无法通过单纯扩大训练计算量来克服的主要限制。

英文摘要:

Linearization has emerged as a strategy for developing efficient language models (LMs). Starting from an existing Transformer-based LM, linearization replaces the attention component with computationally efficient subquadratic \textit{token mixers}. However, as an increasing number of mixers are proposed, it remains unclear which inductive biases are best suited to inherit the original Transformer's capabilities. Furthermore, it is unknown how linearization is affected by parameter and token budget scaling. To address these questions, we propose a unified setup to compare seven representative architectures, including xLSTM, GLA, and Gated DeltaNet. Our findings reveal that performance hierarchies remain stable from 140M to 1.7B parameters, with error-correcting update rules demonstrating superior scaling exponents. We show that performance gaps are established early and persist through asymptotic maturity at 10B tokens, suggesting that state resolution is a more fundamental bottleneck than the distillation budget. Finally, while most models adapt to instruction tuning, only gated delta-rule formulations maintain the precision necessary for long-context retrieval, whereas additive models suffer from irreversible state saturation. These results suggest that for successful linearization, architectural inductive biases remain the primary constraint that cannot be overcome by simply scaling training compute.

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

↑