CREPE: Controlling Diffusion with Replica Exchange

Jiajun He, Paul Jeha, Peter Potaptchik, Leo Zhang, José Miguel Hernández-Lobato +3 more
9/27/2025
14 citations
cs.LG

No official code found. Best implementation: jiajunhe98/CREPE-Controlling-diffusion-with-REPlica-Exchange (10 stars, Jupyter Notebook, MIT, last commit 2026-03-15).

Abstract

Inference-time control of diffusion models aims to steer model outputs to satisfy new constraints without retraining. Previous approaches have mostly relied on heuristic guidance or have been coupled with Sequential Monte Carlo (SMC) for bias correction.

Show full abstract

In this paper, we propose a flexible alternative based on replica exchange, an algorithm designed initially for sampling problems. We refer to this method as the CREPE (Controlling with REPlica Exchange). Unlike SMC, CREPE: (1) generates particles sequentially, (2) maintains high diversity in the generated samples after a burn-in period, and (3) enables online refinement or early termination. We demonstrate its versatility across various tasks, including temperature annealing, reward-tilting, model composition and classifier-free guidance debiasing, with competitive performance compared to prior SMC methods.

View on arXivView PDF

Code Implementations(1)

MIT

Official implememtation of CREPE: Controlling diffusion with REPlica Exchange

100Jupyter Notebook, PythonSep 28, 20258 months agoMIT

Similar Papers

Cite this paper

@article{he2025crepe,
  title  = {CREPE: Controlling Diffusion with Replica Exchange},
  author = {Jiajun He and Paul Jeha and Peter Potaptchik and Leo Zhang and José Miguel Hernández-Lobato and Yuanqi Du and Saifuddin Syed and Francisco Vargas},
  year   = {2025},
  eprint = {2509.23265},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.23265v1}
}

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/2509.23265.svg)](https://codeofpaper.com/paper/2509.23265)

Discussion