GG-SSMs: Graph-Generating State Space Models

Nikola Zubic, Davide Scaramuzza
2/9/2026

No official code found. Best implementation: uzh-rpg/gg_ssms (34 stars, PyTorch, last commit 2025-06-05).

Abstract

State Space Models (SSMs) are powerful tools for mod-eling sequential data in computer vision and time series analysis domains. However, traditional SSMs are limited by fixed, one-dimensional sequential processing, which restricts their ability to model non-local interactions in high-dimensional data. While methods like Mamba and VMamba introduce selective and flexible scanning strategies, they rely on predetermined paths, which fails to efficiently capture complex dependencies. We introduce Graph-Generating State Space Models (GG-SSMs), a novel framework that overcomes these limitations by dynamically constructing graphs based on feature relationships. Using Chazelle’s Minimum Spanning Tree algorithm, GG-SSMs adapt to the inherent data structure, enabling robust feature propagation across dynamically generated graphs and effi-ciently modeling complex dependencies. We validate GG-SSMs on 11 diverse datasets, including event-based eye-tracking, ImageNet classification, optical flow estimation, and six time series datasets. GG-SSMs achieve state-of-the-art performance across all tasks, surpassing existing methods by significant margins. Specifically, GG-SSM attains a top-1 accuracy of 84.9% on ImageNet, outperforming prior SSMs by 1%, reducing the KITTI-15 error rate to 2.77%, and improving eye-tracking detection rates by up to 0.33% with fewer parameters. These results demonstrate that dynamic scanning based on feature relationships significantly improves SSMs’ representational power and efficiency, offering a versatile tool for various applications in computer vision and beyond.

View on arXivView PDF

Code Implementations(1)

uzh-rpg/gg_ssmsCommunity70%
PyTorch

[CVPR'25 Highlight] The official implementation of "GG-SSMs: Graph-Generating State Space Models"

348Shell, PythonMar 23, 20251 years ago
backbonecomputer-visioncomputer-vision-algorithmscvpr2025deep-learning+15 more

Similar Papers

Cite this paper

@article{zubic2026ggssms,
  title  = {GG-SSMs: Graph-Generating State Space Models},
  author = {Nikola Zubic and Davide Scaramuzza},
  year   = {2026},
  eprint = {2412.12423},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.12423},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.12423.svg)](https://codeofpaper.com/paper/2412.12423)

Discussion