In-Distribution Consistency Regularization Improves the Generalization of Quantization-Aware Training

Junbiao Pang, Tianyang Cai, Baochang Zhang, Jiaqi Wu
2/21/2024
cs.CV

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Although existing Quantization-Aware Training (QAT) methods intensively depend on knowledge distillation to guarantee performance, QAT still suffers from severe performance drop. The experiments have shown that vanilla quantization is sensitive to the perturbation from both the input and weights. Therefore, we assume that the generalization ability of QAT is predominantly caused by both the intrinsic instability (training time) and the limited generalization ability (testing time). In this paper, we address both issues from a new perspective by leveraging Consistency Regularization (CR) to improve the generalization ability of QAT. Empirical results and theoretical analysis verify that CR would bring a good generalization ability to different network architectures and various QAT methods. Extensive experiments demonstrate that our approach significantly outperforms current state-of-the-art QAT methods and even the FP counterparts. On CIFAR-10, the proposed method improves by 3.79% compared to the baseline method using ResNet18, and improves by 3.84% compared to the baseline method using the lightweight model MobileNet.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pang2024indistribution,
  title  = {In-Distribution Consistency Regularization Improves the Generalization of Quantization-Aware Training},
  author = {Junbiao Pang and Tianyang Cai and Baochang Zhang and Jiaqi Wu},
  year   = {2024},
  eprint = {2402.13497},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.13497v2}
}

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

Discussion