Vision-LSTM: xLSTM as Generic Vision Backbone
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 paper, 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.

ViL achieves strong performances on classification, transfer learning and segmentation tasks as well as a beneficial pre-training cost-to-performance trade-off. Experiments show that ViL holds promise to be further deployed as new generic backbone for computer vision architectures.
Computer Vision, xLSTM, image classification, semantic segmentation, transfer learning, ImageNet
We introduce Vision-LSTM, an adaption of the xLSTM architecture to computer vision tasks.