TL;DR
Diffusion models often struggle to simultaneously achieve high perceptual image quality and accurate data likelihood. This paper introduces a simple, retraining-free method to combine two pre-trained diffusion models: one specialized for image quality and another for likelihood. By switching between these "expert" models at different stages of the denoising process, they demonstrate a way to break this fundamental trade-off, achieving better results than either individual model.
What Problem Does This Paper Address?
Generative models, particularly diffusion models, are evaluated on two key metrics: perceptual quality (how realistic the generated images look) and data likelihood (how well the model captures the underlying data distribution). Unfortunately, these two objectives often conflict. Models trained to maximize perceptual quality tend to produce visually appealing but statistically less accurate samples, while models optimized for likelihood can generate less realistic images. This "likelihood-quality trade-off" is a significant hurdle in developing diffusion models that are both aesthetically pleasing and statistically sound. The paper aims to overcome this by finding a way to leverage the strengths of models specialized in each of these aspects.
Methods
The core idea is to merge two pre-trained diffusion models, an "image quality expert" and a "likelihood expert," without any retraining. The authors leverage the fact that different noise levels in the diffusion process are more relevant to each objective: high-noise levels are crucial for global image structure (quality), while low-noise levels are important for fine pixel statistics (likelihood).
Their approach involves:
- Expert Selection: Using two existing, state-of-the-art diffusion models: EDM (Karras et al., 2022) as the image quality expert and VDM (Kingma et al., 2021) as the likelihood expert.
- Signal-to-Noise Ratio (SNR) Alignment: A key technical contribution is a method to align the noise schedules of the two experts. This involves mapping the noise level of one model to an equivalent noise level in the other using their signal-to-noise ratios. This allows for a smooth transition between them.
- Hard Switching: At a chosen intermediate noise level (controlled by a switching threshold parameter $\eta$), the sampling process switches from the image quality expert to the likelihood expert. This means that for high noise levels, the image quality expert guides the generation, and for low noise levels, the likelihood expert refines the sample.
- No Retraining: Crucially, neither of the base models is fine-tuned or retrained. The merging is purely a sampling-time strategy.
Datasets
The experiments were conducted on two standard image datasets:
- CIFAR-10: A dataset of 32x32 color images in 10 classes.
- ImageNet32: A downsampled version of ImageNet, also 32x32.
The paper notes that for ImageNet32, they used the original version (Deng et al., 2009; Van Den Oord et al., 2016) for consistency with some prior work, while acknowledging that a newer official release exists.
Key Insights and Ideas
- Decoupling Quality and Likelihood: The paper demonstrates that the trade-off isn't inherent to diffusion models themselves but can be broken by intelligently combining specialized components.
- Noise Level Specialization: Different stages of the diffusion process (high vs. low noise) are demonstrably more critical for perceptual quality versus data likelihood. This insight is the foundation of their switching strategy.
- Retraining-Free Merging: The ability to achieve improved results by simply switching between pre-trained models is a significant practical advantage, making the approach highly accessible.
- Smooth Transitions are Key: While they use a "hard switch," the underlying SNR alignment mechanism is crucial for making this transition effective.
Key Results
- Breaking the Trade-off: The merged model consistently matched or outperformed its individual base components on both CIFAR-10 and ImageNet32, achieving better likelihood without significantly sacrificing perceptual quality, and vice-versa.
- CIFAR-10 Example: At a switching threshold $\eta \approx 0.3$, the model achieved a better likelihood than the VDM baseline while maintaining a very competitive FID score.
- ImageNet32 Example: At $\eta \approx 0.5$, the model matched the VDM baseline's likelihood and surpassed the EDM model's FID.
- Qualitative Improvements: Visualizations show that as the switching threshold $\eta$ increases (meaning the likelihood expert is used for longer), the likelihood improves, and perceptual quality degrades only slightly until excessive reliance on the likelihood model.
Limitations and Future Work
- Empirical Threshold Selection: The optimal switching threshold $\eta$ needs to be determined empirically for each dataset and model combination.
- Dependence on Base Models: The performance of the merged model is inherently limited by the quality of the pre-trained experts.
- Pixel-Space Focus: The current work is limited to pixel-space diffusion models.
The authors suggest several promising future directions:
- Learned or Automated Switching: Developing mechanisms to learn or automatically determine the optimal switching strategy.
- Integration with Advanced Samplers: Exploring how this merging approach can be combined with more sophisticated sampling techniques.
- Extensions to Other Architectures: Adapting the method to latent diffusion models or consistency-based models.
- Modular Generative Modeling: Highlighting model merging as a powerful, lightweight tool for building more capable generative systems.
Summary updated