Abstract
Open-Vocabulary Detection (OVD) is a critical challenge in computer vision, requiring models to identify objects beyond their explicit training sets. While YOLO-World has set benchmarks for speed in this domain, its reliance on attention-based fusion in the "neck" architecture introduces quadratic computational complexity and limits spatial receptive fields. This paper introduces Mamba-YOLO-World, which replaces the traditional Vision-Language Path Aggregation Network (VL-PAN) with a novel MambaFusion-PAN. By leveraging the linear complexity and long-range dependency modeling of State Space Models (SSMs), Mamba-YOLO-World achieves superior zero-shot performance on LVIS and COCO benchmarks while significantly reducing computational overhead at high image resolutions.
The Bottleneck in Open-Vocabulary Detection
The primary challenge in OVD is fusing visual features from an image with linguistic features from a text prompt. YOLO-World utilizes cross-attention mechanisms for this fusion, which the authors identify as having two major flaws:
- Quadratic Complexity: Computational costs grow quadratically ($O(N^2)$) with image resolution or text length, making high-resolution inference expensive.
- Limited Receptive Fields: Fusion often occurs at a channel level, lacking the global spatial context necessary for accurately localizing objects based on complex prompts.
Methods: MambaFusion-PAN
Mamba-YOLO-World addresses these issues by introducing the MambaFusion-PAN. This new neck architecture utilizes the Mamba State Space Model (SSM) to capture long-range dependencies with linear complexity ($O(N)$).
Key innovations include:
- Mamba Hidden State as Intermediary: Instead of concatenating image and text sequences, the model uses the Mamba hidden state to pass information between modalities, maintaining $O(N+1)$ complexity and avoiding sequence length explosion.
- Parallel-Guided Selective Scan (PGSS): This algorithm injects compressed textual information into the visual scanning process, allowing text to guide visual features at a granular pixel level.
- Serial-Guided Selective Scan (SGSS): This handles the "Image-to-Text" flow, where visual information updates the text encoder's internal parameters, ensuring text features are contextually aware of the visual scene.
Key Insights and Efficiency
By moving from Transformers to Mamba, the authors demonstrate that multi-modal fusion can be highly efficient. The Mamba-YOLO-World neck becomes increasingly efficient relative to the original YOLO-World as image resolution increases. Furthermore, Mamba’s selective scanning allows every pixel to "see" the entire image and text prompt simultaneously, which is crucial for generalizing to rare or complex object categories.
Key Results
The model was evaluated on LVIS minival (1,203 categories) and COCO after pre-training on the GoldG dataset. Mamba-YOLO-World consistently outperforms the original YOLO-World across various model sizes:
- Zero-shot Performance: The Small variant achieved a +1.5% AP improvement on LVIS, while the Medium variant saw a +1.8% AP boost.
- Computational Savings: The Mamba-based neck consumes up to 15% fewer FLOPs than the original VL-PAN at high resolutions.
- State-of-the-Art: The model surpasses larger architectures like Grounding-DINO while using significantly fewer parameters.
Conclusion
Mamba-YOLO-World provides a blueprint for efficient, real-time multi-modal tasks. While the model shows clear wins in efficiency and accuracy, future work will focus on hardware-specific optimizations for Mamba kernels and scaling the architecture to even larger foundation models. The "Mamba-fication" of the detection neck represents a significant step toward scalable and accurate open-vocabulary vision systems.
Summary updated