GithubHelp home page GithubHelp logo

abelmadisen / maddpg-sfkt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wenzhangliu/maddpg-sfkt

0.0 0.0 0.0 14.95 MB

Multi-agent reinforcement learning algorithms: MADDPG-SFs & MADDPG-SFKT

Python 100.00%

maddpg-sfkt's Introduction

Efficient Exploration for Multi-agent Reinforcement Learning via Transferable Successor Features

Multi-agent reinforcement learning algorithms: MADDPG-SFs & MADDPG-SFKT

This is an open-source code for our research work titled "Efficient Exploration for Multi-agent Reinforcement Learning via Transferable Successor Features".

Requirements:

  • Python 3.6

Dependencies

  • Tensorflow 1.15 + Gym

Usage

Experiment 1: Cooperaitve box-pushing environment (source domain)

As introduced in the paper, some source models with basic tasks should be pre-trained in source domain.

  • Train:

$ python main_sfs.py --iftrain 1 --scenario "simple_push_box_multi" --method MADDPG-SFs --id-task 0

  • Test:

$ python main_sfs.py --iftrain 0 --scenario "simple_push_box_multi" --id-task 0"

is-task: -1, 0, 1, 2

Experiment 1: Cooperaitve box-pushing environment (target domain)

  • Train: Knowledge transfer and fine tune.

    "python main_transfer.py --iftrain 0 --istransfer 1 --scenario "simple_push_box_multi" --penalty -1.0"

    "python main_transfer.py --iftrain 1 --istransfer 0 --scenario "simple_push_box_multi" --penalty -1.0"

  • Test:

    "python main_transfer.py --iftrain 0 --istransfer 0 --scenario "simple_push_box_multi""

Experiment 2: Non-monotonic predator-prey environment (source domain)

As introduced in the paper, some source models with basic tasks should be pre-trained in source domain.

  • Train:

    "python main_sfs.py --iftrain 1 --scenario "predator_prey" --method MADDPG-SFs --penalty1 -0.0 --penalty2 -0.0 --prey-policy random"

  • Test:

    "python main_sfs.py --iftrain 1 --scenario "predator_prey" --method MADDPG-SFs --penalty1 -0.0 --penalty2 -0.0 --prey-policy random"

Experiment 2: Non-monotonic predator-prey environment (target domain)

  • Train: Knowledge transfer and fine tune.

    "python main_transfer.py --iftrain 0 --iftransfer 1 --scenario "predator_prey" --method MADDPG-SFKT --penalty1 -1.0 --penalty2 -1.0 --prey-policy random"

    "python main_transfer.py --iftrain 1 iftransfer 0 -scenario "predator_prey" --method MADDPG-SFKT --penalty1 -1.0 --penalty2 -1.0 --prey-policy random"

  • Test:

    "python main_transfer.py --iftrain 0 iftransfer 0 -scenario "predator_prey" --method MADDPG-SFKT --prey-policy random"

Paper citation:

@article{liu2022efficient,
  title={Efficient exploration for multi-agent reinforcement learning via transferable successor features},
  author={Liu, Wenzhang and Dong, Lu and Niu, Dan and Sun, Changyin},
  journal={IEEE/CAA Journal of Automatica Sinica},
  volume={9},
  number={9},
  pages={1673--1686},
  year={2022},
  publisher={IEEE}
}

maddpg-sfkt's People

Contributors

wenzhangliu 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.