Home Knowledge Base Contrastive Divergence (CD)

Contrastive Divergence (CD) is a training algorithm for energy-based models that approximates the gradient of the log-likelihood — using short-run MCMC (typically just 1 step of Gibbs sampling or Langevin dynamics) instead of running the chain to equilibrium, making EBM training practical.

How CD Works

Why It Matters

Contrastive Divergence is the shortcut for EBM training — using a few MCMC steps instead of full equilibration to approximate the intractable gradient.

contrastive divergencegenerative models

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.