DynamicVis: Dynamic Visual Perception for Efficient Remote Sensing Foundation Models

Keyan Chen, Chenyang Liu, Bowen Chen, Wenyuan Li, Zhengxia Zou, Shijian Lu, Zhenwei ShiarXiv 2025

TL;DR

DynamicVis is a visual foundation model tailored specifically for remote sensing imagery, which is typically dominated by vast, empty backgrounds and sparse targets. By combining an adaptive token routing mechanism with State Space Models (Mamba), it processes ultra-high-resolution satellite images with up to 94% less latency and 97% less memory than standard Vision Transformers, while simultaneously improving accuracy on tiny targets.

What Problem Does This Paper Address?

Most modern Vision Foundation Models (VFMs), like Vision Transformers (ViTs), are designed for object-centric natural images (e.g., a photo of a dog in the center of the frame). However, satellite and aerial imagery are fundamentally different: they feature extreme target sparsity and massive spatial redundancy. Key objects of interest—such as ships, vehicles, or isolated buildings—often occupy less than 1% of the image, surrounded by vast expanses of ocean, desert, or cloud cover.

Standard models process every pixel uniformly, wasting immense computational capacity on redundant backgrounds. Furthermore, common pre-training paradigms like Masked Autoencoders (MAEs) force networks to waste capacity memorizing repetitive background textures rather than learning discriminative features for small, semantically rich targets.

Fig. 1: Motivation and Overview of DynamicVis. a) ViTs process all visual tokens uniformly, leading to massive computational waste on redundant remote sensing backgrounds. b): DynamicVis introduces an adaptive token routing mechanism combined with SSMs to selectively process only high-salience regions, explicitly addressing the spatial sparsity of key targets. c): Memory consumption comparison, demonstrating the superior computational scalability of DynamicVis at ultra- high input resolutions. d): Comprehensive evaluations across nine downstream tasks demonstrate its efficacy, particularly in sparse-target perception.

Methods

To bridge this structural misalignment, the authors introduce DynamicVis, which incorporates two core innovations:

  1. Dynamic Region-Aware State Space Model (SSM) Backbone: Building on the linear computational scaling of Mamba architectures, DynamicVis introduces an Adaptive Token Routing and Incremental Modeling (ATRIM) unit. Instead of densely scanning the entire image, a router dynamically identifies a sparse subset of high-salience tokens using learnable importance scores. Only these critical foreground regions undergo heavy dual-path SSM scanning. Crucially, unselected background tokens are not permanently dropped (which would ruin pixel-level downstream tasks); instead, they bypass the heavy computation and are reintegrated into the feature map via a parameter-free residual connection to preserve macroscopic spatial topology.
  2. Region-Level Meta-Embedding Multi-Instance Learning (MIL) Pre-training: To teach the router how to distinguish foreground targets from background noise without pixel-level annotations, the authors propose a weak-supervision paradigm. Treating each large image as a "bag" of instances, they perform contrastive learning between regional visual embeddings and categorical "meta-embeddings" initialized via a pre-trained OpenCLIP text encoder. This aligns visual features with language semantics and explicitly decouples foreground instances from expansive backgrounds in the latent space.

Datasets

The model was pre-trained on a massive scale and evaluated across nine diverse downstream tasks:

  • Pre-training: The Functional Map of the World (fMoW) dataset, utilizing a consolidated corpus of 1,027,691 training images with weak region-level bounding box annotations.
  • Downstream Evaluation:
  • Tiny Object Detection: LEVIR-Ship
  • Instance Segmentation: NWPU VHR-10, SSDD (SAR-based ship detection)
  • Bi-temporal Change Detection: LEVIR-CD, WHU-CD, OSCD
  • Semantic Segmentation: Massachusetts roads, WHU building
  • Scene/Region Classification & Retrieval: fMoW test set, UC-Merced, AID, BigEarthNet, ForestNet

Key Insights and Ideas

  • Sparsity as a Core Inductive Bias: Uniform dense processing inherently dilutes the representations of tiny targets. Actively routing compute away from backgrounds preserves target fidelity.
  • SSMs Alone Aren't Enough: Simply replacing a ViT with a Mamba backbone reduces the sequence-length bottleneck but still wastes resources processing background tokens. True efficiency in remote sensing requires coupling linear models with dynamic spatial routing.
  • Preserving the Background Topology: Completely discarding background tokens permanently fractures continuous structures (like roads or land cover), causing catastrophic failures in dense pixel-level tasks. Reintegrating them parameter-free provides the best of both worlds: high efficiency and intact topology.
  • Language Priors for Spatial Selection: Using text-aligned meta-embeddings during pre-training provides the high-level semantic guidance necessary for the dynamic routing module to function optimally during downstream fine-tuning.

Key Results

  • Unprecedented Efficiency: When processing high-resolution imagery ($2048 \times 2048$), DynamicVis achieves a latency of merely 97 ms and consumes only 833 MB of memory without any hardware acceleration techniques. This represents roughly 6% of the latency and 3% of the memory footprint of a baseline ViT.
  • Linear Scalability: As resolution scales up to $4096 \times 4096$, standard ViTs suffer from Out-of-Memory (OOM) errors. DynamicVis scales perfectly linearly, slashing memory consumption by 84.4% (from 14.7 GB down to 2.3 GB) compared to a dense SSM baseline.
  • Downstream Dominance: DynamicVis establishes state-of-the-art performance across sparse-target perception tasks. For instance, on the LEVIR-Ship tiny object detection benchmark, it achieves an AP50 score of 84.1, substantially outperforming standard dense detectors and ViT backbones.

Limitations and Future Work

Despite its strengths, the authors note a natural trade-off regarding topological continuity. Because the early-stage token routing prioritizes discrete, salient instances (like buildings or ships), it can slightly dilute the high-frequency spatial gradients needed for mapping continuous, non-discrete phenomena. As a result, its performance on highly complex continuous dense structures—such as intricate road networks—only marginally outperforms heavily customized, geometry-constrained models.

Additionally, the pre-training approach still relies on weak region-level annotations. The authors note that transitioning toward a completely unsupervised, dynamically task-adaptive architecture remains an open research direction. Future work will explore integrating self-supervised modeling exclusively on the routed salient tokens to bypass annotation requirements entirely.

Summary updated

BibTeX
@misc{chen2025dynamicvis,
  author = {Keyan Chen and Chenyang Liu and Bowen Chen and Wenyuan Li and Zhengxia Zou and Shijian Lu and Zhenwei Shi},
  title = {{DynamicVis: Dynamic Visual Perception for Efficient Remote Sensing Foundation Models}},
  year = {2025},
  eprint = {2503.16426},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.16426},
}
Figure