TL;DR
This paper introduces RSPNet, a novel Neural Architecture Search (NAS) framework for designing lightweight semantic segmentation models. By employing a two-stage search and a recursive stage partial (RSP) architecture inspired by CSPNet, RSPNet achieves state-of-the-art performance on the Cityscapes dataset with significantly fewer parameters than existing methods, making it ideal for resource-constrained applications.
What Problem Does This Paper Address?
The field of semantic segmentation, crucial for applications like autonomous driving, has seen significant advancements driven by deep learning. However, existing Neural Architecture Search (NAS) methods primarily focus on maximizing accuracy, often leading to computationally expensive and large models. There's a clear need for NAS techniques that can efficiently discover lightweight architectures suitable for deployment on devices with limited computational power and memory, a gap that this paper aims to fill.
Methods
RSPNet tackles the challenge of designing lightweight semantic segmentation architectures through a two-stage NAS approach:
- Two-Stage Search: This method first searches for the optimal "inner cell" structure (micro-architecture) and then searches for the best "macro-structure" by considering exponentially growing paths to fuse features. This decomposition helps manage the vast search space.
- Recursive Stage Partial (RSP) Architecture: Inspired by CSPNet, RSPNet recursively processes only half of the feature channels through a searched cell. This "split-transform-merge" strategy, applied recursively, enhances efficiency and reduces computational load.
- Path-Attention Module (PAM): To intelligently fuse features from different resolutions, a PAM is introduced. It considers outputs from multiple previous layers and the current layer, using a Channel Attention Module (CAM) to learn attention weights and select the most informative paths for subsequent processing. This is a departure from methods that only consider a fixed, small number of previous layers.
Datasets
- Cityscapes: Used for both training and evaluation of the proposed RSPNet model. This dataset is a standard benchmark for urban scene understanding.
- Mapillary Vistas: Used for training the model. This dataset offers a larger scale and more diverse set of images compared to Cityscapes, with a richer set of object categories.
Key Insights and Ideas
- Decomposition is Key for Lightweight NAS: Breaking down the NAS process into micro- and macro-structure searches, combined with a recursive partial channel approach, significantly reduces computational cost and memory usage.
- Intelligent Feature Fusion Matters: The Path-Attention Module (PAM) offers a more sophisticated way to fuse multi-scale features compared to previous methods, leading to richer representations and improved segmentation.
- CSPNet Inspiration for Efficiency: Adapting the CSPNet's recursive partial channel strategy proves highly effective in creating lightweight architectures without sacrificing performance.
- Achieving SoTA with Efficiency: The paper demonstrates that it's possible to achieve state-of-the-art results in semantic segmentation with models that are substantially smaller and more efficient.
Key Results
- Significant Parameter Reduction: RSPNet achieves state-of-the-art performance on the Cityscapes dataset with only 1/4 of the parameter size of existing state-of-the-art (SoTA) architectures.
- Efficient Search Process: Both the macro- and micro-structure searches can be completed in approximately five days on two V100 GPUs, a notable improvement in NAS efficiency.
- Competitive Performance: RSPNet outperforms several SoTA methods on the Cityscapes dataset, even without using any backbones. For instance, on the Cityscapes validation set, RSPNet achieves an mIOU of 81.0% (without RSP) and 81.4% (with RSP), comparable to or better than other methods while being much lighter. When trained on Mapillary Vistas and evaluated on Cityscapes, RSPNet achieves an mIOU of 81.7% with significantly fewer parameters.
Limitations and Future Work
- Sensitivity to Stacked Cells: The paper notes that the performance can be sensitive to the number of stacked cells (N) in the architecture. While N=4 was used, exploring larger N might yield better performance but at a higher computational cost.
- Environmental Impact of NAS: The authors acknowledge that NAS, in general, requires significant GPU computation, which has an environmental impact. However, their proposed micro-search can be completed in a shorter time on modern GPUs.
- Future Directions:
- Generalizing the framework to include additional computation structures and cells.
- Adapting the model for memory- or power-aware applications.
- Exploring variations in the number of stacked cells (N) for different modules.
- Extending NAS to other computer vision and NLP tasks.
Summary updated