arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.06147cs.LGcs.SYeess.SY
收藏

状态空间模型的无状态推断:传递函数方法

State-Free Inference of State-Space Models: The Transfer Function Approach

The University of Tokyo(东京大学);Liquid AI;RIKEN(理化学研究所);Stanford University(斯坦福大学);Massachusetts Institute of Technology(麻省理工学院)
Rom N. Parnichkun, Stefano Massaroli, Alessandro Moro, Jimmy T. H. Smith, Ramin Hasani, Mathias Lechner, Qi An, Christopher Ré, Hajime Asama, Stefano Ermon, Tai… 展开作者

Rom N. Parnichkun, Stefano Massaroli, Alessandro Moro, Jimmy T. H. Smith, Ramin Hasani, Mathias Lechner, Qi An, Christopher Ré, Hajime Asama, Stefano Ermon, Taiji Suzuki, Atsushi Yamashita, Michael Poli

AI总结:

本文通过传递函数的对偶表示设计状态空间模型,提出一种无状态序列并行推断算法,利用频域参数化通过单次FFT直接计算卷积核频谱,显著降低内存和计算开销,在多个基准上实现训练加速并提升下游性能。

摘要:

我们通过其对偶表示——传递函数,来设计用于深度学习的状态空间模型,并发现了一种极其高效的序列并行推断算法,该算法是无状态的:与其他已提出的算法不同,无状态推断不会随着状态尺寸的增加而产生任何显著的内存或计算开销。我们利用所提出的频域传递函数参数化的特性实现了这一点,该特性允许通过单次快速傅里叶变换直接计算其对应卷积核的频谱。我们在多种序列长度和状态尺寸下的实验结果表明,在 Long Range Arena 基准上,相比在时域参数化的 S4 层,平均训练速度提升了 35%,同时相较于其他无注意力机制的方法,取得了最先进的下游性能。此外,仅通过引入我们的传递函数参数化,我们就报告了在语言建模中相较于长卷积 Hyena 基线有所改善的困惑度。我们的代码可在 https://github.com/ruke1ire/RTF 获取。

英文摘要:

We approach designing a state-space model for deep learning applications through its dual representation, the transfer function, and uncover a highly efficient sequence parallel inference algorithm that is state-free: unlike other proposed algorithms, state-free inference does not incur any significant memory or computational cost with an increase in state size. We achieve this using properties of the proposed frequency domain transfer function parametrization, which enables direct computation of its corresponding convolutional kernel's spectrum via a single Fast Fourier Transform. Our experimental results across multiple sequence lengths and state sizes illustrates, on average, a 35% training speed improvement over S4 layers -- parametrized in time-domain -- on the Long Range Arena benchmark, while delivering state-of-the-art downstream performances over other attention-free approaches. Moreover, we report improved perplexity in language modeling over a long convolutional Hyena baseline, by simply introducing our transfer function parametrization. Our code is available at https://github.com/ruke1ire/RTF.

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

↑