Papers · Generative models · 2016
Density estimation using Real NVP
The notation of the RealNVP paper, explained: its 21 displayed equations, then every symbol it uses, grouped by category and shown the way the paper writes it.
Read from arXiv's HTML version: 21 displayed equations and 90 pieces of inline math. 49 symbols and constructs from the catalog.
The paper's displayed equations
Open any of them in the decoder for a symbol-by-symbol reading.
Symbols, by category
Most used first. The examples are written as the paper writes them.
Notation conventions
- , ,
Italic letters (variables) 226 uses
A plain italic letter is a variable; conventions say what kind (x input, y target, W weights…).
- , ,
Subscript (index or label) 85 uses
A subscript picks an element (xᵢ), a time step (h_t), a named copy (W_q), or the parameters (p_θ).
- , ,
Superscript (power or label) 15 uses
Usually a power (x² = x·x), but a capital or a word up there is often just a label (W^Q).
- ,
Tilde accent 13 uses
A modified version of the variable: noisy, corrupted, proposed or intermediate.
- , ,
Superscript in parentheses 11 uses
An index in a superscript: x⁽ⁱ⁾ is the i-th training example, W⁽ˡ⁾ the weights of layer l. Not a power.
- , ,
Hat (estimate) 8 uses
A hat marks an estimate or prediction: ŷ is the model’s guess for y.
- ,
Dots (ellipsis) 6 uses
“And so on”: continue the pattern.
- ,
Calligraphic letters 4 uses
A script capital usually names a set, a space, a distribution or a loss.
Greek letters
Phi 28 uses
The parameters of a second model (often the encoder q_φ), or a feature map φ(x).
Sigma (lowercase) 10 uses
Either the sigmoid function σ(z) = 1/(1+e⁻ᶻ) or a standard deviation. The context decides.
Pi 10 uses
A policy π(a | s) in reinforcement learning, or the constant 3.14159…
Mu 9 uses
A mean: the average of a distribution, a batch, or a layer’s features.
Rho 5 uses
A correlation coefficient, a decay rate (RMSprop, Adadelta), or an importance ratio in RL.
Alpha 3 uses
Often a learning rate or step size; also attention weights αᵢⱼ or a mixing weight.
Epsilon 2 uses
A tiny constant for numerical safety (10⁻⁸ in Adam), or noise ε ~ 𝒩(0, I).
Vectors and matrices
Times (cross) 40 uses
Usually the “by” in a shape (n × d); also plain multiplication or a cross product.
- , ,
Transpose 10 uses
Swap rows and columns. xᵀy is a dot product; xyᵀ is an outer product.
Hadamard (elementwise) product 10 uses
Multiply two arrays of the same shape entry by entry.
- , ,
Inverse 9 uses
The matrix inverse, A⁻¹A = I; for a function, its inverse function; for a number, 1/x.
Determinant 7 uses
A number from a square matrix: how much it scales volume. Zero means it is not invertible.
- ,
Centre dot 5 uses
A dot product between vectors, plain multiplication between numbers, or an empty slot f(·).
Absolute value (bars) 3 uses
Absolute value of a number; for a set, its size; for a matrix, sometimes its determinant.
Diag 2 uses
Build a diagonal matrix from a vector, or pull out the diagonal of a matrix.
Bold lowercase (vector) 2 uses
A bold lowercase letter is a vector: a list of numbers.
Bold uppercase (matrix) 1 use
A bold capital letter is a matrix (or a higher-order tensor).
Calculus and gradients
- , ,
Prime 18 uses
Either a derivative, f′(x), or simply "another one": x′ is a second sample, s′ the next state.
- , ,
Partial derivative 10 uses
A partial derivative: how one quantity changes when one input changes and the others are held fixed.
Probability and statistics
Probability p(x) 16 uses
A probability or probability density; p is usually the true or model distribution, q an approximation.
Exponential 8 uses
The exponential function eˣ, with e ≈ 2.718. Always positive.
Distributed as (tilde) 5 uses
“Is drawn from” or “is distributed as”: x ~ p means x is a sample from the distribution p.
Logarithm 3 uses
A logarithm, almost always the natural log (base e) in ML papers.
Semicolon (parameterized by) 2 uses
In p(x; θ), the semicolon separates the variable x from fixed parameters θ.
Indicator function 1 use
1 when the condition inside is true, 0 when it is false.
Functions and operators
- , ,
Arrow (maps to) 29 uses
Maps to (f: X → Y), tends to (x → 0), or implies (⇒).
- , ,
Fraction 15 uses
Division: the top divided by the bottom.
Composition (circle) 3 uses
Function composition: (f ∘ g)(x) = f(g(x)). Some papers use it for elementwise products.
Cosine 3 uses
The cosine function; in ML papers usually cosine similarity, a cosine schedule, or positional encodings.
Sine 3 uses
The sine function; in ML papers mostly inside positional encodings and rotary embeddings.
Cases (piecewise) 2 uses
A piecewise definition: the value on each line applies when that line’s condition holds.
Square root 1 use
The square root. In attention, dividing by √d_k keeps dot products at a sensible scale.
Product 1 use
Multiply the expression for every value of the index.
Assignment arrow 1 use
Assignment in an algorithm: replace the variable on the left with the value on the right.
Summation 1 use
Add up the expression for every value of the index, from the bottom limit to the top.
Logit and logits 1 use
The log-odds log(p/(1−p)), the inverse of the sigmoid; “logits” are the raw scores before a softmax.
Argmax 1 use
The input that makes the function largest, not the largest value itself.
Sets, shapes and definitions
Element of 7 uses
“Is in” or “belongs to”: x ∈ S says x is a member of the set S.
Set braces 5 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”.
If and only if 1 use
“If and only if”: each side implies the other, so they are true together or false together.
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
- Auto-Encoding Variational Bayes (VAE, 2013)
- 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)