Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical State Space Models for Continuous Sequence-to-Sequence Modeling

Raunaq Bhirangi, Chenyu Wang|arXiv (Cornell University)|Feb 15, 2024
Advanced Database Systems and QueriesComputer Science5 citations
TL;DR

HiSS builds a two-level temporal hierarchy of state-space models to improve continuous sequence-to-sequence prediction from real-world sensor data, outperforming LSTMs and Transformers and scaling well to smaller datasets.

ABSTRACT

Reasoning from sequences of raw sensory data is a ubiquitous problem across fields ranging from medical devices to robotics. These problems often involve using long sequences of raw sensor data (e.g. magnetometers, piezoresistors) to predict sequences of desirable physical quantities (e.g. force, inertial measurements). While classical approaches are powerful for locally-linear prediction problems, they often fall short when using real-world sensors. These sensors are typically non-linear, are affected by extraneous variables (e.g. vibration), and exhibit data-dependent drift. For many problems, the prediction task is exacerbated by small labeled datasets since obtaining ground-truth labels requires expensive equipment. In this work, we present Hierarchical State-Space Models (HiSS), a conceptually simple, new technique for continuous sequential prediction. HiSS stacks structured state-space models on top of each other to create a temporal hierarchy. Across six real-world sensor datasets, from tactile-based state prediction to accelerometer-based inertial measurement, HiSS outperforms state-of-the-art sequence models such as causal Transformers, LSTMs, S4, and Mamba by at least 23% on MSE. Our experiments further indicate that HiSS demonstrates efficient scaling to smaller datasets and is compatible with existing data-filtering techniques. Code, datasets and videos can be found on https://hiss-csp.github.io.

Motivation & Objective

  • Address the challenge of continuous sequence-to-sequence prediction from noisy, high-frequency sensor data.
  • Provide a representative benchmark for CSP tasks and evaluate modern sequence models on it.
  • Propose a hierarchical architecture (HiSS) that leverages temporal structure to improve prediction.
  • Demonstrate data efficiency and reduced preprocessing needs for CSP tasks.

Proposed method

  • Introduce CSP-Bench, a six-dataset benchmark for continuous sequence prediction across tactile and IMU sensors.
  • Use Deep State Space Models (SSMs) like S4 and Mamba as the flat baseline models.
  • Propose HiSS, stacking a low-level SSM on chunks of the input sequence and a high-level SSM to map chunk features to outputs.
  • Train end-to-end with MSE loss, standardize sampling (50 Hz inputs, 5 Hz outputs), and apply optional one-step differences as features.
  • Demonstrate that hierarchical modeling yields substantial improvements over flat SSMs and other baselines, and analyze data-efficiency and preprocessing compatibility.

Experimental results

Research questions

  • RQ1How do SSMs compare to LSTMs and Transformers on CSP-Bench tasks?
  • RQ2Does HiSS provide benefits beyond flat models by leveraging temporal hierarchies?
  • RQ3Is HiSS compatible with standard sensor preprocessing like filtering?
  • RQ4How does HiSS perform in low-data regimes and with high-dimensional inputs?

Key findings

  • SSMs (Mamba, S4) outperform LSTMs and Transformers on CSP-Bench with median improvements of 10–14% in MSE across tasks.
  • HiSS further improves performance by ~23% median MSE over best flat models across tasks.
  • HiSS models with S4 as the low-level component achieve strong gains, indicating effective capture of low-level temporal structure.
  • Downsampling alone does not match HiSS benefits, showing HiSS distills more information than naive downsampling.
  • HiSS demonstrates data efficiency, performing well on smaller training subsets.
  • TotalCapture is a failure case for SSMs and HiSS, likely due to high input/output dimensionality and noisier human-generated data.

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.