Papers · Reinforcement learning and alignment · 2015
Continuous control with deep reinforcement learning
The notation of the DDPG paper, explained: its 10 displayed equations, then every symbol it uses, grouped by category and shown the way the paper writes it.
Read from arXiv's HTML version: 10 displayed equations and 92 pieces of inline math. 40 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.
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) 119 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) 62 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) 39 uses
A plain italic letter is a variable; conventions say what kind (x input, y target, W weights…).
- ,
Calligraphic letters 2 uses
A script capital usually names a set, a space, a distribution or a loss.
Superscript in parentheses 1 use
An index in a superscript: x⁽ⁱ⁾ is the i-th training example, W⁽ˡ⁾ the weights of layer l. Not a power.
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
Mu 43 uses
A mean: the average of a distribution, a batch, or a layer’s features.
Theta 43 uses
The model’s parameters: all of its weights and biases, as one collection.
Pi 12 uses
A policy π(a | s) in reinforcement learning, or the constant 3.14159…
Tau 8 uses
A temperature that sharpens or flattens a softmax; in RL, a trajectory.
Gamma 7 uses
The discount factor in reinforcement learning, or the learned scale in normalization layers.
Beta 6 uses
Usually a decay rate (Adam’s β₁, β₂), a shift parameter in normalization, or a weight on a loss term.
Rho 5 uses
A correlation coefficient, a decay rate (RMSprop, Adadelta), or an importance ratio in RL.
Sigma (lowercase) 1 use
Either the sigmoid function σ(z) = 1/(1+e⁻ᶻ) or a standard deviation. The context decides.
Vectors and matrices
Times (cross) 4 uses
Usually the “by” in a shape (n × d); also plain multiplication or a cross product.
Absolute value (bars) 2 uses
Absolute value of a number; for a set, its size; for a matrix, sometimes its determinant.
Calculus and gradients
- , ,
Prime 22 uses
Either a derivative, f′(x), or simply "another one": x′ is a second sample, s′ the next state.
- , ,
Nabla (gradient) 7 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
Given (conditional bar) 22 uses
“Given”: p(y | x) is the probability of y given that x is known.
Distributed as (tilde) 12 uses
“Is drawn from” or “is distributed as”: x ~ p means x is a sample from the distribution p.
- , ,
Expectation 8 uses
The expected value: the average of what is inside, weighted by the probabilities in the subscript.
Normal distribution 5 uses
The normal (Gaussian) distribution with the given mean and variance.
Probability p(x) 5 uses
A probability or probability density; p is usually the true or model distribution, q an approximation.
Functions and operators
Assignment arrow 6 uses
Assignment in an algorithm: replace the variable on the left with the value on the right.
- ,
Fraction 4 uses
Division: the top divided by the bottom.
- ,
Summation 3 uses
Add up the expression for every value of the index, from the bottom limit to the top.
- ,
Arrow (maps to) 2 uses
Maps to (f: X → Y), tends to (x → 0), or implies (⇒).
Square root 2 uses
The square root. In attention, dividing by √d_k keeps dot products at a sensible scale.
Argmax 1 use
The input that makes the function largest, not the largest value itself.
Hyperbolic tangent 1 use
An S-shaped activation squashing any number into (−1, 1).
Reinforcement learning
- ,
State s and action a 122 uses
sₜ is the state at step t, aₜ the action taken there; s′ is the next state.
Action-value function Q 44 uses
Q(s, a) is the expected total reward from taking action a in state s, then following the policy.
- ,
Reward r 26 uses
rₜ is the reward received at step t; R(s, a) is the reward function that hands it out.
- ,
State and action spaces 5 uses
𝒮 is the set of all states and 𝒜 the set of all actions in a Markov decision process.
Objective J 4 uses
J(θ) is the objective: the quantity to maximize, such as the expected return of a policy.
Sets, shapes and definitions
- , ,
Inequalities 4 uses
Less than / greater than (or equal). ≪ means “much smaller than”.
Approximately equal 4 uses
Approximately equal: often a Monte Carlo estimate or a Taylor approximation.
Element of 3 uses
“Is in” or “belongs to”: x ∈ S says x is a member of the set S.
Set braces 1 use
A set: a collection of items. {x | condition} is every x that satisfies the condition.
2 things the catalog has no entry for yet
-
\dim6 -
\bf3
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)
- High-Dimensional Continuous Control Using Generalized Advantage Estimation (GAE, 2015)
- Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor (SAC, 2018)