[Paper Review] Partial Order Pruning: for Best Speed/Accuracy Trade-off in Neural Architecture Search
This paper proposes Partial Order Pruning, a neural architecture search algorithm that explicitly optimizes for speed/accuracy trade-off by pruning the search space using a partial order assumption based on network width and depth. It achieves state-of-the-art speed/accuracy performance on both embedded devices and high-end GPUs, with DF-Seg networks reaching 106.4 FPS at 74.1% mIoU on 1080Ti and 21.8 FPS at 720p on TX2.
Achieving good speed and accuracy trade-off on a target platform is very important in deploying deep neural networks in real world scenarios. However, most existing automatic architecture search approaches only concentrate on high performance. In this work, we propose an algorithm that can offer better speed/accuracy trade-off of searched networks, which is termed "Partial Order Pruning". It prunes the architecture search space with a partial order assumption to automatically search for the architectures with the best speed and accuracy trade-off. Our algorithm explicitly takes profile information about the inference speed on the target platform into consideration. With the proposed algorithm, we present several Dongfeng (DF) networks that provide high accuracy and fast inference speed on various application GPU platforms. By further searching decoder architectures, our DF-Seg real-time segmentation networks yield state-of-the-art speed/accuracy trade-off on both the target embedded device and the high-end GPU.
Motivation & Objective
- To address the gap in existing neural architecture search methods that prioritize accuracy over inference speed and rely on FLOPs as a proxy for efficiency.
- To develop a search algorithm that explicitly considers actual inference latency on target platforms, rather than FLOPs or indirect metrics.
- To achieve better speed/accuracy trade-off by pruning architectures that cannot outperform narrower or shallower counterparts under the same depth/width constraints.
- To design efficient backbone and decoder architectures for real-time semantic segmentation that maintain high accuracy while minimizing latency on both embedded and high-end GPUs.
Proposed method
- The Partial Order Pruning algorithm uses a partial order assumption: if a wider network has the same depth as a narrower one, it cannot be more efficient, so wider variants are pruned early.
- The method integrates actual inference speed measurements from the target platform into the search process, replacing FLOP-based estimation with real latency profiling.
- It employs a cutting plane algorithm to efficiently explore the remaining search space, avoiding reinforcement learning, evolutionary strategies, or gradient-based optimization.
- The search is conducted across both backbone and decoder architectures, enabling end-to-end optimization for segmentation tasks.
- The algorithm generates a set of networks—Dongfeng (DF) networks—optimized for speed and accuracy on specific hardware platforms.
- A variant, DF-Seg, is created by combining DF backbones with searched decoder architectures, achieving high efficiency and accuracy.
Experimental results
Research questions
- RQ1Can a neural architecture search algorithm achieve better speed/accuracy trade-off by explicitly modeling actual inference latency on target hardware?
- RQ2How can architectural search be accelerated while maintaining high-quality solutions, especially when FLOPs are a poor proxy for real-world performance?
- RQ3Can partial order assumptions on width and depth be used to prune suboptimal architectures early in the search process?
- RQ4What is the achievable speed/accuracy frontier for real-time semantic segmentation on both embedded and high-end GPUs?
Key findings
- On GTX 1080Ti, the DF1-Seg network achieves 106.4 FPS at 1024×2048 resolution with 74.1% mIoU, outperforming BiSeNet1 and BiSeNet2 in both speed and accuracy.
- On TX2, the DF1-Seg network achieves 21.8 FPS at 1280×720 resolution, demonstrating strong performance on embedded hardware.
- The DF1 network achieves comparable ImageNet top-1 accuracy to ResNet-18 but with 43% lower latency (2.5ms vs 4.4ms).
- The DF1-Seg-d8 variant achieves 136.9 FPS on 1080Ti by predicting at 1/8 resolution and up-sampling with nearest neighbor, maintaining 71.4% mIoU on test set.
- DF2-Seg2 achieves the highest mIoU of 76.9% on Cityscapes validation set at 56.3 FPS, setting a new SOTA for real-time segmentation.
- Compared to ICNet, DF1-Seg achieves 3.5% higher mIoU on the test set with comparable inference speed.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.