Practical Full Resolution Learned Lossless Image Compression

Fabian Mentzer, Eirikur Agustsson, Michael Tschannen, Radu Timofte, Luc Van Gool
11/30/2018
eess.IVcs.CVcs.LG

Official code: fab-jul/L3C-PyTorch (409 stars, GPL-3.0, last commit 2023-07-06).

Abstract

We propose the first practical learned lossless image compression system, L3C, and show that it outperforms the popular engineered codecs, PNG, WebP and JPEG 2000. At the core of our method is a fully parallelizable hierarchical probabilistic model for adaptive entropy coding which is optimized end-to-end for the compression task. In contrast to recent autoregressive discrete probabilistic models such as PixelCNN, our method i) models the image distribution jointly with learned auxiliary representations instead of exclusively modeling the image distribution in RGB space, and ii) only requires three forward-passes to predict all pixel probabilities instead of one for each pixel. As a result, L3C obtains over two orders of magnitude speedups when sampling compared to the fastest PixelCNN variant (Multiscale-PixelCNN). Furthermore, we find that learning the auxiliary representation is crucial and outperforms predefined auxiliary representations such as an RGB pyramid significantly.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

PyTorch Implementation of the CVPR'19 Paper "Practical Full Resolution Learned Lossless Image Compression"

40960C++, CudaApr 1, 20193 years agoGPL-3.0

Similar Papers

Cite this paper

@article{mentzer2018practical,
  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   = {2018},
  eprint = {1811.12817},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.12817}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.12817.svg)](https://codeofpaper.com/paper/1811.12817)

Discussion