Papers › Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference

Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference

15 Dec 2017CVPR 2018 6arXiv:1712.05877archive 2025-07-28

Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, Dmitry Kalenichenko

The rising popularity of intelligent mobile devices and the daunting computational cost of deep learning-based models call for efficient and accurate on-device inference schemes. We propose a quantization scheme that allows inference to be carried out using integer-only arithmetic, which can be implemented more efficiently than floating point inference on commonly available integer-only hardware. We also co-design a training procedure to preserve end-to-end model accuracy post quantization. As a result, the proposed quantization scheme improves the tradeoff between accuracy and on-device latency. The improvements are significant even on MobileNets, a model family known for run-time efficiency, and are demonstrated in ImageNet classification and COCO detection on popular CPUs.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="1712.05877")

Code

Syntology Ran 7 of 7 code samples harvested from 3 repositories linked to this paper; 0 have no recorded run. Of those that ran: 3 ran · honoured contract; 1 ran · our draft was wrong; 3 ran with no contract checked.

By repository: community (archive-listed): 7 samples from 3 repositories, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

21 repositories listed; official and paper-mentioned ones first.

ArtyZe/yolo_quantization mentioned on GitHub report
Janus-Shiau/awd-lstm-tensorflow mentioned on GitHubtf report
MaximIntegratedAI/ai8x-synthesis mentioned on GitHubpytorchApache-2.0 report
MaximIntegratedAI/ai8x-training mentioned on GitHubpytorch report
PhilipPfeffer/haptic_vest mentioned on GitHubtf report
analogdevicesinc/ai8x-training mentioned on GitHubpytorchApache-2.0 report
geffencooper/ai8x-synthesis_ECE196 mentioned on GitHubpytorch report
hey-yahei/Quantization.MXNet mentioned on GitHubmxnet report
hey-yahei/RT_Quantization.MXNet mentioned on GitHubmxnet report
jameszampa/VIP-SoCET-Benchmark mentioned on GitHubtf report
linyang-zhh/FQ-ViT mentioned on GitHubpytorch report
tensorflow/models mentioned on GitHubtf report
tensorflow/models mentioned on GitHubtf 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

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

3ran · honoured contract
1ran · our draft was wrong
3ran

Licence: 4 of the 7 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 3 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.

BaseQuantizer linyang-zhh/FQ-ViT/models/ptq/quantizer/uniform.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 6c8c5613a41846a2 · report
FullyConnected jameszampa/ECE-570-Implementation/python/integer_inference.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 40771743ce834305 · report
MultiplyByQuantizedMultiplierSmallerThanOne jameszampa/ECE-570-Implementation/python/integer_inference.py community (archive-listed) ran · honoured contract no licence file found · pointer only · 9c24f357578474e5 · report
QuantizationFunction MaximIntegratedAI/ai8x-training/ai8x.py community (archive-listed) ran Apache-2.0 (permissive) · fbe27ee7dc10aa67 · report
RoundingDivideByPOT jameszampa/ECE-570-Implementation/python/integer_inference.py community (archive-listed) ran · honoured contract no licence file found · pointer only · f80d39ab0932d302 · report
SaturatingRoundingDoublingHighMul jameszampa/ECE-570-Implementation/python/integer_inference.py community (archive-listed) ran · honoured contract no licence file found · pointer only · 98ec162d7259fc3b · report
UniformQuantizer linyang-zhh/FQ-ViT/models/ptq/quantizer/uniform.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 476098355ebe4558 · report

Tasks

General ClassificationQuantization

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