Uncertainty-aware Generalized Adaptive CycleGAN

Uddeshya Upadhyay, Yanbei Chen, Zeynep AkataarXiv 2021

Abstract

Unpaired image-to-image (I2I) translation is a challenging task typically addressed by deterministic models that assume fixed noise distributions. We present Uncertainty-aware Generalized Adaptive CycleGAN (UGAC), a framework that models per-pixel residuals using a flexible Generalized Gaussian Distribution (GGD). By learning distribution parameters—scale ($\alpha$) and shape ($\beta$)—at the pixel level, UGAC provides robust translation and quantifies predictive uncertainty. Our results on natural and medical imaging datasets demonstrate that UGAC outperforms state-of-the-art baselines, particularly in handling out-of-distribution data and providing reliable "uncertainty maps" that correlate with prediction errors.

The Challenge of Unpaired Translation

Unpaired I2I translation—such as converting a noisy MRI into a clean one without paired training data—is inherently "ill-posed." Standard approaches like CycleGAN rely on deterministic mappings and fixed loss functions (e.g., $L_1$ or $L_2$). These models suffer from three primary limitations:

  1. Rigid Assumptions: Fixed losses implicitly assume specific noise distributions (Laplace or Gaussian), which rarely match complex real-world data.
  2. Lack of Robustness: Deterministic models often fail when encountering out-of-distribution (OOD) patterns.
  3. No Confidence Metrics: In high-stakes fields like medical imaging, models lack a mechanism to signal their own uncertainty.

The UGAC Framework: From Deterministic to Probabilistic

The core innovation of UGAC is the transition from a deterministic mapping to a probabilistic framework. Instead of predicting a single pixel value, the generator predicts the parameters of a Generalized Gaussian Distribution (GGD) for every pixel.

Deterministic vs. Probabilistic Translation

By allowing the network to learn the scale ($\alpha$) and shape ($\beta$) parameters, the model effectively selects the most appropriate loss function for every pixel. For instance, it can adapt to heavy-tailed distributions to better handle outliers and noise, making the translation process "generalized" and "adaptive."

Uncertainty Estimation and Robustness

UGAC quantifies two distinct types of uncertainty:

  • Aleatoric Uncertainty: Captures the inherent noise in the data, derived directly from the predicted GGD parameters.
  • Epistemic Uncertainty: Reflects the model's lack of knowledge due to limited training data, estimated via Monte Carlo Dropout.
Visualizing Uncertainty and Error Correlation

As shown in the figure above, the predicted parameter maps ($\alpha, \beta$) and the resulting uncertainty ($\sigma$) show a strong positive correlation with the actual residual error ($|Prediction - GT|$). This allows the uncertainty map to serve as a reliable indicator of trustworthiness during inference, even when ground truth is unavailable.

Experimental Results

The authors evaluated UGAC against state-of-the-art baselines including UNIT, CUT, and standard CycleGAN on two datasets: BSD500 (natural images) and IXI (medical MRIs).

  • Quantitative Performance: On the BSD500 denoising task, UGAC achieved a significantly higher SSIM (0.72) at high noise levels compared to the best baseline (0.65).
  • Medical OOD Robustness: When tested on demographic shifts (e.g., training on young patients and testing on old patients), UGAC maintained an SSIM of 0.83, while baselines dropped as low as 0.71.
  • Qualitative Superiority: Visually, UGAC preserves high-frequency details and avoids the artifacts commonly produced by deterministic models when faced with heavy noise or unfamiliar structures.

Conclusion

UGAC represents a significant step forward in making unpaired I2I translation more robust and interpretable. By replacing rigid deterministic losses with a learnable, probabilistic framework, the model not only produces higher-quality images but also provides a vital "check engine light" through its uncertainty maps. Future work will focus on reducing the computational overhead of epistemic uncertainty estimation and exploring even more flexible non-parametric distribution modeling.

Summary updated

BibTeX
@misc{upadhyay2021uncertainty,
  author = {Uddeshya Upadhyay and Yanbei Chen and Zeynep Akata},
  title = {{Uncertainty-aware Generalized Adaptive CycleGAN}},
  year = {2021},
  eprint = {2102.11747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.11747},
}
Figure