Learn Before
Concept

Variational Inference with Discrete Latent Variables

When the latent variables hh are discrete, the approximate posterior qq can be defined directly, typically as a discrete lookup table storing one probability value per state. Optimizing the parameters of this lookup table is then a standard optimization problem, unlike the continuous case, which requires calculus of variations. Because this optimization runs in the inner loop of a larger learning algorithm, it must be very fast, so specialized optimization algorithms designed to solve small, simple problems in very few iterations are typically used.

0

1

Updated 2026-07-11

Tags

Data Science