Reinforcement Learning Final Exam Revision: Key Concepts and Algorithms

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/43

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering core concepts, algorithms, and mathematical formulations for Reinforcement Learning (Chapters 6, 7, 9–14).

44 Terms

1
New cards

Value Function Approximation (VFA)

A technique used when tabular reinforcement learning fails in large or continuous state spaces due to memory limits and lack of generalization, parameterizing value functions using a weight vector ww such that v^(s,w)≈vπ(s)\hat{v}(s, w) \approx v_\pi(s) and q^(s,a,w)≈qπ(s,a)\hat{q}(s, a, w) \approx q_\pi(s, a).

2
New cards

Stochastic Gradient Descent (SGD) in VFA

An optimization approach that minimizes the Mean Squared Value Error J(w)=Eπ[(vπ(S)−v^(S,w))2]J(w) = \mathbb{E}_\pi[(v_\pi(S) - \hat{v}(S, w))^2] using the general update rule Δw=α[Ut−v^(St,w)]∇wv^(St,w)\Delta w = \alpha [U_t - \hat{v}(S_t, w)] \nabla_w \hat{v}(S_t, w).

3
New cards

Linear Value Function Approximation

A form of value function approximation where the value estimate is a linear combination of features v^(s,w)=x(s)⊤w\hat{v}(s, w) = x(s)^\top w, yielding a gradient of ∇wv^(s,w)=x(s)\nabla_w \hat{v}(s, w) = x(s).

4
New cards

Semi-Gradient Methods

Reinforcement learning methods using bootstrapped targets (such as TD(0)\text{TD}(0), SARSA, and Q-Learning) that depend on the parameter vector ww, but intentionally ignore the gradient through the target during updates.

5
New cards

The Deadly Triad

The combination of three elements that can cause instability and divergence in reinforcement learning: (1) Function Approximation, (2) Bootstrapping, and (3) Off-Policy Learning.

6
New cards

Experience Replay

A Deep Q-Network stabilization technique that stores observed transitions and samples from them to break temporal correlations and improve sample efficiency.

7
New cards

Target Network (w−w^-)

A separate parameter network used in Deep Q-Networks to compute target values, designed to stabilize moving targets during training.

8
New cards

Double DQN

An extension of DQN that eliminates maximization bias (overestimation) by decoupling action selection via the online network ww from action evaluation via the target network w−w^-, using the target YtDoubleQ=Rt+1+γQ(St+1,arg⁡max⁡aQ(St+1,a;wt);wt−)Y_t^{\text{DoubleQ}} = R_{t+1} + \gamma Q(S_{t+1}, \arg\max_a Q(S_{t+1}, a; w_t); w_t^-).

9
New cards

Gorila DQN

General Reinforcement Learning Architecture; a distributed DQN framework featuring parallel actors, distributed replay memory, and parallel learners updating a central parameter server.

10
New cards

Prioritized Experience Replay (PER)

A replay mechanism that samples transitions proportional to their TD-error magnitude pi=∣δi∣+ϵp_i = |\delta_i| + \epsilon with probability P(i)=piα∑kpkαP(i) = \frac{p_i^\alpha}{\sum_k p_k^\alpha}, utilizing Importance Sampling (IS) weights wi=(1N⋅P(i))βw_i = \left(\frac{1}{N \cdot P(i)}\right)^\beta to correct for non-uniform sampling bias.

11
New cards

Dueling DQN

A network architecture that separates value estimation into a state-value stream V(s)V(s) and an advantage stream A(s,a)A(s, a), using mean subtraction for identifiability: Q(s,a;θ,α,β)=V(s;θ,β)+(A(s,a;θ,α)−1∣A∣∑a′A(s,a′;θ,α))Q(s, a; \theta, \alpha, \beta) = V(s; \theta, \beta) + \left(A(s, a; \theta, \alpha) - \frac{1}{|\mathcal{A}|} \sum_{a'} A(s, a'; \theta, \alpha)\right).

12
New cards

Distributional RL (C51)

An algorithm that models the complete return distribution Z(s,a)Z(s, a) rather than only its expectation E[Z(s,a)]=Q(s,a)\mathbb{E}[Z(s, a)] = Q(s, a), minimizing the Kullback-Leibler (KL) divergence between projected target and predicted distributions.

13
New cards

Noisy Nets

An exploration technique that replaces ϵ\epsilon-greedy exploration with learned parametric noise applied directly to network weights: y=(μw+σw⊙ϵw)x+μb+σb⊙ϵby = (\mu_w + \sigma_w \odot \epsilon_w)x + \mu_b + \sigma_b \odot \epsilon_b.

14
New cards

Rainbow

An integrated agent combining six extensions to DQN: Double DQN, Prioritized Experience Replay (PER), Dueling DQN, Multi-step returns, Distributional RL, and Noisy Nets.

15
New cards

Policy Gradient Theorem

A foundational theorem establishing the analytical gradient of the performance objective with respect to policy parameters: ∇θJ(θ)=Eπθ[∇θlog⁡(πθ(At∣St))Qπθ(St,At)]\nabla_\theta J(\theta) = \mathbb{E}_{\pi_\theta}[\nabla_\theta \log(\pi_\theta(A_t|S_t)) Q^{\pi_\theta}(S_t, A_t)].

16
New cards

Score Function

The gradient of the log-policy with respect to its parameters, written as ∇θlog⁡(πθ(a∣s))\nabla_\theta \log(\pi_\theta(a|s)).

17
New cards

REINFORCE

A Monte-Carlo policy gradient algorithm that updates parameters using the full episode return GtG_t as an unbiased estimate of Qπθ(St,At)Q^{\pi_\theta}(S_t, A_t) via θ←θ+αγtGt∇θlog⁡(πθ(At∣St))\theta \leftarrow \theta + \alpha \gamma^t G_t \nabla_\theta \log(\pi_\theta(A_t|S_t)), exhibiting high variance and slow learning.

18
New cards

REINFORCE with Baseline

An extension of REINFORCE that subtracts a state-dependent baseline b(St)b(S_t) (typically Vw(St)V_w(S_t)) from the return to reduce variance without introducing bias: θ←θ+αγt[Gt−b(St)]∇θlog⁡(πθ(At∣St))\theta \leftarrow \theta + \alpha \gamma^t [G_t - b(S_t)] \nabla_\theta \log(\pi_\theta(A_t|S_t)).

19
New cards

Actor-Critic

A reinforcement learning architecture replacing the full return GtG_t with a learned Critic (QwQ_w or VwV_w) via bootstrapping, where the Actor (θ\theta) updates policy parameters in the direction suggested by the critic, and the Critic (ww) updates value parameters via TD learning.

20
New cards

Advantage Actor-Critic

An Actor-Critic method that estimates the advantage function A(s,a)=Q(s,a)−V(s)A(s, a) = Q(s, a) - V(s) using the TD error δt=Rt+1+γVw(St+1)−Vw(St)\delta_t = R_{t+1} + \gamma V_w(S_{t+1}) - V_w(S_t) as an unbiased estimate.

21
New cards

Asynchronous Advantage Actor-Critic (A3C)

An algorithm that runs multiple parallel worker agents on separate environment instances, asynchronously pushing gradient updates to a shared global network while replacing experience replay to decorrelate data.

22
New cards

Advantage Actor-Critic (A2C)

A synchronous, deterministic version of A3C where a central coordinator waits for all parallel workers to finish before averaging gradients and updating the global network, improving GPU utilization.

23
New cards

Entropy Regularization

The addition of an entropy penalty term βH(πθ(⋅∣s))\beta H(\pi_\theta(\cdot|s)) to the objective function to discourage premature convergence and promote action exploration.

24
New cards

Trust Region Policy Optimization (TRPO)

A policy optimization algorithm that avoids destructive updates by maximizing a surrogate objective subject to a KL-divergence trust-region constraint: max⁡θEt[πθ(at∣st)πθold(at∣st)A^t]\max_\theta \mathbb{E}_t \left[ \frac{\pi_\theta(a_t|s_t)}{\pi_{\theta_{\text{old}}}(a_t|s_t)} \hat{A}_t \right] subject to Et[DKL(πθold(⋅∣st)∥πθ(⋅∣st))]≤δ\mathbb{E}_t[D_{\text{KL}}(\pi_{\theta_{\text{old}}}(\cdot|s_t) \parallel \pi_\theta(\cdot|s_t))] \le \delta.

25
New cards

Proximal Policy Optimization (PPO)

A first-order policy gradient algorithm achieving TRPO-like stability using a clipped surrogate objective: LCLIP(θ)=Et[min⁡(rt(θ)A^t,clip(rt(θ),1−ϵ,1+ϵ)A^t)]L^{\text{CLIP}}(\theta) = \mathbb{E}_t[\min(r_t(\theta)\hat{A}_t, \text{clip}(r_t(\theta), 1 - \epsilon, 1 + \epsilon)\hat{A}_t)], where rt(θ)=πθ(at∣st)πθold(at∣st)r_t(\theta) = \frac{\pi_\theta(a_t|s_t)}{\pi_{\theta_{\text{old}}}(a_t|s_t)}.

26
New cards

Model-Based RL

