Papers · Reinforcement learning and alignment · 2015
High-Dimensional Continuous Control Using Generalized Advantage Estimation
The notation of the GAE paper, explained: its 36 displayed equations, then every symbol it uses, grouped by category and shown the way the paper writes it.
Reading this paper
GAE: estimate the advantage in policy-gradient methods as an exponentially weighted sum of one-step errors, trading bias for variance with a single parameter .
is the temporal-difference error; the superscript is a label naming the value function used, not a power. Likewise labels the estimator by its two parameters. , though, is a real power.
Read from arXiv's HTML version: 36 displayed equations and 158 pieces of inline math. 53 symbols and constructs from the catalog, read as reinforcement learning.
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 →
- (21)Decode →
- (22)Decode →
- (23)Decode →
- (24)Decode →
- (25)Decode →
- (26)Decode →
- (27)Decode →
- (28)Decode →
- (29)Decode →
- (30)Decode →
- (31)Decode →
- Decode →
- (32)Decode →
- (33)Decode →
- Decode →
- Decode →
Symbols, by category
Most used first. The examples are written as the paper writes them.
Notation conventions
- , ,
Subscript (index or label) 502 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) 146 uses
Usually a power (x² = x·x), but a capital or a word up there is often just a label (W^Q).
- , ,
Italic letters (variables) 92 uses
A plain italic letter is a variable; conventions say what kind (x input, y target, W weights…).
- , ,
Hat (estimate) 43 uses
A hat marks an estimate or prediction: ŷ is the model’s guess for y.
- , ,
Superscript in parentheses 31 uses
An index in a superscript: x⁽ⁱ⁾ is the i-th training example, W⁽ˡ⁾ the weights of layer l. Not a power.
- , ,
Tilde accent 16 uses
A modified version of the variable: noisy, corrupted, proposed or intermediate.
Dots (ellipsis) 12 uses
“And so on”: continue the pattern.
Bar (mean) 2 uses
A bar usually marks an average: x̄ is the mean of the x values.
Multi-letter names 1 use
A run of italic letters like pos or model is usually one name, not a product of single letters.
Greek letters
Gamma 148 uses
The discount factor in reinforcement learning, or the learned scale in normalization layers.
Pi 103 uses
A policy π(a | s) in reinforcement learning, or the constant 3.14159…
Theta 73 uses
The model’s parameters: all of its weights and biases, as one collection.
Lambda 72 uses
Usually the strength of a regularization term; also eigenvalues.
- ,
Phi 38 uses
The parameters of a second model (often the encoder q_φ), or a feature map φ(x).
Delta (lowercase) 36 uses
A small change, or the error signal δ = ∂L/∂z in backpropagation.
Psi 5 uses
The parameters of a third network (after θ and φ), a feature map, or the digamma function ψ(x).
Chi 5 uses
Almost always χ², the chi-squared distribution or test.
Epsilon 5 uses
A tiny constant for numerical safety (10⁻⁸ in Adam), or noise ε ~ 𝒩(0, I).
Sigma (lowercase) 4 uses
Either the sigmoid function σ(z) = 1/(1+e⁻ᶻ) or a standard deviation. The context decides.
Alpha 4 uses
Often a learning rate or step size; also attention weights αᵢⱼ or a mixing weight.
Rho 1 use
A correlation coefficient, a decay rate (RMSprop, Adadelta), or an importance ratio in RL.
Vectors and matrices
- , ,
Norm 10 uses
The length (size) of a vector. With subscript 2 or none, the Euclidean length √(Σxᵢ²).
Centre dot 5 uses
A dot product between vectors, plain multiplication between numbers, or an empty slot f(·).
- , ,
Transpose 4 uses
Swap rows and columns. xᵀy is a dot product; xyᵀ is an outer product.
Bold lowercase (vector) 2 uses
A bold lowercase letter is a vector: a list of numbers.
- ,
Inverse 2 uses
The matrix inverse, A⁻¹A = I; for a function, its inverse function; for a number, 1/x.
Times (cross) 2 uses
Usually the “by” in a shape (n × d); also plain multiplication or a cross product.
Calculus and gradients
Infinity 94 uses
Infinity; as a norm subscript, ‖x‖_∞ is the largest absolute entry.
- , ,
Nabla (gradient) 26 uses
The gradient: the vector of partial derivatives. ∇_θ L is how the loss changes with each parameter.
- ,
Prime 7 uses
Either a derivative, f′(x), or simply "another one": x′ is a second sample, s′ the next state.
Probability and statistics
Given (conditional bar) 38 uses
“Given”: p(y | x) is the probability of y given that x is known.
- , ,
Expectation 36 uses
The expected value: the average of what is inside, weighted by the probabilities in the subscript.
Logarithm 24 uses
A logarithm, almost always the natural log (base e) in ML papers.
Semicolon (parameterized by) 3 uses
In p(x; θ), the semicolon separates the variable x from fixed parameters θ.
Entropy and cross-entropy 2 uses
H(p) is the entropy of a distribution: its average surprise. H(p, q) is the cross-entropy.
- ,
KL divergence 2 uses
How different distribution q is from p. Zero when they match; not symmetric.
Distributed as (tilde) 2 uses
“Is drawn from” or “is distributed as”: x ~ p means x is a sample from the distribution p.
Probability p(x) 2 uses
A probability or probability density; p is usually the true or model distribution, q an approximation.
Proportional to 1 use
Equal up to a constant factor that does not depend on the variable of interest.
Functions and operators
- ,
Arrow (maps to) 94 uses
Maps to (f: X → Y), tends to (x → 0), or implies (⇒).
- , ,
Summation 44 uses
Add up the expression for every value of the index, from the bottom limit to the top.
- , ,
Fraction 16 uses
Division: the top divided by the bottom.
Reinforcement learning
- ,
State s and action a 327 uses
sₜ is the state at step t, aₜ the action taken there; s′ is the next state.
Value function V 108 uses
V(s) is how much total discounted reward to expect from state s onward.
Advantage A 63 uses
A(s, a) = Q − V: how much better action a is than the policy’s average action in state s.
Reward r 47 uses
rₜ is the reward received at step t; R(s, a) is the reward function that hands it out.
Action-value function Q 33 uses
Q(s, a) is the expected total reward from taking action a in state s, then following the policy.
State and action spaces 1 use
𝒮 is the set of all states and 𝒜 the set of all actions in a Markov decision process.
Sets, shapes and definitions
- , ,
Inequalities 16 uses
Less than / greater than (or equal). ≪ means “much smaller than”.
Element of 10 uses
“Is in” or “belongs to”: x ∈ S says x is a member of the set S.
Approximately equal 4 uses
Approximately equal: often a Monte Carlo estimate or a Taylor approximation.
- , ,
Set braces 3 uses
A set: a collection of items. {x | condition} is every x that satisfies the condition.
Real numbers (ℝ) and shapes 1 use
The real numbers. ℝⁿˣᵈ is the set of n × d arrays of reals: it states a shape.
12 things the catalog has no entry for yet
-
\vcentcolon19 -
\minimize5 -
GAE4 -
\rm4 -
seconds2 -
GAE(\gamma,\lambda)1 -
timestep1 -
timesteps1 -
batches1 -
day1 -
days1 -
\dim1
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 reinforcement learning and alignment papers
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model (DPO, 2023)
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models (GRPO, 2024)
- Trust Region Policy Optimization (TRPO, 2015)
- Continuous control with deep reinforcement learning (DDPG, 2015)
- Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor (SAC, 2018)