Papers › Fast Lossless Neural Compression with Integer-Only Discrete Flows

Fast Lossless Neural Compression with Integer-Only Discrete Flows

17 Jun 2022arXiv:2206.08869archive 2025-07-28

Siyu Wang, Jianfei Chen, Chongxuan Li, Jun Zhu, Bo Zhang

By applying entropy codecs with learned data distributions, neural compressors have significantly outperformed traditional codecs in terms of compression ratio. However, the high inference latency of neural networks hinders the deployment of neural compressors in practical applications. In this work, we propose Integer-only Discrete Flows (IODF), an efficient neural compressor with integer-only arithmetic. Our work is built upon integer discrete flows, which consists of invertible transformations between discrete random variables. We propose efficient invertible transformations with integer-only arithmetic based on 8-bit quantization. Our invertible transformation is equipped with learnable binary gates to remove redundant filters during inference. We deploy IODF with TensorRT on GPUs, achieving 10x inference speedup compared to the fastest existing neural compressors, while retaining the high compression rates on ImageNet32 and ImageNet64.

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

Code

Syntology Ran 15 of 22 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 4 ran · honoured contract; 1 ran · our draft was wrong; 5 ran · fixture could not drive it; 5 ran with no contract checked.

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

thu-ml/iodf officialmentioned in papermentioned on GitHubpytorch 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

22 samples harvested; 15 ran; 4 honoured the contract we drafted; 7 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.

4ran · honoured contract
1ran · our draft was wrong
5ran · fixture could not drive it
5ran
7unverified

Licence: 0 of the 22 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 thu-ml/iodf. “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.

BackRound thu-ml/iodf/core/models/flow.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 46f46fe8b4420885 · report
Base thu-ml/iodf/core/models/flow.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 4088cdf57d658b64 · report
Permute thu-ml/iodf/core/models/flow.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · e53e1ce0d110e0d3 · report
Squeeze thu-ml/iodf/core/models/flow.py official repository ran fingerprinted MIT (permissive) · 450b2b62c561b13b · report
StochasticRound thu-ml/iodf/core/models/flow.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · b4bcd6e9de03c77b · report
_stacked_sigmoid thu-ml/iodf/core/models/flow.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · e888d3b7e8b35bde · report
depth_to_space thu-ml/iodf/core/models/flow.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 5d24f20be4bf139b · report
sample_discretized_logistic thu-ml/iodf/core/models/flow.py official repository ran · honoured contract fingerprinted MIT (permissive) · 39a407de5f677119 · report
sample_discretized_normal thu-ml/iodf/core/models/flow.py official repository ran · honoured contract fingerprinted MIT (permissive) · 3b27078feb569655 · report
sample_logistic thu-ml/iodf/core/models/flow.py official repository ran · honoured contract fingerprinted MIT (permissive) · 30d19875779857af · report
sample_mixture_discretized_logistic thu-ml/iodf/core/models/flow.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 480e7b7bf0abeb03 · report
sample_mixture_normal thu-ml/iodf/core/models/flow.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · a41638efd4616d39 · report
sample_normal thu-ml/iodf/core/models/flow.py official repository ran · honoured contract fingerprinted MIT (permissive) · 64ca67dc6ee10796 · report
sample_prior thu-ml/iodf/core/models/flow.py official repository ran · fixture could not drive it MIT (permissive) · eef8c6e77a17e984 · report
space_to_depth thu-ml/iodf/core/models/flow.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · b19a3a46fd7ce90b · report
Coupling thu-ml/iodf/core/models/flow.py official repository unverified MIT (permissive) · e318d8d641984ae4 · report
Flow thu-ml/iodf/core/models/flow.py official repository unverified MIT (permissive) · e517bb3d3bd6c07d · report
NN thu-ml/iodf/core/models/flow.py official repository unverified MIT (permissive) · c6ce52a8bf563a31 · report
RoundStraightThrough thu-ml/iodf/core/models/flow.py official repository unverified MIT (permissive) · 9429bafa966d574b · report
SmoothRound thu-ml/iodf/core/models/flow.py official repository unverified MIT (permissive) · 4f8d56e315314445 · report
SplitFactorCoupling thu-ml/iodf/core/models/flow.py official repository unverified MIT (permissive) · 84becd55fb738b32 · report
SplitPrior thu-ml/iodf/core/models/flow.py official repository unverified MIT (permissive) · bd54a31770e937ad · 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