[Paper Review] Joint Neural Architecture Search and Quantization
This paper proposes JASQ, a joint neural architecture search and quantization framework that uses a multi-objective evolutionary algorithm to simultaneously optimize neural architecture and per-layer quantization policies. The method achieves state-of-the-art accuracy and model size trade-offs, outperforming both float models and 2–16-bit quantized models, with JASQNet achieving 2.97% error on CIFAR-10 at only 0.9 MB.
Designing neural architectures is a fundamental step in deep learning applications. As a partner technique, model compression on neural networks has been widely investigated to gear the needs that the deep learning algorithms could be run with the limited computation resources on mobile devices. Currently, both the tasks of architecture design and model compression require expertise tricks and tedious trials. In this paper, we integrate these two tasks into one unified framework, which enables the joint architecture search with quantization (compression) policies for neural networks. This method is named JASQ. Here our goal is to automatically find a compact neural network model with high performance that is suitable for mobile devices. Technically, a multi-objective evolutionary search algorithm is introduced to search the models under the balance between model size and performance accuracy. In experiments, we find that our approach outperforms the methods that search only for architectures or only for quantization policies. 1) Specifically, given existing networks, our approach can provide them with learning-based quantization policies, and outperforms their 2 bits, 4 bits, 8 bits, and 16 bits counterparts. It can yield higher accuracies than the float models, for example, over 1.02% higher accuracy on MobileNet-v1. 2) What is more, under the balance between model size and performance accuracy, two models are obtained with joint search of architectures and quantization policies: a high-accuracy model and a small model, JASQNet and JASQNet-Small that achieves 2.97% error rate with 0.9 MB on CIFAR-10.
Motivation & Objective
- To automate the co-design of neural architectures and quantization policies for efficient mobile deployment.
- To reduce human expertise and manual tuning in model compression and architecture search.
- To achieve better accuracy and model size trade-offs than separate architecture search or quantization search.
- To provide learnable, layer-specific quantization policies for existing networks.
Proposed method
- A multi-objective evolutionary algorithm is used to explore the joint search space of architecture and quantization policies.
- Fitness evaluation considers both model accuracy and model size, with a Pareto optimal front guiding the search.
- The search framework supports flexible trade-offs by adjusting a scalarized objective function with a tunable threshold $\mathcal{T}_S$.
- Population evolution uses tournament selection with two hyperparameters: population size $\#P$ and sample size $\#S$.
- Parameter sharing is applied across individuals in the population to accelerate training.
- Huffman encoding is used to represent quantized weights, reducing storage overhead.
Experimental results
Research questions
- RQ1Can joint search of neural architecture and quantization policy outperform separate optimization of each?
- RQ2Can per-layer, adaptive quantization policies improve accuracy compared to uniform bit-width quantization?
- RQ3Can the proposed method generate compact models with accuracy competitive to full-precision models?
- RQ4How does the joint search framework balance accuracy and model size across different hardware constraints?
Key findings
- JASQNet achieves a 2.97% error rate on CIFAR-10 with only 0.9 MB model size, outperforming SqueezeNet in accuracy while being significantly smaller.
- JASQNet-Small achieves 65.90% top-1 accuracy on ImageNet, surpassing SqueezeNet’s 58.09% with similar model size.
- The quantized JASQNet model achieves over 1.02% higher accuracy than its float counterpart on MobileNet-v1.
- For existing networks like ResNet and DenseNet, JASQ’s learned quantization policies outperform 2-, 4-, 8-, and 16-bit quantized versions.
- The method requires only 1 GPU for 3 days to perform joint search, and quantization policies for existing models can be found in a few hours.
- The search process is efficient, with hyperparameter ablation showing optimal performance at $\#P = 16$, $\#S = 16$.
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.