MUSE: Mamba Is Efficient Multi-scale Learner for Text-video Retrieval

Haoran Tang, Meng Cao, Jinfa Huang, Ruyang Liu, Peng Jin, Ge Li, Xiaodan Liang

TL;DR

MUSE (mUlti-ScalE learner) is a novel architecture for text-video retrieval that uses Mamba blocks to efficiently process multi-resolution video features. By leveraging Mamba’s linear computational complexity, MUSE captures fine-grained visual details that standard single-scale models miss, achieving state-of-the-art performance with significantly lower memory overhead than Transformer-based alternatives.

Addressing the Granularity Gap

Text-Video Retrieval (TVR) involves matching natural language queries to relevant video segments. Most modern TVR systems rely on CLIP, a powerful vision-language model. However, CLIP has a "plain" (non-hierarchical) structure, meaning it processes video at a single, fixed resolution.

This creates a "granularity gap." Small but crucial objects—like a specific tool or a subtle movement—might be lost at low resolutions, leading to retrieval failures. While one could theoretically use Transformers to model multiple resolutions simultaneously, the quadratic complexity of self-attention makes this prohibitively expensive. As you add more scales, the sequence length explodes, quickly leading to "Out of Memory" (OOM) errors on even high-end GPUs.

Qualitative comparison showing how multi-scale features capture small, discriminative objects like torches that single-scale models miss.

The MUSE Architecture

The authors propose MUSE, which consists of three primary components:

  1. Multi-Scale Generator: Instead of replacing the backbone, MUSE takes the output of a standard CLIP model and applies a feature pyramid (using convolution and pooling) to generate representations at multiple scales (e.g., 1x, 3x, 7x, and 14x the base token count).
  2. Multi-Scale Aggregator: To process these scales, the tokens must be flattened into a 1D sequence. The authors found that Scale-wise aggregation—ordering tokens from low to high resolution—performed best for capturing cross-scale relationships.
  3. ResMamba: The core of the model is a residual architecture utilizing Bidirectional Mamba blocks. Unlike Transformers, Mamba scales linearly with sequence length. This allows MUSE to "scan" the massive combined sequence of multi-scale tokens efficiently.

Key Insights: Mamba as the Enabler

The transition from quadratic (Transformer) to linear (Mamba) complexity isn't just an optimization; it's an enabler. It allows the model to handle sequence lengths that would crash a Transformer (e.g., 20 frames of multi-scale data requiring >80GB of VRAM).

In Mamba-based vision models, the "scan" direction is vital. The authors found that a bidirectional scan with separate projection weights for forward and backward passes was superior for capturing correlations across different resolutions.

Performance and Efficiency

MUSE achieved state-of-the-art performance on benchmarks like MSR-VTT, DiDeMo, and ActivityNet. Crucially, it does so with a fraction of the memory footprint of traditional attention-based methods.

Performance vs. Memory Usage: MUSE achieves higher retrieval accuracy (R@1) with significantly lower memory consumption compared to Transformer-based models.

At an input of 16 frames, MUSE requires only 15.37GB of GPU memory, whereas a comparable Transformer-based multi-scale model would require 76.34GB—a nearly 80% reduction in memory usage. Furthermore, MUSE is "plug-and-play," improving existing SOTA models by 1-4% R@1 when added as a post-processing aggregator.

Limitations and Future Work

While MUSE is highly efficient, increasing the number of scales still adds linear computational cost. There is a point of diminishing returns; for instance, moving to a 28x scale introduced too much redundancy and actually slightly decreased performance in some tests.

Future work could explore integrating Mamba directly into the hierarchical backbone rather than using it as a post-backbone aggregator, or applying MUSE to other multimodal tasks like video captioning and question answering.

Summary updated

BibTeX
@inproceedings{tang2025muse,
  author = {Haoran Tang and Meng Cao and Jinfa Huang and Ruyang Liu and Peng Jin and Ge Li and Xiaodan Liang},
  title = {{MUSE: Mamba Is Efficient Multi-scale Learner for Text-video Retrieval}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i7.32778},
}
Figure