TL;DR
This paper introduces AutoRTNet, a novel Neural Architecture Search (NAS) framework that automatically designs real-time semantic segmentation networks. By jointly optimizing network depth, downsampling strategy, and feature aggregation, AutoRTNet achieves a superior balance of accuracy and speed, outperforming existing methods on challenging benchmarks.
What Problem Does This Paper Address?
Real-time semantic segmentation is crucial for applications like autonomous driving and video surveillance, where processing speed is as important as accuracy. Current approaches often rely on hand-crafted, lightweight network architectures. While Neural Architecture Search (NAS) has shown promise in automating network design, existing NAS methods for segmentation typically fix critical aspects like network depth, downsampling strategy, and feature aggregation, requiring manual tuning and limiting their effectiveness for real-time scenarios. This paper addresses the need for a fully automated NAS approach that can jointly optimize these interdependent factors to achieve optimal real-time performance.
Methods
The core of AutoRTNet is a joint search framework that automates the design of several key network components.
- Hyper-Cells: These are introduced to jointly determine the network depth and downsampling strategy. They employ a "cell-level pruning process" where an architecture parameter controls which parts of the hyper-cell are activated, effectively pruning away unnecessary layers and determining the optimal downsampling path. This is achieved through a differentiable search mechanism using Gumbel Softmax.
- Aggregation Cell: This component is designed to automatically fuse multi-scale features. It takes outputs from different stages of the network and uses a search process to find the best operations for combining them, thereby recovering spatial details lost during downsampling.
- Intra-cell Search Space: For both hyper-cells and the aggregation cell, a search space of candidate operations (e.g., convolutions, pooling, dilated convolutions) is defined. The framework uses a differentiable approach to select the optimal operations for each edge within these cells.
- Latency Cost Integration: Crucially, the search process incorporates a real-world latency cost. A GPU-latency lookup table is used to associate inference time with each operation, allowing the framework to optimize for both accuracy and speed simultaneously. The overall loss function balances cross-entropy loss with a latency cost term.
Datasets
- Cityscapes: Used for both training and evaluation. This dataset is known for its high-quality pixel-level annotations of urban street scenes.
- CamVid: Also used for training and evaluation. This dataset is smaller than Cityscapes but is also used for real-time semantic segmentation tasks.
Key Insights and Ideas
- Joint Optimization is Key: The paper strongly emphasizes that network depth, downsampling strategy, and feature aggregation are highly correlated and interdependent. Optimizing them jointly, rather than in isolation, leads to significantly better performance.
- Adaptive Depth and Downsampling: The hyper-cell's pruning mechanism allows for an adaptive determination of network depth and downsampling, moving away from fixed, hand-designed structures. This is particularly effective for real-time applications where aggressive downsampling is often necessary.
- Automated Multi-Scale Fusion: The aggregation cell demonstrates that NAS can effectively learn how to combine features from different scales, a critical step for recovering spatial detail and improving segmentation accuracy without manual design.
- Real-World Latency as a Search Objective: Incorporating actual GPU latency into the NAS process is vital for finding architectures that are truly efficient on target hardware, not just theoretically fast.
Key Results
- Cityscapes: AutoRTNet-A achieved 73.9% mIoU with 110.0 FPS on an NVIDIA TitanXP GPU using 768x1536 input images (when trained with fine and coarse data). AutoRTNet-B achieved 75.8% mIoU with 71.4 FPS. These results represent a superior accuracy-speed trade-off compared to existing state-of-the-art methods.
- CamVid: AutoRTNet-A achieved 73.5% mIoU with 140.0 FPS on the CamVid test set, outperforming methods like ICNet and DFANet in both accuracy and speed.
- Parameter Efficiency: AutoRTNet-A achieved impressive accuracy with only 2.5 million parameters, highlighting its efficiency.
Limitations and Future Work
- Computational Cost of Search: While AutoRTNet significantly reduces the search time compared to earlier NAS methods, the search process itself is still computationally intensive, requiring substantial GPU resources.
- Generalizability of Latency Model: The latency lookup table is specific to the hardware (TitanXP GPU). For deployment on different hardware, this table would need to be re-calibrated.
- Future Work: The authors suggest that their framework can be extended to search for architectures for other real-time vision tasks. Further exploration of more complex search spaces and hardware-aware NAS could also be beneficial.
Summary updated