Introduction
Training high-fidelity generative models typically requires large-scale datasets where each sample is fully annotated with all relevant labels. However, in many domains like drug discovery or specialized image generation, obtaining complete annotations is prohibitively expensive. Researchers often resort to aggregating multiple datasets, which results in block-wise missing conditions. For instance, one dataset might label molecules for stability, while another labels them for toxicity, but no single molecule possesses both labels. Standard conditional diffusion models fail in this regime because they cannot learn the joint relationship between conditions they never see together.
Methodology: Double and Hybrid Guidance
To address this, we introduce Diffusion Model with Double Guidance (DMDG) and Diffusion Model with Hybrid Guidance (DMHG). These methods enable generation conditioned on multiple attributes even when those attributes are never co-observed in training.
The mathematical foundation of our approach is the Conditional Independence (CI) assumption: given the clean data $X_0$, the conditions $C_1$ and $C_2$ are independent. This allows us to decompose the complex "conditional score function"—the vector field guiding the diffusion process—into simpler, independently estimable components.
Our method employs a Tweedie Projection to estimate the clean data $X_0$ at each step of the noisy diffusion process. Separate, simple regressors trained on individual datasets then provide "guidance" based on this estimate. This approach is training-free for the guidance component; pre-trained models can be augmented with these guides without requiring a joint dataset for retraining.
Key Insights: The Shared Link
A critical insight of this work is that even if conditions $C_1$ and $C_2$ are independent given $X_0$, they are implicitly correlated because they both stem from the same underlying data point. Previous methods often ignored this "shared link," leading to poor controllability. By accounting for this relationship through the Tweedie projection, DMDG achieves significantly better alignment with the target joint distribution.
Experimental Results
We evaluated our methods across synthetic data, molecule generation, and image inpainting.
Molecule Generation
In the task of de novo drug design, we aggregated the GEOM-DRUG (stability properties) and ZINC250k (solubility properties) datasets. DMDG achieved a remarkable 76% success rate in meeting six simultaneous property targets, whereas existing baselines typically remained below 20%.
As shown in the figure above, our proposed methods (DMDG and DMHG) consistently outperform imputation-based baselines like GAIN or K-NN. They maintain a lower Wasserstein distance ($W_2$) to the target distributions while achieving higher success rates across multiple tasks.
Image and Synthetic Data
In synthetic 5D Gaussian mixture tests, our methods demonstrated superior recovery of the true distribution compared to traditional imputation. For image inpainting on ImageNet, DMHG produced results with higher visual fidelity (PSNR) and better semantic alignment with class labels than standard Diffusion Posterior Sampling (DPS).
Conclusion and Future Work
Double Guidance provides a robust framework for leveraging fragmented, aggregated datasets for complex conditional generation. While the current approach relies on the Conditional Independence assumption, it effectively "hallucinates" missing joint distributions by exploiting the structure of individual datasets. Future work will explore relaxing the CI assumption for more complex dependencies and scaling the method to handle even larger numbers of aggregated condition blocks.
Summary updated