Self-Supervised Quantization-Aware Knowledge Distillation

Kaiqi Zhao, Ming Zhao
3/17/2024
cs.LGcs.AIcs.CV

Official code: kaiqi123/SQAKD (16 stars, last commit 2024-05-03).

Abstract

Quantization-aware training (QAT) and Knowledge Distillation (KD) are combined to achieve competitive performance in creating low-bit deep learning models. However, existing works applying KD to QAT require tedious hyper-parameter tuning to balance the weights of different loss terms, assume the availability of labeled training data, and require complex, computationally intensive training procedures for good performance. To address these limitations, this paper proposes a novel Self-Supervised Quantization-Aware Knowledge Distillation (SQAKD) framework. SQAKD first unifies the forward and backward dynamics of various quantization functions, making it flexible for incorporating various QAT works. Then it formulates QAT as a co-optimization problem that simultaneously minimizes the KL-Loss between the full-precision and low-bit models for KD and the discretization error for quantization, without supervision from labels. A comprehensive evaluation shows that SQAKD substantially outperforms the state-of-the-art QAT and KD works for a variety of model architectures. Our code is at: https://github.com/kaiqi123/SQAKD.git.

View on arXivView PDF

Code Implementations(1)

kaiqi123/SQAKDOfficial100%
162CSS, ShellMar 9, 20242 years ago

Similar Papers

Cite this paper

@article{zhao2024selfsupervised,
  title  = {Self-Supervised Quantization-Aware Knowledge Distillation},
  author = {Kaiqi Zhao and Ming Zhao},
  year   = {2024},
  eprint = {2403.11106},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.11106v1}
}

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/2403.11106.svg)](https://codeofpaper.com/paper/2403.11106)

Discussion