Skip to main content
QUICK REVIEW

[Paper Review] Exploring Effective Mask Sampling Modeling for Neural Image Compression

Lin Liu, Mingming Zhao|arXiv (Cornell University)|Jun 9, 2023
AI in cancer detectionComputer Science3 citations
TL;DR

This paper proposes a novel pre-training strategy for neural image compression using Cube Mask Sampling Module (CMSM), Learnable Channel Mask Module (LCMM), and Learnable Channel Completion Module (LCCM) to reduce both spatial and channel redundancy. By applying joint spatial-channel masking and learnable channel pruning, the method achieves state-of-the-art rate-distortion performance with 14% bit-rate savings at 28dB PSNR on Kodak, while reducing computational cost.

ABSTRACT

Image compression aims to reduce the information redundancy in images. Most existing neural image compression methods rely on side information from hyperprior or context models to eliminate spatial redundancy, but rarely address the channel redundancy. Inspired by the mask sampling modeling in recent self-supervised learning methods for natural language processing and high-level vision, we propose a novel pretraining strategy for neural image compression. Specifically, Cube Mask Sampling Module (CMSM) is proposed to apply both spatial and channel mask sampling modeling to image compression in the pre-training stage. Moreover, to further reduce channel redundancy, we propose the Learnable Channel Mask Module (LCMM) and the Learnable Channel Completion Module (LCCM). Our plug-and-play CMSM, LCMM, LCCM modules can apply to both CNN-based and Transformer-based architectures, significantly reduce the computational cost, and improve the quality of images. Experiments on the public Kodak and Tecnick datasets demonstrate that our method achieves competitive performance with lower computational complexity compared to state-of-the-art image compression methods.

Motivation & Objective

  • Address the underexplored problem of channel redundancy in neural image compression, which remains largely unaddressed despite advances in spatial redundancy reduction.
  • Improve model generalization and efficiency by introducing a pre-training strategy based on mask sampling modeling inspired by self-supervised learning.
  • Develop plug-and-play modules (CMSM, LCMM, LCCM) that are compatible with both CNN-based and Transformer-based architectures to enhance compression efficiency.
  • Reduce computational complexity while maintaining or improving image reconstruction quality, especially at low bit rates.
  • Achieve competitive performance with lower bit rate and model complexity compared to state-of-the-art methods.

Proposed method

  • Propose the Cube Mask Sampling Module (CMSM) to apply joint spatial and channel mask sampling during pre-training, enabling masked features to attend to unmasked spatial and channel locations.
  • Introduce the Learnable Channel Mask Module (LCMM) to dynamically identify and suppress redundant or image-independent channels using learnable masks.
  • Design the Learnable Channel Completion Module (LCCM) to reconstruct the masked channels using information from remaining active channels, preserving structural and semantic content.
  • Apply the CMSM, LCMM, and LCCM as plug-and-play modules in both CNN and Transformer-based image compression architectures to improve feature compactness and reduce redundancy.
  • Use a two-stage training pipeline: pre-train with mask sampling and MSE loss (λ=0.3), then fine-tune with standard rate-distortion loss (λ=0.001–0.006).
  • Optimize the masking ratio of CMSM and LCMM/LCCM via ablation, finding 50% and 16–50% masking ratios to be optimal depending on bit rate.

Experimental results

Research questions

  • RQ1Can joint spatial and channel mask sampling modeling improve feature representation learning in neural image compression?
  • RQ2Does learnable channel masking and completion effectively reduce channel redundancy without degrading image quality?
  • RQ3How does the masking ratio in CMSM and LCMM/LCCM affect rate-distortion performance across different bit rates?
  • RQ4Can the proposed modules be effectively applied to both CNN-based and Transformer-based image compression architectures?
  • RQ5To what extent can the proposed method reduce computational cost while maintaining or improving compression performance?

Key findings

  • The Cube Mask Sampling Module (CMSM) with a 50% masking ratio achieves the best performance, reducing BPP by 3.83% and 5.49% for feature dimensions 320 and 364, respectively, compared to the baseline.
  • At a bit rate of approximately 0.1 bpp, a 16% masking ratio in LCMM/LCCM yields optimal performance, while 50% masking performs best at 0.2 bpp.
  • The method achieves 14% bit-rate savings at 28dB PSNR on the Kodak dataset compared to VTM 16.2, demonstrating state-of-the-art performance at low bit rates.
  • The learnable mask in LCMM and LCCM outperforms fixed or randomized masks, showing the benefit of end-to-end optimization of channel selection.
  • The proposed modules reduce computational complexity while maintaining high image quality, with superior performance in distortion, model size, and computation cost compared to SOTA methods.
  • Visualization confirms that the model learns to suppress feature maps with no content and preserve structurally meaningful channels, validating effective redundancy reduction.

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.