Papers · Generative models · 2014
Generative Adversarial NetsThanks: Sherjil Ozair is visiting Université de Montréal from Indian Institute of Technology DelhiThanks: Yoshua Bengio is a CIFAR Senior Fellow.
The notation of the GAN paper, explained: its 11 displayed equations, then every symbol it uses, grouped by category and shown the way the paper writes it.
Reading this paper
The GAN paper: a generator and a discriminator play a two-player game, .
Three distributions appear: (the real data), (the noise fed to the generator) and (what the generator produces). The subscripts are labels. is a probability, the discriminator's belief that is real, so and are the log-probabilities of judging right.
Read from arXiv's HTML version: 11 displayed equations and 72 pieces of inline math. 33 symbols and constructs from the catalog.
The paper's displayed equations
Open any of them in the decoder for a symbol-by-symbol reading.
Famous equations in this paper
Symbols, by category
Most used first. The examples are written as the paper writes them.
Notation conventions
- , ,
Italic letters (variables) 198 uses
A plain italic letter is a variable; conventions say what kind (x input, y target, W weights…).
- , ,
Subscript (index or label) 112 uses
A subscript picks an element (xᵢ), a time step (h_t), a named copy (W_q), or the parameters (p_θ).
- , ,
Star (optimal) 12 uses
As a superscript, the optimal value: θ* is the best θ. Between two terms, convolution.
- , ,
Superscript in parentheses 9 uses
An index in a superscript: x⁽ⁱ⁾ is the i-th training example, W⁽ˡ⁾ the weights of layer l. Not a power.
Dots (ellipsis) 3 uses
“And so on”: continue the pattern.
Greek letters
Theta 7 uses
The model’s parameters: all of its weights and biases, as one collection.
Alpha 6 uses
Often a learning rate or step size; also attention weights αᵢⱼ or a mixing weight.
Sigma (lowercase) 3 uses
Either the sigmoid function σ(z) = 1/(1+e⁻ᶻ) or a standard deviation. The context decides.
Beta 2 uses
Usually a decay rate (Adam’s β₁, β₂), a shift parameter in normalization, or a weight on a loss term.
Vectors and matrices
- , ,
Bold lowercase (vector) 100 uses
A bold lowercase letter is a vector: a list of numbers.
- ,
Norm 3 uses
The length (size) of a vector. With subscript 2 or none, the Euclidean length √(Σxᵢ²).
Centre dot 1 use
A dot product between vectors, plain multiplication between numbers, or an empty slot f(·).
Calculus and gradients
- ,
Integral 3 uses
An integral: a continuous sum. In ML it is usually an expectation or a marginalization.
- ,
Nabla (gradient) 2 uses
The gradient: the vector of partial derivatives. ∇_θ L is how the loss changes with each parameter.
Partial derivative 2 uses
A partial derivative: how one quantity changes when one input changes and the others are held fixed.
Probability and statistics
- ,
Probability p(x) 97 uses
A probability or probability density; p is usually the true or model distribution, q an approximation.
Logarithm 33 uses
A logarithm, almost always the natural log (base e) in ML papers.
Distributed as (tilde) 13 uses
“Is drawn from” or “is distributed as”: x ~ p means x is a sample from the distribution p.
- , ,
Expectation 12 uses
The expected value: the average of what is inside, weighted by the probabilities in the subscript.
Semicolon (parameterized by) 3 uses
In p(x; θ), the semicolon separates the variable x from fixed parameters θ.
- ,
Given (conditional bar) 3 uses
“Given”: p(y | x) is the probability of y given that x is known.
KL divergence 2 uses
How different distribution q is from p. Zero when they match; not symmetric.
Functions and operators
- , ,
Fraction 15 uses
Division: the top divided by the bottom.
Plus or minus 8 uses
Both signs at once: a ± b means a + b and a − b. In results tables, a mean and its spread.
- , ,
Max and min 6 uses
The largest (or smallest) value, over the arguments or over the range in the subscript.
Summation 2 uses
Add up the expression for every value of the index, from the bottom limit to the top.
Arrow (maps to) 1 use
Maps to (f: X → Y), tends to (x → 0), or implies (⇒).
Reinforcement learning
Objective J 1 use
J(θ) is the objective: the quantity to maximize, such as the expected return of a policy.
Sets, shapes and definitions
- , ,
Set braces 4 uses
A set: a collection of items. {x | condition} is every x that satisfies the condition.
Element of 4 uses
“Is in” or “belongs to”: x ∈ S says x is a member of the set S.
Tensor shapes 1 use
ℝ with a superscript of sizes joined by × declares an array’s shape: ℝ^{B×T×d} is a 3-axis tensor.
Set difference 1 use
A ∖ B: everything in A that is not in B.
Union and intersection 1 use
Union ∪: in either set. Intersection ∩: in both.
4 things the catalog has no entry for yet
-
\bullet5 -
\cal2 -
\arg1 -
\not1
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)
- 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)