MCLR: Improving Conditional Modeling via Inter-Class Likelihood-Ratio Maximization and Unifying Classifier-Free Guidance with Alignment Objectives
Organizations: University of Michigan · Michigan State University
Abstract
Diffusion models achieve strong performance in generative modeling, but their success often relies heavily on classifier-free guidance (CFG), an inference-time heuristic that modifies the sampling trajectory. In theory, diffusion models trained with standard denoising score matching (DSM) should recover the target data distribution, raising two fundamental questions: (i) why is inference-time guidance necessary in practice, and (ii) can its underlying effect be internalized into a principled training objective? In this work, we argue that a key limitation of standard DSM is insufficient inter-class separation. To address this issue, we propose MCLR, an alignment objective that explicitly maximizes inter-class likelihood-ratios during training. Fine-tuning diffusion models with MCLR induces CFG-like improvements under standard sampling, substantially improving guidance-free conditional generation and narrowing the gap to inference-time CFG. Beyond these empirical benefits, we show theoretically that the CFG-guided score is exactly the optimal solution to a sample-adaptive weighted MCLR objective. This result connects CFG to alignment-based objectives, providing a mechanistic interpretation of CFG as an implicit inference-time contrastive alignment procedure.
Figures & tables
| Method | NFE | FD | Prec. | Rec. | IS |
|---|---|---|---|---|---|
| ImageNet (64 64) | |||||
| EDM2-S | 63 | 95.20 | 0.705 | 0.614 | 60.43 |
| +CFG | 126 | 43.75 | 0.800 | 0.565 | 127.40 |
| +DDO | 63 | 72.97 | 0.689 | 0.642 | 65.84 |
| +CCA | 63 | 62.36 | 0.762 | 0.557 | 76.13 |
| +CC-DPO | 63 | 60.98 | 0.784 | 0.536 | 86.11 |
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.