MORL-Generalization is a benchmark for evaluating the capabilities of Multi-Objective Reinforcement Learning (MORL) algorithms to generalize across environments. This software is developed as part of our ICLR'25 paper "On Generalization Across Environments In Multi-Objective Reinforcement Learning".
Our domains are adapted from MO-Gymnasium and the implementations of the baseline algorithms are adapted from MORL-Baselines.
To install the necessary dependencies, first make sure you have the necessary packages to install pycddlib. Then, run the following commands:
pip install swig
pip install -r requirements.txtThe evaluations of 8 state-of-the-art algorithms and SAC on our benchmark domains can be found on https://wandb.ai/jayden-teoh/MORL-Generalization.
There are also CSV files of the data (for metrics specific to plotting results in the paper) in the /plotting/data folder.
- To run the same experiments as in the paper, please refer to the
/scriptsfolder. - To plot the results, please refer to the
/experiments/plotting/notebooksfolder for the Jupyter notebooks labelled step by step with Markdown explanations. - The algorithms are adapted from MORL-Baselines and can be found in the
/algosfolder. However, note that there are additional experimental algorithms like MORL/D-Discrete, asymmetric actor-critic, recurrent GPI-LS (see old commits) implemented which are unique to our codebase, though not presented in the paper. - The benchmark evironments can be found in the
/envsfolder. - The
MORLGeneralizationEvaluatorclass is responsible for all evaluations regarding MORL-Generalization and can be found inmorl_generalization/generalization_evaluator.py.
If further clarification is needed beyond the codebase, feel free to put in an issue or contact me directly at t3ohjingxiang[at]gmail.com and I will be responsive.
[2025/01] Our paper "On Generalization Across Environments In Multi-Objective Reinforcement Learning" has been accepted at ICLR 2025! 🎉🎉
If you use this repository in your research, please cite:
@inproceedings{
teoh2025morlgeneralization,
title={On Generalization Across Environments In Multi-Objective Reinforcement Learning},
author={Jayden Teoh and Pradeep Varakantham and Peter Vamplew},
booktitle={The Thirteenth International Conference on Learning Representations},
year={2025},
url={https://openreview.net/forum?id=tuEP424UQ5}
}Please also cite MO-Gymnasium if you use any of the baseline algorithms for evaluations.