[논문 리뷰] Preventing Learning Stagnation in PPO by Scaling to 1 Million Parallel Environments
본 논문은 PPO를 외부 루프(outer-loop) 확률적 최적화로 모델링하고, 학습 정체가 업데이트 노이즈에 비해 큰 외부 스텝 사이즈에서 발생함을 보인다; 또한 하이퍼파라미터의 적절한 동시 스케일링 규칙과 함께 병렬 환경을 증가시키면 단조로운 개선이 가능해지며, 전이 수가 1조 트랜지션을 넘는 경우까지 도달한다.
Plateaus, where an agent's performance stagnates at a suboptimal level, are a common problem in deep on-policy RL. Focusing on PPO due to its widespread adoption, we show that plateaus in certain regimes arise not because of known exploration, capacity, or optimization challenges, but because sample-based estimates of the loss eventually become poor proxies for the true objective over the course of training. As a recap, PPO switches between sampling rollouts from several parallel environments online using the current policy (which we call the outer loop) and performing repeated minibatch SGD steps against this offline dataset (the inner loop). In our work we consider only the outer loop, and conceptually model it as stochastic optimization. The step size is then controlled by the regularization strength towards the previous policy and the gradient noise by the number of samples collected between policy update steps. This model predicts that performance will plateau at a suboptimal level if the outer step size is too large relative to the noise. Recasting PPO in this light makes it clear that there are two ways to address this particular type of learning stagnation: either reduce the step size or increase the number of samples collected between updates. We first validate the predictions of our model and investigate how hyperparameter choices influence the step size and update noise, concluding that increasing the number of parallel environments is a simple and robust way to reduce both factors. Next, we propose a recipe for how to co-scale the other hyperparameters when increasing parallelization, and show that incorrectly doing so can lead to severe performance degradation. Finally, we vastly outperform prior baselines in a complex open-ended domain by scaling PPO to more than 1M parallel environments, thereby enabling monotonic performance improvement up to one trillion transitions.
연구 동기 및 목표
- Motivate and diagnose learning plateaus in PPO when using massively parallel environments.
- Model PPO's outer loop as stochastic optimization to understand the impact of step size and update noise.
- Identify hyperparameters that influence outer-loop dynamics (regularization, batch size, and epochs).
- Propose a reliable scaling recipe to safely enlarge parallelization without degrading performance.
- Demonstrate scalability by achieving monotonic improvement in challenging domains up to and beyond 1T transitions.
제안 방법
- Conceptually model the PPO outer loop as standard stochastic optimization with step size controlled by regularization towards the previous policy and update noise by data per update.
- Use PPO-EWMA to decouple regularization from data collection and study the role of COM and clipping epsilon.
- Empirically compare outer-loop dynamics to SGD, showing plateauing when outer step size is too large and recovery when reduced.
- Evaluate how regularization, number of optimization epochs, and rollout batch size affect plateaus across robotics and open-ended domains.
- Provide a scaling recipe: keep minibatch size fixed while increasing parallel environments, and adjust the number of minibatches (or scale minibatch with learning-rate as needed).
- Demonstrate spanning results: robotics tasks, Kinetix open-ended domain, and comparison to baselines like SAPG.
실험 결과
연구 질문
- RQ1What mechanisms cause learning plateaus in PPO when using highly parallelized environments?
- RQ2How does the outer-loop step size interact with update noise to determine plateauing in PPO?
- RQ3Which hyperparameters modulate the outer-loop dynamics, and how should they be co-scaled when increasing parallelization?
- RQ4Can scaling PPO to over 1M parallel environments yield monotonic improvement and by how much experience?
- RQ5What practical scaling recipe best preserves stability and speed when increasing parallelism?
주요 결과
- PPO plateaus can arise when the outer-loop step size is large relative to update noise, similar to SGD stagnation.
- Increasing the number of parallel environments reduces both outer-step size and update-noise, enabling continued learning.
- Changing inner-loop hyperparameters (e.g., learning rate) cannot fully compensate for a poor outer-step size; outer-loop dynamics are distinct from the inner loop.
- A stability-focused scaling recipe—increase minibatches (data per update) while keeping learning rate and minibatch size fixed—improves robustness to parallelization.
- Empirically, scaling to over 1M parallel environments enables monotonic performance improvement up to a trillion transitions in the Kinetix domain, and robotics results show improved scalability with the proposed recipe.
- Using PPO-EWMA with a fixed COM is effective for maintaining consistent regularization across many parallel environments.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.