TL;DR
This paper introduces a novel end-to-end trainable image compression model that prioritizes human perceptual similarity by incorporating image saliency and a learned perceptual metric. The model achieves superior visual quality and better performance on downstream computer vision tasks compared to existing methods, especially at low bitrates.
What Problem Does This Paper Address?
The exponential growth of digital images necessitates efficient compression techniques. While traditional methods like JPEG and JPEG-2000 exist, and more recent deep learning approaches aim to optimize for rate-distortion trade-offs, a significant challenge remains: existing evaluation metrics like PSNR and MS-SSIM often fail to align with human perception of image quality. This means models optimized for these metrics can produce images that look perceptually worse to humans, even with high scores. Furthermore, these metrics don't account for the fact that humans naturally pay more attention to salient regions within an image, leading to suboptimal compression strategies.
Methods
The authors propose a novel hierarchical auto-regressive image compression model with several key innovations:
- Hierarchical Auto-Regressive Architecture: The model employs a two-stage encoder-decoder structure. The first stage compresses the image into a latent representation, which is then further compressed by a second stage. This hierarchical approach allows for more efficient representation learning.
- Learned Perceptual Similarity Metric: Instead of relying on traditional metrics, the paper introduces a new metric trained on a dataset specifically designed for perceptual similarity in image compression. This metric, a fully convolutional network (FCN), is differentiable and directly used to train the compression model, ensuring that the model optimizes for what humans perceive as good quality.
- Saliency Integration: The model explicitly incorporates object saliency in two ways:
- Rate Optimization: More bits are allocated to salient regions to preserve their detail.
- Distortion Optimization: Reconstruction errors in salient regions are penalized more heavily. This is achieved by combining a learned perceptual loss (LPIPS-Comp) with MSE, weighted by a saliency map.
- Soft Vector Quantization: To handle the non-differentiable nature of quantization in deep learning, the authors use soft vector quantization, allowing gradients to flow through the quantization process.
Datasets
- Kodak Dataset [12]: Used for human evaluations and qualitative comparisons.
- MSRA10K [9]: Used to train the off-the-shelf object saliency model.
- ImageNet [34]: Used for pre-training the VGG-16 network for the deep perceptual metric.
- Berkely-Adobe Perceptual Patch Similarity Dataset [43]: Used for training the LPIPS metric.
- Compression-Specific Perceptual Similarity Dataset: A new dataset was created for this work, consisting of images compressed using various engineered and learned methods. This dataset was used to train the proposed LPIPS-Comp metric and for human evaluations.
Key Insights and Ideas
- Metrics Matter: The paper strongly argues that traditional metrics like PSNR and MS-SSIM are inadequate for evaluating modern image compression techniques, as they don't correlate well with human perception. This highlights a critical need for perceptually-aware evaluation.
- Saliency is Key: Humans naturally focus on salient regions. Incorporating this into compression models leads to perceptually superior results, as more resources are dedicated to preserving the most important parts of an image.
- Learned Metrics Outperform: A learned perceptual similarity metric, trained on compression-specific data, significantly outperforms traditional metrics and even generic learned metrics when used for evaluation and training.
- Downstream Task Performance: The quality of compressed images can be indirectly evaluated by their performance on computer vision tasks like object detection and segmentation. The proposed method shows superior performance in these tasks, suggesting that its perceptual quality translates to better utility.
Key Results
- Human Evaluation: The proposed method consistently outperformed other state-of-the-art methods in human evaluations across multiple bitrates (0.23, 0.37, 0.67 bpp). At a higher bitrate (1.0 bpp), BPG performed slightly better.
- Object Detection: On the MS-COCO dataset, the proposed method achieved the best object detection performance (AP@[.5:.95]) across all tested bitrates, outperforming methods like JPEG-2000, BPG, Mentzer et al., and Lee et al.
- Instance Segmentation: Similarly, for instance segmentation using Mask-RCNN, the proposed method outperformed competing methods at lower bitrates, and was comparable at 1.0 bpp.
- Perceptual Metric Performance: The learned perceptual metric (LPIPS-Comp) showed a much higher correlation with human judgments (2AFC scores) compared to PSNR and MS-SSIM.
Limitations and Future Work
- Limitations: The paper acknowledges that at very high bitrates (1.0 bpp), BPG slightly outperforms their method in human evaluations. The performance of the saliency model is dependent on the quality of the off-the-shelf model used.
- Future Work: The authors suggest that further improvements could be made by exploring more sophisticated saliency models and potentially investigating other ways to incorporate perceptual information into the compression pipeline. The effectiveness of the model on downstream tasks also opens avenues for research into compression methods specifically tailored for AI applications.
Summary updated