[Paper Review] Rethinking Differentiable Search for Mixed-Precision Neural Networks
This paper proposes EdMIPS, an efficient differentiable search framework for mixed-precision neural networks that enables direct, proxy-free search on ImageNet for large models like Inception-V3. By leveraging a constrained Lagrangian optimization, a single-pass training strategy, and an efficient composite convolution, EdMIPS achieves superior accuracy over uniform low-precision baselines while maintaining constant training complexity regardless of search space size.
Low-precision networks, with weights and activations quantized to low bit-width, are widely used to accelerate inference on edge devices. However, current solutions are uniform, using identical bit-width for all filters. This fails to account for the different sensitivities of different filters and is suboptimal. Mixed-precision networks address this problem, by tuning the bit-width to individual filter requirements. In this work, the problem of optimal mixed-precision network search (MPS) is considered. To circumvent its difficulties of discrete search space and combinatorial optimization, a new differentiable search architecture is proposed, with several novel contributions to advance the efficiency by leveraging the unique properties of the MPS problem. The resulting Efficient differentiable MIxed-Precision network Search (EdMIPS) method is effective at finding the optimal bit allocation for multiple popular networks, and can search a large model, e.g. Inception-V3, directly on ImageNet without proxy task in a reasonable amount of time. The learned mixed-precision networks significantly outperform their uniform counterparts.
Motivation & Objective
- To address the suboptimal performance of uniform low-precision networks, which apply identical bit-widths to all filters despite varying filter sensitivities.
- To develop a differentiable search method for mixed-precision network search (MPS) that avoids the need for proxy tasks like CIFAR-10, which are ineffective due to distribution and layer importance differences.
- To overcome the trivial solution of always selecting the highest bit-width by introducing a complexity budget via Lagrangian relaxation.
- To reduce training cost in mixed-precision search by replacing parallel convolutions with an efficient composite convolution that maintains constant complexity.
- To enable direct search on large models such as Inception-V3 and ResNet-50 on ImageNet within reasonable time and memory constraints.
Proposed method
- Proposes a differentiable architecture search module inspired by DARTS, allowing end-to-end optimization of bit-width assignments across layers.
- Introduces a Lagrangian formulation to balance accuracy and complexity, preventing the trivial solution of always selecting the highest bit-width.
- Employs a single forward-backward pass for joint optimization of architecture and network weights, avoiding expensive second-order bi-level optimization.
- Replaces parallel convolutions with a composite convolution using weighted sums of shared weight tensors, ensuring constant training complexity independent of search space size.
- Uses multinomial sampling for architecture search to reduce accuracy variance compared to categorical sampling.
- Applies a single-pass optimization strategy, which achieves comparable performance to alternating optimization with half the training cost.
Experimental results
Research questions
- RQ1Can a differentiable search framework for mixed-precision networks be designed to eliminate the need for proxy tasks like CIFAR-10?
- RQ2How can the trivial solution of selecting the highest bit-width be avoided during mixed-precision search?
- RQ3Can the training cost of mixed-precision search be kept constant regardless of the number of candidate bit-widths?
- RQ4What is the impact of architecture sampling strategy (categorical vs. multinomial) on search stability and performance?
- RQ5To what extent can the proposed method scale to large models like Inception-V3 and ResNet-50 when trained directly on ImageNet?
Key findings
- EdMIPS achieves state-of-the-art performance on multiple networks, with the 2-bit EdMIPS model on GoogLeNet outperforming the full-precision baseline by 3.0% in top-1 accuracy.
- The 2-bit EdMIPS model on AlexNet matches the accuracy of the full-precision model, demonstrating high efficiency and effectiveness.
- For ResNet-18, EdMIPS achieves 65.9% top-1 accuracy with similar BitOps to the 2-bit uniform baseline, outperforming the 64.9% of the uniform LQ-Net.
- The search for Inception-V3 on ImageNet is completed in 8 GPU days, with only ~45% higher training cost than a uniform 2-bit ResNet-18.
- The efficient composite convolution reduces model size by nearly fourfold and cuts computation and memory usage by 30-50% and 20-40%, respectively, compared to vanilla parallel convolutions.
- The single-pass optimization strategy achieves performance comparable to alternating optimization but with half the training complexity.
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.