Papers › EVC: Towards Real-Time Neural Image Compression with Mask Decay

EVC: Towards Real-Time Neural Image Compression with Mask Decay

10 Feb 2023arXiv:2302.05071archive 2025-07-28

Guo-Hua Wang, Jiahao Li, Bin Li, Yan Lu

Neural image compression has surpassed state-of-the-art traditional codecs (H.266/VVC) for rate-distortion (RD) performance, but suffers from large complexity and separate models for different rate-distortion trade-offs. In this paper, we propose an Efficient single-model Variable-bit-rate Codec (EVC), which is able to run at 30 FPS with 768x512 input images and still outperforms VVC for the RD performance. By further reducing both encoder and decoder complexities, our small model even achieves 30 FPS with 1920x1080 input images. To bridge the performance gap between our different capacities models, we meticulously design the mask decay, which transforms the large model's parameters into the small model automatically. And a novel sparsity regularization loss is proposed to mitigate shortcomings of Lₚ regularization. Our algorithm significantly narrows the performance gap by 50% and 30% for our medium and small models, respectively. At last, we advocate the scalable encoder for neural image compression. The encoding complexity is dynamic to meet different latency requirements. We propose decaying the large encoder multiple times to reduce the residual representation progressively. Both mask decay and residual representation learning greatly improve the RD performance of our scalable encoder. Our code is at https://github.com/microsoft/DCVC.

PaperPDFCodeCode 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="2302.05071")

Code

Syntology Ran 13 of 25 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 3 ran · honoured contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 6 ran with no contract checked.

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

microsoft/dcvc 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

25 samples harvested; 13 ran; 3 honoured the contract we drafted; 12 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
3ran · our draft was wrong
1ran · fixture could not drive it
6ran
12unverified

Licence: 0 of the 25 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 microsoft/dcvc. “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.

Bitparm microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 540aafd221daec6c · report
ConvFFN microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 86a18d2a649f2d15 · report
DepthConv microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · b8e3c857a8571a00 · report
DepthConvBlock microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 4aece5e35dc0c8cc · report
ResidualBlockUpsample microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 682f74b9a0527b82 · report
ResidualBlockWithStride microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 25550f006401f2fe · report
conv1x1 microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · our draft was wrong MIT (permissive) · a3c8e16a24584f26 · report
decode_i microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · our draft was wrong MIT (permissive) · b2d6b9a1d5a2c435 · report
filesize microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · honoured contract MIT (permissive) · 160f57c2abded159 · report
get_dualprior microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · our draft was wrong MIT (permissive) · 67dc456c6e041f95 · report
get_enc_dec_models microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · fixture could not drive it MIT (permissive) · c63f1e2262411c15 · report
get_rounded_q microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · honoured contract MIT (permissive) · e782a688dbce3fba · report
read_ushorts microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository ran · honoured contract MIT (permissive) · 83111bba30f0774d · report
AEHelper microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · 6e7203f6eff79d47 · report
BitEstimator microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · 14a187aa03e8d4a0 · report
CompressionModel microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · a3dd6d2180447f86 · report
DepthConvBlockUpsample microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · 5631b273d806dba4 · report
EVC microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · b87ddbdafb69654b · report
EntropyCoder microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · 3f1eea006102e900 · report
GaussianEncoder microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · 5244f222095e3ee4 · report
consume_prefix_in_state_dict_if_present microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · 3f91356135789762 · report
encode_i microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · efc58c8b5ec4990e · report
get_hyperprior microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · 804453ae538759d6 · report
get_state_dict microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · ecc047abfe4b65ac · report
write_ushorts microsoft/dcvc/DCVC-family/EVC/src/models/image_model.py official repository unverified MIT (permissive) · 440964d6d5f92822 · report

Tasks

DecoderImage CompressionRepresentation Learning

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