
compressai_factorized_prior_192
67 ops151.9K params
A convolutional image codec whose latents are coded under a fully factorized learned prior.
67 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.compressai_reimpl:build_factorized_prior_128: build({}) The narrower codec, with N = 128 and M = 192, the setting the paper used for its five lower rate points.
About this model's family
This is the factorized-prior image codec, the baseline model of the scale hyperprior paper: an end-to-end trainable image compression model based on variational autoencoders. An analysis transform maps the image into a latent representation, which is quantized, and a synthesis transform recovers the reconstructed image from the quantized latents. The paper treats both transforms as artificial neural networks rather than the linear transforms of traditional codecs.
What makes it the factorized-prior model is its entropy model: following the earlier model of Ballé and colleagues, the prior over the latents is a non-parametric, fully factorized density. The paper's own figure shows why that is a stark simplification, since non-zero responses cluster around edges and textured regions, a coupling a factorized prior cannot represent, and the hyperprior is introduced to capture it. The analysis and synthesis transforms are built from convolutions and GDN/IGDN nonlinearities, a form of local divisive normalization. The hyperprior model uses the identical architecture for its analysis and synthesis transforms, so this baseline is that codec without the side-information branch.
The two captured members differ in width: the paper chose N = 128 with M = 192 for the five lower rate points and N = 192 with M = 320 for the three higher ones. Optimized for squared error, the factorized prior model outperforms JPEG and earlier ANN-based methods trained for squared error, though not BPG.
Key idea. A learned transform-coding image codec whose latents are entropy-coded under a fully factorized learned prior, the baseline that the scale hyperprior extends.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{ballé2018variationalimagecompressionscale,
title={Variational image compression with a scale hyperprior},
author={Johannes Ballé and David Minnen and Saurabh Singh and Sung Jin Hwang and Nick Johnston},
year={2018},
eprint={1802.01436},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/1802.01436},
}