Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

The Devil Is in the Details: Window-based Attention for Image Compression

About

Learned image compression methods have exhibited superior rate-distortion performance than classical image compression standards. Most existing learned image compression models are based on Convolutional Neural Networks (CNNs). Despite great contributions, a main drawback of CNN based model is that its structure is not designed for capturing local redundancy, especially the non-repetitive textures, which severely affects the reconstruction quality. Therefore, how to make full use of both global structure and local texture becomes the core problem for learning-based image compression. Inspired by recent progresses of Vision Transformer (ViT) and Swin Transformer, we found that combining the local-aware attention mechanism with the global-related feature learning could meet the expectation in image compression. In this paper, we first extensively study the effects of multiple kinds of attention mechanisms for local features learning, then introduce a more straightforward yet effective window-based local attention block. The proposed window-based attention is very flexible which could work as a plug-and-play component to enhance CNN and Transformer models. Moreover, we propose a novel Symmetrical TransFormer (STF) framework with absolute transformer blocks in the down-sampling encoder and up-sampling decoder. Extensive experimental evaluations have shown that the proposed method is effective and outperforms the state-of-the-art methods. The code is publicly available at https://github.com/Googolxx/STF.

Renjie Zou, Chunfeng Song, Zhaoxiang Zhang• 2022

Related benchmarks

TaskDatasetResultRank
Image CompressionKodak
BD-Rate (PSNR)-2.95
50
Image CompressionTecnick
BD-Rate (PSNR)-5.09
36
Image CompressionCLIC Professional (val)
BD-Rate (PSNR)-0.42
26
Image CompressionKodak
Encoding Time (s)0.24
20
Image CompressionCLIC
BD-Rate (PSNR)-4.4
16
Image CompressionJPEG-AI (test)--
8
Image CompressionCLIC'21 (test)
BD-Rate (PSNR)-0.16
7
Image CompressionCLIC 2022 (test)
BD-Rate (PSNR)0.03
6
Image CompressionMIC (test)
CPU Encoding Latency (s)20.58
5
Showing 9 of 9 rows

Other info

Code

Follow for update