{ "id": "2005.12729", "version": "v1", "published": "2020-05-25T16:24:59.000Z", "updated": "2020-05-25T16:24:59.000Z", "title": "Implementation Matters in Deep Policy Gradients: A Case Study on PPO and TRPO", "authors": [ "Logan Engstrom", "Andrew Ilyas", "Shibani Santurkar", "Dimitris Tsipras", "Firdaus Janoos", "Larry Rudolph", "Aleksander Madry" ], "comment": "ICLR 2020 version. arXiv admin note: text overlap with arXiv:1811.02553", "categories": [ "cs.LG", "cs.RO", "stat.ML" ], "abstract": "We study the roots of algorithmic progress in deep policy gradient algorithms through a case study on two popular algorithms: Proximal Policy Optimization (PPO) and Trust Region Policy Optimization (TRPO). Specifically, we investigate the consequences of \"code-level optimizations:\" algorithm augmentations found only in implementations or described as auxiliary details to the core algorithm. Seemingly of secondary importance, such optimizations turn out to have a major impact on agent behavior. Our results show that they (a) are responsible for most of PPO's gain in cumulative reward over TRPO, and (b) fundamentally change how RL methods function. These insights show the difficulty and importance of attributing performance gains in deep reinforcement learning. Code for reproducing our results is available at https://github.com/MadryLab/implementation-matters .", "revisions": [ { "version": "v1", "updated": "2020-05-25T16:24:59.000Z" } ], "analyses": { "keywords": [ "case study", "implementation matters", "deep policy gradient algorithms", "trust region policy optimization", "proximal policy optimization" ], "note": { "typesetting": "TeX", "pages": 0, "language": "en", "license": "arXiv", "status": "editable" } } }