Adding Additional Control to One-Step Diffusion with Joint Distribution Matching

Yihong Luo, Tianyang Hu, Yifan Song, Jiacheng Sun, Zhenguo Li, Jing Tang

TL;DR

This paper introduces Joint Distribution Matching (JDM), a novel method for enabling one-step diffusion models to handle new, unseen control signals without retraining the entire model. JDM decouples fidelity and condition learning, allowing for more efficient and flexible control integration, leading to state-of-the-art performance in controllable generation and text-to-image synthesis.

What Problem Does This Paper Address?

Diffusion models have revolutionized image generation, producing high-quality and diverse outputs. However, their practical use is often hampered by slow sampling times, requiring tens to hundreds of "Network Function Evaluations" (NFEs). Diffusion distillation techniques have emerged to create "one-step" models, significantly speeding up generation. Yet, adapting these distilled one-step models to new control mechanisms (like structural constraints or user preferences) is challenging. Traditional methods involve retraining the base diffusion model and then redistilling, which is computationally expensive and time-consuming. This paper addresses the need for a more efficient and flexible way to inject novel controls into existing one-step diffusion models without extensive retraining.

Methods

The core of JDM lies in minimizing the joint reverse KL divergence between the image-condition joint distributions of a target (teacher) model and a student model. This objective is then reformulated by deriving a tractable upper bound, which effectively decouples fidelity learning (generating realistic images) from condition learning (adhering to control signals). This asymmetric distillation scheme is key:

  • Joint Distribution Matching (JDM): The primary method involves minimizing $KL(p_{target}(x_t, c) || p_{student}(x_t, c))$, where $x_t$ is a diffused image and $c$ is the control signal.
  • Tractable Upper Bound: To make this computationally feasible, the authors derive an upper bound that allows for separate optimization of fidelity and condition learning.
  • Asymmetric Distillation: The student model can learn controls that the teacher model was not originally trained on.
  • Auxiliary Models: JDM utilizes an auxiliary diffusion model (the "fake score" model) to learn the image fidelity component and a separate model (e.g., a ControlNet) for condition learning.
  • Human Feedback Integration (HFL): JDM seamlessly integrates human preference learning by treating "human-preferred images" as a conditioning factor.
  • Decoupled Classifier-Free Guidance (CFG): The decoupled nature allows for more sophisticated CFG usage, potentially employing a different diffusion model for the CFG guidance than the one used for fidelity learning.
  • Warm-up Strategy: For handling multiple control conditions, a two-phase strategy is proposed: initial joint training for a primary condition, followed by fixing the generator and training only the ControlNet for subsequent conditions. This prevents mode collapse and improves efficiency.

Datasets

The paper mentions using Stable Diffusion 1.5 as the frozen teacher model and for initializing the fake score model and student. For evaluating controllable generation, they use a dataset that includes conditions like Canny edges, HED edges, depth maps, and lower-resolution images. For text-to-image generation, they evaluate on standard benchmarks and use ImageReward for human feedback learning.

Key Insights and Ideas

  • Decoupling is Powerful: The core insight is that separating the learning of image realism (fidelity) from the learning of control adherence (condition) is crucial for efficient and flexible one-step generation. This contrasts with previous methods that often conflate these objectives.
  • Handling Unknown Controls: JDM's asymmetric distillation allows a one-step student to learn controls it has never seen during the teacher model's training, opening up new possibilities for adapting diffusion models.
  • Efficiency Without Sacrificing Quality: The method achieves one-step generation while maintaining or even improving image quality and controllability compared to multi-step baselines.
  • Flexibility in CFG and HFL: The decoupled framework makes it easier to integrate advanced techniques like improved CFG and human feedback learning, leading to better results.
  • Warm-up for Multi-Control: The proposed two-phase warm-up strategy is essential for training a single generator that can handle multiple diverse control signals effectively, avoiding common pitfalls like mode collapse.

Key Results

  • Controllable Generation: JDM achieves better FID scores and consistency metrics than multi-step controllable diffusion models (50 NFE) using only 1 NFE. For example, it shows an average FID of 14.58 vs. 15.21 for baselines and improves consistency by 24% on average.
  • Text-to-Image Synthesis: With improved CFG or HFL integration, JDM achieves state-of-the-art (SOTA) performance in one-step text-to-image generation. For instance, a variant with better CFG achieved CLIP scores of 33.97, outperforming a multi-step DM's 33.03.
  • Efficiency: The method consistently achieves 1 NFE generation, a significant speedup over multi-step methods.
  • Qualitative Improvements: Visual comparisons show JDM producing higher-quality images with better adherence to control signals compared to baselines, especially in handling novel conditions.

Limitations and Future Work

  • Potential for Artifacts: While JDM generally reduces artifacts, the paper notes that simply using log p(c|x0) instead of log p(c|xt) can lead to artifacts, particularly in HFL scenarios (as shown in Fig. 6).
  • Future Directions:
    • Exploring the integration of multiple teacher diffusion models for student distillation.
  • Further investigating the use of consistency models for modeling p(c|xt) and its application in training-free controllable generation.
  • The paper suggests that the decoupled framework opens avenues for more sophisticated CFG and HFL integrations.

Summary updated

BibTeX
@inproceedings{luo2025adding,
  author = {Yihong Luo and Tianyang Hu and Yifan Song and Jiacheng Sun and Zhenguo Li and Jing Tang},
  title = {{Adding Additional Control to One-Step Diffusion with Joint Distribution Matching}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure