Abstract
We focus on the challenging task of real-time semantic segmentation in this paper. It finds many practical applications and yet is with fundamental difficulty of reducing a large portion of computation for pixel-wise label inference. We propose an image cascade network (ICNet) that incorporates multi-resolution branches under proper label guidance to address this challenge. We provide in-depth analysis of our framework and introduce the cascade feature fusion unit to quickly achieve high-quality segmentation. Our system yields real-time inference on a single GPU card with decent quality results evaluated on challenging datasets like Cityscapes, CamVid and COCO-Stuff.
Introduction
Semantic segmentation—the task of assigning a class label to every single pixel in an image—is a cornerstone of computer vision for robotics and autonomous driving. However, it is computationally expensive, particularly for high-resolution images. While state-of-the-art models achieve high accuracy, they often take over a second to process a single image, which is insufficient for real-time safety-critical applications. This paper, originally presented at ECCV 2018, introduces ICNet (Image Cascade Network), a framework designed to bridge the gap between speed and accuracy.
The Speed-Accuracy Challenge
The primary bottleneck in standard Fully Convolutional Networks (FCNs) is that computation increases quadratically with image resolution. Previous attempts to accelerate inference typically involved downsampling the input or thinning the network. However, downsampling loses fine spatial details, while thinning reduces semantic understanding. ICNet aims to provide the "best of both worlds": the speed of a lightweight network and the accuracy of a deep, heavy one.
ICNet Architecture
The core innovation of ICNet is its three-branch image cascade strategy, which processes different resolutions to balance semantics and detail:
- Low-Resolution Branch: Processes a 1/4 scale image through a deep, "heavy" backbone (based on PSPNet). This branch captures broad semantic context (e.g., identifying the presence of a car).
- Medium-Resolution Branch: Processes a 1/2 scale image through a much lighter CNN.
- High-Resolution Branch: Processes the full-scale image through an even lighter set of layers to refine boundaries.
To integrate these branches, the authors introduced two key components:
- Cascade Feature Fusion (CFF) Unit: Instead of simple concatenation, this unit uses dilated convolutions to fuse features from different scales. This allows the model to refine coarse semantic maps using spatial details without a massive increase in computation.
- Cascade Label Guidance (CLG): During training, the model is supervised by ground-truth labels at multiple scales (1/16, 1/8, and 1/4). This forces each branch to learn features optimized for its specific resolution level.
Key Results
ICNet set a new standard for efficiency upon its release, particularly on the Cityscapes benchmark (1024x2048 resolution):
- Speed: It achieves 30.3 FPS on high-resolution images using a single Nvidia TitanX GPU, meeting the requirements for real-time processing.
- Accuracy: On the Cityscapes test set, it reached 69.5% mIoU (and 70.6% with extra data), significantly outperforming other real-time models like ENet.
- Efficiency: The model reduced memory consumption by 5x compared to the baseline PSPNet.
Conclusion
ICNet demonstrates that real-time semantic segmentation on high-resolution images is achievable by strategically distributing computation across different scales. By using a deep network for low-resolution semantics and shallow branches for high-resolution details, ICNet achieves a 5x speedup over traditional methods while maintaining competitive accuracy. This framework paves the way for deploying sophisticated scene understanding on edge devices and autonomous systems.
Summary updated