No Representation, No Trust: Connecting Representation, Collapse, and Trust Issues in PPO

Skander Moalla, Andrea Miele, Daniil Pyatko, Razvan Pascanu, Caglar Gulcehre
5/1/2024
cs.LG

No official code found. Best implementation: CLAIRE-Labo/no-representation-no-trust (34 stars, MIT, last commit 2024-11-20).

Abstract

Reinforcement learning (RL) is inherently rife with non-stationarity since the states and rewards the agent observes during training depend on its changing policy. Therefore, networks in deep RL must be capable of adapting to new observations and fitting new targets. However, previous works have observed that networks trained under non-stationarity exhibit an inability to continue learning, termed loss of plasticity, and eventually a collapse in performance. For off-policy deep value-based RL methods, this phenomenon has been correlated with a decrease in representation rank and the ability to fit random targets, termed capacity loss. Although this correlation has generally been attributed to neural network learning under non-stationarity, the connection to representation dynamics has not been carefully studied in on-policy policy optimization methods. In this work, we empirically study representation dynamics in Proximal Policy Optimization (PPO) on the Atari and MuJoCo environments, revealing that PPO agents are also affected by feature rank deterioration and capacity loss. We show that this is aggravated by stronger non-stationarity, ultimately driving the actor's performance to collapse, regardless of the performance of the critic. We ask why the trust region, specific to methods like PPO, cannot alleviate or prevent the collapse and find a connection between representation collapse and the degradation of the trust region, one exacerbating the other. Finally, we present Proximal Feature Optimization (PFO), a novel auxiliary loss that, along with other interventions, shows that regularizing the representation dynamics mitigates the performance collapse of PPO agents.

View on arXivView PDF

Code Implementations(1)

MIT

Codebase to fully reproduce the results of "No Representation, No Trust: Connecting Representation, Collapse, and Trust Issues in PPO" (Moalla et al. 2024). Uses TorchRL and provides extensive tools for studying representation dynamics in policy optimization.

345Shell, PythonApr 30, 20241 years agoMIT
deep-learningpolicy-optimizationreinforcement-learning

Cite this paper

@article{moalla2024representation,
  title  = {No Representation, No Trust: Connecting Representation, Collapse, and Trust Issues in PPO},
  author = {Skander Moalla and Andrea Miele and Daniil Pyatko and Razvan Pascanu and Caglar Gulcehre},
  year   = {2024},
  eprint = {2405.00662},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.00662},
  url    = {http://arxiv.org/abs/2405.00662v3},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.00662.svg)](https://codeofpaper.com/paper/2405.00662)

Discussion