Gibbs Gradient Descent: A Langevin Approach to Optimization
Abstract
Training energy-based models, which assign scores to possible outcomes, and estimating parameters in models with hidden variables often require random sampling to calculate model updates. Gibbs gradient descent addresses the resulting computational cost by combining sampling and parameter updates in a single loop. We analyze both an idealized version and its approximation using a finite number of samples. Our results distinguish the effect of training time from the error associated with using finitely many samples. We also characterize how random fluctuations in the samples propagate into the updates. This analysis motivates a correction applied before computing the updates, and we establish conditions under which it reduces variability. Experiments on a simple test problem and a neural energy-based model demonstrate reduced fluctuations and improved training performance.