arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.19036stat.MLcs.LG

状态空间模型在动态 Token 选择中可证明与 Transformer 相媲美

State Space Models are Provably Comparable to Transformers in Dynamic Token Selection

The University of Tokyo(东京大学);RIKEN AIP(理化学研究所人工智能项目)

Naoki Nishikawa, Taiji Suzuki

AI总结:

本文证明状态空间模型结合全连接神经网络在动态Token选择和非参数回归任务中,其能力可证明与Transformer相当,填补了SSMs与非线性层结合的理论空白。

摘要:

基于状态空间模型(SSMs)的深度神经网络在序列建模中备受关注,因为其计算成本远低于 Transformer。尽管 SSMs 的能力已通过各种任务的实验得到验证,但其理论理解仍较为有限。特别地,多数理论研究仅探讨不含非线性层的 SSM 层能力,而缺乏对其与非线性层结合的讨论。本文探索了 SSMs 与全连接神经网络结合的能力,证明其在根据输入提取关键 Token 方面与 Transformer 相当。作为具体实例,我们考察了两个对单一 SSM 层具挑战性的合成任务,并证明 SSMs 与非线性层结合能有效解决这些任务。此外,我们研究了非参数回归任务,证明 SSMs 在估计某类函数时的能力与 Transformer 等价。

英文摘要:

Deep neural networks based on state space models (SSMs) are attracting significant attention in sequence modeling since their computational cost is much smaller than that of Transformers. While the capabilities of SSMs have been demonstrated through experiments in various tasks, theoretical understanding of SSMs is still limited. In particular, most theoretical studies discuss the capabilities of SSM layers without nonlinear layers, and there is a lack of discussion on their combination with nonlinear layers. In this paper, we explore the capabilities of SSMs combined with fully connected neural networks, and show that they are comparable to Transformers in extracting the essential tokens depending on the input. As concrete examples, we consider two synthetic tasks, which are challenging for a single SSM layer, and demonstrate that SSMs combined with nonlinear layers can efficiently solve these tasks. Furthermore, we study the nonparametric regression task, and prove that the ability of SSMs is equivalent to that of Transformers in estimating functions belonging to a certain class.

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

↑