Papers › Trained Quantization Thresholds for Accurate and Efficient Fixed-Point Inference of...

Trained Quantization Thresholds for Accurate and Efficient Fixed-Point Inference of Deep Neural Networks

19 Mar 2019arXiv:1903.08066archive 2025-07-28

Sambhav R. Jain, Albert Gural, Michael Wu, Chris H. Dick

We propose a method of training quantization thresholds (TQT) for uniform symmetric quantizers using standard backpropagation and gradient descent. Contrary to prior work, we show that a careful analysis of the straight-through estimator for threshold gradients allows for a natural range-precision trade-off leading to better optima. Our quantizers are constrained to use power-of-2 scale-factors and per-tensor scaling of weights and activations to make it amenable for hardware implementations. We present analytical support for the general robustness of our methods and empirically validate them on various CNNs for ImageNet classification. We are able to achieve near-floating-point accuracy on traditionally difficult networks such as MobileNets with less than 5 epochs of quantized (8-bit) retraining. Finally, we present Graffitist, a framework that enables automatic quantization of TensorFlow graphs for TQT (available at https://github.com/Xilinx/graffitist ).

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

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

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

Xilinx/graffitist officialmentioned in papermentioned on GitHubtfNOASSERTION report
PannenetsF/TQT mentioned on GitHubpytorchBSD-3-Clause 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

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 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.

10unverified

Licence: 0 of the 10 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 PannenetsF/TQT. “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.

config_acti PannenetsF/TQT/tqt/config.py community (archive-listed) unverified BSD-3-Clause (permissive) · 88f6fe05aa7308db · report
config_bn PannenetsF/TQT/tqt/config.py community (archive-listed) unverified BSD-3-Clause (permissive) · cb7a1e0dbb7a09a9 · report
config_conv_linear PannenetsF/TQT/tqt/config.py community (archive-listed) unverified BSD-3-Clause (permissive) · f2f3595832793e27 · report
fold_CB PannenetsF/TQT/tqt/fold/fold_op.py community (archive-listed) unverified BSD-3-Clause (permissive) · 94a45a0faabc1f13 · report
fold_CBR PannenetsF/TQT/tqt/fold/fold_op.py community (archive-listed) unverified BSD-3-Clause (permissive) · 239de305c96f91ce · report
fold_SABR PannenetsF/TQT/tqt/fold/fold_op.py community (archive-listed) unverified BSD-3-Clause (permissive) · f2c965afd1753bc3 · report
get_all_layers PannenetsF/TQT/tqt/fused_config.py community (archive-listed) unverified BSD-3-Clause (permissive) · 4fea127b33348b00 · report
kl_divergence PannenetsF/TQT/tqt/analyse/kl.py community (archive-listed) unverified BSD-3-Clause (permissive) · ed42e29f9cacc3f3 · report
kl_similarity PannenetsF/TQT/tqt/analyse/kl.py community (archive-listed) unverified BSD-3-Clause (permissive) · a0e0d8bfa694710c · report
make_bn_fold_with_previous PannenetsF/TQT/tqt/utils.py community (archive-listed) unverified BSD-3-Clause (permissive) · 99cb38faf7eee70f · report

Tasks

Quantization

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