Giter Site home page Giter Site logo

stoner's Introduction

stoner (as in Go stone, you hippy)

A research project to develop an automated Go player utilizing machine learning techniques rather than typical tree descent searches. The primary language will be Scala and the research environment will be in Apache Spark.

I think there is mathematical poetry in Go and I want to teach a computer to contribute a verse.

Results will be posted in the project wiki at:

Problem Formulation

The problem I wish to solve is as follows:

  • Given a Go board position P, without accompanying game history except for illegal moves due to ko, find the move M that maximizes the probability of a resulting game win.

I got 99 problems but optimal move estimator given current position state representation ain't one! (after I finish this project)

Techniques

Instead of writing another run-of-the-mill monte carlo game tree descent search player I want to focus on recent research in machine learning (see section: Prior Art).

Some research threads I want to focus on are:

  1. Most recent research in the ML game player field has focused on training a computer player to predict an "expert" player's next move, e.g. don't create a smart game player just make one that mimics a smart player. I,however, want to create a player that predicts which side will win given a position. To turn this oracle into a game player: search over all legal moves {M} for a position P, and predict the opponents probability of winning given the position resulting from each move (P + m_i), then choose the move that results in the lowest probability of winning for the opponent. I think NNs and SVMs would work well.

  2. Using ML predictors as a pruners for regular monte carlo tree searchers.

  3. Break up the game into move count stages. First 2% - 10% database lookup, 10% - 80% use ML, final 20% use regular monte cristo (carlo).

  4. Exploit AWS cluster deployment to create different "grades" of player. If you want to turn the dial up to 11 you can distribute the player across several AWS nodes (possibly using EMR). Or, for all the n00bs, just have the player deploy to cores on the local host. This would allow for limitless player strength expansion simply by adding hardware: can I get a skynet up in this piece!!!

Language

Why functional programming you ask???

Because I'm trying to make the '60s cool again (free love man). Seriously: because I want a whole lotta cuncurrency (see section below) and I think Scala gets me there the quickest.

Also, I think recursive functions will greatly simplify things like dragon, super-ko, & death identification.

Concurrency Models

Let's make some concurrency jambalaya: all kinds of spices and flavors mixed together. I would like to use:

  1. data parallelism: use cuDNN for GPU Neural networks.
  2. actor thread model: Akka (god bless you) actors for multi-core & multi-chip parallelism.
  3. lambda architecture: Did somebody say "jump on the bandwagon"? I wanna use Spark to distribute some ML work.

Prior Art

My automata sensei are:

  1. Christopher Clark, Amos Storkey Teaching Deep Convolutional Neural Networks to Play Go. 2014
  2. Arpad Rimmel, Olivier Teytaud, Chang-Shing Lee, Shi-Jim Yen, Mei-Hui Wang, et al.. Current Frontiers in Computer Go. IEEE Transactions on Computational Intelligence and Artificial Intelligence in Games, IEEE, 2010, in press.
  3. Martin Wistuba, Lars Schmidt-Thieme Move Prediction in Go - Modelling Feature Interactions Using Latent Factors

Training Data Set

"Life can only be understood backwards; but it must be lived forwards." - Kierkegaard

The primary data set for training and evaluation will be the GoGoD dataset. It is freakin' awesome, the earliest game is from 196 AD! Unfortunately, as with most things in life, it ain't free (see INSTALL.md).

-- 31337 --

stoner's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stoner's Issues

sgf file parser

Combine all of the property parser objects into a file parser.

Create Game class

Create a class representing a game that has as many of the sgf properties as needed to perform ML analysis.

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.