Papers › Vision-LSTM: xLSTM as Generic Vision Backbone

Vision-LSTM: xLSTM as Generic Vision Backbone

6 Jun 2024arXiv:2406.04303archive 2025-07-28

Benedikt Alkin, Maximilian Beck, Korbinian Pöppel, Sepp Hochreiter, Johannes Brandstetter

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.04303")

Code

Syntology Ran 14 of 19 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 2 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: official repository: 19 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

NX-AI/vision-lstm officialmentioned on GitHubpytorch report
BenediktAlkin/vtab1k-pytorch mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 14 ran; 1 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
4ran · our draft was wrong
2ran · fixture could not drive it
7ran
5unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from NX-AI/vision-lstm. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

CausalConv1d NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · metamorphic tier: invariant Apache-2.0 (permissive) · f8ca69c110b41703 · report
DropPath NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · metamorphic tier: invariant Apache-2.0 (permissive) · 5fa540c6a1346171 · report
LayerNorm NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · a796b1f63f3dfbce · report
LinearHeadwiseExpand NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · metamorphic tier: invariant Apache-2.0 (permissive) · 22cd5400a08af55a · report
MultiHeadLayerNorm NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 70db181d80fa624d · report
VitPatchEmbed NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · metamorphic tier: invariant Apache-2.0 (permissive) · 6b7511b39ecf627e · report
VitPosEmbed2d NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · metamorphic tier: invariant Apache-2.0 (permissive) · e56c0fd30e56fabf · report
_ntuple NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 90263a78b0923104 · report
bias_linspace_init_ NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 705d17e5f5c0489b · report
interpolate_sincos NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 3852783d3c31c6c8 · report
parallel_stabilized_simple NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 124d9b21f82fcec5 · report
small_init_ NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 83954f29f639db88 · report
to_ntuple NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 8aecee1d48ec4f1e · report
wang_init_ NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b5ad18007daa65d1 · report
MatrixLSTMCell NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository unverified Apache-2.0 (permissive) · 0c409c165a499499 · report
SequenceTraversal NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository unverified Apache-2.0 (permissive) · 83c87d311ea75cbc · report
ViLBlock NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository unverified Apache-2.0 (permissive) · a74a2b2b5da0ef34 · report
ViLLayer NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository unverified Apache-2.0 (permissive) · b9defe989265d1d9 · report
VisionLSTM NX-AI/vision-lstm/vision_lstm/vision_lstm.py official repository unverified Apache-2.0 (permissive) · 061ae51a3df25f67 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

LSTMSigmoid ActivationTanh Activation

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections