Skip to main content
QUICK REVIEW

[Paper Review] Liquid Structural State-Space Models

Ramin Hasani, Mathias Lechner|arXiv (Cornell University)|Sep 26, 2022
Neural Networks and ApplicationsComputer Science13 citations
TL;DR

This paper introduces Liquid-S4, a novel state-space model that integrates the input-adaptive dynamics of liquid time-constant (LTC) networks with the efficient, structured parameterization of S4. By replacing the fixed state transition matrix in S4 with an input-dependent one via a diagonal-plus-low-rank decomposition, Liquid-S4 learns input-specific temporal dynamics, achieving state-of-the-art performance across long-range sequence tasks with 30% fewer parameters and 87.32% average accuracy on the Long-Range Arena benchmark.

ABSTRACT

A proper parametrization of state transition matrices of linear state-space models (SSMs) followed by standard nonlinearities enables them to efficiently learn representations from sequential data, establishing the state-of-the-art on a large series of long-range sequence modeling benchmarks. In this paper, we show that we can improve further when the structural SSM such as S4 is given by a linear liquid time-constant (LTC) state-space model. LTC neural networks are causal continuous-time neural networks with an input-dependent state transition module, which makes them learn to adapt to incoming inputs at inference. We show that by using a diagonal plus low-rank decomposition of the state transition matrix introduced in S4, and a few simplifications, the LTC-based structural state-space model, dubbed Liquid-S4, achieves the new state-of-the-art generalization across sequence modeling tasks with long-term dependencies such as image, text, audio, and medical time-series, with an average performance of 87.32% on the Long-Range Arena benchmark. On the full raw Speech Command recognition, dataset Liquid-S4 achieves 96.78% accuracy with a 30% reduction in parameter counts compared to S4. The additional gain in performance is the direct result of the Liquid-S4's kernel structure that takes into account the similarities of the input sequence samples during training and inference.

Motivation & Objective

  • To enhance the generalization and causal reasoning capabilities of structural state-space models (SSMs) for long-range sequential data.
  • To address the scalability and expressivity limitations of continuous-time neural networks like LTCs by integrating them with the efficient kernel computation of S4.
  • To develop a linear state-space model that dynamically adapts to input sequences during inference, improving performance on diverse modalities including text, audio, images, and time-series.
  • To achieve state-of-the-art performance across multiple benchmarks while reducing model parameter count compared to S4 and other SOTA models.

Proposed method

  • Proposes a linearized liquid time-constant (LTC) state-space model with input-dependent state transition dynamics: $\dot{x} = (\mathbf{A} + \mathbf{B}u)x + \mathbf{B}u$, where $u$ is the input.
  • Adapts the S4 framework by applying a diagonal-plus-low-rank decomposition to the state transition matrix, enabling efficient computation via frequency-domain kernel transformations.
  • Introduces a new convolutional kernel that accounts for input signal similarities across time lags, enhancing representation learning beyond standard S4.
  • Employs the HiPPO projection mechanism to memorize historical signal content, preserving long-range dependencies.
  • Uses inverse Fourier transform to efficiently compute the kernel in the time domain, maintaining computational efficiency.
  • Leverages the same parametrization as S4-LegS, enabling direct comparison and integration with existing S4 implementations.

Experimental results

Research questions

  • RQ1Can input-adaptive state transition dynamics from liquid time-constant networks be effectively integrated into structured state-space models to improve generalization on long-range sequences?
  • RQ2Does the inclusion of input-dependent kernel terms that capture signal similarity across time lags lead to improved performance on diverse sequence modeling tasks?
  • RQ3Can a linearized LTC formulation maintain the efficiency and scalability of S4 while outperforming it across multiple benchmarks?
  • RQ4How does the performance of Liquid-S4 compare to S4, Transformers, RNNs, and CNNs on long-range sequence tasks such as image classification, speech recognition, and medical time-series?
  • RQ5To what extent does the reduced parameter count in Liquid-S4 contribute to its performance gains without sacrificing accuracy?

Key findings

  • Liquid-S4 achieves a new state-of-the-art average accuracy of 87.32% on the Long-Range Arena benchmark across all six tasks.
  • On the full raw Speech Command dataset, Liquid-S4 attains 96.78% accuracy with a 30% reduction in parameter count compared to S4.
  • On the BIDMC vital signs dataset, Liquid-S4 outperforms S4-LegS by 8.7% on heart rate, 36% on respiratory rate, and 26.67% on blood oxygen saturation prediction.
  • Liquid-S4 with a liquid kernel of order $p=3$ achieves superior performance on 1D pixel-level image classification, surpassing both S4 and Transformer baselines.
  • The model demonstrates strong zero-shot generalization on the 16kHz Speech Command dataset, achieving 96.78% accuracy, and maintains SOTA performance on the SC10 reduced subset with 98.51% accuracy.
  • Smaller kernel sizes (e.g., as small as 7 units for ListOps and IMDB) are sufficient for high performance, significantly reducing parameter count while maintaining or improving accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.