Effectively Modeling Time Series with Simple Discrete State Spaces
Michael Zhang, Khaled Kamal Saab, Michael Poli, Tri Dao, Karan Goel, Christopher Ré
Abstract
Time series modeling is a well-established problem, which often requires that methods (1) expressively represent complicated dependencies, (2) forecast long horizons, and (3) efficiently train over long sequences. State-space models (SSMs) are classical models for time series, and prior works combine SSMs with deep learning layers for efficient sequence modeling. However, we find fundamental limitations with these prior approaches, proving their SSM representations cannot express autoregressive time series processes. We thus introduce SpaceTime, a new state-space time series architecture that improves all three criteria. For expressivity, we propose a new SSM parameterization based on the companion matrix -a canonical representation for discrete-time processes-which enables SpaceTime's SSM layers to learn desirable autoregressive processes. For long horizon forecasting, we introduce a "closed-loop" variation of the companion SSM, which enables SpaceTime to predict many future time-steps by generating its own layerwise inputs. For efficient training and inference, we introduce an algorithm that reduces the memory and compute of a forward pass with the companion matrix. With sequence length and state-space size d, we go from Õ(d ) naïvely to Õ(d + ). In experiments, our contributions lead to state-of-the-art results on extensive and diverse benchmarks, with best or second-best AUROC on 6 / 7 ECG and speech time series classification, and best MSE on 14 / 16 Informer forecasting tasks. Furthermore, we find SpaceTime (1) fits AR(p) processes that prior deep SSMs fail on, (2) forecasts notably more accurately on longer horizons than prior state-of-the-art, and (3) speeds up training on real-world ETTh1 data by 73% and 80% relative wall-clock time over Transformers and LSTMs. Order determined by forecasting competition.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
25 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting cites Reformer: The Efficient Transformer
- Graph Mamba: Towards Learning on Graphs with State Space Models cites Efficiently Modeling Long Sequences with Structured State Spaces
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores cites Efficiently Modeling Long Sequences with Structured State Spaces
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores cites Simple Hardware-Efficient Long Convolutions for Sequence Modeling
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores cites Reformer: The Efficient Transformer
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Reformer: The Efficient Transformer
- Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting cites Reformer: The Efficient Transformer
- Efficiently Modeling Long Sequences with Structured State Spaces cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- Mechanistic Design and Scaling of Hybrid Architectures cites Efficiently Modeling Long Sequences with Structured State Spaces
- Mechanistic Design and Scaling of Hybrid Architectures cites Zoology: Measuring and Improving Recall in Efficient Language Models
- Simple Hardware-Efficient Long Convolutions for Sequence Modeling cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- Simple Hardware-Efficient Long Convolutions for Sequence Modeling cites Efficiently Modeling Long Sequences with Structured State Spaces
- Zoology: Measuring and Improving Recall in Efficient Language Models cites Efficiently Modeling Long Sequences with Structured State Spaces
- Zoology: Measuring and Improving Recall in Efficient Language Models cites Simple Hardware-Efficient Long Convolutions for Sequence Modeling
- Zoology: Measuring and Improving Recall in Efficient Language Models cites Reformer: The Efficient Transformer
Cited by top-tier papers25
- Zoology: Measuring and Improving Recall in Efficient Language ModelsSimran Arora, Sabri Eyuboglu, Aman Timalsina, Isys Johnson et al.ICLR 2024 · 140 citations
- Simple Hardware-Efficient Long Convolutions for Sequence ModelingDaniel Y. Fu, Elliot L. Epstein, Eric Nguyen, Armin W. Thomas et al.ICML 2023 · 72 citations
- Graph Mamba: Towards Learning on Graphs with State Space ModelsAli Behrouz, Farnoosh HashemiKDD 2024 · 63 citations
- Mechanistic Design and Scaling of Hybrid ArchitecturesMichael Poli, Armin W. Thomas, Eric Nguyen, Pragaash Ponnusamy et al.ICML 2024 · 57 citations
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor CoresDaniel Y. Fu, Hermann Kumbong, Eric Nguyen, Christopher RéICLR 2024 · 41 citations
Builds on18
- Informer: Beyond Efficient Transformer for Long Sequence Time-Series ForecastingHaoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang et al.AAAI 2021 · 7,289 citations
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series ForecastingHaixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng LongNeurIPS 2021 · 5,824 citations
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
- FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series ForecastingTian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang et al.ICML 2022 · 2,912 citations
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 citations
Related papers
- SDE: A Simplified and Disentangled Dependency Encoding Framework for State Space Models in Time Series ForecastingZixuan Weng, Jindong Han, Wenzhao Jiang, Hao LiuKDD 2025 · 1 citation
- Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space LayersAlbert Gu, Isys Johnson, Karan Goel, Khaled Saab et al.NeurIPS 2021 · 1,280 citations
- Learning Deep Time-index Models for Time Series ForecastingGerald Woo, Chenghao Liu, Doyen Sahoo, Akshat Kumar et al.ICML 2023 · 38 citations
- Probabilistic Transformer For Time Series AnalysisBinh Tang, David S. MattesonNeurIPS 2021 · 150 citations
- Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando et al.ICML 2023 · 474 citations
