Trust Region Policy Optimization

John Schulman, Sergey Levine, Philipp Moritz, Michael I. Jordan, Pieter Abbeel

2015 · ICML

Trust Region Policy Optimization

Problem

Framing

Policy-gradient updates were brittle: large steps collapsed performance, small steps wasted samples. TRPO closes this gap by maximizing a local surrogate under an explicit KL trust-region constraint, giving monotonic-improvement style guarantees and strong results on MuJoCo locomotion and Atari.

Currently Used Methods

Foundational

Proposed Method

Architecture

TRPO is an update rule, not a new policy network. The paper instantiates it with small MLP policies for locomotion and a convolutional network for Atari.

Verified figure: single-path sampling uses on-policy state-action pairs from sampled trajectories, while vine sampling branches multiple rollouts from selected trunk states.

Loss / Objective

The update maximizes a first-order surrogate while constraining average policy drift.

maxθLθold(θ)subject toDˉKLρθold(θold,θ)δ\max_{\theta} \, L_{\theta_{\mathrm{old}}}(\theta) \quad \text{subject to} \quad \bar{D}^{\rho_{\theta_{\mathrm{old}}}}_{\mathrm{KL}}(\theta_{\mathrm{old}},\theta) \le \delta Lθold(θ)=sρθold(s)aπθ(as)Aπθold(s,a)L_{\theta_{\mathrm{old}}}(\theta) = \sum_s \rho_{\theta_{\mathrm{old}}}(s) \sum_a \pi_{\theta}(a\mid s) A_{\pi_{\theta_{\mathrm{old}}}}(s,a)

Algorithm

TRPO solves the constrained step with a quadratic KL model, conjugate gradient, then backtracking line search.

maxθθLθold(θ)θ=θold(θθold)subject to12(θθold)A(θold)(θθold)δ\max_{\theta} \, \nabla_{\theta} L_{\theta_{\mathrm{old}}}(\theta)\big\rvert_{\theta=\theta_{\mathrm{old}}}^{\top}(\theta-\theta_{\mathrm{old}}) \quad \text{subject to} \quad \frac{1}{2}(\theta-\theta_{\mathrm{old}})^{\top} A(\theta_{\mathrm{old}})(\theta-\theta_{\mathrm{old}}) \le \delta Ax=gA x = g

Training Procedure

Evaluation

Datasets

Metrics

Headline results

Verified results plot: four locomotion learning curves comparing vine, single-path, natural gradient, CEM, CMA, and RWR on Cartpole, Swimmer, Hopper, and Walker.

Ablations

Method Strengths and Weaknesses

Strengths

Weaknesses

Suggestions from the authors

Links

Prior Papers

Further Papers