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 ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 25 code samples harvested from 1 repository linked to this paper: 13 ran (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 3 honoured, 0 violated, 6 with no contract checked; 4 where Syntology's instrument failed) · 12 unverified. Where Syntology's instrument failed: 3 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 25 samples from 1 repository, 13 ran (9 with no instrument failure; 4 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

microsoft/dcvc officialmentioned in papermentioned on GitHubpytorchSyntology: 25 samples, 13 ran (4 instrument-failed) · 12 unverified 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 (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 3 honoured, 0 violated, 6 with no contract checked; 4 where Syntology's instrument failed) · 12 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

3ran · honoured contract
3ran · our draft was wrong
1ran; the contract check could not run
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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

microsoft/dcvc official repository 25 samples, 13 ran (4 instrument-failed) · 12 unverified
Bitparm in 5 papers DCVC-family/EVC/src/models/image_model.py ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 540aafd221daec6c · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22
ConvFFN DCVC-family/EVC/src/models/image_model.py ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 86a18d2a649f2d15 · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22
DepthConv DCVC-family/EVC/src/models/image_model.py ran · metamorphic tier: invariant fingerprinted MIT (permissive) · b8e3c857a8571a00 · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22
DepthConvBlock DCVC-family/EVC/src/models/image_model.py ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 4aece5e35dc0c8cc · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22
ResidualBlockUpsample DCVC-family/EVC/src/models/image_model.py ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 682f74b9a0527b82 · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22
ResidualBlockWithStride DCVC-family/EVC/src/models/image_model.py ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 25550f006401f2fe · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22
conv1x1 in 691 papers DCVC-family/EVC/src/models/image_model.py ran · our draft was wrong MIT (permissive) · a3c8e16a24584f26 · report fixture: signature in_ch:int/0/int, out_ch:int/0/int, stride:int/0/int, bias:bool/0/bool · returned Conv2d · level recorded 2026-09-22
decode_i DCVC-family/EVC/src/models/image_model.py ran · our draft was wrong MIT (permissive) · b2d6b9a1d5a2c435 · report fixture: signature inputpath:str/0/str · returned tuple · level recorded 2026-09-22
filesize DCVC-family/EVC/src/models/image_model.py ran · honoured contract MIT (permissive) · 160f57c2abded159 · report fixture: signature filepath:str/0/str · returned int · level recorded 2026-09-22
get_dualprior DCVC-family/EVC/src/models/image_model.py ran · our draft was wrong MIT (permissive) · 67dc456c6e041f95 · report fixture: signature channel:int/0/int · returned Sequential · level recorded 2026-09-22
get_enc_dec_models DCVC-family/EVC/src/models/image_model.py ran; the contract check could not run (RAISES) MIT (permissive) · c63f1e2262411c15 · report fixture: signature input_channel:int/0/int, output_channel:int/0/int, channels:list/1/int · returned tuple · level recorded 2026-09-24
get_rounded_q DCVC-family/EVC/src/models/image_model.py ran · honoured contract MIT (permissive) · e782a688dbce3fba · report fixture: signature q_scale:float/0/float · returned tuple · level recorded 2026-09-22
read_ushorts DCVC-family/EVC/src/models/image_model.py ran · honoured contract MIT (permissive) · 83111bba30f0774d · report fixture: signature fd:BytesIO/0/?, n:int/0/int, fmt:str/0/str · returned tuple · level recorded 2026-09-22
AEHelper DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · 6e7203f6eff79d47 · report
BitEstimator DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · 14a187aa03e8d4a0 · report
CompressionModel DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · a3dd6d2180447f86 · report
DepthConvBlockUpsample DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · 5631b273d806dba4 · report
EVC DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · b87ddbdafb69654b · report
EntropyCoder DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · 3f1eea006102e900 · report
GaussianEncoder DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · 5244f222095e3ee4 · report
consume_prefix_in_state_dict_if_present DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · 3f91356135789762 · report
encode_i DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · efc58c8b5ec4990e · report
get_hyperprior DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · 804453ae538759d6 · report
get_state_dict in 105 papers DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · ecc047abfe4b65ac · report
write_ushorts DCVC-family/EVC/src/models/image_model.py unverified MIT (permissive) · 440964d6d5f92822 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for EVC (graph method: EVC). 33 bricks; individually on a fixture: 19 ran (of which 1 constructed an object rather than computing a result; 12 with no instrument failure: 5 honoured, 0 violated, 7 with no contract checked; 7 where Syntology's instrument failed) · 14 unverified. The assembly has not been run end-to-end.

  1. EVC entry · level 0 · unverified · b87ddbdafb69654b
  2. CompressionModel helper · level 0 · unverified · a3dd6d2180447f86
  3. decode_i helper · level 1 · ran · our draft was wrong · b2d6b9a1d5a2c435
  4. encode_i helper · level 0 · unverified · efc58c8b5ec4990e
  5. filesize helper · level 1 · ran · honoured contract · 160f57c2abded159
  6. get_downsampled_shape helper · level 1 · ran · honoured contract · 0c429d93ea07cde7
  7. get_dualprior helper · level 1 · ran · our draft was wrong · 67dc456c6e041f95
  8. get_enc_dec_models model · level 1 · ran; the contract check could not run (RAISES) · c63f1e2262411c15
  9. get_hyperprior model · level 0 · unverified · 804453ae538759d6
  10. get_rounded_q helper · level 1 · ran · honoured contract · e782a688dbce3fba
  11. get_state_dict helper · level 0 · unverified · ecc047abfe4b65ac
  12. BitEstimator helper · level 0 · unverified · 14a187aa03e8d4a0
  13. EntropyCoder helper · level 0 · unverified · 3f1eea006102e900
  14. GaussianEncoder helper · level 0 · unverified · 5244f222095e3ee4
  15. LowerBound helper · level 1 · ran · 12677b56c4c6cf41
  16. read_bytes helper · level 1 · ran · our draft was wrong · bd13dca3e1023087
  17. read_uints helper · level 1 · ran · honoured contract · ae94682e8b678a9e
  18. read_ushorts helper · level 1 · ran · honoured contract · 83111bba30f0774d
  19. write_bytes helper · level 0 · unverified · 02d0069a339c80a7
  20. write_uints helper · level 0 · unverified · f2a8983488d1cd94
  21. write_ushorts helper · level 0 · unverified · 440964d6d5f92822
  22. DepthConvBlock helper · level 1 · ran · 4aece5e35dc0c8cc
  23. ResidualBlockUpsample helper · level 1 · ran · 682f74b9a0527b82
  24. ResidualBlockWithStride helper · level 1 · ran · 25550f006401f2fe
  25. conv3x3 helper · level 1 · ran · our draft was wrong · 194462a957fb0991
  26. subpel_conv1x1 helper · level 1 · ran · our draft was wrong · 05d9e671c5f84bdb
  27. DepthConvBlockUpsample helper · level 0 · unverified · 5631b273d806dba4
  28. consume_prefix_in_state_dict_if_present helper · level 0 · unverified · 3f91356135789762
  29. AEHelper helper · level 0 · unverified · 6e7203f6eff79d47
  30. Bitparm helper · level 1 · ran · 540aafd221daec6c
  31. ConvFFN helper · level 1 · ran · 86a18d2a649f2d15
  32. DepthConv helper · level 1 · ran · b8e3c857a8571a00
  33. conv1x1 helper · level 1 · ran · our draft was wrong · a3c8e16a24584f26

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2302.05071") returns these assemblies with each brick's role and wiring (how to connect).

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