Constrained Diffusion Models via Dual Training

Shervin Khalafi, Dongsheng Ding, Alejandro Ribeiro
8/27/2024
cs.LGcs.CVmath.OC

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Diffusion models have attained prominence for their ability to synthesize a probability distribution for a given dataset via a diffusion process, enabling the generation of new data points with high fidelity. However, diffusion processes are prone to generating samples that reflect biases in a training dataset. To address this issue, we develop constrained diffusion models by imposing diffusion constraints based on desired distributions that are informed by requirements. Specifically, we cast the training of diffusion models under requirements as a constrained distribution optimization problem that aims to reduce the distribution difference between original and generated data while obeying constraints on the distribution of generated data. We show that our constrained diffusion models generate new data from a mixture data distribution that achieves the optimal trade-off among objective and constraints. To train constrained diffusion models, we develop a dual training algorithm and characterize the optimality of the trained constrained diffusion model. We empirically demonstrate the effectiveness of our constrained models in two constrained generation tasks: (i) we consider a dataset with one or more underrepresented classes where we train the model with constraints to ensure fairly sampling from all classes during inference; (ii) we fine-tune a pre-trained diffusion model to sample from a new dataset while avoiding overfitting.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{khalafi2024constrained,
  title  = {Constrained Diffusion Models via Dual Training},
  author = {Shervin Khalafi and Dongsheng Ding and Alejandro Ribeiro},
  year   = {2024},
  eprint = {2408.15094},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2408.15094},
  url    = {http://arxiv.org/abs/2408.15094v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion