GithubHelp home page GithubHelp logo

nvlabs / bcts Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 0.0 37 KB

Bellman-Corrected Tree Search from https://arxiv.org/abs/2107.01715 (Neurips 2021)

License: Other

Dockerfile 2.23% Python 97.77%
reinforcement-learning

bcts's Introduction

Bellman Corrected Tree Search (BCTS)

This repository contains an implementation of the Bellman Corrected Tree Search (BCTS) algorithm, as described in the paper:

Improve Agents without Retraining: Parallel Tree Search with Off-Policy Correction (NeurIPS 2021)

The BCTS algorithm is a search-based method for solving Reinforcement Learning building on Rainbow [Hessel et al., 2017] and NVIDIA CuLE [Dalton et al., 2019].

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Docker 19 or newer.
  • Access to NVIDIA Docker Catalog. Visit the NGC website and follow the instructions. This will grant you access to the base docker image (from the Dockerfile) and ability to run on NVIDIA GPU using the nvidia runtime flag.

Installing

Clone the project to get the Dockerfile and build by running

docker build -t bcts .

Usage

  1. Start the docker:
    docker run --runtime=nvidia -it bcts /bin/bash
    
  2. Run the code:
    cd bcts; python main.py
    
    See main.py for optional parameters. For example, for tree depth 2 run:
    python main.py --tree-depth=2
    

License

This project is licensed under the NVIDIA License.

Acknowledgments

If you use this project please cite:

@article{hallak2021improve,
  title={Improve agents without retraining: Parallel tree search with off-policy correction},
  author={Hallak, Assaf and Dalal, Gal and Dalton, Steven and Froisio, Iuro and Mannor, Shie and Chechik, Gal},
  journal={Advances in Neural Information Processing Systems},
  volume={34},
  pages={5518--5530},
  year={2021}
}

bcts's People

Contributors

assaf-hallak avatar galdl avatar

Stargazers

 avatar  avatar

Watchers

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