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.
The MUSE Architecture
The authors propose MUSE, which consists of three primary components:
- 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).
- 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.
- 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.
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