TRPO — Talks, Press, and Discussion

Press & Blog Coverage

  1. Trust Region Policy Optimization, OpenAI Spinning Up. An explanation of TRPO with pseudocode and an implementation.

  2. Proximal Policy Optimization, OpenAI, July 2017. Names TRPO among earlier methods that constrain the size of a policy update, and notes that TRPO is not easily compatible with networks that share parameters between the policy and value function.

  3. TRPO, Stable Baselines documentation. A library implementation of the algorithm.

  4. Trust Region Policy Optimization, ICML 2015 proceedings (PMLR volume 37).

Q&A (answers from the paper)

Q1: What does the theory guarantee? A: The new policy’s return is at least the surrogate objective minus a penalty C times the largest KL divergence between the old and new policies. Maximizing this bound at each step gives a policy that never gets worse (Section 3, Theorem 1, Algorithm 1).

Q2: Why use a constraint instead of the penalty? A: With the penalty coefficient from the theory, the steps would be very small. A limit on the KL divergence, a trust region, allows larger steps in a robust way (Section 4).

Q3: Why the average KL instead of the maximum? A: The maximum over all states is impractical to constrain because there are so many states, so the paper uses the average KL as a heuristic approximation. On cart-pole, the average-KL constraint had a similar effect to the maximum (Sections 4 and 8.1).

Q4: What are “single path” and “vine”? A: Single path uses whole trajectories from the policy. Vine picks states along trajectories and runs several short rollouts from each, which gives lower-variance estimates but needs many more simulator calls and the ability to reset the simulator to a chosen state (Section 5).

Q5: How is the step computed? A: Conjugate gradient approximately solves A x = g using Fisher-vector products, without forming the Fisher matrix A. The step is scaled so the quadratic KL estimate equals δ, then a line search shrinks it until the objective improves and the KL limit holds (Appendix C). k = 10 conjugate-gradient iterations was quite effective (Appendix C.1).

Q6: How did it compare with natural policy gradient? A: Natural gradient uses a fixed penalty coefficient instead of the KL constraint. It did well on the two easier problems but could not learn hopping and walking gaits that moved forward, while single-path and vine TRPO solved all the tasks (Section 8.1, Figure 4).

Common Misconceptions

  1. “TRPO is just natural policy gradient.” Natural gradient uses a fixed penalty coefficient; TRPO chooses the step from a KL constraint and checks it with a line search (Sections 7 and 8.1).

  2. “TRPO needs GAE.” The paper estimates advantages from Monte Carlo rollouts (Section 5). GAE came from a later paper by the same first author; this repo’s notebook uses it as a simplification.

  3. “The theory guarantees every TRPO update helps.” The guarantee is for the penalised objective (Algorithm 1). The practical algorithm makes approximations that depart from the theory, though it tended to improve monotonically in the experiments (Abstract, Section 4).

  4. “TRPO was best on Atari.” It beat prior methods only on some games, but got reasonable scores on all seven with one network and one set of settings (Section 8.2, Table 1).

Real Citations

  1. Schulman, J., Levine, S., Moritz, P., Jordan, M. I., & Abbeel, P. (2015). Trust Region Policy Optimization. ICML 2015. arXiv:1502.05477

  2. Kakade, S., & Langford, J. (2002). Approximately Optimal Approximate Reinforcement Learning. ICML 2002. The proof of Theorem 1 adapts techniques from this paper (Appendix A).

  3. Kakade, S. (2002). A Natural Policy Gradient. NIPS 2002. The natural gradient method TRPO is compared with (Sections 7 and 8.1).

  4. Mnih, V., et al. (2013). Playing Atari with Deep Reinforcement Learning. arXiv:1312.5602 The Atari baseline and preprocessing used in Section 8.2.

  5. Schulman, J., Wolski, F., Dhariwal, P., Radford, A., & Klimov, O. (2017). Proximal Policy Optimization Algorithms. arXiv:1707.06347 A later method by the same first author that keeps updates small with a clipped objective.

Citation count: about 8,400 (OpenAlex, 8,370 when checked on 3 December 2026).