TL;DR
This paper moves image super-resolution (SR) beyond blurry, mean-squared error (MSE) based reconstructions by framing it as an amortised Maximum a Posteriori (MAP) inference problem. The authors introduce a novel affine projection layer that guarantees the high-resolution output is mathematically consistent with the low-resolution input, and they demonstrate that Generative Adversarial Networks (GANs) are a powerful tool for directly estimating these MAP solutions.
What Problem Does This Paper Address?
Single-image super-resolution is an "underdetermined inverse problem." For any given low-resolution (LR) image, there are infinitely many high-resolution (HR) images that could have produced it.
Most traditional deep learning models for SR are trained using Mean Squared Error (MSE). Statistically, a model trained on MSE will learn to output the mean of all possible HR solutions. Because natural images have complex, multimodal distributions (e.g., a patch of grass could have many valid configurations of blades), averaging these possibilities results in a blurry, "over-smoothed" image that looks unrealistic.
The authors argue that we should instead seek the Maximum a Posteriori (MAP) estimate—the single most probable HR image given the LR input. However, direct MAP inference is computationally expensive and requires a known prior for natural images, which is notoriously difficult to define.
Methods
The paper introduces two major technical contributions:
- The Affine Projection Layer: The authors observe that the set of all valid HR images for a specific LR input forms an affine subspace. They design a specific CNN architecture that includes a projection step: $g_\theta(x) = (I - A^+A)f_\theta(x) + A^+x$. This ensures that if you downsample the network's output, you get the exact LR input back. This "hard constraint" removes the need for the network to learn the downsampling relationship from scratch.
- Amortised MAP Inference: Instead of solving an optimization problem for every new image, they train a network to predict the MAP estimate directly. They propose three ways to guide the network toward the natural image distribution:
- AffGAN: A GAN-based approach where a discriminator forces the generator to produce images that look like real HR samples.
- AffDG (Denoiser-Guided): Using a pre-trained Denoising Autoencoder (DAE) to provide gradients that push the SR output toward high-probability regions of the image prior.
- AffLL (Density-Guided): Using a pre-trained generative model (like PixelCNN) to directly provide log-likelihood gradients.
To stabilize GAN training, they also introduce "instance noise"—adding noise to both real and generated samples to ensure the distributions have overlapping support, preventing the discriminator from becoming "too perfect" too quickly.
Datasets
The methods were evaluated across a range of complexity:
- 2D Swiss-Roll: A toy dataset used to visualize how different loss functions behave in a multimodal space.
- Grass Textures: A dataset of random texture crops, which are notoriously difficult for MSE-based models.
- CelebA: A large-scale dataset of face images.
- ImageNet: Used for testing the model's performance on diverse, natural images.
Key Insights and Ideas
- MAP vs. MSE: The toy example in Figure 1 beautifully illustrates the core problem. While MSE and MAE (Mean Absolute Error) land in "low-probability" regions (the empty space in the middle of the spiral), MAP inference successfully finds a point on the actual data manifold.
- Consistency is Key: By using the affine projection, the network doesn't have to "guess" the low-frequency components of the image. This leads to faster training and better performance across all metrics (MSE, SSIM, and perceptual quality).
- GANs as MAP Estimators: The authors provide a theoretical link showing that GANs, when combined with their affine projection, essentially minimize the cross-entropy between the model's output and the true data distribution, which is the objective for amortised MAP.
- The "Hallucination" Effect: In high-dimensional spaces, the MAP estimate might be "wrong" but "plausible." For example, the model might resolve a blurry snake into water (Figure 5). While factually incorrect, the result is a high-probability image under the natural image prior, which is the goal of MAP.
Key Results
- Quantitative Consistency: As shown in Figure 2, models using the fixed affine projection (AffMSE) maintain near-zero error between the input and the downsampled output throughout training, whereas standard CNNs struggle to maintain this consistency.
- Perceptual Quality: The AffGAN approach produced the most visually appealing and sharpest results on CelebA and ImageNet. While MSE-based models had higher PSNR (a common but flawed metric), they were perceptually inferior.
- Toy Model Success: In the Swiss-roll experiment, AffGAN and AffDG achieved cross-entropy values very close to the theoretical MAP solution, confirming they were successfully finding the modes of the distribution.
Limitations and Future Work
- High-Frequency Noise: The GAN-based results, while sharp, often contain some high-frequency artifacts or "noise" typical of GAN generators.
- Representation Dependence: The authors acknowledge that MAP estimates are dependent on the coordinate system (e.g., RGB vs. a different color space). A solution that is the "mode" in one space might not be the "mode" in another.
- Atypical Modes: In very high dimensions, the mode of a distribution can sometimes look "atypical" compared to a random sample (the "concentration of measure" phenomenon). The authors suggest that sampling from the posterior might eventually be a better approach than finding the single MAP mode.
- Future Direction: The paper hints at a stochastic version of AffGAN that could perform amortised variational inference, potentially combining the best of GANs and VAEs.
Summary updated