Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMC

Yilun Du, Conor Durkan, Robin Strudel, J. Tenenbaum, S. Dieleman +4 more
2/12/2026

No official code found. Best implementation: yilundu/reduce_reuse_recycle (151 stars, MIT, last commit 2024-10-18).

Abstract

Since their introduction, diffusion models have quickly become the prevailing approach to generative modeling in many domains. They can be interpreted as learning the gradients of a time-varying sequence of log-probability density functions. This interpretation has motivated classifier-based and classifier-free guidance as methods for post-hoc control of diffusion models. In this work, we build upon these ideas using the score-based interpretation of diffusion models, and explore alternative ways to condition, modify, and reuse diffusion models for tasks involving compositional generation and guidance. In particular, we investigate why certain types of composition fail using current techniques and present a number of solutions. We conclude that the sampler (not the model) is responsible for this failure and propose new samplers, inspired by MCMC, which enable successful compositional generation. Further, we propose an energy-based parameterization of diffusion models which enables the use of new compositional operators and more sophisticated, Metropolis-corrected samplers. Intriguingly we find these samplers lead to notable improvements in compositional generation across a wide set of problems such as classifier-guided ImageNet modeling and compositional text-to-image generation.

View on arXivView PDF

Code Implementations(1)

MIT

ICML 2023: Reduce, Reuse, Recycle: Composing Energy-Based Diffusion Models with MCMC

15114Shell, PythonFeb 20, 20232 years agoMIT

Similar Papers

Cite this paper

@article{du2026reduce,
  title  = {Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMC},
  author = {Yilun Du and Conor Durkan and Robin Strudel and J. Tenenbaum and S. Dieleman and R. Fergus and Jascha Narain Sohl-Dickstein and A. Doucet and Will Grathwohl},
  year   = {2026},
  eprint = {2302.11552},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2302.11552},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.11552.svg)](https://codeofpaper.com/paper/2302.11552)

Discussion