Papers · Generative models · 2013
Auto-Encoding Variational Bayes
The notation of the VAE paper, explained: its 30 displayed equations, then every symbol it uses, grouped by category and shown the way the paper writes it.
Reading this paper
The VAE paper: train an encoder and a decoder together by maximizing a lower bound on the data's log-likelihood, made differentiable by the reparameterization trick.
Watch the two sets of parameters: belongs to the generative model (the decoder), to the approximate posterior (the encoder). The superscript in indexes the data point; it is not a power. A tilde marks an estimate: is the sampled estimator of the bound .
Read from arXiv's HTML version: 30 displayed equations and 135 pieces of inline math. 42 symbols and constructs from the catalog.
The paper's displayed equations
Open any of them in the decoder for a symbol-by-symbol reading.
- (1)Decode →
- (2)Decode →
- (3)Decode →
- (4)Decode →
- (5)Decode →
- (6)Decode →
- (7)Decode →
- (8)Decode →
- (9)Decode →
- (10)Decode →
- Decode →
- Decode →
- Decode →
- (11)Decode →
- (12)Decode →
- Decode →
- Decode →
- (13)Decode →
- (14)Decode →
- (15)Decode →
- (16)Decode →
- (17)Decode →
- (18)Decode →
- (19)Decode →
- (20)Decode →
- (21)Decode →
- (22)Decode →
- (23)Decode →
- Decode →
- (24)Decode →
Famous equations in this paper
Symbols, by category
Most used first. The examples are written as the paper writes them.
Notation conventions
- , ,
Subscript (index or label) 277 uses
A subscript picks an element (xᵢ), a time step (h_t), a named copy (W_q), or the parameters (p_θ).
- , ,
Superscript in parentheses 154 uses
An index in a superscript: x⁽ⁱ⁾ is the i-th training example, W⁽ˡ⁾ the weights of layer l. Not a power.
- , ,
Italic letters (variables) 136 uses
A plain italic letter is a variable; conventions say what kind (x input, y target, W weights…).
- , ,
Superscript (power or label) 38 uses
Usually a power (x² = x·x), but a capital or a word up there is often just a label (W^Q).
Loss (ℒ) 28 uses
The loss: the number training tries to make small. Also written L, J(θ) or ℓ.
- , ,
Tilde accent 15 uses
A modified version of the variable: noisy, corrupted, proposed or intermediate.
Star (optimal) 5 uses
As a superscript, the optimal value: θ* is the best θ. Between two terms, convolution.
Dots (ellipsis) 1 use
“And so on”: continue the pattern.
Greek letters
Theta 178 uses
The model’s parameters: all of its weights and biases, as one collection.
Phi 157 uses
The parameters of a second model (often the encoder q_φ), or a feature map φ(x).
Epsilon 74 uses
A tiny constant for numerical safety (10⁻⁸ in Adam), or noise ε ~ 𝒩(0, I).
Sigma (lowercase) 36 uses
Either the sigmoid function σ(z) = 1/(1+e⁻ᶻ) or a standard deviation. The context decides.
Mu 29 uses
A mean: the average of a distribution, a batch, or a layer’s features.
Zeta 17 uses
A spare letter: an auxiliary variable, a noise term, or the Riemann zeta function ζ(s).
Alpha 10 uses
Often a learning rate or step size; also attention weights αᵢⱼ or a mixing weight.
Pi 2 uses
A policy π(a | s) in reinforcement learning, or the constant 3.14159…
Vectors and matrices
- , ,
Bold lowercase (vector) 909 uses
A bold lowercase letter is a vector: a list of numbers.
- ,
Bold uppercase (matrix) 35 uses
A bold capital letter is a matrix (or a higher-order tensor).
Identity matrix 17 uses
The matrix with 1s on the diagonal and 0s elsewhere; multiplying by it changes nothing.
Hadamard (elementwise) product 6 uses
Multiply two arrays of the same shape entry by entry.
Centre dot 4 uses
A dot product between vectors, plain multiplication between numbers, or an empty slot f(·).
Inverse 1 use
The matrix inverse, A⁻¹A = I; for a function, its inverse function; for a number, 1/x.
Calculus and gradients
Integral 20 uses
An integral: a continuous sum. In ML it is usually an expectation or a marginalization.
- , ,
Nabla (gradient) 13 uses
The gradient: the vector of partial derivatives. ∇_θ L is how the loss changes with each parameter.
Probability and statistics
- ,
Probability p(x) 219 uses
A probability or probability density; p is usually the true or model distribution, q an approximation.
Given (conditional bar) 92 uses
“Given”: p(y | x) is the probability of y given that x is known.
Logarithm 76 uses
A logarithm, almost always the natural log (base e) in ML papers.
Semicolon (parameterized by) 42 uses
In p(x; θ), the semicolon separates the variable x from fixed parameters θ.
Distributed as (tilde) 26 uses
“Is drawn from” or “is distributed as”: x ~ p means x is a sample from the distribution p.
Normal distribution 25 uses
The normal (Gaussian) distribution with the given mean and variance.
- ,
KL divergence 18 uses
How different distribution q is from p. Zero when they match; not symmetric.
- , ,
Expectation 9 uses
The expected value: the average of what is inside, weighted by the probabilities in the subscript.
Uniform distribution 1 use
𝒰(a, b) is the uniform distribution: every value between a and b is equally likely.
Functions and operators
- , ,
Fraction 30 uses
Division: the top divided by the bottom.
- , ,
Summation 21 uses
Add up the expression for every value of the index, from the bottom limit to the top.
Assignment arrow 10 uses
Assignment in an algorithm: replace the variable on the left with the value on the right.
Product 3 uses
Multiply the expression for every value of the index.
Hyperbolic tangent 2 uses
An S-shaped activation squashing any number into (−1, 1).
Reinforcement learning
Objective J 9 uses
J(θ) is the objective: the quantity to maximize, such as the expected return of a policy.
Sets, shapes and definitions
Approximately equal 12 uses
Approximately equal: often a Monte Carlo estimate or a Taylor approximation.
- ,
Set braces 6 uses
A set: a collection of items. {x | condition} is every x that satisfies the condition.
- ,
Inequalities 2 uses
Less than / greater than (or equal). ≪ means “much smaller than”.
Formulas from arXiv's HTML version of the paper, © their authors; the explanations are this site's. Title and authors as arXiv lists them.
More generative models papers
- Generative Adversarial NetsThanks: Sherjil Ozair is visiting Université de Montréal from Indian Institute of Technology DelhiThanks: Yoshua Bengio is a CIFAR Senior Fellow. (GAN, 2014)
- Denoising Diffusion Probabilistic Models (DDPM, 2020)
- Denoising Diffusion Implicit Models (DDIM, 2020)
- Score-Based Generative Modeling through Stochastic Differential Equations (Score SDE, 2020)
- Flow Matching for Generative Modeling (Flow matching, 2022)
- High-Resolution Image Synthesis with Latent Diffusion Models (Latent diffusion, 2021)
- Classifier-Free Diffusion Guidance (Classifier-free guidance, 2022)
- Density estimation using Real NVP (RealNVP, 2016)