Efficient Semantic Segmentation via Lightweight Multiple-Information Interaction Network

Yangyang Qiu, Guoan Xu, Guangwei Gao, Zhenhua Guo, Yi Yu, Chia-Wen Lin · DOI

Abstract

Semantic segmentation is a critical yet computationally demanding task for real-time applications like autonomous driving. This paper presents the Lightweight Multiple-Information Interaction Network (LMIINet), an ultra-lightweight architecture that harmonizes the local detail-capturing strengths of Convolutional Neural Networks (CNNs) with the global context modeling of Transformers. LMIINet utilizes a novel Lightweight Feature Interaction Bottleneck (LFIB) and an Improved Flatten Transformer to achieve high performance with minimal parameters. Experimental results on the Cityscapes dataset demonstrate that LMIINet achieves 72.0% mIoU at 100 FPS with only 0.72M parameters, outperforming several state-of-the-art models in efficiency.

Introduction

Real-time semantic segmentation requires assigning a category to every pixel in an image with high accuracy and low latency. While CNNs excel at local pattern extraction, they often lack the global receptive field necessary for complex scene understanding. Conversely, Transformers provide global modeling but suffer from high computational complexity, particularly at high resolutions. Existing hybrid approaches often fail to meet the strict resource constraints of edge devices. LMIINet addresses this by proposing a "best of both worlds" architecture designed for mobile deployment without compromising safety-critical accuracy.

Methodology

The LMIINet architecture is built upon three primary innovations designed to maximize efficiency and feature representation.

The overall architecture of LMIINet, featuring an encoder-decoder structure with specialized interaction modules.
  1. Lightweight Feature Interaction Bottleneck (LFIB): The core feature extractor uses a dual-branch structure. One branch employs asymmetric convolutions ($3 \times 1$ and $1 \times 3$) to expand the receptive field efficiently, while the other uses Depth-Wise (DW) and Point-Wise (PW) convolutions for spatial detail.
  2. Improved Flatten Transformer: To avoid the quadratic complexity of standard self-attention, the model uses a "Flatten Transformer" enhanced with a Focused Linear Attention Module (FLAM) and a Channel Attention Block (CAB). This ensures global dependency capture without losing fine-grained details.
  3. Combination Coefficient (CC) Learning: Instead of static fusion, a learnable coefficient dynamically weights different information streams, optimizing the integration of CNN and Transformer features.
  4. Segmentation Head (SegHead): A multi-scale fusion strategy aggregates features from various resolutions ($1/2, 1/4, 1/8$) to reconstruct the final high-resolution segmentation map.

Experimental Results

LMIINet was evaluated on the Cityscapes and CamVid benchmarks, focusing on the trade-off between accuracy (mIoU), speed (FPS), and model size (Parameters).

Comparison of LMIINet against other semantic segmentation methods in terms of mIoU, speed (FPS), and parameters.

On the Cityscapes dataset (2048 x 1024), LMIINet achieved 72.0% mIoU at 100 FPS with only 0.72M parameters. This performance is particularly noteworthy when compared to models like BiseNet-v2, which LMIINet slightly outperforms in accuracy despite having approximately 5x fewer parameters. On the CamVid dataset, the model reached 69.94% mIoU at an impressive 160 FPS.

Key insights from the evaluation include:

  • Asymmetric Convolutions: Breaking $3 \times 3$ convolutions into $1 \times 3$ and $3 \times 1$ significantly reduced parameters while maintaining representational power.
  • Linear Attention: The use of FLAM was essential for maintaining high frame rates at high resolutions.
  • Dynamic Fusion: The CC scheme provided a significant accuracy boost (up to 1.34% mIoU) over static addition, proving that learnable interaction is superior for hybrid models.

Conclusion

LMIINet represents a significant step forward in ultra-lightweight semantic segmentation. By carefully balancing CNN and Transformer components through learnable interaction, it achieves state-of-the-art efficiency suitable for real-time edge applications. Future work will involve benchmarking on specific mobile NPUs and exploring the architecture's applicability to other dense prediction tasks such as depth estimation.

Summary updated

BibTeX
@misc{qiu2024efficient,
  author = {Yangyang Qiu and Guoan Xu and Guangwei Gao and Zhenhua Guo and Yi Yu and Chia-Wen Lin},
  title = {{Efficient Semantic Segmentation via Lightweight Multiple-Information Interaction Network}},
  year = {2024},
  eprint = {2410.02224},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.02224},
}
Figure