Giter VIP home page Giter VIP logo

ncerl-diverse-pcg's Introduction

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

ncerl-diverse-pcg's People

Contributors

pneuc avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.