Beyond its much publicized success in attaining superhuman level at games such as Chess and Go, DeepMind's AlphaZero algorithm illustrates a more general methodology of combining learning and search to explore large combinatorial spaces effectively. We believe that this methodology can have exciting applications in many different research areas. Because AlphaZero is resource-hungry, successful open-source implementations (such as Leela Zero) are written in low-level languages (such as C++) and optimized for highly distributed computing environments. This makes them hardly accessible for students, researchers and hackers. Many simple Python implementations can be found on Github, but none of them is able to beat a reasonable baseline on games such as Othello or Connect Four. As an illustration, the benchmark in the README of the most popular of them only features a random baseline, along with a greedy baseline that does not appear to be significantly stronger.

Features

  • The core algorithm is only 2,000 lines of pure, hackable Julia code
  • Generic interfaces make it easy to add support for new games or new learning frameworks
  • Between one and two orders of magnitude faster than its Python alternatives
  • This implementation enables solving nontrivial games on a standard desktop computer with a GPU
  • The same agent can be trained on a cluster of machines as easily as on a single computer and without modifying a single line of code
  • Asynchronous simulation mechanism that enables batching requests to the neural network across several simulation threads

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow AlphaZero.jl

AlphaZero.jl Web Site

Other Useful Business Software
Get full visibility and control over your tasks and projects with Wrike. Icon
Get full visibility and control over your tasks and projects with Wrike.

A cloud-based collaboration, work management, and project management software

Wrike offers world-class features that empower cross-functional, distributed, or growing teams take their projects from the initial request stage all the way to tracking work progress and reporting results.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AlphaZero.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Algorithms, Julia Machine Learning Software, Julia Neural Network Libraries, Julia Chess Games

Registered

2022-08-22