Papers · Generative models · 2020
Score-Based Generative Modeling through Stochastic Differential Equations
The notation of the Score SDE paper, explained: its 73 displayed equations, then every symbol it uses, grouped by category and shown the way the paper writes it.
Reading this paper
Diffusion models as stochastic differential equations: noise the data with an SDE, then generate by solving the reverse-time SDE, which needs only the score .
reads: in a short time , drifts by and gets a random kick scaled by ; is Brownian motion. In the reverse SDE, is Brownian motion run backwards in time; the bar is not a mean. is the network that learns the score.
Read from arXiv's HTML version: 73 displayed equations and 296 pieces of inline math. 67 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 →
- (11)Decode →
- (12)Decode →
- (13)Decode →
- (14)Decode →
- (15)Decode →
- (16)Decode →
- (17)Decode →
- (18)Decode →
- (19)Decode →
- (20)Decode →
- Decode →
- (21)Decode →
- (22)Decode →
- (23)Decode →
- (24)Decode →
- (25)Decode →
- Decode →
- (26)Decode →
- (27)Decode →
- (28)Decode →
- (29)Decode →
- (30)Decode →
- (31)Decode →
- (32)Decode →
- (33)Decode →
- (34)Decode →
- Decode →
- (35)Decode →
- (36)Decode →
- Decode →
- (37)Decode →
- Decode →
- Decode →
- Decode →
- (38)Decode →
- (39)Decode →
- (40)Decode →
- Decode →
- (41)Decode →
- (42)Decode →
- Decode →
- (43)Decode →
- (44)Decode →
- Decode →
- (45)Decode →
- Decode →
- (46)Decode →
- Decode →
- Decode →
- Decode →
- Decode →
- Decode →
- (47)Decode →
- Decode →
- (48)Decode →
- (49)Decode →
- Decode →
- Decode →
- Decode →
- Decode →
- Decode →
- Decode →
- (50)Decode →
Symbols, by category
Most used first. The examples are written as the paper writes them.
Notation conventions
- , ,
Italic letters (variables) 848 uses
A plain italic letter is a variable; conventions say what kind (x input, y target, W weights…).
- , ,
Subscript (index or label) 793 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) 163 uses
Usually a power (x² = x·x), but a capital or a word up there is often just a label (W^Q).
- , ,
Bar (mean) 56 uses
A bar usually marks an average: x̄ is the mean of the x values.
- , ,
Star (optimal) 37 uses
As a superscript, the optimal value: θ* is the best θ. Between two terms, convolution.
- , ,
Tilde accent 34 uses
A modified version of the variable: noisy, corrupted, proposed or intermediate.
Dots (ellipsis) 29 uses
“And so on”: continue the pattern.
- ,
Hat (estimate) 14 uses
A hat marks an estimate or prediction: ŷ is the model’s guess for y.
Underbrace and overbrace 1 use
A horizontal brace under or over part of a formula labels that part. It adds no math.
Greek letters
Sigma (lowercase) 132 uses
Either the sigmoid function σ(z) = 1/(1+e⁻ᶻ) or a standard deviation. The context decides.
Beta 119 uses
Usually a decay rate (Adam’s β₁, β₂), a shift parameter in normalization, or a weight on a loss term.
Theta 84 uses
The model’s parameters: all of its weights and biases, as one collection.
Epsilon 45 uses
A tiny constant for numerical safety (10⁻⁸ in Adam), or noise ε ~ 𝒩(0, I).
Omega 45 uses
A frequency ω (positional encodings, Fourier features) or a weight; capital Ω is a regularizer, a sample space or big-Omega.
Delta (capital) 23 uses
A change or update: ΔW is the change to the weights W.
Sigma (capital) 18 uses
A covariance matrix, or the diagonal matrix of singular values in an SVD. Not the summation sign.
Alpha 17 uses
Often a learning rate or step size; also attention weights αᵢⱼ or a mixing weight.
Lambda 5 uses
Usually the strength of a regularization term; also eigenvalues.
Mu 5 uses
A mean: the average of a distribution, a batch, or a layer’s features.
Tau 4 uses
A temperature that sharpens or flattens a softmax; in RL, a trajectory.
Vectors and matrices
- , ,
Bold lowercase (vector) 1122 uses
A bold lowercase letter is a vector: a list of numbers.
- ,
Bold uppercase (matrix) 96 uses
A bold capital letter is a matrix (or a higher-order tensor).
Identity matrix 48 uses
The matrix with 1s on the diagonal and 0s elsewhere; multiplying by it changes nothing.
- ,
Centre dot 37 uses
A dot product between vectors, plain multiplication between numbers, or an empty slot f(·).
Times (cross) 22 uses
Usually the “by” in a shape (n × d); also plain multiplication or a cross product.
- , ,
Norm 17 uses
The length (size) of a vector. With subscript 2 or none, the Euclidean length √(Σxᵢ²).
- ,
Transpose 3 uses
Swap rows and columns. xᵀy is a dot product; xyᵀ is an outer product.
Dagger / pseudo-inverse 3 uses
The Moore–Penrose pseudo-inverse A⁺ (written A† in many ML papers); in physics, the conjugate transpose.
Calculus and gradients
Derivative (d/dx) 97 uses
An ordinary derivative: the rate of change of one quantity with respect to one variable.
- , ,
Nabla (gradient) 78 uses
The gradient: the vector of partial derivatives. ∇_θ L is how the loss changes with each parameter.
- , ,
Partial derivative 22 uses
A partial derivative: how one quantity changes when one input changes and the others are held fixed.
- , ,
Integral 16 uses
An integral: a continuous sum. In ML it is usually an expectation or a marginalization.
Infinity 15 uses
Infinity; as a norm subscript, ‖x‖_∞ is the largest absolute entry.
- ,
Prime 7 uses
Either a derivative, f′(x), or simply "another one": x′ is a second sample, s′ the next state.
- ,
Limit 4 uses
The value an expression approaches as a variable approaches something.
Probability and statistics
- ,
Probability p(x) 205 uses
A probability or probability density; p is usually the true or model distribution, q an approximation.
- ,
Given (conditional bar) 106 uses
“Given”: p(y | x) is the probability of y given that x is known.
Logarithm 62 uses
A logarithm, almost always the natural log (base e) in ML papers.
Distributed as (tilde) 37 uses
“Is drawn from” or “is distributed as”: x ~ p means x is a sample from the distribution p.
Normal distribution 35 uses
The normal (Gaussian) distribution with the given mean and variance.
- , ,
Expectation 23 uses
The expected value: the average of what is inside, weighted by the probabilities in the subscript.
Semicolon (parameterized by) 17 uses
In p(x; θ), the semicolon separates the variable x from fixed parameters θ.
- , ,
Exponential 13 uses
The exponential function eˣ, with e ≈ 2.718. Always positive.
Proportional to 4 uses
Equal up to a constant factor that does not depend on the variable of interest.
Covariance 4 uses
How two random quantities vary together; positive when they rise together.
- ,
KL divergence 2 uses
How different distribution q is from p. Zero when they match; not symmetric.
Uniform distribution 1 use
𝒰(a, b) is the uniform distribution: every value between a and b is equally likely.
Functions and operators
- , ,
Fraction 76 uses
Division: the top divided by the bottom.
- ,
Max and min 58 uses
The largest (or smallest) value, over the arguments or over the range in the subscript.
- , ,
Square root 50 uses
The square root. In attention, dividing by √d_k keeps dot products at a sensible scale.
Plus or minus 43 uses
Both signs at once: a ± b means a + b and a − b. In results tables, a mean and its spread.
- , ,
Arrow (maps to) 41 uses
Maps to (f: X → Y), tends to (x → 0), or implies (⇒).
- , ,
Summation 28 uses
Add up the expression for every value of the index, from the bottom limit to the top.
Assignment arrow 20 uses
Assignment in an algorithm: replace the variable on the left with the value on the right.
Argmin 4 uses
The input that makes the function smallest: θ* = argmin L(θ) is the best parameter setting.
- ,
Product 3 uses
Multiply the expression for every value of the index.
Cases (piecewise) 1 use
A piecewise definition: the value on each line applies when that line’s condition holds.
Floor and ceiling 1 use
Round down (floor ⌊x⌋) or round up (ceiling ⌈x⌉) to a whole number.
Sets, shapes and definitions
- , ,
Set braces 42 uses
A set: a collection of items. {x | condition} is every x that satisfies the condition.
- , ,
Inequalities 21 uses
Less than / greater than (or equal). ≪ means “much smaller than”.
Element of 19 uses
“Is in” or “belongs to”: x ∈ S says x is a member of the set S.
Approximately equal 17 uses
Approximately equal: often a Monte Carlo estimate or a Taylor approximation.
- ,
Defined as (:=) 11 uses
“Is defined as”: introduces a new name for the expression on the other side.
- , ,
Tensor shapes 11 uses
ℝ with a superscript of sizes joined by × declares an array’s shape: ℝ^{B×T×d} is a 3-axis tensor.
Real numbers (ℝ) and shapes 3 uses
The real numbers. ℝⁿˣᵈ is the set of n × d arrays of reals: it states a shape.
Not equal 2 uses
The two sides are different.
Identically equal 1 use
Identically equal (for every input), or “defined as”, depending on the author.
7 things the catalog has no entry for yet
\mkern\mkern31-
\}3 -
\downarrow3 -
\uparrow1 -
\preccurlyeq1 -
Predictor1 -
Corrector1
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)
- 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)