All models

L3C

A hierarchical convolutional probability model for lossless image compression with arithmetic coding.

Diffusion and generative · 289 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (9 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
5M
Operations
289
Framework
PyTorch
Recurrent
No
Published
CVPR 2019
Cited by
225 (as of 29 October 2026)
Authors
Fabian Mentzer, Eirikur Agustsson, Michael Tschannen and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17707
Graph hash
3d2eb10b59d699054272a6ed4ee718f67b59b62973e1c389363c7a9d31495ceb
Skeleton hash
2e081c16dded80f4963927598d43b3e7bba7af5aa8ba8210182bceb5456e37df
Architecture hash
32f1471fc4fe1a32ab2b9dc1298bc03cf73d10b6d6e6cfdc2a805bce3fa8de99
Diagram SHA-256
83f71acea20fcff884769240a6a24cf47dbf9c4b9271c21acbe6eb9dec136818
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

L3C is a learned lossless image compression system built around a hierarchical probabilistic model that supplies the probabilities for adaptive entropy coding. The paper reports that it outperforms the engineered codecs PNG, WebP and JPEG 2000.

The network is a hierarchy of feature extractors and predictors that are trained jointly. Instead of factorizing the image distribution pixel by pixel, it models all sub-pixels jointly with a learned hierarchy of auxiliary feature representations. The conditional distribution at each scale is a discretized logistic mixture. The model uses three feature extractors and three predictors, so decoding takes three forward passes that are parallel over pixels. Autoregressive models such as PixelCNN instead need one forward pass for each pixel.

The paper finds that learning the auxiliary representation is crucial: it significantly outperforms a predefined one such as an RGB pyramid. It also reports speedups of over two orders of magnitude when sampling, compared with Multiscale-PixelCNN.

Key idea. L3C models the image distribution jointly with learned auxiliary representations instead of exclusively in RGB space, as the probability model of a lossless image compression system.

  • L3C
  • Practical Full Resolution Learned Lossless Image Compression
  • lossless image compression
  • learned lossless compression
  • learned compression
  • entropy coding
  • arithmetic coding
  • hierarchical probabilistic model
  • image compression

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{mentzer2020practicalresolutionlearnedlossless,
      title={Practical Full Resolution Learned Lossless Image Compression}, 
      author={Fabian Mentzer and Eirikur Agustsson and Michael Tschannen and Radu Timofte and Luc Van Gool},
      year={2020},
      eprint={1811.12817},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/1811.12817}, 
}