NEW
Also known as: TRPO
A policy gradient algorithm that constrains updates within a trust region to ensure stable, monotonic policy improvement.
DESCRIPTION
TRPO optimizes a policy under a constraint on the KL divergence between successive policies, preventing overly large updates that destabilize learning. It uses a conjugate gradient method and line search to solve the constrained optimization efficiently. TRPO is on-policy and often paired with advantage estimation. PPO was introduced as a simpler, computationally lighter alternative while maintaining stability.
ALTERNATIVE DEFINITIONS
Schulman, Levine, et al.
We propose a policy optimization algorithm, TRPO, which ensures monotonic improvement by restricting each policy update to a trust region measured by KL divergence.
Original paper emphasizing monotonic improvement and KL-based trust region.
OpenAI Spinning Up
TRPO is a policy gradient method that uses a trust region (via a KL divergence constraint) to avoid destructively large updates and improve stability.
Educational overview stressing stability benefits and implementation details.
Stable-Baselines3
Trust Region Policy Optimization (TRPO) is an on-policy algorithm that uses a KL constraint to ensure small policy updates for stable training.
Library documentation clarifying on-policy nature and practical usage.
RELATED TERMS
Policy Gradient Natural Policy Gradient KL Divergence Constraint Reinforcement Learning Actor-Critic Advantage Estimation On-Policy Learning Conjugate Gradient Line Search
COMPETING TERMS
RELATIONS
- Broader: Policy Optimization
KNOWLEDGE AREAS
TARGET AUDIENCE
AI Engineer Data Scientist MLOps Engineer Software Developer
EXTERNAL SOURCES
- Wikipedia - Trust region policy optimization
- arXiv - Original TRPO paper
- OpenAI - Educational guide to TRPO
- Berkeley Deep RL - Course with TRPO lectures
TOP QUESTIONS
What problem does Trust Region Policy Optimization solve?
It prevents destabilizing policy updates in policy gradient methods by constraining changes within a trust region measured by KL divergence.
Category: Definition
Why is TRPO considered stable?
The KL constraint bounds updates, promoting monotonic improvement and reducing catastrophic policy shifts.
Category: Relevancy
How does TRPO differ from PPO?
PPO uses surrogate objectives with clipping to approximate the trust region, offering similar stability with simpler implementation and lower computational cost.
Category: Alternatives
What are TRPO’s computational requirements?
It relies on conjugate gradient and line search, making it heavier than PPO and requiring on-policy sampling.
Category: Requirements
What are common implementation mistakes with TRPO?
Incorrect KL constraint handling, poor advantage estimation, and insufficient line search steps can harm stability.
Category: Mistakes
Where is TRPO typically applied?
Continuous control tasks, robotics, and environments where stability of updates is critical.
Category: Topic
What are risks of using TRPO in production?
Higher compute costs and on-policy sample inefficiency can limit scalability versus off-policy methods.
Category: Risks
How to tune TRPO effectively?
Calibrate the KL target, step size, and advantage estimators; ensure proper normalization and sufficient batch sizes.
Category: Requirements
Is TRPO outdated compared to PPO?
TRPO remains instructive, but PPO often supersedes it in practice due to simplicity and comparable performance.
Category: Opinion