Coder Social home page Coder Social logo

actormimic's Introduction

ActorMimic

Code for paper http://arxiv.org/abs/1511.06342. Allows a single deep network to play several Atari 2600 games at once. This network can then be used as a weight initialization in a new target game, which can speed up initial learning in that game.

Installation

  1. Install torch (http://torch.ch/docs/getting-started.html#_).
  2. Run ./install_dependencies.sh to install xitari and alewrap.
  3. Find Atari 2600 ROMs and put them in roms/ directory.

Results

Below is a set of instructions to re-create similar results as in the transfer section of the paper (section 5.2).

NOTE: training the full pipeline from multitask to transfer can easily take over 3 weeks even with a fast GPU.

Multitask using Policy Regression Objective

This learns a multitask network on 13 source tasks using the policy regression objective. These 13 source tasks are the same as in the paper. The goal of training here is to later use this network for transfer, therefore training is stopped early at 4 million frames per game since that seemed best for later transfer results.

$ cd scripts
$ ./run_amn_polreg_paper [1-based gpuid]

Transfer using Policy Regression Objective

This trains a DQN on a new target task with the multitask policy-regression network as a weight initialization. Below I have included scripts for training on the games where transfer had the largest effect.

Breakout:

$ cd scripts
$ ./run_dqn_polreg_4mil_breakout [1-based gpuid]

Star Gunner:

$ cd scripts
$ ./run_dqn_polreg_4mil_star_gunner [1-based gpuid]

Video Pinball:

$ cd scripts
$ ./run_dqn_polreg_4mil_video_pinball [1-based gpuid]

Multitask using Policy+Feature Regression Objective

This learns a multitask network on 13 source tasks using the combined policy and feature regression objective. These 13 source tasks are the same as in the paper. The goal of training here is to later use this network for transfer, therefore training is stopped early at 4 million frames per game since that seemed best for later transfer results.

$ cd scripts
$ ./run_amn_featreg_paper [1-based gpuid]

Transfer using Policy+Feature Regression Objective

This trains a DQN on a new target task with the multitask (policy+feature)-regression network as a weight initialization. Below I have included scripts for training on the games where transfer had the largest effect.

Breakout:

$ cd scripts
$ ./run_dqn_featreg_4mil_breakout [1-based gpuid]

Star Gunner:

$ cd scripts
$ ./run_dqn_featreg_4mil_star_gunner [1-based gpuid]

Video Pinball:

$ cd scripts
$ ./run_dqn_featreg_4mil_video_pinball [1-based gpuid]

Acknowledgments

Code adapted from Deepmind's 2015 paper:

http://www.nature.com/nature/journal/v518/n7540/full/nature14236.html

Github version here:

https://github.com/kuz/DeepMind-Atari-Deep-Q-Learner

References

To reference this paper or the code, please cite:

@inproceedings{parisotto16_actormimic,
  author    = {Emilio Parisotto and Jimmy Ba and Ruslan Salakhutdinov},
  title     = {Actor-Mimic: Deep Multitask and Transfer Reinforcement Learning},
  booktitle = {ICLR},
  year      = {2016}
}

actormimic's People

Contributors

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