Window-Based Hierarchical Dynamic Attention for Learned Image Compression

Yuan Li, Wei GaoOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

Transformers have been successfully applied to learned image compression (LIC). In fact, dense self-attention is difficult to ignore contextual information that degrades the entropy estimations. To overcome this challenging problem, we incorporate dynamic attention in LIC for the first time. The window-based dynamic attention (WDA) module is proposed to adaptively tune attention based on entropy distribution by sparsifying the attention matrix. Additionally, the WDA module is embedded into encoder and decoder transformation layers to refine attention in multi-scales, hierarchically extracting compact latent representations. Similarly, we propose the dynamic-reference entropy model (DREM) to adaptively select context information. This decreases the difficulty of entropy estimation by leveraging the relevant subset of decoded symbols, achieving an accurate entropy model. To the best of our knowledge, this is the first work employing dynamic attention for LIC and extensive experiments demonstrate the proposed method outperforms the state-of-the-art LIC methods.
BibTeX
@misc{li2025window,
  author = {Yuan Li and Wei Gao},
  title = {{Window-Based Hierarchical Dynamic Attention for Learned Image Compression}},
  year = {2025},
  url = {https://openreview.net/forum?id=6j0GH40mFt},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}
Figure