Raising The Limit of Image Rescaling Using Auxiliary Encoding

Chenzhong Yin, Zhihong Pan, Xin Zhou, Le Kang, Paul Bogdan

Abstract

Traditional image rescaling methods, such as bicubic interpolation, often suffer from a permanent loss of high-frequency details during the downscaling process. While Invertible Rescaling Networks (IRNs) have emerged as a promising solution by treating downscaling and upscaling as a reversible process, they typically rely on random latent variables to model lost information. This paper proposes a shift from stochastic generation to deterministic preservation through "Auxiliary Encoding." By embedding high-frequency data into an alpha channel (IRN-A) or as compressed metadata (IRN-M), the proposed methods achieve new state-of-the-art accuracy in image reconstruction, significantly outperforming existing generative approaches.

Introduction

In digital imaging, the cycle of downscaling for storage and upscaling for display is ubiquitous. However, the inverse problem of recovering a high-resolution (HR) image from a low-resolution (LR) version is inherently ill-posed. Traditional methods lose critical high-frequency information that cannot be perfectly recovered.

Recent advancements in Invertible Neural Networks (INN) led to the development of Invertible Rescaling Networks (IRNs). These networks map an HR image to a combination of an LR image and a latent variable ($z$). During upscaling, $z$ is typically sampled from a distribution (e.g., Gaussian). While this produces visually plausible results, it lacks the fidelity required for accurate reconstruction because the specific high-frequency details of the original image are replaced by random noise. This research addresses this limitation by replacing random sampling with auxiliary encoding to store the actual high-frequency components.

Proposed Methodology

The core innovation lies in treating the latent variable not as noise to be sampled, but as data to be preserved. The authors introduce two primary modules for auxiliary encoding:

1. IRN-A (Alpha-channel Encoding)

This method utilizes the fourth channel of a standard RGBA image to store compressed high-frequency information. The researchers discovered that the architecture of this integration is vital; a "pre-splitting" technique—where the alpha channel is initialized with the average of high-frequency components before entering the invertible blocks—yielded superior results compared to post-splitting methods. This allows the high-frequency data to be processed alongside the RGB channels, ensuring a highly accurate reconstruction during the inverse pass.

2. IRN-M (Metadata Encoding)

For scenarios where an alpha channel is unavailable or undesirable, IRN-M employs an Autoencoder (AE) to compress the latent variable $z$ into a minimal metadata string. This metadata is embedded into the image header, a standard feature in most modern image formats. During upscaling, the decoder extracts this metadata to guide the INN, effectively providing a "blueprint" for the missing details.

Both approaches utilize Haar Transformations to decompose images into low-frequency (visual) and high-frequency (hidden) components, ensuring that the downscaled LR image remains visually consistent with the original HR source.

Experimental Results

The models were trained on the DIV2K dataset and evaluated against standard benchmarks including Set5, Set14, BSD100, and Urban100.

Quantitative Performance

The auxiliary encoding methods established new benchmarks for Peak Signal-to-Noise Ratio (PSNR). On the Set5 dataset at a 4x scale:

  • Baseline IRN: 36.19 dB
  • Previous SOTA (DLV-IRN): 36.62 dB
  • Proposed DLV-IRN-A: 37.56 dB

These results demonstrate a substantial quantitative improvement, proving that preserving specific high-frequency data is significantly more effective than attempting to generate it from a distribution.

Qualitative Fidelity

Visual evaluations confirm the quantitative gains. The IRN-A and IRN-M models successfully restore fine textures—such as architectural details, brickwork, and biological patterns—that are typically blurred or distorted by traditional upscaling or standard IRN models. The reconstruction maintains sharp edges and structural integrity even at high scaling factors.

Discussion and Limitations

While Auxiliary Encoding raises the performance ceiling for image rescaling, it introduces specific trade-offs:

  • Storage Overhead: IRN-A requires the RGBA format, which increases file size relative to standard RGB.
  • Dependency: The reconstruction quality is dependent on the presence of the auxiliary data and the specific decoder. Without the corresponding model, the image functions as a standard low-resolution file.
  • Optimization: While IRN-M is highly efficient, further optimization of the Autoencoder could potentially reduce the metadata footprint even further without sacrificing reconstruction quality.

Conclusion

By replacing random latent variables with Auxiliary Encoding, this research effectively bridges the gap between lossy and lossless-style image compression. The ability to "hide" high-frequency information within the image container itself—either via the alpha channel or metadata—provides a robust framework for high-fidelity image rescaling. This approach sets a new standard for accuracy in the field and opens new avenues for efficient image transmission and storage.

Summary updated

BibTeX
@inproceedings{yin2023raising,
  author = {Chenzhong Yin and Zhihong Pan and Xin Zhou and Le Kang and Paul Bogdan},
  title = {{Raising The Limit of Image Rescaling Using Auxiliary Encoding}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10094627},
}
Figure