English

Generalized Contrastive Divergence: Joint Training of Energy-Based Model and Diffusion Model through Inverse Reinforcement Learning

Machine Learning 2023-12-07 v1 Artificial Intelligence

Abstract

We present Generalized Contrastive Divergence (GCD), a novel objective function for training an energy-based model (EBM) and a sampler simultaneously. GCD generalizes Contrastive Divergence (Hinton, 2002), a celebrated algorithm for training EBM, by replacing Markov Chain Monte Carlo (MCMC) distribution with a trainable sampler, such as a diffusion model. In GCD, the joint training of EBM and a diffusion model is formulated as a minimax problem, which reaches an equilibrium when both models converge to the data distribution. The minimax learning with GCD bears interesting equivalence to inverse reinforcement learning, where the energy corresponds to a negative reward, the diffusion model is a policy, and the real data is expert demonstrations. We present preliminary yet promising results showing that joint training is beneficial for both EBM and a diffusion model. GCD enables EBM training without MCMC while improving the sample quality of a diffusion model.

Cite

@article{arxiv.2312.03397,
  title  = {Generalized Contrastive Divergence: Joint Training of Energy-Based Model and Diffusion Model through Inverse Reinforcement Learning},
  author = {Sangwoong Yoon and Dohyun Kwon and Himchan Hwang and Yung-Kyun Noh and Frank C. Park},
  journal= {arXiv preprint arXiv:2312.03397},
  year   = {2023}
}

Comments

NeurIPS 2023 Workshop on Diffusion Models

R2 v1 2026-06-28T13:42:40.125Z