TL;DR
This paper introduces MOBIUS, a family of universal instance segmentation models designed for efficient deployment on resource-constrained devices like mobile phones, without sacrificing state-of-the-art performance. They achieve this through a novel bottleneck pixel decoder for efficient multi-modal fusion and a language-guided decoder pruning strategy, significantly reducing computational costs and training time.
What Problem Does This Paper Address?
Foundation models have revolutionized computer vision, achieving impressive performance on tasks like object detection and segmentation. However, their massive size and computational demands make them impractical for deployment on edge devices such as smartphones or autonomous systems. While existing research has focused on scaling these models up, there's a significant gap in efficiently scaling them down while maintaining performance. This paper tackles this challenge by developing a universal instance segmentation model that is both highly performant and computationally efficient, enabling real-time inference on mobile hardware.
Methods
MOBIUS introduces several key innovations to achieve its efficiency and performance goals:
- Bottleneck Pixel Decoder: Instead of processing multiple feature scales, MOBIUS uses a single feature scale as a "bottleneck." This bottleneck is then fused with multi-modal (text) information using a novel encoder that employs deformable self- and cross-attention. This approach significantly reduces the computational cost of feature fusion and processing.
- Language-Guided Uncertainty Calibration Loss: To enable efficient inference-time pruning of the transformer decoder, MOBIUS calibrates the confidence scores of decoder queries. This loss function aligns localization confidence with language-guided classification scores, ensuring that only relevant queries are kept.
- Uncertainty-Guided Query Pruning: Leveraging the calibrated confidence scores, MOBIUS prunes irrelevant decoder queries layer by layer during inference. This significantly reduces the computational load of the transformer decoder without a substantial drop in performance.
- Unified Training Strategy: MOBIUS employs a single-stage training approach across diverse datasets and tasks. This simplifies the training process and reduces training iterations compared to previous multi-stage methods, while also improving model stability.
Datasets
MOBIUS is trained and evaluated on a variety of datasets for instance-level perception tasks:
- Object Detection: COCO [29], Objects365 [46], OpenImages [19], ODinW [25]
- Instance Segmentation: COCO [29], LVIS [12], BDD [44]
- Referring Expressions: RefCOCO [34], RefCOCO+ [34], RefCOCOg [34], VisualGenome [18], RVOS [45]
- Video Instance Segmentation: YTVIS19 [58], YTVIS21 [58], OVIS [35] (treated as image datasets)
- Open-World Segmentation: UVO [53], SA-1B [16]
The paper emphasizes training on a diverse set of datasets to achieve universal instance segmentation capabilities.
Key Insights and Ideas
- The Bottleneck is Key: The core insight is that a well-designed bottleneck representation can effectively condense multi-scale and multi-modal information, eliminating the need for complex multi-scale processing in subsequent stages. This is a significant departure from prior DETR-based architectures.
- Pruning for Efficiency: The paper demonstrates that intelligent pruning of decoder queries, guided by language-based confidence, can drastically reduce computational cost during inference without harming accuracy. This is crucial for real-time applications.
- Unified Training is Achievable: MOBIUS shows that a stable, single-stage training process is possible for universal instance segmentation, overcoming the instability issues faced by previous methods that relied on complex multi-stage curricula. This democratizes the training of such models.
- Pareto Efficiency Matters: The paper strongly advocates for Pareto efficiency, showing that MOBIUS achieves a superior balance of performance and computational cost compared to existing models, especially for mobile deployments.
Key Results
- Computational Savings: MOBIUS reduces pixel decoder FLOPs by up to 55% and transformer decoder FLOPs by up to 75% compared to baselines like GLEE.
- Performance: MOBIUS maintains state-of-the-art performance on various benchmarks, including impressive zero-shot generalization on ODinW. For instance, it achieves 40.3 APb on ODinW, outperforming GLEE-MaskDINO (37.0) and GLEE-RT-DETR (30.7).
- Training Efficiency: MOBIUS reduces training iterations to one-third of GLEE's, significantly speeding up the development cycle.
- Real-time Inference: MOBIUS achieves real-time inference, with speeds of 10 FPS on mobile devices and 25 FPS on high-end GPUs.
- Memory Reduction: The model's memory footprint is drastically reduced, from 200MB to just 15MB for mobile deployment.
Limitations and Future Work
- Text Encoder Cost: The paper notes that the text encoder's cost is excluded from efficiency and latency measurements. Future work could explore more efficient text encoders.
- Generalization to New Domains: While MOBIUS shows strong zero-shot generalization, further exploration into its performance on entirely novel domains or tasks could be beneficial.
- Hardware-Specific Optimizations: While the paper mentions uint8 quantization for Snapdragon, further hardware-specific optimizations could unlock even greater efficiency on diverse edge devices.
- Exploring Different Bottleneck Sizes: The paper investigates bottleneck strides, but a more comprehensive study on the optimal bottleneck size for various resource constraints could be valuable.
Summary updated