Skip to main content
QUICK REVIEW

[Paper Review] Wavelet Feature Maps Compression for Image-to-Image CNNs

Shahaf E. Finder, Yair Zohav|arXiv (Cornell University)|May 24, 2022
Advanced Vision and ImagingComputer Science17 citations
TL;DR

This paper proposes Wavelet Compressed Convolution (WCC), a novel method that applies Haar-wavelet transforms and joint magnitude-based shrinkage to compress 1×1 convolutional feature maps before computation, enabling efficient, low-bit activation compression. By integrating wavelet compression with lightweight quantization, WCC achieves performance comparable to 8-bit quantization at 1–4-bit equivalent compression rates, significantly outperforming standard quantization in image-to-image tasks like segmentation and super-resolution.

ABSTRACT

Convolutional Neural Networks (CNNs) are known for requiring extensive computational resources, and quantization is among the best and most common methods for compressing them. While aggressive quantization (i.e., less than 4-bits) performs well for classification, it may cause severe performance degradation in image-to-image tasks such as semantic segmentation and depth estimation. In this paper, we propose Wavelet Compressed Convolution (WCC) -- a novel approach for high-resolution activation maps compression integrated with point-wise convolutions, which are the main computational cost of modern architectures. To this end, we use an efficient and hardware-friendly Haar-wavelet transform, known for its effectiveness in image compression, and define the convolution on the compressed activation map. We experiment with various tasks that benefit from high-resolution input. By combining WCC with light quantization, we achieve compression rates equivalent to 1-4bit activation quantization with relatively small and much more graceful degradation in performance. Our code is available at https://github.com/BGUCompSci/WaveletCompressedConvolution.

Motivation & Objective

  • To address the performance degradation caused by aggressive activation quantization in image-to-image CNNs such as semantic segmentation and depth estimation.
  • To reduce computational and memory costs in high-resolution feature maps without sacrificing model accuracy.
  • To develop a hardware-friendly, efficient compression method that integrates seamlessly with modern CNN architectures.
  • To demonstrate that wavelet-based compression outperforms standard quantization at equivalent compression rates in image-to-image tasks.

Proposed method

  • Apply a fast, hardware-efficient Haar-wavelet transform to 1×1 convolutional feature maps to convert them into wavelet coefficients.
  • Perform joint shrinkage by retaining only the top-k magnitude coefficients across all channels, reducing data volume while preserving critical information.
  • Replace standard 1×1 convolutions with convolutions operating directly on the compressed wavelet domain to reduce computation.
  • Integrate light quantization (e.g., 8-bit or lower) on the compressed wavelet coefficients to further reduce memory and compute costs.
  • Ensure that the wavelet transform and shrinkage operations commute with 1×1 convolutions, enabling end-to-end training and deployment.
  • Use separable convolutions and model adaptation to maintain accuracy while enhancing compression in models like MobileNetV2 and EDSR.

Experimental results

Research questions

  • RQ1Can wavelet-based compression of feature maps outperform standard quantization in image-to-image CNNs at equivalent compression rates?
  • RQ2Does joint shrinkage of wavelet coefficients preserve essential features better than uniform quantization in high-resolution tasks?
  • RQ3Can WCC be integrated as a drop-in replacement for 1×1 convolutions without architectural changes or accuracy loss?
  • RQ4How does combining WCC with light quantization affect model performance and computational cost in segmentation, depth prediction, and super-resolution?

Key findings

  • WCC achieves performance comparable to 8-bit quantization at 1–4-bit equivalent compression rates, with significantly less degradation in image-to-image tasks.
  • For Monodepth2, WCC with 50% compression matched 8-bit/4-bit quantization in performance while reducing BOPs, and 25% and 12.5% compression outperformed quantized baselines.
  • In super-resolution using EDSR, WCC with 50% compression maintained PSNR within 0.05 dB of the full-precision model, even with 8-bit/16-bit quantization.
  • Adding 50% wavelet compression to 8-bit/8-bit quantization improved PSNR by 0.03 dB over 8-bit/4-bit quantization alone, demonstrating superior efficiency.
  • The method preserves accuracy in the head and tail layers of EDSR, where standard quantization causes severe degradation, by compressing only the network body.
  • WCC enables a 2.5× reduction in BOPs for EDSR’s body while maintaining PSNR within 0.1 dB of the full-precision model.

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.