[Paper Review] Learned Image Compression with Mixed Transformer-CNN Architectures
The paper introduces a parallel Transformer-CNN Mixture (TCM) block and a parameter-efficient Swin-transformer-based attention (SWAtten) for the entropy model, achieving state-of-the-art rate–distortion performance on Kodak, Tecnick, and CLIC datasets compared to VVC.
Learned image compression (LIC) methods have exhibited promising progress and superior rate-distortion performance compared with classical image compression standards. Most existing LIC methods are Convolutional Neural Networks-based (CNN-based) or Transformer-based, which have different advantages. Exploiting both advantages is a point worth exploring, which has two challenges: 1) how to effectively fuse the two methods? 2) how to achieve higher performance with a suitable complexity? In this paper, we propose an efficient parallel Transformer-CNN Mixture (TCM) block with a controllable complexity to incorporate the local modeling ability of CNN and the non-local modeling ability of transformers to improve the overall architecture of image compression models. Besides, inspired by the recent progress of entropy estimation models and attention modules, we propose a channel-wise entropy model with parameter-efficient swin-transformer-based attention (SWAtten) modules by using channel squeezing. Experimental results demonstrate our proposed method achieves state-of-the-art rate-distortion performances on three different resolution datasets (i.e., Kodak, Tecnick, CLIC Professional Validation) compared to existing LIC methods. The code is at https://github.com/jmliu206/LIC_TCM.
Motivation & Objective
- Motivate combining local CNN modeling with non-local transformer modeling to improve LIC RD performance.
- Design an efficient parallel TCM block that fuses CNN and transformer features with controllable complexity.
- Develop a channel-wise entropy model with SWAtten and channel squeezing to reduce parameters while maintaining performance.
- Demonstrate state-of-the-art RD performance on multiple datasets (Kodak, Tecnick, CLIC) and analyze complexity.
- Provide ablations to understand the contributions of TCM and SWAtten to RD gains.
Proposed method
- Propose a parallel Transformer-CNN Mixture (TCM) block that splits features into CNN and transformer pathways, fuses them via 1x1 convolutions and concatenation, and uses a two-stage Swin Transformer (windowed and shifted window) for non-local modeling.
- Incorporate TCM blocks after main-path residual blocks and within the hyper-prior path to aggregate local and non-local information.
- Introduce a channel-wise auto-regressive entropy model with a parameter-efficient SWAtten module, using channel squeezing to reduce input channels in the entropy model.
- Reduce the number of slices in the entropy model from 10 to 5 to balance speed and RD performance, and apply channel squeezing to 128 channels in SWAtten.
- Train with a rate–distortion objective (RD loss) combining latents y and z entropy terms and a distortion term (MSE or MS-SSIM) with a Lagrangian multiplier λ.
- Provide an RD framework with hyper-prior and context-based refinement to estimate Gaussian parameters for each slice of y.
Experimental results
Research questions
- RQ1Does a parallel Transformer-CNN mixture (TCM) block improve RD performance compared with transformer-only or CNN-only LIC models at a given complexity?
- RQ2Can a parameter-efficient SWAtten module with channel squeezing provide RD gains in the entropy model without inflating model size dramatically?
- RQ3What are the RD advantages of applying TCM blocks in both the main path and the hyper-prior path for learned image compression?
- RQ4How does the proposed approach perform on standard LIC benchmarks (Kodak, Tecnick, CLIC) compared to VVC (VTM-12.1) across PSNR and MS-SSIM?
- RQ5What is the impact of reducing entropy-slice count and using channel squeezing on RD and computational efficiency?
Key findings
- The method achieves state-of-the-art RD performance on Kodak, Tecnick, and CLIC datasets, outperforming VVC (VTM-12.1) by 12.30%, 13.71%, and 11.85% BD-rate respectively.
- Compared with SOTA methods, the large model delivers up to about 0.4 dB PSNR and 0.5 dB MS-SSIM gains at the same bitrate on Kodak.
- The SWAtten module reduces information loss, lowering the scaled mean absolute pixel deviation εs from 0.451/0.422 to 0.389/0.365 in representative Kodak samples.
- A channel-squeezing strategy within SWAtten yields parameter and FLOP reductions while maintaining competitive BD-rate performance.
- A Transformer-CNN Mixture (TCM) block provides RD gains over both Transformer-only and CNN-only baselines, demonstrating the benefit of combining local and non-local modeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.