Entroformer: A Transformer-based Entropy Model for Learned Image Compression

Yichen Qian, Ming Lin, Xiuyu Sun, Zhiyu Tan, Rong Jin
2/11/2022
230 citations
eess.IVcs.CV
transformer-attention

Official code: damo-cv/entroformer (97 stars, Python, last commit 2022-05-30).

Abstract

One critical component in lossy deep image compression is the entropy model, which predicts the probability distribution of the quantized latent representation in the encoding and decoding modules. Previous works build entropy models upon convolutional neural networks which are inefficient in capturing global dependencies.

Show full abstract

In this work, we propose a novel transformer-based entropy model, termed Entroformer, to capture long-range dependencies in probability distribution estimation effectively and efficiently. Different from vision transformers in image classification, the Entroformer is highly optimized for image compression, including a top-k self-attention and a diamond relative position encoding. Meanwhile, we further expand this architecture with a parallel bidirectional context model to speed up the decoding process. The experiments show that the Entroformer achieves state-of-the-art performance on image compression while being time-efficient.

View on arXivView PDF

Code Implementations(1)

9710Python, C++Feb 11, 20224 years ago

Similar Papers

Cite this paper

@article{qian2022entroformer,
  title  = {Entroformer: A Transformer-based Entropy Model for Learned Image Compression},
  author = {Yichen Qian and Ming Lin and Xiuyu Sun and Zhiyu Tan and Rong Jin},
  year   = {2022},
  eprint = {2202.05492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.05492}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.05492.svg)](https://codeofpaper.com/paper/2202.05492)

Discussion