Google achieves AI 'breakthrough' by beating Go champion
my summary (may be wrong): they create a convolutional neural network with 13 layers to select moves (given a game position, it outputs a probability distribution over all legal moves, trying to assign higher probabilities to better moves). They train the network on databases of expert matches, save a copy of the trained network as &#x27;SL&#x27; then train it further by playing it against randomly selected previous iterations of itself. Then they use the history of the move-selecting network playing against itself to generate a new training set consisting of 30 million game positions and the outcome of that game, with each of the 30 million positions coming from a separate game. They use this training set to train a new convolutional neural network (with 13 layers again, i think) to appraise the value of a board position (given a board position, it outputs a single scalar that attempt to predict the game outcome of that board position).<p>They also train ANOTHER move-predicting classifier called the &#x27;fast rollout&#x27; policy; the reason for another one is that the fast rollout policy is supposed to be very fast to run, unlike the neural nets. The fast rollout policy is a linear softmax of small pattern features (move matches one or more response features, Move saves stone(s) from capture, Move is 8-connected to previous move, Move matches nakade patterns at captured stone, Move matches 12-point diamond pattern near previous move, move matches 3x3 pattern around candidate move). When a feature is &quot;move matches some pattern&quot;, i don&#x27;t understand if they mean that &quot;match any pattern&quot; is the feature, or if each possible pattern is its own feature; i suspect the latter, even though that&#x27;s a zillion features to compute. The feature weights of the fast rollout classifier are trained on a database of expert games.<p>Now they will use three of those classifiers, the &#x27;SL&#x27; neural network (the saved network that tried to learn which move an expert would have made, before further training against itself), and the board-position-value-predicting network, plus the &#x27;rollout&#x27; policy.<p>The next part, the Monte Carlo Tree Search combined with the neural networks, is kinda complicated and i don&#x27;t fully understand it, so the following is likely to be wrong. The idea of Monte Carlo Tree Search is to estimate the value of a board position by simulating all or part of game in which both players in the simulation are running as their policy a classifier without lookahead (eg within the rollout simulation, neither player does any lookahead at each step); this simulation is (eventually) done many times and the results are averaged together. Each time the Monte Carlo simulation is done, the policy is updated.<p>In order to take one turn in the real game, the program does zillions of iterations; in each iteration, it simulates a game-within-a-game:<p>It simulates a game where the players use the current policy, which is represented as a tree of game states whose root is the current actual game state, whose edges are potential moves, and whose nodes or edges are labeled with the current policy&#x27;s estimated values for game states (plus a factor encouraging exploration of unexplored or underexplored board states).<p>When the simulation has visited the parent of a &#x27;leaf node&#x27; (a game state which has not yet been analyzed but which is a child of a node which is not a leaf node) more than some threshold, the leaf node is added to a queue for an asynchronous process to &#x27;expand the leaf node&#x27; (analyze it) (the visit-count-before-expansion threshold is adaptively adjusted to keep the queue short). This process estimates the value of the leaf node via a linear combination of (a) the board-position-value-predicting network&#x27;s output and (b) the outcome of running a simulation of the rest of the game (a game within a game within a game) with both players using the &#x27;fast rollout&#x27; policy. Then, the SL neural network is used to give initial estimates of the value of each move from that board position (because you only have to run SL once to get an estimate for all possible moves from that board position, whereas it would take a long time to recurse into each of the many possible successor board positions and run the board-position-value-predicting network for each of these).<p>Because the expansion of a leaf node (including running SL) is asynchronous, in the mean time the node is &#x27;expanded&#x27; and a &#x27;tree policy&#x27; is used to give a quick estimate of the value of each possible move from the leaf node board state. The tree policy is like the quick rollout policy but with a few more features (move allows stones to be captured, manhattan distance to two previous moves, Move matches 12-point diamond pattern centered around candidate move).<p>At the end of each iteration, the action values of all (non-leaf) nodes visited are updated, and a &#x27;visit count&#x27; for each of these nodes is updated.<p>At the end of all of these iterations, the program actually plays the move that had the maximium visit count in the monte carlo tree search (&quot;this is less sensitive to outliers than maximizing action-value&quot;).<p>some more details:<p><pre><code>    During monte carlo tree search, they also use a heuristic called &#x27;last good reply&#x27; which is sorta similar to caching.
    the move-predicting networks are for the most part just fed the board state as input, but they also get a computed feature &quot;the outcome of a ladder search&quot;
    because Go is symmetric w&#x2F;r&#x2F;t rotations of the board, the move-predicting networks are wrapped by a procedure that either randomly selects a rotation, or runs them for all rotations and averages the results (depending on whether or not the network is being used for monte carlo tree search or not)</code></pre>