mlsanityData to 7 Oct 2026

Efficient Contextformer: Spatio-Channel Window Attention for Fast Context Modeling in Learned Image Compression

arXiv 2306.14287 ↗First posted 25 Jun 2023eess.IV cs.CV cs.LGcited by 13

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2020End-to-End Object Detection with Transformerscited by 7,384
  8. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  9. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  10. 2018Variational image compression with a scale hyperpriorcited by 910
  11. 2018Image Transformercited by 770
  12. 2016End-to-end Optimized Image Compressioncited by 673
30 more
  1. 2018Joint Autoregressive and Hierarchical Priors for Learned Image Compressioncited by 642
  2. 2017Video Enhancement with Task-Oriented Flowcited by 612
  3. 2020Learned Image Compression with Discretized Gaussian Mixture Likelihoods and Attention Modulescited by 570
  4. 2021Intriguing Properties of Vision Transformerscited by 446
  5. 2022ELIC: Efficient Learned Image Compression with Unevenly Grouped Space-Channel Contextual Adaptive Codingcited by 296
  6. 2020CompressAI: a PyTorch library and evaluation platform for end-to-end compression researchcited by 271
  7. 2020Channel-wise Autoregressive Entropy Models for Learned Image Compressioncited by 255
  8. 2019Residual Non-local Attention Networks for Image Restorationcited by 236
  9. 2023Learned Image Compression with Mixed Transformer-CNN Architecturescited by 205
  10. 2021Checkerboard Context Model for Efficient Learned Image Compressioncited by 193
  11. 2018Context-adaptive Entropy Model for End-to-end Optimized Image Compressioncited by 138
  12. 2020Nonlinear Transform Codingcited by 132
  13. 2018Conditional Probability Models for Deep Image Compressioncited by 128
  14. 2015Density Modeling of Images using a Generalized Normalization Transformationcited by 123
  15. 2022Entroformer: A Transformer-based Entropy Model for Learned Image Compressioncited by 102
  16. 2019Non-local Attention Optimized Deep Image Compressioncited by 86
  17. 2020Asymmetric Gained Deep Image Compression With Continuous Rate Adaptationcited by 83
  18. 2019Image and Video Compression with Neural Networks: A Reviewcited by 82
  19. 2020Improving Inference for Neural Image Compressioncited by 81
  20. 2020Causal Contextual Prediction for Learned Image Compressioncited by 70
  21. 2023EVC: Towards Real-Time Neural Image Compression with Mask Decaycited by 46
  22. 2020Learning Accurate Entropy Model with Global Reference for Image Compressioncited by 42
  23. 2022Contextformer: A Transformer with Spatio-Channel Attention for Context Modeling in Learned Image Compressioncited by 42
  24. 2019Content Adaptive Optimization for Neural Image Compressioncited by 40
  25. 2019Efficient and Effective Context-Based Convolutional Entropy Modeling for Image Compressioncited by 33
  26. 2023Computationally-Efficient Neural Image Compression with Shallow Decoderscited by 22
  27. 2022Flexible Neural Image Compression via Code Editingcited by 19
  28. 2021FastSeq: Make Sequence Generation Fastercited by 13
  29. 2019Multi-scale and Context-adaptive Entropy Model for Image Compressioncited by 9
  30. 2022Learning-Based Conditional Image Coder Using Color Separationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 4; 2026: 2.

13 papers.

Sort: