Abstract
Real-time semantic segmentation is a critical component for autonomous driving and street scene understanding, requiring a delicate balance between high segmentation accuracy and fast inference speeds. Many existing methods sacrifice spatial detail or contextual information to achieve real-time performance, leading to degraded segmentation quality. In this paper, we present the Deep Multi-branch Aggregation Network (DMA-Net), an encoder-decoder architecture designed to bridge this gap. By utilizing a ResNet-18 encoder and a novel Multi-branch Aggregation Network (MAN) decoder, DMA-Net effectively aggregates multi-scale features. Key innovations include the Lattice Enhanced Residual Block (LERB) for improved feature representation, the Feature Transformation Block (FTB) to mitigate semantic gaps between branches, and a Global Context Block (GCB) to capture large-scale scene information. Experimental results on Cityscapes and CamVid datasets demonstrate that DMA-Net achieves a superior tradeoff, reaching 77.0% mIoU at 46.7 FPS and 73.6% mIoU at 119.8 FPS, respectively, on a single NVIDIA GTX 1080Ti.
Introduction
Semantic segmentation—the process of assigning a categorical label to every pixel in an image—is fundamental to the perception systems of autonomous vehicles. However, the field faces a persistent "tug-of-war" between inference speed and accuracy. High-accuracy models typically rely on heavy backbones that are computationally prohibitive for real-time deployment. Conversely, lightweight models often suffer from "semantic noise" and struggle to distinguish visually similar objects, such as trucks versus buses, due to a loss of spatial resolution or contextual depth.
A primary challenge in real-time design is the "semantic gap" that occurs when merging high-level features (rich in context but low in resolution) with low-level features (high in resolution but lacking context). DMA-Net addresses these challenges by focusing on intelligent feature aggregation rather than simple model pruning.
Proposed Methodology: DMA-Net
Encoder-Decoder Architecture
DMA-Net adopts a standard encoder-decoder structure to maintain efficiency. The encoder utilizes a ResNet-18 backbone, which provides a lightweight yet robust foundation for extracting features across four distinct scales (ranging from 1/4 to 1/32 of the original image size).
Multi-branch Aggregation Network (MAN)
The core of the DMA-Net lies in its decoder, the Multi-branch Aggregation Network. Unlike traditional decoders that use simple upsampling and concatenation, the MAN progressively aggregates features through three specialized components:
- Lattice Enhanced Residual Block (LERB): Inspired by lattice filters in signal processing, the LERB combines "contextual enhanced" and "spatial enhanced" paths. By using weight-learning blocks to adaptively balance these paths, the LERB significantly expands the network's representation space without a substantial increase in parameter count.
- Feature Transformation Block (FTB): To address the semantic gap, the FTB acts as a "translator" between neighboring branches. It employs a dual-attention mechanism (spatial and channel) to transform feature maps before they are merged, ensuring that high-level and low-level features are semantically aligned.
- Global Context Block (GCB): Positioned at the end of the encoder, this lightweight module captures the "big picture" of the scene. This global perspective is vital for identifying large-scale objects that might otherwise be fragmented by local-only processing.
Optimization
The network is trained using a joint loss function. This includes a principal loss on the final output and auxiliary losses on intermediate branches, ensuring that each branch learns effective, scale-specific features during the training phase.
Experimental Results
Performance on Cityscapes
The Cityscapes dataset, featuring high-resolution (1024x2048) images of urban environments, serves as a primary benchmark. DMA-Net achieved 77.0% mIoU at an inference speed of 46.7 FPS. This performance surpasses several established real-time models, including ICNet (69.5% mIoU) and BiSeNet2 (74.7% mIoU), while maintaining the speed necessary for real-world application.
Performance on CamVid
On the CamVid dataset, which consists of video frames with 11 semantic categories, DMA-Net reached 73.6% mIoU at a blistering 119.8 FPS. These results highlight the model's efficiency and its ability to generalize across different street scene datasets.
Qualitative Analysis
Visual evaluations indicate that DMA-Net excels at maintaining sharp boundaries for thin objects, such as traffic lights and poles, which are often lost in other real-time architectures. Furthermore, the model demonstrates improved consistency in identifying large surfaces, effectively distinguishing between similar textures like roads and sidewalks.
Conclusion
DMA-Net provides a highly effective solution for real-time semantic segmentation by rethinking how features are aggregated across different scales. Through the introduction of the LERB and FTB, the model achieves high accuracy with a lightweight backbone. While challenges remain regarding severe occlusions and very small distant objects, the current results set a strong benchmark for the field. Future research may incorporate depth information from LiDAR or stereo cameras to further enhance spatial understanding and overcome occlusion-related errors.
Summary updated