NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

BUFF: Bayesian Uncertainty Guided Diffusion Probabilistic Model for Single Image Super-Resolution

Zihao He, Shengchuan Zhang, Runze Hu, Yunhang Shen, Yan Zhang

Abstract

Diffusion models have revolutionized image synthesis but often struggle with Single Image Super-Resolution (SISR) due to the assumption of uniform noise distribution across an image. This paper introduces BUFF, a framework that leverages Bayesian uncertainty to adaptively guide the diffusion process. By identifying regions of high aleatoric uncertainty, BUFF focuses reconstructive power on complex textures and edges, resulting in superior visual fidelity and quantitative performance across standard benchmarks.

Introduction

Diffusion models have taken the image generation world by storm, but when applied to Single Image Super-Resolution (SISR)—the task of upscaling a low-resolution image while recovering fine details—they often encounter a fundamental limitation. Standard diffusion models treat every pixel identically, applying uniform noise across the entire image. However, natural images are not uniform; a flat blue sky is significantly easier to reconstruct than a complex patch of fur or a textured brick wall.

In the paper "BUFF: Bayesian Uncertainty Guided Diffusion Probabilistic Model for Single Image Super-Resolution," researchers from Xiamen University, Tsinghua University, and Tencent Youtu Lab introduce a method to make diffusion models "context-aware." By using Bayesian logic to identify which parts of an image require the most reconstructive effort, BUFF improves the precision and visual quality of upscaled images.

The Challenge: The Fallacy of Uniform Noise

Most current diffusion models for super-resolution assume that noise is independent and identically distributed (i.i.d.) across the image. This assumes every pixel is equally difficult to predict. In reality, natural images possess varying levels of complexity. Areas with high-frequency details, such as edges and intricate textures, exhibit high aleatoric uncertainty—meaning there are many possible high-resolution configurations that could correspond to the low-resolution input.

When a model applies the same noise intensity to a smooth area and a complex textured area, two common issues arise:

  1. Blurring: In complex regions, the model often "plays it safe," resulting in a loss of detail.
  2. Artifacts: In smooth regions, the model may over-generate detail, creating artificial textures where none should exist.

BUFF addresses this by asking: What if we could tell the diffusion model exactly where to focus its reconstructive energy?

Methodology: Bayesian Uncertainty Guidance

The core innovation of BUFF is the integration of a Bayesian Neural Network (BNN) into the diffusion pipeline to create a spatially-aware reconstruction process.

1. Bayesian Uncertainty Estimation

Before the diffusion process begins, a Bayesian model ($Ω$) analyzes the low-resolution input. Rather than predicting a single pixel value, it predicts a probability distribution—including mean, scale, and shape—for every pixel. This allows the model to quantify its own confidence in the reconstruction of specific regions.

2. The Uncertainty Mask ($M_{Bayes}$)

From this distribution, the authors calculate a variance-based uncertainty mask. High values in this mask correspond to edges and complex textures where the model is inherently "unsure" of the correct high-resolution output.

3. Nonlinear Refinement

This raw mask is passed through a sigmoid-based transformation to create a refined modulation mask ($B$). This step is crucial: it amplifies noise in high-uncertainty regions, forcing the generative model to learn more robust reconstruction in those areas, while reducing noise in low-uncertainty, smooth regions.

4. Guided Diffusion

The standard diffusion equations are modified to incorporate this spatial intelligence. During the forward phase, noise is element-wise multiplied by the mask $B$. During the reverse (inference) phase, the noise predictor (typically a U-Net) uses this mask to focus its attention on the "hard" parts of the image, ensuring that computational effort is spent where it is needed most.

Experimental Evaluation

The authors evaluated BUFF across a wide range of standard benchmarks, including Set14, Urban100, BSD100, and Manga109. The model was trained on the DF2K dataset (DIV2K and Flickr2K) and also tested on specialized tasks like Face SR (using FFHQ and CelebA-HQ) and image deblurring.

Quantitative and Qualitative Results

BUFF consistently outperformed the baseline (SRDiff) and other state-of-the-art methods such as HAT and SwinIR.

  • Performance Metrics: On the BSD100 dataset, BUFF achieved a +0.61 increase in SSIM and a +0.20dB PSNR gain over the standard diffusion baseline.
  • Visual Fidelity: Qualitative results demonstrate that BUFF excels at reconstructing sharp, straight edges and fine repetitive textures, such as building facades, which typically appear "wavy" or blurred in other models.
  • Face Super-Resolution: In 8× face upscaling, BUFF recovered realistic skin textures and eye details, whereas competing methods often produced "plastic-looking" or distorted features.

Discussion and Future Work

The BUFF framework demonstrates that noise in diffusion models should be treated as a learnable, spatially-varying parameter rather than a constant. By focusing on data-inherent (aleatoric) uncertainty, the authors successfully mapped the difficulty of natural textures to the diffusion process.

However, some challenges remain. The inference process still requires the iterative steps characteristic of diffusion models, which is computationally slower than "one-shot" CNN or Transformer methods. Additionally, the model relies on an "amplification intensity" factor ($γ$) that requires careful tuning; setting it too high can introduce instability.

Future research may explore applying BUFF to "Blind SR," where the degradation patterns (blur and noise) of the low-resolution image are unknown, further extending the utility of uncertainty-guided diffusion in real-world image restoration.

Summary updated

BibTeX
@inproceedings{he2025buff,
  author = {Zihao He and Shengchuan Zhang and Runze Hu and Yunhang Shen and Yan Zhang},
  title = {{BUFF: Bayesian Uncertainty Guided Diffusion Probabilistic Model for Single Image Super-Resolution}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i4.32360},
}
Figure