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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Pang, Junbiao, Cai, Tianyang, Zhang, Baochang, Wu, Jiaqi
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909454145945600
author Pang, Junbiao
Cai, Tianyang
Zhang, Baochang
Wu, Jiaqi
author_facet Pang, Junbiao
Cai, Tianyang
Zhang, Baochang
Wu, Jiaqi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_13497
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle In-Distribution Consistency Regularization Improves the Generalization of Quantization-Aware Training
Pang, Junbiao
Cai, Tianyang
Zhang, Baochang
Wu, Jiaqi
Computer Vision and Pattern Recognition
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.
title In-Distribution Consistency Regularization Improves the Generalization of Quantization-Aware Training
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2402.13497