Efficient and Robust Quantization-aware Training via Adaptive Coreset Selection

Xijie Huang, Zechun Liu, Shih-Yang Liu, Kwang-Ting Cheng
6/12/2023
cs.LGcs.AIcs.CV

No official code found. Best implementation: HuangOwen/QAT-ACS (38 stars, MIT, last commit 2024-08-20).

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.

View on arXivView PDF

Code Implementations(1)

HuangOwen/QAT-ACSCommunity100%
MIT

[TMLR] Official PyTorch implementation of paper "Efficient Quantization-aware Training with Adaptive Coreset Selection"

384PythonJun 5, 20232 years agoMIT

Similar Papers

Cite this paper

@article{huang2023efficient,
  title  = {Efficient and Robust Quantization-aware Training via Adaptive Coreset Selection},
  author = {Xijie Huang and Zechun Liu and Shih-Yang Liu and Kwang-Ting Cheng},
  year   = {2023},
  eprint = {2306.07215},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.07215v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.07215.svg)](https://codeofpaper.com/paper/2306.07215)

Discussion