LEDNet: A Lightweight Encoder-Decoder Network for Real-Time Semantic Segmentation

Yu Wang, Quan Zhou, Jia Liu, Jian Xiong, Guangwei Gao, Xiaofu Wu, Longin Jan Latecki

Abstract

Real-time semantic segmentation is essential for mobile and embedded applications, yet state-of-the-art models often exceed the computational limits of such hardware. This paper introduces LEDNet, a highly efficient convolutional neural network that balances speed and accuracy. LEDNet employs an asymmetric encoder-decoder architecture featuring a novel Split-Shuffle-non-bottleneck (SS-nbt) module and an Attention Pyramid Network (APN) decoder. With only 0.94 million parameters, LEDNet achieves 70.6% mIoU on the Cityscapes benchmark and operates at 71 FPS, providing a robust solution for real-time urban scene understanding.

Introduction

Semantic segmentation—the pixel-level classification of images—is a cornerstone of computer vision for robotics and autonomous driving. However, the high accuracy of modern deep learning models typically comes at the cost of massive parameter counts and high latency. For deployment on drones or smartphones, there is a critical need for "lightweight" models that do not significantly sacrifice segmentation detail. LEDNet addresses this gap by optimizing information flow and reducing redundant computations.

Architecture and Methodology

LEDNet utilizes an asymmetric encoder-decoder structure. The design philosophy focuses on reducing the heavy computational burden of standard convolutions and pointwise operations while maintaining a large receptive field.

The overall architecture of LEDNet, illustrating the asymmetric relationship between the deep encoder and the lightweight APN decoder.

The Encoder: SS-nbt Module

The primary innovation in the encoder is the Split-Shuffle-non-bottleneck (SS-nbt) module. Traditional residual blocks often rely on $1 \times 1$ (pointwise) convolutions, which can account for the bulk of computational complexity in small models. The SS-nbt module instead splits the input into two lower-dimensional branches, processes them using factorized 1D convolutions (e.g., $1 \times 3$ and $3 \times 1$), and then merges them. A channel shuffle operation follows to ensure cross-branch information exchange, preventing the network from becoming "siloed."

Evolution of residual blocks leading to the proposed SS-nbt module (d), which utilizes channel splitting and shuffling to optimize efficiency.

The Decoder: Attention Pyramid Network (APN)

To reconstruct high-resolution labels without the overhead of a symmetric decoder, LEDNet uses an Attention Pyramid Network. The APN employs a hierarchy of convolutions ($3 \times 3, 5 \times 5, 7 \times 7$) to capture multi-scale context, generating a spatial attention map. This map is pixel-wisely multiplied with the encoder's output, allowing the network to focus on relevant features during the upsampling process.

Experimental Results

The model was rigorously tested on the Cityscapes dataset, which contains high-quality annotations for 19 urban object categories across 50 cities. LEDNet demonstrated state-of-the-art performance for its size class:

  • Accuracy: Achieved 70.6% mIoU (mean Intersection over Union) on the test set, significantly outperforming other lightweight models like ENet (58.3%) and ESPNet (60.3%).
  • Efficiency: The model contains only 0.94 million parameters, making it approximately 30 times smaller than the classic SegNet.
  • Speed: On an NVIDIA GTX 1080Ti, LEDNet processes images at 71 FPS, well above the threshold for real-time video processing.

Conclusion

LEDNet proves that high-quality semantic segmentation is achievable with sub-million parameter models. By rethinking the structure of residual blocks and employing a lightweight attention-based decoder, the network achieves a superior balance of speed and accuracy, making it an ideal candidate for real-time applications on edge devices.

Summary updated

BibTeX
@inproceedings{wang2019lednet,
  author = {Yu Wang and Quan Zhou and Jia Liu and Jian Xiong and Guangwei Gao and Xiaofu Wu and Longin Jan Latecki},
  title = {{LEDNet: A Lightweight Encoder-Decoder Network for Real-Time Semantic Segmentation}},
  booktitle = {ICIP},
  year = {2019},
  doi = {10.1109/icip.2019.8803154},
}
Figure