Outlier-Aware Training for Low-Bit Quantization of Structural Re-Parameterized Networks

Muqun Niu, Yuan Ren, Boyu Li, Chenchen Ding
2/11/2024
cs.CVcs.LGcs.NE

No confident code implementation found for this paper.

Abstract

Lightweight design of Convolutional Neural Networks (CNNs) requires co-design efforts in the model architectures and compression techniques. As a novel design paradigm that separates training and inference, a structural re-parameterized (SR) network such as the representative RepVGG revitalizes the simple VGG-like network with a high accuracy comparable to advanced and often more complicated networks. However, the merging process in SR networks introduces outliers into weights, making their distribution distinct from conventional networks and thus heightening difficulties in quantization. To address this, we propose an operator-level improvement for training called Outlier Aware Batch Normalization (OABN). Additionally, to meet the demands of limited bitwidths while upkeeping the inference accuracy, we develop a clustering-based non-uniform quantization framework for Quantization-Aware Training (QAT) named ClusterQAT. Integrating OABN with ClusterQAT, the quantized performance of RepVGG is largely enhanced, particularly when the bitwidth falls below 8.

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. Any repos shown below are weak matches — 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{niu2024outlieraware,
  title  = {Outlier-Aware Training for Low-Bit Quantization of Structural Re-Parameterized Networks},
  author = {Muqun Niu and Yuan Ren and Boyu Li and Chenchen Ding},
  year   = {2024},
  eprint = {2402.07200},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.07200v1}
}

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

Discussion