# Efficient and Effective Context-Based Convolutional Entropy Modeling for Image Compression

arXiv: https://arxiv.org/abs/1906.10057 · HTML: https://mlsanity.com/paper/1906.10057/

## Key facts

- Cited by 33 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 24 Jun 2019.

## Built on by (most cited first, 30 of 33)

- [ELIC: Efficient Learned Image Compression with Unevenly Grouped Space-Channel Contextual Adaptive Coding](https://mlsanity.com/paper/2203.10886/) (2022)
- [Checkerboard Context Model for Efficient Learned Image Compression](https://mlsanity.com/paper/2103.15306/) (2021)
- [Contextformer: A Transformer with Spatio-Channel Attention for Context Modeling in Learned Image Compression](https://mlsanity.com/paper/2203.02452/) (2022)
- [You Can Ground Earlier than See: An Effective and Efficient Pipeline for Temporal Sentence Grounding in Compressed Videos](https://mlsanity.com/paper/2303.07863/) (2023)
- [Slimmable Compressive Autoencoders for Practical Neural Image Compression](https://mlsanity.com/paper/2103.15726/) (2021)
- [Learned Image Compression with Gaussian-Laplacian-Logistic Mixture Model and Concatenated Residual Modules](https://mlsanity.com/paper/2107.06463/) (2021)
- [DPICT: Deep Progressive Image Compression Using Trit-Planes](https://mlsanity.com/paper/2112.06334/) (2021)
- [Deep Lossy Plus Residual Coding for Lossless and Near-lossless Image Compression](https://mlsanity.com/paper/2209.04847/) (2022)
- [Causal Context Adjustment Loss for Learned Image Compression](https://mlsanity.com/paper/2410.04847/) (2024)
- [Learning-Driven Lossy Image Compression; A Comprehensive Survey](https://mlsanity.com/paper/2201.09240/) (2022)
- [Efficient Contextformer: Spatio-Channel Window Attention for Fast Context Modeling in Learned Image Compression](https://mlsanity.com/paper/2306.14287/) (2023)
- [Semantically Video Coding: Instill Static-Dynamic Clues into Structured Bitstream for AI Tasks](https://mlsanity.com/paper/2201.10162/) (2022)
- [Rate Distortion Characteristic Modeling for Neural Image Compression](https://mlsanity.com/paper/2106.12954/) (2021)
- [Pseudocylindrical Convolutions for Learned Omnidirectional Image Compression](https://mlsanity.com/paper/2112.13227/) (2021)
- [Exploring Resolution Fields for Scalable Image Compression with Uncertainty Guidance](https://mlsanity.com/paper/2306.08941/) (2023)
- [PILC: Practical Image Lossless Compression with an End-to-end GPU Oriented Neural Framework](https://mlsanity.com/paper/2206.05279/) (2022)
- [Multistage Spatial Context Models for Learned Image Compression](https://mlsanity.com/paper/2302.09263/) (2023)
- [DeepHQ: Learned Hierarchical Quantizer for Progressive Deep Image Coding](https://mlsanity.com/paper/2408.12150/) (2024)
- [Scanpath Prediction in Panoramic Videos via Expected Code Length Minimization](https://mlsanity.com/paper/2305.02536/) (2023)
- [Super-High-Fidelity Image Compression via Hierarchical-ROI and Adaptive Quantization](https://mlsanity.com/paper/2403.13030/) (2024)
- [STanH : Parametric Quantization for Variable Rate Learned Image Compression](https://mlsanity.com/paper/2410.00557/) (2024)
- [Map-Assisted Remote-Sensing Image Compression at Extremely Low Bitrates](https://mlsanity.com/paper/2409.01935/) (2024)
- [Exploring the Rate-Distortion-Complexity Optimization in Neural Image Compression](https://mlsanity.com/paper/2305.07678/) (2023)
- [Exploration of Learned Lifting-Based Transform Structures for Fully Scalable and Accessible Wavelet-Like Image Compression](https://mlsanity.com/paper/2402.18761/) (2024)
- [Learned HDR Image Compression for Perceptually Optimal Storage and Display](https://mlsanity.com/paper/2407.13179/) (2024)
- [Dataset Distillation as Data Compression: A Rate-Utility Perspective](https://mlsanity.com/paper/2507.17221/) (2025)
- [Deep Network for Image Compressed Sensing Coding Using Local Structural Sampling](https://mlsanity.com/paper/2402.19111/) (2024)
- [Rethinking Learned Image Compression: Context is All You Need](https://mlsanity.com/paper/2407.11590/) (2024)
- [LimitNet: Progressive, Content-Aware Image Offloading for Extremely Weak Devices & Networks](https://mlsanity.com/paper/2504.13736/) (2025)
- [A Novel Framework for Image-to-image Translation and Image Compression](https://mlsanity.com/paper/2111.13105/) (2021)

## Abstract (arXiv)

Precise estimation of the probabilistic structure of natural images plays an essential role in image compression. Despite the recent remarkable success of end-to-end optimized image compression, the latent codes are usually assumed to be fully statistically factorized in order to simplify entropy modeling. However, this assumption generally does not hold true and may hinder compression performance. Here we present context-based convolutional networks (CCNs) for efficient and effective entropy modeling. In particular, a 3D zigzag scanning order and a 3D code dividing technique are introduced to define proper coding contexts for parallel entropy decoding, both of which boil down to place translation-invariant binary masks on convolution filters of CCNs. We demonstrate the promise of CCNs for entropy modeling in both lossless and lossy image compression. For the former, we directly apply a CCN to the binarized representation of an image to compute the Bernoulli distribution of each code for entropy estimation. For the latter, the categorical distribution of each code is represented by a discretized mixture of Gaussian distributions, whose parameters are estimated by three CCNs. We then jointly optimize the CCN-based entropy model along with analysis and synthesis transforms for rate-distortion performance. Experiments on the Kodak and Tecnick datasets show that our methods powered by the proposed CCNs generally achieve comparable compression performance to the state-of-the-art while being much faster.
