Diffusion models have revolutionized how we generate images, but guiding them with "imperfect" information—like a blurry photo you want to fix or a painting whose style you want to mimic—remains a challenge. Researchers have typically treated these as two separate problems: weak-label guidance (style transfer) and degraded-label guidance (super-resolution and deblurring).
In a new paper slated for ICLR 2026, authors introduce DPG (Data and Process Knowledge Diffusion Guidance), a framework that argues these tasks aren't as different as they seem. By exploiting the inherent knowledge within the data and the temporal logic of the diffusion process, DPG offers a single, powerful approach to "imperfect-label" tasks.
TL;DR
DPG is a unified framework that improves diffusion guidance by injecting noisy label data ("Data Knowledge") and enforcing a progressive improvement constraint across timesteps ("Process Knowledge"). It bridges the gap between style transfer and image restoration, achieving state-of-the-art results without requiring task-specific architectures.
What Problem Does This Paper Address?
When we guide a diffusion model, we usually use a loss function to tell the model how far its current guess is from the "label" (the target style or the blurry reference). However, the authors identify two major flaws in current methods:
- Information Loss: Standard loss functions reduce a complex image to a single numerical value. This "coarseness" ignores the granular details—like specific textures or semantic structures—hidden within the label data itself.
- Cumulative Error: Most guidance happens step-by-step in a vacuum. If the model makes a slight mistake at timestep 50, that error propagates and compounds by timestep 1, leading to artifacts or "wobbly" results.
Existing solutions are often "siloed": a method that works for super-resolution rarely works for style transfer because the objectives (pixel-perfect reconstruction vs. abstract stylistic mimicry) seem at odds.
Methods
DPG tackles these issues with two core innovations:
- Data Knowledge Integration: Instead of just using the label to calculate a loss, DPG "diffuses" the label. It takes the imperfect label (or a pre-processed version, like an upsampled image), adds noise to it, and blends it directly into the latent space during the early stages of the reverse diffusion process. This allows the model to "see" the actual data features rather than just a gradient signal. By adding noise, the model is forced to selectively extract only the most relevant information (e.g., the texture of a style image, not its content).
- Process Knowledge Integration: To fight cumulative error, DPG introduces a Progressive Alignment Mechanism. It uses a hinge-like loss function to ensure that the prediction at the current timestep is strictly "better" (closer to the label) than the prediction from the previous timestep by at least a certain margin. This forces the model onto a consistent, optimized denoising path.
The framework is "model-agnostic," meaning it works with both traditional U-Net-based diffusion models (like Stable Diffusion) and newer Transformer-based architectures (DiTs).
Datasets
The authors evaluated DPG across three distinct tasks:
- Style Transfer: Evaluated on 40,000 images generated by combining 200 text prompts with 200 style images from the WikiArt dataset.
- Image Super-resolution & Deblurring: Evaluated on 1,000 images from the FFHQ (Flickr-Faces-HQ) dataset, using standard degradation techniques (4x downsampling and Gaussian blur).
Key Insights and Ideas
- The "Universal Knowledge" Hypothesis: The most striking insight is that style transfer and image restoration can be solved using the same mathematical backbone. The difference lies only in how much data knowledge you inject and which loss function you use.
- Noise as a Filter: One might think adding noise to a label would make things worse. However, in DPG, noise acts as a filter that prevents "content leakage." In style transfer, it allows the model to adopt the "vibe" of a Van Gogh painting without accidentally drawing a second pair of eyes where the original painting had them.
- Temporal Logic: By treating the denoising process as a sequence that must improve over time (Process Knowledge), the authors move away from "static" guidance toward "dynamic" guidance that corrects itself as it goes.
Key Results
DPG consistently outperformed specialized state-of-the-art models:
- Style Transfer: DPG achieved the lowest Style Loss and CLIP Loss among all compared methods (including StyleShot and StyleDrop), indicating superior stylistic fidelity and text alignment.
- Image Restoration: In super-resolution, DPG hit the highest PSNR (28.86) and lowest LPIPS (0.1573), meaning it produced the most accurate and perceptually pleasing reconstructions.
- Qualitative Superiority: Visually, DPG avoids common pitfalls like "artifacts" in faces (common in PSLD) or "blurry results" (common in FlowChef). It successfully restored fine details like the folds of a hat or the texture of skin that other models smoothed over.
Limitations and Future Work
While powerful, DPG isn't a "free lunch":
- Inference Speed: Because DPG involves optimization loops (multiple iterations) at each timestep, it is computationally heavier and slower than standard "one-pass" sampling methods.
- Manual Tuning: Currently, parameters like the "injection window" (how many steps to include data knowledge) are set manually based on the task.
- Future Direction: The authors propose developing a loss-adaptive parameter selection strategy that would automatically adjust learning rates and mixing weights in real-time based on the model's performance during the generation process.
For those interested in the implementation, the authors have committed to making the code public.
Summary updated