Papers › QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization

QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization

11 Mar 2022arXiv:2203.05740archive 2025-07-28

Xiuying Wei, Ruihao Gong, Yuhang Li, Xianglong Liu, Fengwei Yu

Recently, post-training quantization (PTQ) has driven much attention to produce efficient neural networks without long-time retraining. Despite its low cost, current PTQ works tend to fail under the extremely low-bit setting. In this study, we pioneeringly confirm that properly incorporating activation quantization into the PTQ reconstruction benefits the final accuracy. To deeply understand the inherent reason, a theoretical framework is established, indicating that the flatness of the optimized low-bit model on calibration and test data is crucial. Based on the conclusion, a simple yet effective approach dubbed as QDROP is proposed, which randomly drops the quantization of activations during PTQ. Extensive experiments on various tasks including computer vision (image classification, object detection) and natural language processing (text classification and question answering) prove its superiority. With QDROP, the limit of PTQ is pushed to the 2-bit activation for the first time and the accuracy boost can be up to 51.49%. Without bells and whistles, QDROP establishes a new state of the art for PTQ. Our code is available at https://github.com/wimh966/QDrop and has been integrated into MQBench (https://github.com/ModelTC/MQBench)

PaperPDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2203.05740")

Code

Syntology Ran 14 of 19 code samples harvested from 2 repositories linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · violated contract; 8 ran · our draft was wrong; 5 ran with no contract checked.

By repository: official repository: 19 samples from 2 repositories, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

modeltc/mqbench officialmentioned in paperpytorchApache-2.0 report
wimh966/QDrop officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 14 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
8ran · our draft was wrong
5ran
5unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

layer_has_weights modeltc/mqbench/mqbench/advanced_ptq.py official repository ran · violated contract Apache-2.0 (permissive) · 734e5f593576355a · report
round_ste modeltc/mqbench/mqbench/fake_quantize/qdrop_quantizer.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 675da8641c602b03 · report
DataSaverHook wimh966/QDrop/qdrop/solver/recon.py official repository ran MIT (permissive) · aad5f7fa5a104f83 · report
LSQPlusFakeQuantize wimh966/QDrop/qdrop/solver/recon.py official repository ran fingerprinted MIT (permissive) · cae087e14b082ad7 · report
LinearTempDecay wimh966/QDrop/qdrop/solver/recon.py official repository ran MIT (permissive) · 4aded0dd4cff11f4 · report
LossFunction wimh966/QDrop/qdrop/solver/recon.py official repository ran fingerprinted MIT (permissive) · 665e30ed4645891a · report
QuantizedModule wimh966/QDrop/qdrop/solver/recon.py official repository ran MIT (permissive) · f762b59f2c5ed75b · report
_fake_quantize_learnable_per_tensor_affine_training modeltc/mqbench/mqbench/fake_quantize/qdrop_quantizer.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7d7aa73f165ae52e · report
fake_quantize_learnableplus_per_channel_affine_training wimh966/QDrop/qdrop/solver/recon.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 7daaddceec308813 · report
fake_quantize_learnableplus_per_tensor_affine_training wimh966/QDrop/qdrop/solver/recon.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 128adf85beb85df4 · report
lp_loss wimh966/QDrop/qdrop/solver/recon.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 8003cb7a5176e497 · report
node2modules modeltc/mqbench/mqbench/advanced_ptq.py official repository ran · our draft was wrong Apache-2.0 (permissive) · ac274433bb73e20c · report
qnode2fpnode modeltc/mqbench/mqbench/advanced_ptq.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 2df773973fe13be2 · report
save_inp_oup_data wimh966/QDrop/qdrop/solver/recon.py official repository ran · our draft was wrong MIT (permissive) · 01e81fd5942011ad · report
LSQFakeQuantize wimh966/QDrop/qdrop/solver/recon.py official repository unverified MIT (permissive) · a1873dbf3ee330ef · report
QDropFakeQuantize modeltc/mqbench/mqbench/fake_quantize/qdrop_quantizer.py official repository unverified Apache-2.0 (permissive) · 21646d4b40b8c655 · report
QuantizeBase modeltc/mqbench/mqbench/fake_quantize/qdrop_quantizer.py official repository unverified Apache-2.0 (permissive) · 7c23cc16e1d8d7b3 · report
_fake_quantize_learnable_per_channel_affine_training modeltc/mqbench/mqbench/fake_quantize/qdrop_quantizer.py official repository unverified Apache-2.0 (permissive) · ff3b513126ce71ed · report
reconstruction wimh966/QDrop/qdrop/solver/recon.py official repository unverified MIT (permissive) · e62a3ec748b29b66 · report

Tasks

Image ClassificationObject DetectionQuantizationQuestion AnsweringText Classificationimage-classificationobject-detectiontext-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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