P-PatchDiff: Progressive Patch Diffusion Models for Low-light Image Enhancement

Ruoyu Guo, Haonan Zhong, Maurice Pagnucco, Yang SongarXiv 2026 · DOI

TL;DR

P-PatchDiff is a highly efficient patch-based diffusion framework for low-light image enhancement that dynamically scales patch sizes and strides during the denoising process. By transitioning progressively from local to global views and incorporating a feature-level global brightness proxy, it eliminates boundary artifacts and color shifts while running up to 80× faster than existing patch diffusion models and handling 4K images under 9GB of GPU memory.

What Problem Does This Paper Address?

Diffusion models excel at generating realistic details for low-light image enhancement, but they are notoriously memory-hungry and computationally expensive. This makes processing high-resolution images (like 4K video frames) on standard hardware impractical.

To scale these models, researchers often turn to Patch Diffusion Models (PDMs), which break an image down into small, manageable patches (e.g., 64×64 pixels) for independent denoising. However, this introduces a major flaw: small, fixed patches lack global context. Because low-light images often feature highly uneven, spatially variant illumination, enhancing patches in isolation leads to severe color shifts, inconsistent brightness, and blocky boundary artifacts when the patches are stitched back together. Existing multi-scale patch methods attempt to fix this by processing multiple patch sizes simultaneously, but this multiplies the computational overhead and drastically slows down inference.

Methods

P-PatchDiff introduces two core strategies to achieve high-quality enhancement without sacrificing speed or memory:

  1. Progressive Patch and Stride Scaling: Instead of processing multiple patch sizes at every step, P-PatchDiff dynamically increases the patch size ($pt$) and stride ($st$) over the denoising timesteps. Early steps (when the image is mostly noise) use small patches to focus on local details. Later steps use larger patches to capture global context and ensure structural coherence.
  2. Dynamic Stride Scheduling: To keep sampling times consistently low, the stride increases proportionally with the patch size. This prevents the generation of an excessive number of overlapping patches when patch sizes grow large.
Comparison of sampling strategies between P-PatchDiff and existing patch diffusion methods.
  1. Multi-Patch Alignment Layer (PALayer): To prevent illumination and color discrepancies across varying patch scales, the authors introduce a lightweight U-Net estimator ($g$). It takes a downsampled full-size image and predicts a global brightness proxy ($x_{ill}$). This proxy is passed through an encoder ($h$) to generate a global brightness feature ($F_{ill}$), which normalizes the internal features of the main denoising network via channel-wise scaling and bias.
Overall framework of P-PatchDiff showing the progressive training/sampling and the multi-patch alignment layer.

Datasets

The authors evaluated P-PatchDiff across a comprehensive suite of datasets:

  • In-Domain Evaluation: LOL-v1, LOL-v2-Real, and LOL-v2-Syn.
  • Cross-Domain Generalization: LSRW and UHD-LL (a benchmark specifically containing 4K resolution images).
  • Reference-Free Real-World Datasets: DICM, MEF, LIME, NPE, and VV.
  • Downstream Tasks: GoPro (for deblurring) and Rain100L (for deraining) to test generalizability.

Key Insights and Ideas

  • The Stride Constraint: The authors empirically determined that patch boundary artifacts become noticeable when the stride ($s$) reaches or exceeds half the patch size ($p/2$). To mitigate this, P-PatchDiff enforces $s < p/2$, allowing larger patches to safely use larger strides to accelerate processing.
  • Time-Aware Multi-Scale Processing: Rather than wasting compute by ensembling multiple patch sizes at every single denoising step, mapping different patch sizes to different timesteps allows a single model pass per step to effectively capture multi-scale information.
  • Feature-Level vs. Pixel-Level Guidance: Instead of forcing strict pixel-level reconstruction accuracy, aligning patches at the feature level using a global brightness proxy provides a more flexible, high-dimensional correction that naturally preserves local intensity variations while maintaining global color harmony.

Key Results

  • 80× Speedup: P-PatchDiff achieves competitive enhancement performance on 4K images while running up to 80× faster than state-of-the-art multi-scale patch diffusion models like MDMS.
  • Highly Memory Efficient: The framework requires less than 9GB of GPU memory to process 4K images, successfully avoiding the Out-Of-Memory (OOM) errors that plague full-image diffusion models.
  • Quantitative Superiority: On the LOL-v2-Real dataset, P-PatchDiff achieved a PSNR of 28.04 dB, significantly outperforming standard fixed-patch models (WeatherDiff at 22.01 dB).
  • Visual Artifact Elimination: Qualitative results show that the progressive approach completely removes the blocky patch boundaries and unnatural color distortions typical of prior patch-based methods.
Visual comparisons highlighting how P-PatchDiff eliminates color shifting and boundary artifacts.

Limitations and Future Work

Despite its efficiency gains, P-PatchDiff still crops patches directly from the full-resolution image space, meaning it does not fundamentally reduce the underlying pixel-level computational load. Furthermore, maintaining a stride less than half the patch size introduces overlapping regions, which causes redundant computation.

Another notable limitation occurs in extremely dark regions: when the input signal is exceptionally weak, the model lacks higher-level semantic understanding and occasionally wipes out fine structures entirely (such as background netting).

Future Directions: The authors propose adapting progressive patching into the latent space (similar to Latent Diffusion Models) to bypass pixel-level redundancies. They also plan to explore semantic-consistency modeling to help the network infer missing structures based on the context of the scene.

Summary updated

BibTeX
@misc{guo2026p,
  author = {Ruoyu Guo and Haonan Zhong and Maurice Pagnucco and Yang Song},
  title = {{P-PatchDiff: Progressive Patch Diffusion Models for Low-light Image Enhancement}},
  year = {2026},
  eprint = {2609.01123},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.01123},
}
Figure