[Paper Review] Quantization-Aware Regularizers for Deep Neural Networks Compression
The paper introduces per-layer quantization-aware regularizers that drive weights to form clusters during training and learn quantization representatives jointly, improving compression with minimal accuracy loss.
Deep Neural Networks reached state-of-the-art performance across numerous domains, but this progress has come at the cost of increasingly large and over-parameterized models, posing serious challenges for deployment on resource-constrained devices. As a result, model compression has become essential, and -- among compression techniques -- weight quantization is largely used and particularly effective, yet it typically introduces a non-negligible accuracy drop. However, it is usually applied to already trained models, without influencing how the parameter space is explored during the learning phase. In contrast, we introduce per-layer regularization terms that drive weights to naturally form clusters during training, integrating quantization awareness directly into the optimization process. This reduces the accuracy loss typically associated with quantization methods while preserving their compression potential. Furthermore, in our framework quantization representatives become network parameters, marking, to the best of our knowledge, the first approach to embed quantization parameters directly into the backpropagation procedure. Experiments on CIFAR-10 with AlexNet and VGG16 models confirm the effectiveness of the proposed strategy.
Motivation & Objective
- Motivate and address the challenge of compressing large DNNs via weight quantization without substantial accuracy loss.
- Introduce regularization terms that induce quantization-friendly weight distributions during training.
- Propose static and dynamic (learnable) quantization-aware regularizers that embed quantization parameters into backpropagation.
- Demonstrate the approach on CIFAR-10 with AlexNet and VGG16 to show pre- and post-tuning benefits.
Proposed method
- Define a training objective that adds quantization-aware regularizers to the standard loss.
- Provide four regularizer families: two static (R_S and R_C) based on sine/cosine periodic basins and two dynamic (R_M and R_E) with learnable basins u.
- Introduce learnable quantization levels u as additional parameters optimized during training.
- Allow regularizers to be integrated with subsequent weight sharing or quantization during compression.
- Show that quantization representatives can be learned jointly with network parameters, embedding quantization into backpropagation.
Experimental results
Research questions
- RQ1Can quantization-aware regularizers create weight basins that align with later quantization targets?
- RQ2What is the impact of static versus dynamic (learnable) baselines on quantization friendliness and accuracy?
- RQ3How do quantization-aware regularizers affect pre- and post-tuning accuracy for AlexNet and VGG16 on CIFAR-10 under different quantization levels (K)?
- RQ4Do learnable quantization levels improve performance compared to fixed baselines, across layers and architectures?
Key findings
- Pre-tuning accuracy with the proposed regularizers is substantially higher than baseline (up to 3× on AlexNet and up to 6× on VGG16).
- Dynamic regularizers (R_M, R_E) generally yield better results than static ones, especially for larger models like VGG16.
- Among static regularizers, R_E often achieves higher accuracy when not combined with R_M.
- Post-tuning gains are more pronounced for aggressive quantization (K=8), especially with dynamic regularizers.
- Quantization representatives become trainable and are updated through backpropagation, enabling adaptation to the loss landscape.
- Experiments on CIFAR-10 with AlexNet and VGG16 show the approach improves quantization friendliness and maintains accuracy after clustering.
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.