Enhanced Standard Compatible Image Compression Framework based on Auxiliary Codec Networks

Hanbin Son, Taeoh Kim, Hyeongmin Lee, Sangyoun Lee · DOI

Abstract

To enhance image compression performance, recent deep neural network-based research can be divided into three categories: a learnable codec, a postprocessing network, and a compact representation network. The learnable codec has been designed for an end-to-end learning beyond the conventional compression modules. The postprocessing network increases the quality of decoded images using an example-based learning. The compact representation network is learned to reduce the capacity of an input image to reduce the bitrate while keeping the quality of the decoded image. However, these approaches are not compatible with the existing codecs or not optimal to increase the coding efficiency. Specifically, it is difficult to achieve optimal learning in the previous studies using the compact representation network, due to the inaccurate consideration of the codecs. In this paper, we propose a novel standard compatible image compression framework based on Auxiliary Codec Networks (ACNs). ACNs are designed to imitate image degradation operations of the existing codec, which delivers more accurate gradients to the compact representation network. Therefore, the compact representation and the postprocessing networks can be learned effectively and optimally. We demonstrate that our proposed framework based on JPEG and High Efficiency Video Coding (HEVC) standard substantially outperforms existing image compression algorithms in a standard compatible manner.

Introduction

Standard image codecs like JPEG and HEVC are ubiquitous but rely on non-differentiable operations, such as quantization, which present a significant hurdle for deep learning optimization. While "learnable codecs" offer high performance, they often generate proprietary bitstreams incompatible with existing infrastructure. To maintain compatibility, researchers have explored "sandwich" architectures that use neural networks for pre-processing (Compact Representation Networks or CRNet) and post-processing (Postprocessing Networks or PPNet) around a standard codec.

Comparison of deep learning-based image compression frameworks, including (a) learnable codecs, (b) postprocessing networks, (c) compact representation networks, and (d) the proposed ACN framework.

However, training these networks end-to-end is traditionally blocked by the codec's non-differentiable nature. Previous workarounds—such as treating the codec as an identity function or using generic "virtual codecs"—often result in inaccurate gradient backpropagation and suboptimal compression efficiency. This paper addresses these limitations by introducing Auxiliary Codec Networks (ACNs) as differentiable proxies that accurately mimic standard codec behavior.

Methodology

The proposed framework utilizes a collaborative learning scheme involving four key components:

  1. Compact Representation Network (CRNet): A pre-processing CNN that intelligently downsamples input images to minimize their bitrate footprint.
  2. Postprocessing Network (PPNet): A CNN that restores and upsamples the decoded image to eliminate compression artifacts.
  3. Auxiliary Codec Network (ACN): The core innovation. Unlike generic proxies, ACNs are designed to mirror the specific architecture of the target codec. For instance, a JPEG-targeted ACN reshapes data into 8×8 non-overlapping blocks, while an HEVC-targeted ACN utilizes U-Net structures to handle variable block sizes and intra-prediction residuals.
  4. Bit Estimation Network (BENet): A lightweight network that predicts the resulting bit size, enabling rate-distortion optimization.
The proposed collaborative learning framework, highlighting the differentiable Train Phase using ACN/BENet and the standard-compatible Test Phase.

During the training phase, the non-differentiable standard codec is replaced by the differentiable ACN and BENet, allowing gradients to flow from the final reconstruction loss ($L_{Rec}$) back to the CRNet. To prevent the ACN from becoming outdated as the CRNet evolves, the authors employ an iterative fine-tuning strategy, ensuring the proxy network always accurately reflects the codec's degradation patterns.

Experimental Results

The framework was trained using the DIV2K dataset, with ACNs pre-trained on COCO 2017 to ensure robust imitation across diverse image patterns. Evaluation on standard datasets like Set14, LIVE1, and HEVC Common Test Conditions (CTC) yielded the following results:

  • High-Fidelity Imitation: The custom ACNs achieved over 40dB PSNR in mimicking JPEG outputs, significantly higher than the 30-34dB range of previous virtual codec models.
  • JPEG Improvements: The framework consistently outperformed standard JPEG and other standard-compatible neural frameworks across all tested bitrates.
  • HEVC Efficiency: When integrated with HEVC-intra, the system achieved an average Bjøntegaard Delta (BD) rate reduction of 15.2% in PSNR and 22.9% in SSIM. Notably, this standard-compatible approach outperformed several fully learnable, non-compatible codecs and the BPG format.

Conclusion

By introducing architecturally-aware Auxiliary Codec Networks, this research enables effective end-to-end training of standard-compatible compression frameworks. While the current work focuses on still images (JPEG and HEVC-intra), the results demonstrate that neural pre- and post-processing can significantly extend the life and efficiency of existing standards. Future work will focus on the complex temporal dynamics required to extend this framework to full video compression.

Summary updated

BibTeX
@article{son2020enhanced,
  author = {Hanbin Son and Taeoh Kim and Hyeongmin Lee and Sangyoun Lee},
  title = {{Enhanced Standard Compatible Image Compression Framework based on Auxiliary Codec Networks}},
  journal = {IEEE Trans. Image Process.},
  year = {2020},
  doi = {10.1109/tip.2021.3134473},
}
Figure