Lune

NeurIPS2022Top-tier venue

S4ND: Modeling Images and Videos as Multidimensional Signals with State Spaces

Eric Nguyen, Karan Goel, Albert Gu, Gordon W. Downs, Preey Shah, Tri Dao, Stephen Baccus, Christopher Ré

Abstract

Visual data such as images and videos are typically modeled as discretizations of inherently continuous, multidimensional signals. Existing continuous-signal models attempt to exploit this fact by modeling the underlying signals of visual (e.g., image) data directly. However, these models have not yet been able to achieve competitive performance on practical vision tasks such as large-scale image and video classification. Building on a recent line of work on deep state space models (SSMs), we propose S4ND, a new multidimensional SSM layer that extends the continuous-signal modeling ability of SSMs to multidimensional data including images and videos. We show that S4ND can model large-scale visual data in 1D, 2D, and 3D as continuous multidimensional signals and demonstrates strong performance by simply swapping Conv2D and self-attention layers with S4ND layers in existing state-of-the-art models. On ImageNet-1k, S4ND exceeds the performance of a Vision Transformer baseline by 1.5% when training with a 1D sequence of patches, and matches ConvNeXt when modeling images in 2D. For videos, S4ND improves on an inflated 3D ConvNeXt in activity classification on HMDB-51 by 4%. S4ND implicitly learns global, continuous convolutional kernels that are resolution invariant by construction, providing an inductive bias that enables generalization across multiple resolutions. By developing a simple bandlimiting modification to S4 to overcome aliasing, S4ND achieves strong zeroshot (unseen at training time) resolution performance, outperforming a baseline Conv2D by 40% on CIFAR-10 when trained on 8 ⇥ 8 and tested on 32 ⇥ 32 images. When trained with progressive resizing, S4ND comes within ⇠ 1% of a high-resolution model while training 22% faster.

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.

76 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites A ConvNet for the 2020s
  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites Training data-efficient image transformers & distillation through attention
  • VMamba: Visual State Space Model cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • VMamba: Visual State Space Model cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • VMamba: Visual State Space Model cites A ConvNet for the 2020s
  • VMamba: Visual State Space Model cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • VMamba: Visual State Space Model cites Training data-efficient image transformers & distillation through attention
  • A ConvNet for the 2020s cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • A ConvNet for the 2020s cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A ConvNet for the 2020s cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • A ConvNet for the 2020s cites Training data-efficient image transformers & distillation through attention
  • EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba cites VMamba: Visual State Space Model
  • EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba cites A ConvNet for the 2020s
  • EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba cites Resurrecting Recurrent Neural Networks for Long Sequences
  • EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba cites Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • Resurrecting Recurrent Neural Networks for Long Sequences cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers76

  1. VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu et al.NeurIPS 2024 · 3,199 citations
  2. Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang et al.ICML 2024 · 1,725 citations
  3. Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando et al.ICML 2023 · 474 citations
  4. EfficientVMamba: Atrous Selective Scan for Light Weight Visual MambaXiaohuan Pei, Tao Huang, Chang XuAAAI 2025 · 248 citations
  5. Structured State Space Models for In-Context Reinforcement LearningChris Lu, Yannick Schroecker, Albert Gu, Emilio Parisotto et al.NeurIPS 2023 · 164 citations

Builds on27

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  4. A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations
  5. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations

Related papers

  1. Hyperspectral Image Fusion with Spectral-Band and Fusion-Scale AgnosticismYujie Liang, ZiHan Cao, Liang-Jian Deng, Yang Yang et al.ICML 2026
  2. State Space Models for Event CamerasNikola Zubic, Mathias Gehrig, Davide ScaramuzzaCVPR 2024 · 33 citations
  3. From Layers to States: A State Space Model Perspective to Deep Neural Network Layer DynamicsQinshuo Liu, Weiqin Zhao, Wei Huang, Yanwen Fang et al.ICLR 2025
  4. On the Parameterization and Initialization of Diagonal State Space ModelsAlbert Gu, Karan Goel, Ankit Gupta, Christopher RéNeurIPS 2022 · 690 citations
  5. Block-State TransformersJonathan Pilault, Mahan Fathi, Orhan Firat, Chris Pal et al.NeurIPS 2023 · 33 citations
Dusk over the sea between two cliffs drawn in fine vertical lines