An approach that learns an environment model M=(P,R)M = (P, R) (dynamics St+1∼P(s′∣s,a)S_{t+1} \sim P(s'|s, a) and rewards Rt+1=R(s,a)R_{t+1} = R(s, a)) using supervised learning, subsequently using planning to deduce a policy, subject to two sources of error: model error and value/policy error.

27
New cards

Dyna-Q

An integrated architecture that simultaneously combines Direct RL (updating Q(S,A)Q(S, A) from real experience), Model Learning (updating model M(S,A)←(R,S′)M(S, A) \leftarrow (R, S')), and Planning (sampling previously seen (S,A)(S, A), querying the model, and executing Q-learning updates nn times).

28
New cards

Monte Carlo Tree Search (MCTS)

A simulation-based search algorithm that plans forward from current state sts_t by constructing a search tree over simulated episodes through four phases: Selection, Expansion, Simulation (Rollout), and Backpropagation.

29
New cards

Upper Confidence Bounds for Trees (UCT)

A tree selection policy used in MCTS to balance exploitation and exploration when selecting actions: a∗=arg⁡max⁡a[Q(s,a)+cln⁡(N(s))N(s,a)]a^* = \arg\max_a \left[ Q(s, a) + c \sqrt{\frac{\ln(N(s))}{N(s, a)}} \right].

30
New cards

PUCT Formula

The search selection rule utilized in AlphaGo and AlphaGo Zero: at=arg⁡max⁡a[Q(st,a)+cpuctP(st,a)∑bN(st,b)1+N(st,a)]a_t = \arg\max_a \left[ Q(s_t, a) + c_{\text{puct}} P(s_t, a) \frac{\sqrt{\sum_b N(s_t, b)}}{1 + N(s_t, a)} \right].

31
New cards

AlphaGo (2016)

A Go-playing system trained on human expert games (supervised learning) and self-play (RL) using hand-crafted board features, separate policy networks, a value network, and fast rollouts paired with value network evaluations.

32
New cards

AlphaGo Zero (2017)

A Go-playing system trained entirely via self-play from scratch without human data, taking raw board states as input to a single dual-headed ResNet fθ(s)=(p,v)f_\theta(s) = (p, v) that predicts move probabilities and win values without MCTS rollouts.

33
New cards

Behavioral Cloning (BC)

An imitation learning method treating policy learning as supervised learning on expert demonstrations min⁡θE(s,a)∼D[L(πθ(s),a)]\min_\theta \mathbb{E}_{(s, a) \sim \mathcal{D}}[L(\pi_\theta(s), a)], susceptible to covariate shift where errors compound quadratically at O(ϵT2)O(\epsilon T^2).

34
New cards

Covariate Shift

The phenomenon in Behavioral Cloning where small execution errors push an agent into unseen states outside the demonstration distribution, resulting in compounding errors over time.

35
New cards

Dataset Aggregation (DAgger)

An iterative imitation learning algorithm addressing covariate shift by executing policy πi\pi_i, obtaining expert labels on visited states, aggregating the samples into dataset D\mathcal{D}, and retraining πi+1\pi_{i+1}, reducing compounding error to O(ϵT)O(\epsilon T).

36
New cards

Inverse Reinforcement Learning (IRL)

An imitation learning paradigm that infers the hidden reward function R∗(s,a)R^*(s, a) explaining expert behavior to then run RL, resolving reward ambiguity via Maximum Margin or Maximum Entropy IRL.

37
New cards

Generative Adversarial Imitation Learning (GAIL)

A model-free method that matches the state-action occupancy measure between an agent and an expert without recovering a reward function, formulating a minimax game: min⁡πmax⁡D∈(0,1)S×AEπ[log⁡(D(s,a))]+EπE[log⁡(1−D(s,a))]−λH(π)\min_\pi \max_{D \in (0, 1)^{\mathcal{S} \times \mathcal{A}}} \mathbb{E}_\pi[\log(D(s, a))] + \mathbb{E}_{\pi_E}[\log(1 - D(s, a))] - \lambda H(\pi).

38
New cards

Total Regret

The cumulative opportunity loss of an agent over TT steps: LT=∑t=1TE[V∗−Q(at)]=∑a∈AE[NT(a)]ΔaL_T = \sum_{t=1}^T \mathbb{E}[V^* - Q(a_t)] = \sum_{a \in \mathcal{A}} \mathbb{E}[N_T(a)] \Delta_a, where Δa=V∗−Q(a)\Delta_a = V^* - Q(a) represents the action gap.

39
New cards

UCB1

A bandit algorithm embodying optimism in the face of uncertainty by selecting at=arg⁡max⁡a[Q^t(a)+2ln⁡(t)Nt(a)]a_t = \arg\max_a \left[ \hat{Q}_t(a) + \sqrt{\frac{2 \ln(t)}{N_t(a)}} \right], matching the Lai & Robbins lower bound with logarithmic asymptotic regret O(ln⁡(T))O(\ln(T)).

40
New cards

Intrinsic Curiosity Module (ICM)

An exploration system that learns feature embeddings ϕ(st)\phi(s_t) via an Inverse Dynamics Model to ignore uncontrollable noise, setting the intrinsic reward as the Forward Dynamics Model prediction error: rtint=η2∥ϕ^(st+1)−ϕ(st+1)∥22r_t^{\text{int}} = \frac{\eta}{2} \| \hat{\phi}(s_{t+1}) - \phi(s_{t+1}) \|_2^2.

41
New cards

Random Network Distillation (RND)

An exploration method that measures lifelong state novelty via distillation error rtint=∥f^θ(st+1)−f(st+1)∥22r_t^{\text{int}} = \| \hat{f}_\theta(s_{t+1}) - f(s_{t+1}) \|_2^2 between a trained predictor network f^θ(s)\hat{f}_\theta(s) and a fixed, randomly initialized target network f(s)f(s).

42
New cards

Recurrent Replay Distributed DQN (R2D2)

A distributed DQN architecture using LSTM/recurrent networks that stores trajectories in prioritized replay and handles recurrent state initialization using burn-in and invertible value scaling.

43
New cards

Never Give Up (NGU)

An exploration architecture combining episodic novelty (rtepisodicr_t^{\text{episodic}} via kk-nearest neighbors) and lifelong novelty (αt\alpha_t via RND) into rtint=rtepisodic⋅min⁡(max⁡(αt,1),L)r_t^{\text{int}} = r_t^{\text{episodic}} \cdot \min(\max(\alpha_t, 1), L), training a family of policies across varied (βi,γi)(\beta_i, \gamma_i) pairs using a UVFA.

44
New cards

Agent57

An agent that extends NGU with separate value networks for extrinsic and intrinsic rewards and a non-stationary multi-armed bandit meta-controller to dynamically select (βi,γi)(\beta_i, \gamma_i) policies, becoming the first agent to exceed human benchmarks on all 57 Atari games.