[Paper Review] Effective and Fast: A Novel Sequential Single Path Search for Mixed-Precision Quantization
This paper proposes a novel differentiable sequential single path search (SSPS) method for mixed-precision quantization that efficiently searches optimal bit-precision assignments across network layers under hardware constraints. By sequentially determining precision via selection certainty and using a single-path, gradient-optimized search cell, SSPS reduces memory usage and accelerates convergence, achieving state-of-the-art accuracy on CIFAR-10, ImageNet, and COCO with less than 28 GPU-hours for ResNet-18.
Since model quantization helps to reduce the model size and computation latency, it has been successfully applied in many applications of mobile phones, embedded devices and smart chips. The mixed-precision quantization model can match different quantization bit-precisions according to the sensitivity of different layers to achieve great performance. However, it is a difficult problem to quickly determine the quantization bit-precision of each layer in deep neural networks according to some constraints (e.g., hardware resources, energy consumption, model size and computation latency). To address this issue, we propose a novel sequential single path search (SSPS) method for mixed-precision quantization,in which the given constraints are introduced into its loss function to guide searching process. A single path search cell is used to combine a fully differentiable supernet, which can be optimized by gradient-based algorithms. Moreover, we sequentially determine the candidate precisions according to the selection certainties to exponentially reduce the search space and speed up the convergence of searching process. Experiments show that our method can efficiently search the mixed-precision models for different architectures (e.g., ResNet-20, 18, 34, 50 and MobileNet-V2) and datasets (e.g., CIFAR-10, ImageNet and COCO) under given constraints, and our experimental results verify that SSPS significantly outperforms their uniform counterparts.
Motivation & Objective
- To address the challenge of efficiently determining mixed-precision bit assignments in deep neural networks under hardware constraints such as model size, latency, and energy consumption.
- To reduce the high memory and computational cost of existing differentiable NAS-based mixed-precision search methods that evaluate all candidates simultaneously.
- To accelerate convergence and improve search stability by sequentially selecting precision levels based on selection certainty, exponentially reducing the search space.
- To enable a single, constraint-guided search that directly targets specific hardware constraints (e.g., average weight/activation bit-width) without multiple iterations.
- To support layer-wise mixed-precision quantization—unlike block-wise methods—allowing finer-grained precision adaptation per layer.
Proposed method
- Introduces a novel differentiable single path search cell that evaluates only one candidate precision per forward pass, drastically reducing memory usage compared to supernet-based methods.
- Embeds hardware constraints (e.g., average weight and activation bit-width) directly into the loss function to guide the search toward feasible, deployment-ready models.
- Uses Gumbel-Softmax with annealing temperature to enable differentiable architecture search, allowing gradient-based optimization of precision choices.
- Employs a sequential decision mechanism: layers are processed in order of selection certainty, with only the most confident choices being fixed, thus reducing search space exponentially.
- Leverages a fully differentiable supernet where each search cell contains multiple precision candidates (e.g., 2-bit to 6-bit), but only one is active per forward pass.
- Applies a temperature decay schedule to stabilize training and improve convergence, with the final model obtained after full optimization.
Experimental results
Research questions
- RQ1Can a sequential, single-path search strategy reduce memory consumption and accelerate convergence in mixed-precision quantization search compared to full supernet methods?
- RQ2Can embedding hardware constraints directly into the loss function enable a one-shot search for models that meet specific target constraints (e.g., average bit-width)?
- RQ3Does layer-wise precision assignment outperform block-wise assignment in terms of model accuracy under the same constraints?
- RQ4How does selection certainty-based sequential decision-making affect search stability and convergence speed?
- RQ5Can the proposed method achieve state-of-the-art performance on diverse datasets (CIFAR-10, ImageNet, COCO) while minimizing search cost?
Key findings
- SSPS reduces GPU memory usage significantly compared to DARTS-based methods, with Fig. 1(a) showing substantially lower memory consumption during search.
- The method converges faster than DNAS, completing a ResNet-18 search on ImageNet in under 28 GPU-hours, compared to DNAS’s 40 GPU-hours.
- The sequential decision mechanism with certainty-based pruning reduces the search space exponentially, improving convergence stability, as shown in Fig. 4.
- On CIFAR-10, ImageNet, and COCO, SSPS achieves better top-1 accuracy than uniform quantization and state-of-the-art baselines under the same constraints.
- The method supports layer-wise mixed-precision quantization, allowing different precision per layer—even within the same block—unlike block-wise methods such as DNAS and BP-NAS.
- The ablation study confirms that removing the decision operations (SPS variant) leads to slower convergence and higher instability, validating the importance of sequential selection.
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.