Abstract
Quantization-aware training (QAT) is a representative model compression method to reduce redundancy in weights and activations. However, most existing QAT methods require end-to-end training on the entire dataset, which suffers from long training time and high energy costs. In addition, the potential label noise in the training data undermines the robustness of QAT. We propose two metrics based on analysis of loss and gradient of quantized weights: error vector score and disagreement score, to quantify the importance of each sample during training. Guided by these two metrics, we proposed a quantization-aware Adaptive Coreset Selection (ACS) method to select the data for the current training epoch. We evaluate our method on various networks (ResNet-18, MobileNetV2, RetinaNet), datasets (CIFAR-10, CIFAR-100, ImageNet-1K, COCO), and under different quantization settings. Specifically, our method can achieve an accuracy of 68.39% of 4-bit quantized ResNet-18 on the ImageNet-1K dataset with only a 10% subset, which has an absolute gain of 4.24% compared to the baseline. Our method can also improve the robustness of QAT by removing noisy samples in the training set.
Introduction
Deep learning models are increasingly deployed on edge devices with limited computational resources. Quantization-aware Training (QAT) has emerged as a gold standard for model compression, simulating low-bit precision (e.g., 4-bit) during training to maintain high accuracy. However, QAT faces two significant challenges: high computational cost due to training on massive datasets and sensitivity to label noise, which can be amplified during the quantization process. This research challenges the conventional "Scaling Law" by demonstrating that for QAT, the quality of training data is more critical than the quantity.
Methodology: Adaptive Coreset Selection (ACS)
The proposed Adaptive Coreset Selection (ACS) framework dynamically selects a representative "coreset" (a subset of the most informative samples) for each training epoch. This selection is guided by two novel metrics derived from the analysis of loss and gradients:
- Error Vector Score (EVS): Measures the L2 distance between the quantized student model’s prediction and the actual hard label. It serves as a proxy for the gradient norm, identifying samples that the model finds difficult to classify.
- Disagreement Score (DS): Measures the L2 distance between the quantized student's prediction and a full-precision teacher model's prediction. This captures the "soft" knowledge necessary for fine-tuning.
The importance of these metrics is balanced using a weighting coefficient $\beta(t)$. Early in training, the model prioritizes EVS to learn fundamental features from hard labels. As training progresses, a cosine annealing schedule shifts the focus toward DS, allowing the student to benefit from the teacher's nuanced guidance. This "self-learning" then "tutoring" hierarchy allows the model to reach better local minima more efficiently.
Experimental Results
The effectiveness of ACS was validated across diverse architectures (ResNet-18, MobileNetV2, RetinaNet) and datasets (CIFAR, ImageNet-1K, MS COCO).
Efficiency and Performance
On ImageNet-1K, a 4-bit quantized ResNet-18 trained with ACS achieved 68.39% accuracy using only 10% of the data—a 4.24% absolute improvement over random selection. Furthermore, when training for the same total GPU-hour budget, models trained on ACS-selected subsets consistently achieved lower test errors than those trained on the full dataset. This demonstrates that ACS provides a "lossless acceleration" where training on a high-quality subset for more epochs is superior to training on the full, potentially redundant dataset.
Robustness to Label Noise
ACS acts as a natural noise filter. Because incorrect labels create "outlier" gradients that do not align with the overall data distribution, the selection metrics eventually learn to skip them. In experiments with 10% random label noise on CIFAR-10, ACS was the only method tested that could outperform the full-data baseline, effectively pruning the detrimental noisy samples from the training process.
Conclusion
Adaptive Coreset Selection significantly reduces the computational overhead of QAT while enhancing model robustness. By dynamically transitioning focus from hard labels to teacher-guided soft labels, ACS ensures that the model focuses on the most informative data points at every stage of training. Future work includes exploring the transferability of coresets across different architectures and applying ACS to dataset distillation tasks to condense massive datasets into hyper-informative versions.
Summary updated