> ## Documentation Index
> Fetch the complete documentation index at: https://aegean.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Proximal Policy Optimization (PPO)

> Proximal policy optimization.

![PPO actor-critic loop: query q enters the Policy Model, which generates output o evaluated by a frozen Reference Model (KL penalty), a frozen Reward Model, and a trainable Value Model; combined reward r and value estimate v feed into GAE to produce advantage A; dashed arcs show actor and critic gradient paths back to their respective models](https://mintcdn.com/aegeanaiinc/WNDPFdbxFiDHVImn/aiml-common/lectures/reinforcement-learning/policy-based-algorithms/PPO/images/ppo-loop.svg?fit=max\&auto=format\&n=WNDPFdbxFiDHVImn\&q=85\&s=4a41f7f62b4a3758ae59ac34003827ae)

*Editable Mermaid source: `images/ppo-loop.mermaid.md`*

[PPO talk](https://www.youtube.com/embed/8jtAzxUwDj0?start=583)

## Analytical Derivations

[PPO analytical derivations](https://www.youtube.com/embed/ycCtmp4hcUs)

## Further reading

* Huang et al. (2022) — [The 37 Implementation Details of Proximal Policy Optimization](https://iclr-blog-track.github.io/2022/03/25/ppo-implementation-details/) — a detailed walkthrough of every engineering choice needed to reproduce PPO results in practice

***

Found an error on this page? [Report an issue](https://github.com/aegean-ai/eaia-feedback/issues/new?template=page-issue.yml\&page=/aiml-common/lectures/reinforcement-learning/policy-based-algorithms/PPO).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.