Papers › R2 Loss: Range Restriction Loss for Model Compression and Quantization

R2 Loss: Range Restriction Loss for Model Compression and Quantization

14 Mar 2023arXiv:2303.08253archive 2025-07-28

Arnav Kundu, Chungkuk Yoo, Srijan Mishra, Minsik Cho, Saurabh Adya

Model quantization and compression is widely used techniques to reduce usage of computing resource at inference time. While state-of-the-art works have been achieved reasonable accuracy with higher bit such as 4bit or 8bit, but still it is challenging to quantize/compress a model further, e.g., 1bit or 2bit. To overcome the challenge, we focus on outliers in weights of a pre-trained model which disrupt effective lower bit quantization and compression. In this work, we propose Range Restriction Loss (R2-Loss) for building lower bit quantization and compression friendly models by removing outliers from weights during pre-training. By effectively restricting range of weights, we mold the overall distribution into a tight shape to ensure high quantization bit resolution, therefore allowing model compression and quantization techniques can to utilize their limited numeric representation powers better. We introduce three different, L-inf R2-Loss, its extension Margin R2-Loss and a new Soft-Min-MaxR2-Loss to be used as an auxiliary loss during full-precision model training. These R2-Loss can be used in different cases such as L-inf and Margin R2-Loss would be effective for symmetric quantization, while Soft-Min-Max R2-Loss shows better performance for model compression. In our experiment, R2-Loss improves lower bit quantization accuracy with state-of-the-art post-training quantization (PTQ), quantization-aware training (QAT), and model compression techniques. With R2-Loss, MobileNet-V2 2bit weight and 8bit activation PTQ, MobileNet-V1 2bit weight and activation QAT, ResNet18 1bit weight compression are improved to 59.49% from 50.66%, 59.05% from 55.96%, and 52.58% from 45.54%, respectively.

PaperPDF

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

No code repository is listed for this paper in the archive or in Syntology's graph.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

ClassificationModel CompressionModel OptimizationQuantization

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Model Compression ImageNet ResNet-18 + 4bit-1dim model compression using DKM Top-1 70.52 #3 of 12 Archive leaderboard report
Model Compression ImageNet MobileNet-v1 + 4bit-1dim model compression using DKM Top-1 69.63 #4 of 12 Archive leaderboard report
Model Compression ImageNet ResNet-18 + 2bit-1dim model compression using DKM Top-1 68.63 #5 of 12 Archive leaderboard report
Model Compression ImageNet MobileNet-v1 + 2bit-1dim model compression using DKM Top-1 67.62 #6 of 12 Archive leaderboard report
Model Compression ImageNet ResNet-18 + 4bit-4dim model compression using DKM Top-1 66.1 #7 of 12 Archive leaderboard report
Model Compression ImageNet ResNet-18 + 2bit-2dim model compression using DKM Top-1 64.7 #8 of 12 Archive leaderboard report
Model Compression ImageNet MobileNet-v1 + 4bit-4dim model compression using DKM Top-1 61.4 #9 of 12 Archive leaderboard report
Model Compression ImageNet ResNet-18 + 1bit-1dim model compression using DKM Top-1 59.7 #10 of 12 Archive leaderboard report
Model Compression ImageNet MobileNet-v1 + 2bit-2dim model compression using DKM Top-1 53.99 #11 of 12 Archive leaderboard report
Model Compression ImageNet MobileNet-v1 + 1bit-1dim model compression using DKM Top-1 52.58 #12 of 12 Archive leaderboard report
Model Compression QNLI MobileBERT + 2bit-1dim model compression using DKM Accuracy 82.13 #1 of 2 Archive leaderboard report
Model Compression QNLI MobileBERT + 1bit-1dim model compression using DKM Accuracy 63.17 #2 of 2 Archive leaderboard report
Quantization ImageNet MobileNet-v1 + EWGS + R2Loss Top-1 Accuracy (%) 69.79 #25 of 27 Archive leaderboard report
Quantization ImageNet MobileNet-v1 + EWGS + R2Loss Weight bits 4 #25 of 27 Archive leaderboard report
Quantization ImageNet MobileNet-v1 + LSQ + R2Loss Top-1 Accuracy (%) 69.64 #26 of 27 Archive leaderboard report
Quantization ImageNet ResNet-18 + PACT + R2Loss Activation bits 4 #27 of 27 Archive leaderboard report
Quantization ImageNet ResNet-18 + PACT + R2Loss Top-1 Accuracy (%) 68.45 #27 of 27 Archive leaderboard report
Quantization ImageNet ResNet-18 + PACT + R2Loss Weight bits 2 #27 of 27 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

1x1 ConvolutionAverage PoolingBatch NormalizationConvolutionDense ConnectionsDepthwise ConvolutionDepthwise Separable ConvolutionGlobal Average PoolingMobileNetV1Pointwise ConvolutionReLUSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections