Deep Convolutional AutoEncoder-based Lossy Image Compression

Zhengxue Cheng, Heming Sun, Masaru Takeuchi, Jiro Katto

TL;DR

Researchers from Waseda University have developed a lossy image compression architecture that combines a symmetric Convolutional Autoencoder (CAE) with Principal Component Analysis (PCA). By using PCA to rotate and decorrelate learned feature maps, the system achieves a 13.7% BD-rate improvement over JPEG2000 while maintaining computational speeds comparable to traditional codecs.

What Problem Does This Paper Address?

Traditional image compression standards like JPEG and JPEG2000 have dominated the field for decades. These methods rely on hand-crafted, fixed mathematical transforms—such as the Discrete Cosine Transform (DCT) or Wavelets—to turn pixels into a format that is easier to compress. However, these "one-size-fits-all" transforms aren't always optimal for the diverse range of modern visual content (like 360-degree video or VR).

While Deep Learning (specifically Autoencoders) offers a way to learn these transforms from data, two major hurdles remain:

  1. The Quantization Bottleneck: Rounding numbers for compression is a non-differentiable operation, making it difficult to train neural networks using standard backpropagation.
  2. Energy Compaction: Neural networks are great at extracting features, but those features aren't always "compact." To compress well, you want most of your data to be zeros, concentrating the "energy" into just a few values.

Methods

The authors propose a hybrid pipeline that blends neural networks with classical statistical tools:

  • Symmetric CAE Architecture: They designed a Convolutional Autoencoder with three downsampling units in the encoder and three corresponding upsampling units in the decoder. Instead of complex residual blocks, they used simple (de)convolutional layers with a stride of 2.
  • Differentiable Training: To bypass the quantization problem during training, they replaced the "rounding" function with additive uniform noise. This allows the gradient to flow through the network while still forcing the model to learn to be resilient to quantization errors.
  • The PCA "Rotation": This is the paper's core innovation. After the CAE generates feature maps, the authors apply Principal Component Analysis (PCA) to them. This rotates the feature space so that the most important information is concentrated in the first few maps, leaving the rest mostly full of zeros.
  • Standardized Entropy Coding: Instead of inventing a new bitstream generator, they feed these rotated, quantized maps into the JPEG2000 entropy coder (EBCOT), which is highly optimized for turning sparse data into small files.

Datasets

  • Training: A subset of ImageNet (5,500 images), processed into $128 \times 128$ patches.
  • Evaluation: The Kodak Lossless True Color Image Suite, a standard benchmark consisting of 24 high-resolution images used to compare compression algorithms.

Key Insights and Ideas

  • Learned Features Aren't Enough: The authors realized that while a CAE can learn a better transform than a Wavelet, it doesn't automatically ensure that the resulting features are decorrelated. Adding a PCA step as a post-processing "rotation" significantly boosts the efficiency of the final entropy coder.
  • PReLU > ReLU: The paper finds that the Parametric Rectified Linear Unit (PReLU) outperforms the standard ReLU. Because PReLU allows for a small, learnable gradient for negative values, it preserves more detail in the reconstructed image, especially at higher bitrates.
  • Hybrid Efficiency: By combining a neural "front-end" with a classical "back-end" (JPEG2000's entropy coder), the model achieves state-of-the-art results without the massive computational overhead seen in "pure" end-to-end deep learning models.

Key Results

  • Better Compression: The proposed method achieved a 13.7% reduction in BD-rate compared to JPEG2000. In simpler terms, it can provide the same image quality as JPEG2000 while using significantly less data.
  • Visual Quality: In head-to-head tests on the Kodak dataset, the CAE-based method consistently produced higher Peak Signal-to-Noise Ratio (PSNR) values than both JPEG and JPEG2000.
  • Speed: When running on a GPU, the method processed images in approximately 0.67 seconds, making it competitive with the 0.59 seconds required by a standard JPEG2000 CPU implementation and much faster than other recent deep learning competitors (which took upwards of 7 seconds).

Limitations and Future Work

  • Block Artifacts: Because the model processes images in $128 \times 128$ patches, "blocking" artifacts can sometimes appear at the boundaries of these patches in the reconstructed image.
  • Objective vs. Perceptual Quality: The model was optimized for Mean Square Error (MSE). While this results in high PSNR, it doesn't always translate to the best perceived quality for the human eye. The authors noted that their MS-SSIM (a perceptual metric) scores were comparable to, but didn't always beat, JPEG2000.
  • Future Directions: The authors plan to integrate perceptual loss functions and explore Generative Adversarial Networks (GANs) to better reconstruct fine textures and further improve visual appeal.

Summary updated

BibTeX
@inproceedings{cheng2018deep,
  author = {Zhengxue Cheng and Heming Sun and Masaru Takeuchi and Jiro Katto},
  title = {{Deep Convolutional AutoEncoder-based Lossy Image Compression}},
  booktitle = {Pcs},
  year = {2018},
  doi = {10.1109/pcs.2018.8456308},
}
Figure