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

从近因性与过度平滑视角理解并缓解状态空间模型的瓶颈

Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing

University of Texas at Austin(德克萨斯大学奥斯汀分校);Zhejiang University(浙江大学);Google DeepMind(谷歌DeepMind);Georgia Tech(佐治亚理工学院)

Peihao Wang, Ruisi Cai, Yuehao Wang, Jiajun Zhu, Pragya Srivastava, Zhangyang Wang, Pan Li

AI总结:

本文揭示了状态空间模型面临近因偏差与深层过度平滑的根本困境,并提出极化状态转移矩阵通道的方法,同时缓解二者,提升长距离回忆能力并释放深层架构潜力。

摘要:

结构化状态空间模型(SSMs)已成为Transformer的替代方案。尽管SSMs通常被认为能有效捕捉长序列依赖,我们严格证明了它们本质上受限于强烈的近因偏差。我们的实证研究还揭示,这种偏差损害了模型回忆远距离信息的能力,并引入了鲁棒性问题。随后,我们的扩展实验发现,SSMs中更深的网络结构可以促进长上下文的学习。然而,进一步的理论分析表明,随着SSMs深度的增加,它们会表现出另一种不可避免的过度平滑倾向,例如令牌表示变得越来越难以区分。这种近因性与过度平滑之间的根本困境阻碍了现有SSMs的可扩展性。受我们理论发现的启发,我们提出对SSMs中状态转移矩阵的两个通道进行极化处理,分别将它们设置为零和一,从而同时解决近因偏差和过度平滑问题。实验表明,我们的极化技术持续提升了长距离令牌的联想回忆准确率,并使SSMs能够进一步从更深的架构中获益。所有源代码已发布在 https://github.com/VITA-Group/SSM-Bottleneck。

英文摘要:

Structured State Space Models (SSMs) have emerged as alternatives to transformers. While SSMs are often regarded as effective in capturing long-sequence dependencies, we rigorously demonstrate that they are inherently limited by strong recency bias. Our empirical studies also reveal that this bias impairs the models' ability to recall distant information and introduces robustness issues. Our scaling experiments then discovered that deeper structures in SSMs can facilitate the learning of long contexts. However, subsequent theoretical analysis reveals that as SSMs increase in depth, they exhibit another inevitable tendency toward over-smoothing, e.g., token representations becoming increasingly indistinguishable. This fundamental dilemma between recency and over-smoothing hinders the scalability of existing SSMs. Inspired by our theoretical findings, we propose to polarize two channels of the state transition matrices in SSMs, setting them to zero and one, respectively, simultaneously addressing recency bias and over-smoothing. Experiments demonstrate that our polarization technique consistently enhances the associative recall accuracy of long-range tokens and unlocks SSMs to benefit further from deeper architectures. All source codes are released at https://github.com/VITA-Group/SSM-Bottleneck.

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

↑