Abstract
We present a next-generation neural network architecture, MOSAIC, for efficient and accurate semantic image segmentation on mobile devices. MOSAIC is designed using commonly supported neural operations by diverse mobile hardware platforms for flexible deployment across various mobile platforms. With a simple asymmetric encoder-decoder structure which consists of an efficient multi-scale context encoder and a light-weight hybrid decoder to recover spatial details from aggregated information, MOSAIC achieves new state-of-the-art performance while balancing accuracy and computational cost. Deployed on top of a tailored feature extraction backbone based on a searched classification network, MOSAIC achieves a 5% absolute accuracy gain surpassing the current industry standard MLPerf models and state-of-the-art architectures.
Introduction
Semantic image segmentation—the task of assigning a label to every pixel in an image—is computationally expensive. While State-of-the-Art (SOTA) models perform exceptionally well on desktop GPUs, they often fail to translate to mobile platforms due to strict power and thermal constraints.
Existing mobile-focused models often face a "lose-lose" trade-off: they either sacrifice significant accuracy to meet latency targets or use specialized operations (like atrous/dilated convolutions with high rates) that aren't efficiently supported by diverse mobile hardware such as DSPs, NPUs, or EdgeTPUs. MOSAIC bridges this gap with an architecture that is both highly accurate and "hardware-agnostic" in its efficiency, utilizing an asymmetric encoder-decoder structure to maintain low latency across mobile CPUs, GPUs, and DSPs.
Methods
The MOSAIC architecture (Mobile Segmentation via decoding Aggregated Information and encoded Context) relies on three main pillars:
- Rebalanced Encoder-Decoder Structure: Unlike the classic symmetric U-Net, MOSAIC uses a powerful, efficient encoder to capture high-level semantics and a very lightweight hybrid decoder to recover spatial details. This rebalances the computational load toward the stages that contribute most to accuracy.
- Efficient Context Encoder: Instead of using computationally expensive Atrous Spatial Pyramid Pooling (ASPP), MOSAIC uses a Spatial Pyramid Pooling (SPP) module followed by multi-kernel group convolutions. By using parallel branches with different kernel sizes (e.g., 3x3 and 5x5), the model captures multi-scale context without the hardware-compatibility issues of dilated convolutions.
- Hybrid Decoder: The decoder uses a mix of "concatenation merge" and "summation merge" blocks. This allows it to efficiently fuse low-level features (spatial details) from early backbone layers with high-level semantic features from the encoder.
Additionally, the model sits on top of a modified MobileNet Multi-Hardware (MNMH) backbone. The authors optimized this by removing excessive strides in the late stages to maintain a better feature resolution (output stride of 16) and reducing the number of channels to fit mobile memory constraints.
Key Results and Evaluation
The model was evaluated on two primary benchmarks: Cityscapes (urban street scenes) and ADE20K (Top 31). The latter was chosen to align with the MLPerf v1.0 mobile segmentation benchmark, allowing for a direct comparison with industry standards.
- Accuracy Leap: On ADE20K-Top31, MOSAIC achieved 60.10% mIOU, a massive 5% absolute gain over the previous MLPerf v1.0 standard (MNV2+DeepLabV3+).
- Cityscapes SOTA: It reached 75.67% mIOU, outperforming other mobile-centric models like Mobile-DeepLab while maintaining similar or lower latency.
- On-Device Efficiency: When tested on a Pixel 4, the model showed impressive versatility. For example, on the DSP, MOSAIC was significantly faster (39ms) than the standard MobileNetV3-Large + LR-ASPP (135ms) while being much more accurate.
Conclusion
MOSAIC demonstrates that by restricting a model to "commonly supported" operations, it is possible to achieve better performance than models using "exotic" layers. This hardware-first design ensures the speedups are real on actual devices, not just theoretical FLOP reductions. While the architecture was largely designed through manual exploration, future work could involve using AutoML (Neural Architecture Search) to further refine filter sizes and connection patterns to squeeze out even more performance.
Summary updated