Efficient Contextformer: Spatio-Channel Window Attention for Fast Context Modeling in Learned Image Compression
Not on the map. Why?
Abstract (arXiv)
Entropy estimation is essential for the performance of learned image compression. It has been demonstrated that a transformer-based entropy model is of critical importance for achieving a high compression ratio, however, at the expense of a significant computational effort. In this work, we introduce the Efficient Contextformer (eContextformer) - a computationally efficient transformer-based autoregressive context model for learned image compression. The eContextformer efficiently fuses the patch-wise, checkered, and channel-wise grouping techniques for parallel context modeling, and introduces a shifted window spatio-channel attention mechanism. We explore better training strategies and architectural designs and introduce additional complexity optimizations. During decoding, the proposed optimization techniques dynamically scale the attention span and cache the previous attention computations, drastically reducing the model and runtime complexity. Compared to the non-parallel approach, our proposal has ~145x lower model complexity and ~210x faster decoding speed, and achieves higher average bit savings on Kodak, CLIC2020, and Tecnick datasets. Additionally, the low complexity of our context model enables online rate-distortion algorithms, which further improve the compression performance. We achieve up to 17% bitrate savings over the intra coding of Versatile Video Coding (VVC) Test Model (VTM) 16.2 and surpass various learning-based compression models.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 42 of its 75 references that are in the map. First posted on arXiv 25 Jun 2023.
Builds on
42 of 75 references.
References · 42
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2018Variational image compression with a scale hyperpriorcited by 910
- 2018Image Transformercited by 770
- 2016End-to-end Optimized Image Compressioncited by 673
30 more
- 2018Joint Autoregressive and Hierarchical Priors for Learned Image Compressioncited by 642
- 2017Video Enhancement with Task-Oriented Flowcited by 612
- 2020Learned Image Compression with Discretized Gaussian Mixture Likelihoods and Attention Modulescited by 570
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2022ELIC: Efficient Learned Image Compression with Unevenly Grouped Space-Channel Contextual Adaptive Codingcited by 296
- 2020CompressAI: a PyTorch library and evaluation platform for end-to-end compression researchcited by 271
- 2020Channel-wise Autoregressive Entropy Models for Learned Image Compressioncited by 255
- 2019Residual Non-local Attention Networks for Image Restorationcited by 236
- 2023Learned Image Compression with Mixed Transformer-CNN Architecturescited by 205
- 2021Checkerboard Context Model for Efficient Learned Image Compressioncited by 193
- 2018Context-adaptive Entropy Model for End-to-end Optimized Image Compressioncited by 138
- 2020Nonlinear Transform Codingcited by 132
- 2018Conditional Probability Models for Deep Image Compressioncited by 128
- 2015Density Modeling of Images using a Generalized Normalization Transformationcited by 123
- 2022Entroformer: A Transformer-based Entropy Model for Learned Image Compressioncited by 102
- 2019Non-local Attention Optimized Deep Image Compressioncited by 86
- 2020Asymmetric Gained Deep Image Compression With Continuous Rate Adaptationcited by 83
- 2019Image and Video Compression with Neural Networks: A Reviewcited by 82
- 2020Improving Inference for Neural Image Compressioncited by 81
- 2020Causal Contextual Prediction for Learned Image Compressioncited by 70
- 2023EVC: Towards Real-Time Neural Image Compression with Mask Decaycited by 46
- 2020Learning Accurate Entropy Model with Global Reference for Image Compressioncited by 42
- 2022Contextformer: A Transformer with Spatio-Channel Attention for Context Modeling in Learned Image Compressioncited by 42
- 2019Content Adaptive Optimization for Neural Image Compressioncited by 40
- 2019Efficient and Effective Context-Based Convolutional Entropy Modeling for Image Compressioncited by 33
- 2023Computationally-Efficient Neural Image Compression with Shallow Decoderscited by 22
- 2022Flexible Neural Image Compression via Code Editingcited by 19
- 2021FastSeq: Make Sequence Generation Fastercited by 13
- 2019Multi-scale and Context-adaptive Entropy Model for Image Compressioncited by 9
- 2022Learning-Based Conditional Image Coder Using Color Separationcited by 6
Built on by
Citing papers per year: 2024: 7; 2025: 4; 2026: 2.
13 papers.
Sort:
- 2024DeepHQ: Learned Hierarchical Quantizer for Progressive Deep Image Codingcited by 5
- 2024FViT: A Focal Vision Transformer with Gabor Filtercited by 3
- 2025Customizable ROI-Based Deep Image Compressioncited by 3
- 2025Context Guided Transformer Entropy Modeling for Video Compressioncited by 3
- 2024Bit Distribution Study and Implementation of Spatial Quality Map in the JPEG-AI Standardizationcited by 2
- 2024Bit Rate Matching Algorithm Optimization in JPEG-AI Verification Modelcited by 2
- 2025Lightweight Embedded FPGA Deployment of Learned Image Compression with Knowledge Distillation and Hybrid Quantizationcited by 2
- 2024FIPER: Factorized Features for Robust Image Super-Resolution and Compressioncited by 1
- 2025Deeply-Conditioned Image Compression via Self-Generated Priorscited by 1
- 2024Adapting Learned Image Codecs to Screen Content via Adjustable Transformationscited by 0
- 2024Multi-Scale Feature Prediction with Auxiliary-Info for Neural Image Compressioncited by 0
- 2026Visual Token Codec: Unleashing Spatial Redundancy for ViT Feature Codingcited by 0
1 more
- 2026You've Seen Enough: Quality-Constrained Image Coding for Machines20 Sep 2026
- 2026Visual Token Codec: Unleashing Spatial Redundancy for ViT Feature Coding9 Aug 2026
- 2025Deeply-Conditioned Image Compression via Self-Generated Priors28 Oct 2025
- 2025Context Guided Transformer Entropy Modeling for Video Compression3 Aug 2025
- 2025Customizable ROI-Based Deep Image Compression1 Jul 2025
- 2025Lightweight Embedded FPGA Deployment of Learned Image Compression with Knowledge Distillation and Hybrid Quantization5 Mar 2025
- 2024FIPER: Factorized Features for Robust Image Super-Resolution and Compression23 Oct 2024
- 2024Multi-Scale Feature Prediction with Auxiliary-Info for Neural Image Compression19 Sep 2024
- 2024DeepHQ: Learned Hierarchical Quantizer for Progressive Deep Image Coding22 Aug 2024
- 2024Adapting Learned Image Codecs to Screen Content via Adjustable Transformations27 Feb 2024
- 2024Bit Rate Matching Algorithm Optimization in JPEG-AI Verification Model27 Feb 2024
- 2024Bit Distribution Study and Implementation of Spatial Quality Map in the JPEG-AI Standardization27 Feb 2024
1 more
- 2024FViT: A Focal Vision Transformer with Gabor Filter17 Feb 2024
- 2024DeepHQ: Learned Hierarchical Quantizer for Progressive Deep Image Codingcited by 5
- 2024FViT: A Focal Vision Transformer with Gabor Filtercited by 3
- 2025Customizable ROI-Based Deep Image Compressioncited by 3
- 2025Context Guided Transformer Entropy Modeling for Video Compressioncited by 3
- 2024Bit Distribution Study and Implementation of Spatial Quality Map in the JPEG-AI Standardizationcited by 2
- 2024Bit Rate Matching Algorithm Optimization in JPEG-AI Verification Modelcited by 2
- 2025Lightweight Embedded FPGA Deployment of Learned Image Compression with Knowledge Distillation and Hybrid Quantizationcited by 2
- 2024FIPER: Factorized Features for Robust Image Super-Resolution and Compressioncited by 1
- 2025Deeply-Conditioned Image Compression via Self-Generated Priorscited by 1
- 2024Adapting Learned Image Codecs to Screen Content via Adjustable Transformationscited by 0
- 2024Multi-Scale Feature Prediction with Auxiliary-Info for Neural Image Compressioncited by 0
- 2026Visual Token Codec: Unleashing Spatial Redundancy for ViT Feature Codingcited by 0
12 most cited of 13 All 13 (JSON)
- 2026You've Seen Enough: Quality-Constrained Image Coding for Machines20 Sep 2026
- 2026Visual Token Codec: Unleashing Spatial Redundancy for ViT Feature Coding9 Aug 2026
- 2025Deeply-Conditioned Image Compression via Self-Generated Priors28 Oct 2025
- 2025Context Guided Transformer Entropy Modeling for Video Compression3 Aug 2025
- 2025Customizable ROI-Based Deep Image Compression1 Jul 2025
- 2025Lightweight Embedded FPGA Deployment of Learned Image Compression with Knowledge Distillation and Hybrid Quantization5 Mar 2025
- 2024FIPER: Factorized Features for Robust Image Super-Resolution and Compression23 Oct 2024
- 2024Multi-Scale Feature Prediction with Auxiliary-Info for Neural Image Compression19 Sep 2024
- 2024DeepHQ: Learned Hierarchical Quantizer for Progressive Deep Image Coding22 Aug 2024
- 2024Adapting Learned Image Codecs to Screen Content via Adjustable Transformations27 Feb 2024
- 2024Bit Rate Matching Algorithm Optimization in JPEG-AI Verification Model27 Feb 2024
- 2024Bit Distribution Study and Implementation of Spatial Quality Map in the JPEG-AI Standardization27 Feb 2024
12 newest of 13 All 13 (JSON)