
compressai_scale_hyperprior_192
Diffusion and generative90 ops173.3K params
The scale hyperprior model, an image compression autoencoder with a learned hyperprior.
Diffusion and generative · 90 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_scale_hyperprior_128: build({}) This model is the 128 configuration; in the paper, the sizes N = 128 and M = 192 are used for the 5 lower of its 8 values of λ, the parameter that sets the rate-distortion tradeoff.
About this model's family
The scale hyperprior model is an end-to-end trainable model for image compression based on variational autoencoders. It extends an earlier model that has a fully factorized prior by adding a hyperprior, which captures the fact that spatially neighboring elements of the latent representation tend to vary together in their scales.
The network has two parts: an image autoencoder and a second autoencoder that implements the hyperprior. The second autoencoder's code z is quantized, compressed and transmitted as side information, and from it the spatial distribution of standard deviations is estimated and used to compress the image representation. The image transforms are built from convolutions and GDN/IGDN nonlinearities, which implement local divisive normalization, and the hyperprior transforms from convolutions and rectified linear units.
The paper relates the hyperprior to side information, a concept it calls universal to virtually all modern image codecs but, at its date, largely unexplored in image compression with neural networks. The authors trained 32 separate models, half with a hyperprior and half without, and evaluated them on the Kodak dataset. Trained for squared error, the hyperprior model came close to BPG performance, with better results at higher bit rates than lower ones.
Key idea. The paper adds a hyperprior, trained jointly with the image autoencoder, that captures spatial dependencies in the latent representation of a learned image compression model.
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},
}