Vision-LSTM: xLSTM as Generic Vision Backbone

Benedikt Alkin, Maximilian Beck, Korbinian Pöppel, Sepp Hochreiter, Johannes Brandstetter
6/6/2024
cs.CVcs.AIcs.LG

No official code found. Best implementation: NX-AI/vision-lstm (490 stars, Apache-2.0, last commit 2025-10-20).

Abstract

Transformers are widely used as generic backbones in computer vision, despite initially introduced for natural language processing. Recently, the Long Short-Term Memory (LSTM) has been extended to a scalable and performant architecture - the xLSTM - which overcomes long-standing LSTM limitations via exponential gating and parallelizable matrix memory structure. In this report, we introduce Vision-LSTM (ViL), an adaption of the xLSTM building blocks to computer vision. ViL comprises a stack of xLSTM blocks where odd blocks process the sequence of patch tokens from top to bottom while even blocks go from bottom to top. Experiments show that ViL holds promise to be further deployed as new generic backbone for computer vision architectures.

View on arXivView PDF

Code Implementations(1)

NX-AI/vision-lstmCommunity100%
Apache-2.0

xLSTM as Generic Vision Backbone

49038Shell, PythonJun 6, 20241 years agoApache-2.0

Cite this paper

@article{alkin2024visionlstm,
  title  = {Vision-LSTM: xLSTM as Generic Vision Backbone},
  author = {Benedikt Alkin and Maximilian Beck and Korbinian Pöppel and Sepp Hochreiter and Johannes Brandstetter},
  year   = {2024},
  eprint = {2406.04303},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.04303v3},
  journal = {ICLR 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/2406.04303.svg)](https://codeofpaper.com/paper/2406.04303)

Discussion