FreeDoM: Training-Free Energy-Guided Conditional Diffusion Model

Jiwen Yu, Yinhuai Wang, Chen Zhao, Bernard Ghanem, Jian Zhang
2/14/2026

No official code found. Best implementation: yujiwen/FreeDoM (310 stars, last commit 2023-10-12).

Abstract

Recently, conditional diffusion models have gained popularity in numerous applications due to their exceptional generation ability. However, many existing methods are training-required. They need to train a time-dependent classifier or a condition-dependent score estimator, which increases the cost of constructing conditional diffusion models and is inconvenient to transfer across different conditions. Some current works aim to overcome this limitation by proposing training-free solutions, but most can only be applied to a specific category of tasks and not to more general conditions. In this work, we propose a training-Free conditional Diffusion Model (FreeDoM) used for various conditions. Specifically, we leverage off-the-shelf pretrained networks, such as a face detection model, to construct time-independent energy functions, which guide the generation process without requiring training. Furthermore, because the construction of the energy function is very flexible and adaptable to various conditions, our proposed FreeDoM has a broader range of applications than existing training-free methods. FreeDoM is advantageous in its simplicity, effectiveness, and low cost. Experiments demonstrate that FreeDoM is effective for various conditions and suitable for diffusion models of diverse data domains, including image and latent code domains. Code is available at https://github.com/vvictoryuki/FreeDoM.

View on arXivView PDF

Code Implementations(1)

yujiwen/FreeDoMCommunity100%

[ICCV 2023] Official PyTorch implementation for the paper "FreeDoM: Training-Free Energy-Guided Conditional Diffusion Model"

31013Shell, PythonMar 17, 20233 years ago

Similar Papers

Cite this paper

@article{yu2026freedom,
  title  = {FreeDoM: Training-Free Energy-Guided Conditional Diffusion Model},
  author = {Jiwen Yu and Yinhuai Wang and Chen Zhao and Bernard Ghanem and Jian Zhang},
  year   = {2026},
  eprint = {2303.09833},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.09833},
  journal = {ICCV 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/2303.09833.svg)](https://codeofpaper.com/paper/2303.09833)

Discussion