Giter VIP home page Giter VIP logo

expressive-gdns's Introduction

Expressive Graph Decision Networks

Authors: Matthew Morris, Thomas D. Barrett, Arnu Pretorius

This is the code used in our paper, "Universally Expressive Communication in Multi-Agent Reinforcement Learning", which is published in NeurIPS 2022.

Installation

make build can be used to create a Docker image with all the required packages installed. make bash can then be used to open a terminal within the created image.

Alternatively, create a virtual environment and then install the requirements manually:

python -m pip install -r requirements.txt
cd src/envs/ic3net-envs
python setup.py develop

Running Experiments

main.py is the central runner script. The scripts folder contains examples for how to run different models on various environments. For example, to run CommNet on Easy Traffic Junction, execute:

sh scripts/train_tj_easy_commnet.sh

Baselines

We augment 6 existing successful communication baselines with RNI and Unique IDs:

  • CommNet
  • IC3Net
  • TarMAC
  • TarMAC-IC3Net
  • MAGIC
  • DGN

Environments

  • Traffic Junction (communication benchmark)
  • Predator Prey (communication benchmark)
  • Box Pushing (new, designed to test communication expressivity beyond 1-WL)
  • Drone Scatter (new, designed to test ability to perform symmetry breaking)

Reproducing Results

To reproduce the exact results shown in our paper, use the hyperparameters found in our appendix.

Citation

If you find our paper or code helpful to your research, please consider citing the paper:

@inproceedings{morris2022universally,
  title={Universally Expressive Communication in Multi-Agent Reinforcement Learning},
  author={Morris, Matthew and Barrett, Thomas D and Pretorius, Arnu},
  booktitle={Advances in Neural Information Processing Systems 36 (NeurIPS)},
  year={2022}
}

Reference

We adapted the training framework from MAGIC and used their implementations as starting points for most of our baselines. We used pytorch_DGN as a starting point for our implementation of DGN.

expressive-gdns's People

Contributors

mmorris44 avatar

Stargazers

Laurence Midgley avatar  avatar  avatar

Watchers

 avatar

Forkers

beaulolve

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.