Skip to main content
QUICK REVIEW

[Paper Review] Frequency-Aware Transformer for Learned Image Compression

Han Li, Shaohui Li|arXiv (Cornell University)|Oct 25, 2023
Advanced Data Compression TechniquesComputer Science7 citations
TL;DR

This paper proposes a frequency-aware transformer (FAT) block for learned image compression that enables multiscale, directional frequency analysis via frequency-decomposition window attention (FDWA) and frequency-modulation feed-forward networks (FMFFN), achieving state-of-the-art rate-distortion performance, outperforming VTM-12.1 by 14.5–15.1% in BD-rate on Kodak, Tecnick, and CLIC datasets.

ABSTRACT

Learned image compression (LIC) has gained traction as an effective solution for image storage and transmission in recent years. However, existing LIC methods are redundant in latent representation due to limitations in capturing anisotropic frequency components and preserving directional details. To overcome these challenges, we propose a novel frequency-aware transformer (FAT) block that for the first time achieves multiscale directional ananlysis for LIC. The FAT block comprises frequency-decomposition window attention (FDWA) modules to capture multiscale and directional frequency components of natural images. Additionally, we introduce frequency-modulation feed-forward network (FMFFN) to adaptively modulate different frequency components, improving rate-distortion performance. Furthermore, we present a transformer-based channel-wise autoregressive (T-CA) model that effectively exploits channel dependencies. Experiments show that our method achieves state-of-the-art rate-distortion performance compared to existing LIC methods, and evidently outperforms latest standardized codec VTM-12.1 by 14.5%, 15.1%, 13.0% in BD-rate on the Kodak, Tecnick, and CLIC datasets.

Motivation & Objective

  • To address the limitation of existing learned image compression methods in capturing anisotropic frequency components and preserving directional details.
  • To enable end-to-end, learned multiscale and directional frequency decomposition in latent representations using attention mechanisms.
  • To improve rate-distortion performance by adaptively modulating frequency components through a frequency-modulation feed-forward network.
  • To model inter-channel dependencies across frequency components using a transformer-based channel-wise autoregressive entropy model.

Proposed method

  • Proposes frequency-decomposition window attention (FDWA) with four distinct window shapes to capture low-frequency, high-frequency, vertical, and horizontal components in a single attention layer.
  • Introduces frequency-modulation feed-forward network (FMFFN) that adaptively amplifies or suppresses frequency components based on learned filters in the frequency domain.
  • Designs a transformer-based channel-wise autoregressive (T-CA) entropy model that uses causal masking to model dependencies across frequency components and channels.
  • Employs end-to-end training with a nonlinear transform based on the FAT block and a joint optimization of analysis and synthesis transforms.
  • Utilizes Fast Fourier Transform (FFT) for visualization and analysis of frequency content in feature maps to validate FDWA's frequency decomposition capability.
  • Applies a shared transformer architecture across slices to balance model complexity and performance, with hyperparameters tuned for optimal rate-distortion tradeoff.

Experimental results

Research questions

  • RQ1Can multiscale and directional frequency components in natural images be effectively captured within a learned image compression framework using attention mechanisms?
  • RQ2How does adaptive modulation of frequency components through a learnable filter improve rate-distortion performance?
  • RQ3To what extent can a transformer-based channel-wise autoregressive model improve entropy modeling by capturing inter-channel dependencies across frequency subbands?
  • RQ4Does end-to-end optimization of frequency-aware attention modules lead to better compression efficiency than handcrafted or non-directional attention in existing LIC models?

Key findings

  • The proposed FAT model achieves state-of-the-art rate-distortion performance, outperforming VTM-12.1 by 14.5% in BD-rate on the Kodak dataset.
  • On the Tecnick dataset, the method achieves a 15.1% improvement in BD-rate over VTM-12.1, demonstrating consistent superiority across diverse image sets.
  • On the CLIC Professional Validation dataset, the method achieves a 13.0% BD-rate gain over VTM-12.1, confirming robustness across benchmark standards.
  • Spectrum analysis confirms that FDWA effectively separates frequency components: LL-WA captures low frequencies, HH-WA captures high frequencies, and HL/LH-WA capture directional components.
  • Visualization of FMFFN filters shows that higher-bitrate models learn more high-frequency components, validating the adaptive modulation mechanism.
  • The T-CA entropy model outperforms CHARM with half the number of slices (5 vs 10) and reduced model complexity, while maintaining superior R-D performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.