arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.09389cs.LGcs.AI
收藏

通过系数动力学设计序列模型的原则

Design Principles for Sequence Models via Coefficient Dynamics

ETH Zurich(苏黎世联邦理工学院);ELLIS Institute Tübingen(图宾根ELLIS研究所);Stanford University(斯坦福大学)

Jerome Sieber, Antonio Orvieto, Melanie N. Zeilinger, Carmen Amo Alonso

AI总结:

本文通过系数动力学框架系统比较了序列模型,揭示了不同架构间的数学共同主题,并提出了设计原则以平衡表达能力、效率和稳定性。

摘要:

深度序列模型,从Transformer和状态空间模型(SSMs)到更近期的门控线性RNNs,本质上都是通过过去值向量的线性组合来计算输出。为了获得洞察并系统比较这些架构,我们开发了一个统一框架,通过将线性组合系数视为由脉冲输入驱动的自主线性动力系统输出,使这一输出操作显式化。这一观点与专注于将线性RNN与线性注意力连接的方法有本质区别,揭示了不同架构中的共同数学主题,并关键捕捉了softmax注意力,超越RNNs、SSMs及相关模型。与通常在基准上评估的新模型提案不同,我们推导出连接架构选择与模型属性的设计原则。从而识别了表达能力与高效实现之间的权衡、输入选择性的几何约束以及数值稳定训练和信息保留的稳定性条件。通过连接近期文献中的多个洞察和观察,该框架不仅解释了近期设计的实证成功,还为系统设计新的序列模型架构提供了指导原则。

英文摘要:

Deep sequence models, ranging from Transformers and State Space Models (SSMs) to more recent approaches such as gated linear RNNs, fundamentally compute outputs as linear combinations of past value vectors. To draw insights and systematically compare such architectures, we develop a unified framework that makes this output operation explicit, by casting the linear combination coefficients as the outputs of autonomous linear dynamical systems driven by impulse inputs. This viewpoint, in spirit substantially different from approaches focusing on connecting linear RNNs with linear attention, reveals a common mathematical theme across diverse architectures and crucially captures softmax attention, on top of RNNs, SSMs, and related models. In contrast to new model proposals that are commonly evaluated on benchmarks, we derive design principles linking architectural choices to model properties. Thereby identifying tradeoffs between expressivity and efficient implementation, geometric constraints on input selectivity, and stability conditions for numerically stable training and information retention. By connecting several insights and observations from recent literature, the framework both explains empirical successes of recent designs and provides guiding principles for systematically designing new sequence model architectures.

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

↑