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

循环SSM:用于时间序列分类的深度递归与输入重塑

Reshape and Recur: Improving SSMs with Input Reshaping and Depth Recurrence

TU Wien(维也纳技术大学);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);Liquid AI

Mónika Farsang, Ramin Hasani, Daniela Rus, Radu Grosu

AI总结:

本文探讨了循环SSM在时间序列分类中的应用,展示了深度递归和输入重塑对模型性能的提升作用,通过实验验证了这两种方法的有效性。

摘要:

状态空间模型(SSM)本质上是沿序列维度递归的,但深度递归——在层之间重复使用相同模块——在SSM家族中尚未被探索。我们证明,一个具有k个参数迭代L次的循环SSM在四个架构(LRU、S5、LinOSS、LrcSSM)和六个时间序列分类基准上,能够与或优于具有k·L个独立参数的标准SSM相媲美,尽管其在严格更小的假设空间内运行。由于较大模型包含循环模型作为特殊情况,这种主导不能归因于表达力,而是指深度递归中的参数共享作为有益的归纳偏置,简化了优化。这些结果表明,深度递归与序列递归是正交的,并且独立有益。我们进一步表明,输入重塑是同样被忽视的设计轴:将时间步连接起来用于低维输入,或对高维输入进行扁平化和重新分块,能带来1-6%的准确率提升,经5个随机种子验证。这两种技术提供了独立的改进,当结合使用时会相辅相成,表明深度和输入重塑是SSM在时间序列上的两个独立且未被充分探索的设计轴。

英文摘要:

State Space Models (SSMs) are increasingly deployed in the Edge because they offer, at comparable performance, a smaller memory/training/inference footprint, compared to Large Language Models (LLMs). These three advantages are a direct consequence of the time recurrence inherent in the SSMs architecture. Here, we further improve this recurrent architecture by positively answering two previously underexplored, orthogonal questions: (1) Can we reduce SSMs memory-footprint without any performance penalty, by also employing depth recurrence? (2) Can we increase SSMs performance by using a fixed and consistent time-granularity across all tasks? The first question is somewhat unexpected, given that SSMs are already recurrent. However, the orthogonal depth recurrence further decreases SSMs memory footprint. We show that a looped SSM with $k$ parameters adaptively iterated $M$ times, achieves a performance comparable to a standard SSM with $k \cdot L$ independent parameters, where $M \leq L$. The second question is also unexpected given the time-recurrent nature of the SSMs architecture. However, it makes perfect sense for the time-parallel training of SSMs on the entire input sequence. We show that concatenating time steps for lower-dimensional sequence elements, or flattening and re-chunking the joint feature-time dimension for high-dimensional ones, can improve the baseline by enhancing the way information is presented to the model. Our results for both extensions lead to consistent benefits across four representative SSM architectures: LRU, S5, LinOSS, LrcSSM.

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

↑