siddhant

Knowledge / Generative AI

Foundations of Generative AI

Probability, distributions, sampling, latent variables, and the basic mathematical framing of generation.

By Siddhant Krishna · Published 2026-10-06 · Updated 2026-10-06

01

Modeling a Distribution

A generative model attempts to capture statistical structure in observed data so that new samples can be generated from the learned model.

x ~ p_data(x)

Learning constructs an approximation p_θ(x) parameterized by θ. The quality of a generative model therefore depends on how well its learned distribution captures meaningful structure while remaining useful for sampling.

02

Sampling

Sampling transforms a learned distribution into concrete outputs. The exact procedure differs by model family: autoregressive models sample token by token, diffusion models iteratively denoise, and latent-variable models sample latent representations before decoding them.

References

  1. Kingma & Welling (2013).
    https://arxiv.org/abs/1312.6114
  2. Goodfellow et al. (2014), NeurIPS.
    https://arxiv.org/abs/1406.2661
  3. Ho, Jain & Abbeel (2020).
    https://arxiv.org/abs/2006.11239

Related

Contact

Get in Touch

Want to chat? Just shoot me a dm with a direct question on twitter and I'll respond whenever I can. I will ignore all soliciting.