Approaching the Limit of Image Rescaling via Flow Guidance

Shang Li, Guixuan Zhang, Zhengxiong Luo, Jie Liu, Zhi Zeng, Shuwu Zhang

TL;DR

This paper introduces a novel "Flow Guidance Rescaling Network" (FGRN) that decouples image downscaling and upscaling processes. By using an invertible flow guidance module, FGRN removes the restrictive "bicubic LR guidance" traditionally used, allowing for end-to-end optimization and achieving state-of-the-art results in both downscaled image quality and high-resolution reconstruction.

What Problem Does This Paper Address?

Image rescaling, encompassing both downscaling (reducing resolution) and upscaling (increasing resolution), is crucial for applications like storage, transmission, and display on various devices. A significant challenge arises because downscaling inherently loses information, making it difficult to perfectly reconstruct the original high-resolution (HR) image during upscaling. While many methods treat these as independent tasks, recent approaches attempt joint optimization. However, these often rely on "bicubic LR guidance" – using a bicubically downscaled version of the HR image to supervise the downscaling process. The authors argue this guidance, while ensuring a visually plausible downscaled image, is suboptimal for the subsequent upscaling and limits the overall reconstruction performance. They aim to break this limitation by finding an "upscaling-optimal" downscaled representation.

Methods

The core innovation is the Flow Guidance Rescaling Network (FGRN), which consists of three main components:

  • Downscaling Module ($G_d$): This module maps the input HR image to a downscaled representation. It uses a squeeze layer (to compress spatial resolution without information loss), a convolutional layer, and residual blocks.
  • Upscaling Module ($G_u$): This module reconstructs the HR image from the downscaled representation, employing a structure similar to standard Super-Resolution (SR) models with residual blocks and pixel shuffle operations.
  • Invertible Flow Guidance Module (FGM): This is the key novelty. FGM performs a lossless transformation between the downscaled representation produced by $G_d$ and a visually plausible low-resolution (LR) image. Crucially, FGM is invertible, meaning it can transform the representation to a visually pleasing LR image during downscaling and transform it back during upscaling. This module is inspired by normalizing flows, which map complex data distributions to simpler ones using bijective functions.

Unlike previous joint methods, FGRN's $G_d$ and $G_u$ are optimized end-to-end without direct supervision from a bicubic LR image. Instead, FGM ensures the visual quality of the downscaled output, and the downscaled representation itself is optimized to be "upscaling-optimal." The training involves two objectives: one for HR reconstruction (using L1 loss between the original HR image and the reconstructed HR image) and one for flow guidance (maximizing the log-likelihood of the downscaled representation under a Gaussian prior, with the mean informed by the bicubic downscaled image but with adjustable variance).

Datasets

The paper uses the following datasets:

  • Training: 3450 high-quality (2K resolution) images, comprising 800 images from DIV2K [1] and 2650 images from Flickr2K [31].
  • Testing: Five standard benchmark datasets: Set5, Set14, BSD100, Urban 100, and the validation set of DIV2K.

Key Insights and Ideas

  • Decoupling Guidance from Representation: The most significant insight is that a visually plausible downscaled image (achieved via bicubic guidance) is not necessarily the optimal representation for upscaling. By separating the "upscaling-optimal representation" from the "visually plausible LR image" using FGM, FGRN can achieve better reconstruction.
  • Invertible Flow for Lossless Transformation: The use of an invertible flow module is critical. It allows for a reversible, lossless transformation, ensuring that no information is lost in the conversion between the internal representation and the visual LR output. This is key to relaxing constraints on the downscaling module.
  • End-to-End Optimization without Direct LR Supervision: FGRN demonstrates that effective joint downscaling-upscaling can be achieved without directly supervising the downscaling module with a bicubic LR image. This allows the downscaling module to be optimized solely for the benefit of the upscaling task.
  • Flexibility in Network Architecture: Unlike some prior invertible methods (like IRN), FGRN's downscaling and upscaling modules are composed of standard convolutional layers and can have different structures, offering greater flexibility and representation capability.

Key Results

  • HR Reconstruction: FGRN achieves state-of-the-art (SotA) performance on HR reconstruction across multiple benchmark datasets, outperforming previous methods like IRN by a significant margin (e.g., +1.0-1.5dB PSNR for ×2 upscaling).
  • Downscaled LR Image Quality: FGRN also demonstrates comparable or even better quality for the downscaled LR images themselves, evaluated using no-reference metrics like NIQE and PIQE. This indicates that the method does not sacrifice downscaled image quality for improved reconstruction.
  • Parameter Efficiency: FGRN consumes fewer parameters than other comparable methods, suggesting an efficient approach to achieving high performance.
  • Qualitative Results: Visual comparisons show that FGRN reconstructs textures more clearly and produces more visually pleasing results, with fewer artifacts compared to other methods.

Limitations and Future Work

  • Limitations:
  • The paper notes that while the bicubic LR guidance in DU_bic improves downscaled image quality, it compromises reconstruction performance because the visually favorable image is not optimal for upscaling.
  • The IRN method's latent variable, intended to compensate for lost information, was found to not provide specific high-frequency information and its role was implicitly learned by the upscaling module.
  • The paper mentions that the "rounding operation is non-differentiable" and they use a specific module (from IRN [33]) to handle this for quantization, which is a common challenge in such networks.
  • Future Work: The paper doesn't explicitly detail future work directions, but the success of decoupling guidance and optimizing for upscaling-optimality suggests further exploration in this area for other image processing tasks. The flexibility in network architecture also opens avenues for more complex and specialized designs.

Summary updated

BibTeX
@inproceedings{li2021approaching,
  author = {Shang Li and Guixuan Zhang and Zhengxiong Luo and Jie Liu and Zhi Zeng and Shuwu Zhang},
  title = {{Approaching the Limit of Image Rescaling via Flow Guidance}},
  booktitle = {BMVC},
  year = {2021},
  url = {https://openreview.net/forum?id=NwTgAMNB_mE},
}
Figure