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

Abstract

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.

Cite

Text

Parnichkun et al. "State-Free Inference of State-Space Models: The *Transfer Function* Approach." International Conference on Machine Learning, 2024.

Markdown

[Parnichkun et al. "State-Free Inference of State-Space Models: The *Transfer Function* Approach." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/parnichkun2024icml-statefree/)

BibTeX

@inproceedings{parnichkun2024icml-statefree,
  title     = {{State-Free Inference of State-Space Models: The *Transfer Function* Approach}},
  author    = {Parnichkun, Rom and Massaroli, Stefano and Moro, Alessandro and Smith, Jimmy T.H. and Hasani, Ramin and Lechner, Mathias and An, Qi and Re, Christopher and Asama, Hajime and Ermon, Stefano and Suzuki, Taiji and Poli, Michael and Yamashita, Atsushi},
  booktitle = {International Conference on Machine Learning},
  year      = {2024},
  pages     = {39834-39860},
  volume    = {235},
  url       = {https://mlanthology.org/icml/2024/parnichkun2024icml-statefree/}
}