NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-objective evolution for Generalizable Policy Gradient Algorithms

Juan Jose Garau-Luis, Yingjie Miao, John D Co-Reyes, Aaron Parisi, Jie Tan, Esteban Real, Aleksandra Faust

TL;DR

This paper introduces MetaPG, an evolutionary algorithm that automatically discovers new Reinforcement Learning (RL) algorithms by optimizing for multiple objectives simultaneously: performance, generalizability, and stability. MetaPG finds novel algorithms that outperform standard methods like SAC, demonstrating a promising approach to automating RL algorithm design for real-world applications.

What Problem Does This Paper Address?

Developing effective Reinforcement Learning (RL) algorithms for real-world applications is challenging due to the need to balance multiple, often competing, objectives. Specifically, algorithms must not only achieve high performance (returns) in their training environment but also generalize well to unseen scenarios (zero-shot generalizability) and be stable across different training runs. Current state-of-the-art RL algorithms often excel at one objective but struggle with the others, and human-driven design processes are time-consuming and may not uncover optimal trade-offs. This paper addresses the gap in automated, multi-objective RL algorithm discovery, aiming to find algorithms that strike a better balance between performance, generalizability, and stability.

Methods

The core contribution is MetaPG, a multi-objective evolutionary algorithm. MetaPG represents RL algorithms as directed acyclic graphs, where nodes represent inputs, operations, and outputs (loss functions). The evolutionary process starts with a "warm-start" algorithm (a graph-based implementation of Soft Actor-Critic, SAC) and iteratively mutates these graphs to discover new algorithms.

Key aspects of MetaPG include:

  • Graph-based Representation: RL algorithms are encoded as graphs, allowing for a flexible and expressive search space.
  • Multi-Objective Evolution: MetaPG uses the NSGA-II algorithm to optimize for three distinct fitness scores: performance, generalizability, and stability. These objectives are not combined into a single score but are treated independently, allowing for the identification of Pareto-optimal solutions.
  • Fitness Evaluation: Each evolved algorithm is evaluated by training an RL agent with it and measuring its performance, generalizability (across different environment configurations), and stability (across multiple random seeds).
  • Stability Adjustment: A novel stability-adjusted score is introduced, which penalizes high standard deviations in performance and generalizability across different random seeds.

Datasets

The experiments were conducted using three continuous control environments from the RWRL Environment Suite and Gym Pendulum:

  • RWRL Cartpole: Perturbations were applied to the pole length.
  • RWRL Walker: Perturbations were applied to the thigh length.
  • Gym Pendulum: Perturbations were applied to pendulum mass and length, evaluated separately.

These environments are designed to specifically test generalization capabilities by varying physical parameters.

Key Insights and Ideas

  • Automated Multi-Objective Design is Feasible: MetaPG demonstrates that evolutionary methods can effectively discover RL algorithms that balance performance, generalizability, and stability, outperforming hand-tuned baselines.
  • Trade-offs are Quantifiable and Exploitable: The Pareto-optimal set reveals clear trade-offs. For instance, algorithms that sacrifice some training performance can achieve significantly better generalization.
  • Structural Interpretability: Analyzing the graph structures of evolved algorithms provides insights into why certain algorithms perform better on specific objectives. For example, removing the entropy term from SAC's loss function appears to improve performance at the cost of generalizability.
  • Stability is Achievable: The method successfully reduces instability, a critical but often overlooked aspect of RL deployment.

Key Results

MetaPG achieved significant improvements over the warm-start SAC and even hyperparameter-tuned ACME SAC:

  • Performance: Up to a 3% improvement in performance on RWRL Cartpole.
  • Generalizability: Up to a 17% increase in generalizability.
  • Stability: A reduction of 33% to 65% in the standard deviation of results across seeds, indicating much greater stability.
  • Pareto-Optimal Set: The method consistently produced a Pareto-optimal set of algorithms across all tested environments, offering a spectrum of trade-offs between performance and generalizability.
  • Transfer Learning: While evolved algorithms showed some transferability, they did not consistently outperform the original training environment's best performer when tested in new environments.

Limitations and Future Work

  • Hyperparameter Tuning: The paper notes that while evolved algorithms are not hyperparameter-tuned, further improvements could be achieved by allowing hyperparameter tuning during or after the evolution process.
  • Robustness of Search: The Pareto-optimal set is formed by merging results from 10 separate evolution runs, suggesting that a single run might converge to a local optimum. Improving the robustness of a single search experiment is a future direction.
  • Transferability: Evolved algorithms did not consistently transfer well to new environments. Future work could focus on improving the transferability of these algorithms.
  • "Super Algorithms" vs. Domain-Specific: It remains an open question whether MetaPG is better suited for finding general-purpose "super algorithms" or highly specialized algorithms for specific domains.
  • Interpretability: While some structural insights were gained, a deeper understanding of why algorithms generalize better is still needed. The paper suggests future work to further validate hypotheses about specific graph substructures.
  • Additional Objectives: The authors suggest incorporating other objectives like sample efficiency into the fitness metrics.

Summary updated

BibTeX
@inproceedings{garauluis2022multi,
  author = {Juan Jose Garau-Luis and Yingjie Miao and John D Co-Reyes and Aaron Parisi and Jie Tan and Esteban Real and Aleksandra Faust},
  title = {{Multi-objective evolution for Generalizable Policy Gradient Algorithms}},
  booktitle = {GPL @ ICLR},
  year = {2022},
  url = {https://openreview.net/forum?id=S_WcT4TVkZ9},
}
Figure