Skip to content

Official code repository for paper "Negatively Correlated Ensemble Reinforcement Learning for Online Diverse Game Level Generation" in ICLR 2024

Notifications You must be signed in to change notification settings

PneuC/NCERL-Diverse-PCG

Repository files navigation

Negatively Correlated Ensemble RL

Official code repository for paper "Negatively Correlated Ensemble Reinforcement Learning for Online Diverse Game Level Generation" in ICLR 2024. The paper introduced an approach named negatively correlated ensemble reinforcement learning (NCERL), which is designed to tackle the issue of lacking diversity in RL-based real-time game level generation. To see the details, please read our paper.

If you used the code in this repository, please cite our paper:

@inproceedings{wang2024negatively,
  title={Negatively Correlated Ensemble Reinforcement Learning for Online Diverse Game Level Generation},
  author={Wang, Ziqi and Hu, Chengpeng and Liu, Jialin and Yao, Xin},
  booktitle = {International Conference on Learning Representations},
  year={2024},
  url={https://openreview.net/forum?id=iAW2EQXfwb},
}

Verified environment

  • Python 3.9.6
  • JPype 1.3.0
  • dtw 1.4.0
  • scipy 1.7.2
  • torch 1.8.2+cu111
  • numpy 1.20.3
  • gym 0.21.0
  • scipy 1.7.2
  • Pillow 10.0.0
  • matplotlib 3.6.3
  • pandas 1.3.2
  • sklearn 1.0.1

How to use

All training are launched by running train.py with option and arguments. For example, execute python train.py ncesac --lbd 0.3 --m 5 will train NCERL with hyperparameters set as $\lambda = 0.3, m=5$. Plot script is plots.py

For the training arguments, please refer to the help python train.py [option] --help

Some related works

About

Official code repository for paper "Negatively Correlated Ensemble Reinforcement Learning for Online Diverse Game Level Generation" in ICLR 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages