RNN as Linear Transformer: A Closer Investigation into Representational Potentials of Visual Mamba Models

Timing Yang, Guoyizhe Wei, Alan Yuille, Feng Wang
11/23/2025
cs.CV

No official code found. Best implementation: yangtiming/Dino-Mamba (11 stars, last commit 2026-02-23).

Abstract

Mamba has recently garnered attention as an effective backbone for vision tasks. However, its underlying mechanism in visual domains remains poorly understood. In this work, we systematically investigate Mamba's representational properties and make three primary contributions. First, we theoretically analyze Mamba's relationship to Softmax and Linear Attention, confirming that it can be viewed as a low-rank approximation of Softmax Attention and thereby bridging the representational gap between Softmax and Linear forms. Second, we introduce a novel binary segmentation metric for activation map evaluation, extending qualitative assessments to a quantitative measure that demonstrates Mamba's capacity to model long-range dependencies. Third, by leveraging DINO for self-supervised pretraining, we obtain clearer activation maps than those produced by standard supervised approaches, highlighting Mamba's potential for interpretability. Notably, our model also achieves a 78.5 percent linear probing accuracy on ImageNet, underscoring its strong performance. We hope this work can provide valuable insights for future investigations of Mamba-based vision architectures.

View on arXivView PDF

Code Implementations(1)

[CVPR 2026] Official implementation of "RNN as Linear Transformer: A Closer Investigation into Representational Potentials of Visual Mamba Models" - A theoretical and empirical analysis of Mamba for vision tasks with DINO self-supervised pretraining.

110Shell, PythonNov 22, 20257 months ago

Similar Papers

Cite this paper

@article{yang2025linear,
  title  = {RNN as Linear Transformer: A Closer Investigation into Representational Potentials of Visual Mamba Models},
  author = {Timing Yang and Guoyizhe Wei and Alan Yuille and Feng Wang},
  year   = {2025},
  eprint = {2511.18380},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.18380v1}
}

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/2511.18380.svg)](https://codeofpaper.com/paper/2511.18380)

Discussion