atlas

Research map / Architectures and efficiency / Quantization

Make RepVGG Greater Again: A Quantization-Aware Approach

AAAI 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of ViTs · 33 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Diagnoses why RepVGG collapses under INT8 post-training quantization and proposes QARepVGG, a reparameterizable block redesign (no BN on identity/1x1 branches, extra post-addition BN, normal L2 weight decay) that keeps FP32 accuracy while recovering most INT8 accuracy.

Problem

RepVGG-style reparameterized networks suffer severe accuracy collapse under INT8 post-training quantization (e.g., RepVGG-A0 drops from ~72% to ~50% top-1), blocking deployment.

Approach

Attribute the quantization failure to the custom L2 weight decay (which inflates activation variance) and to the identity-branch BN creating outlier fused weights and same-mean branch sums; remove BN from identity and 1x1 branches, use normal L2, and add a post-addition BN so the fused kernel stays deploy-equivalent while being quantization friendly.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace custom L2 with normal L2 (ablation)RepVGG-A0 · ImageNet validationINT8 top-1 accuracy: 50.3 -> 61.6Helped
Remove the denominator from custom L2 (ablation)RepVGG-A0 · ImageNet validationINT8 top-1 accuracy: 50.3 -> 61.2Helped
Remove BN from the identity branch (ablation)RepVGG-A0 with M1 · ImageNet validationINT8 top-1 accuracy: 61.6 -> 62.5Helped
Remove BN from the 1×1 branch (ablation)RepVGG-A0 with M1 and M2 · ImageNet validationINT8 top-1 accuracy: 62.5 -> 69.5Helped
Add a post-addition BN (ablation)RepVGG-A0 with M1, M2, and M3 · ImageNet validationINT8 top-1 accuracy: 69.5 -> 70.4Helped
Apply M1–M4 together (QARepVGG structure) (ablation)RepVGG-A0 · ImageNet validationINT8 top-1 accuracy: 50.3 -> 70.4Helped
Use only the post-addition BN modification (ablation)RepVGG-A0 · ImageNet validationINT8 top-1 accuracy: 50.3 -> 57.0Helped
Set 1×1 branch BN affine=False (ablation)RepVGG-A0 without identity-branch BN · ImageNet validationINT8 top-1 accuracy: 62.5 -> 65.5Helped
Remove BN from the 3×3 branch (ablation)RepVGG-A0 without identity-branch BN · ImageNet validationFP32 top-1 accuracy: 0.1Hurt
Remove BN from both 3×3 and 1×1 branches (ablation)RepVGG-A0 without identity-branch BN · ImageNet validationFP32 top-1 accuracy: 0.1Hurt
Replace RepVGG with QARepVGG structureRepVGG-A0 · ImageNet validationINT8 top-1 accuracy: 50.3 -> 70.4Helped
Replace RepVGG with QARepVGG structureYOLOv6s · COCO 2017INT8 mAP: 35.0 -> 41.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet COCO 2017 Cityscapes CIFAR-100

Benchmarks: ImageNet COCO 2017 Cityscapes

Metrics: top-1 accuracy INT8 accuracy mAP mIoU FPS

Baselines: RepVGG RepOpt-VGG OREPA-RepVGG VGG-BN YOLOv6-RepVGG YOLOv6-RepOpt

Builds on: RepVGG RepOpt-VGG OREPA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy