All models

SReC

A lossless image compressor that stores a small image and entropy-codes three levels of predicted super-resolution.

1,016 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 (17 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
4.2M
Operations
1,016
Framework
PyTorch
Recurrent
No
Published
2020
Cited by
64 (as of 29 November 2026)
Authors
Sheng Cao, Chao-Yuan Wu, Philipp Krähenbühl
License
MIT
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
m20131
Graph hash
87dab0044454e15242ead72c2e63c2f1a3282b13e345bc9dc2e595695ad7dfc4
Skeleton hash
01b3fb6396e7d76960c46f07871f2c7779c41a50851476267980b4b9e8b57f08
Architecture hash
17db998de5b1024b21942605cafb31bafa73c277b76182549b94c68add040b93
Diagram SHA-256
d8659ea6308365de307baf03683ce4cba91f2e315dfa25232b306213e971d11d
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

SReC (Super-Resolution based Compression) is a lossless image compression method that stores a low-resolution version of an image as raw pixels and then applies several iterations of lossless super-resolution. Unlike standard super-resolution, which predicts one output image, the network predicts a distribution over all possible super-resolved images. That distribution is entropy-coded with arithmetic coding.

Each low-resolution pixel is the average of four pixels at the next level, so the network only needs to predict a distribution over three of them. Following PixelCNN++, each probability is parametrized as a mixture of logistic functions. The authors use 10 mixture components. The network is made of convolutional layers with residual connections and ends in a discretized-mixture-of-logistic output layer. The overall model has three levels of super-resolution, with skip connections from lower-resolution to higher-resolution layers.

In the paper's ablation, each additional level improved performance, saturating at three levels. The paper evaluates on the ImageNet64 and Open Images datasets. The code repository lists its released models at 4.29 bits per subpixel on ImageNet64 and 2.70 on Open Images.

Key idea. The paper showed that an image can be compressed losslessly by storing a low-resolution copy and entropy-coding a learned probabilistic super-resolution operator.

  • srec
  • super-resolution based compression
  • lossless image compression
  • lossless compression through super-resolution
  • learned image compression
  • entropy coding
  • arithmetic coding
  • bits per subpixel

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

Cite the paper

@misc{cao2020losslessimagecompressionsuperresolution,
      title={Lossless Image Compression through Super-Resolution}, 
      author={Sheng Cao and Chao-Yuan Wu and Philipp Krähenbühl},
      year={2020},
      eprint={2004.02872},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2004.02872}, 
}