All models

RoMA

A Mamba encoder for remote sensing images, pretrained without labels by autoregressive next-token prediction.

Image classification · 10,183 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 10,183 operations (127 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
99.4M
Operations
10,183
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2025
Cited by
1 (as of 26 October 2026)
Authors
Fengxiang Wang, Yulin Wang, Mingshuo Chen and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19869
Graph hash
e7a3111e16642ba77b0ee02f1b94e65e0240f2d82343d51c167c246bfd7ce903
Skeleton hash
25d0a35090699782a52c88f462997d8990bc81bab13ca94a550dcbe5d5a195fb
Architecture hash
ac52a71e95d49987d1a27180a949262f5154f7b60105366f8f3854b0edc49fcf
Diagram SHA-256
614d137bf88a5ec08b5fb3d09dd446288a09bf6b6e877ab92f7b6e4f4b202e89
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

RoMA is a method for pretraining Mamba-based foundation models for remote sensing (RS) images without labels. The name stands for Rotation-aware Multi-scale Autoregressive learning. The motivation is cost: the paper says the quadratic complexity of self-attention in Vision Transformers is a barrier for large models and high-resolution images, while Mamba has linear complexity.

Where MAE encodes only a random subset of patches and reconstructs the masked ones, RoMA encodes all patches with a Mamba encoder and predicts the next token in the sequence. The paper argues that these causal token dependencies align with the one-directional way Mamba scans tokens. Two additions adapt the approach to RS imagery: a rotation-aware mechanism that combines adaptive cropping with angular embeddings, and multi-scale token prediction objectives for the wide range of object scales. The encoder itself is unchanged, since RoMA follows the standard Mamba architecture without modifications and concentrates on the pretraining strategy. In decoding, cross-attention with token-level causal masking predicts tokens one after another.

The paper reports that RoMA-pretrained Mamba models outperform ViT-based counterparts in both accuracy and computational efficiency on its downstream tasks, which include scene classification and semantic segmentation. It also reports that Mamba-B achieves 1.56× faster inference and 78.9% lower GPU memory usage than the ViT on 1248×1248 images.

Key idea. RoMA pretrains Mamba-based remote sensing foundation models with autoregressive next-token prediction, adding a rotation-aware mechanism and multi-scale prediction objectives for high-resolution imagery.

  • RoMA
  • Mamba
  • remote sensing foundation model
  • autoregressive pretraining
  • self-supervised pretraining
  • remote sensing
  • next-token prediction
  • rotation-aware

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{wang2025romascalingmambabasedfoundation,
      title={RoMA: Scaling up Mamba-based Foundation Models for Remote Sensing}, 
      author={Fengxiang Wang and Yulin Wang and Mingshuo Chen and Haiyan Zhao and Yangang Sun and Shuo Wang and Hongzhen Wang and Di Wang and Long Lan and Wenjing Yang and Jing Zhang},
      year={2025},
      eprint={2503.10392},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2503.10392}, 
}