IEEE Spectrum July, 2014 - 51

root
evaluation function adds up the material value of pieces (a queen,
for example, has a higher value than a pawn) and computes the
value of their locations on the board based on their potential to
attack or be attacked.
Compared with that of chess pieces, the value of individual Go
stones is much lower. Therefore the evaluation of a Go position
is based on all the stones' locations, and on judgments about
which of them will eventually be captured and which will stay
safe during the shifting course of a long game. To make this
assessment, human players rely on both a deep tactical understanding of the game and a clear-eyed appraisal of the overall
board situation. Go masters consider the strength of various
groups of stones and look at the potential to create, expand, or
conquer territories across the board.
Rather than try to teach a Go-playing program how to perform
this complex assessment, we've found that the best solution is to
skip the evaluation process entirely. Over the past decade, several research groups have pioneered a new search paradigm for
games, and the technique actually has a chance at cracking Go.
Surprisingly, it's based on sequences of random moves. In its simplest form, this approach, called Monte Carlo tree search (MCTS),
eschews all knowledge of the desirability of game positions.
A program that uses MCTS need only know the rules of the game.
From the current configuration of stones on the board, the
program simulates a random sequence of legal moves (playing
moves for both opponents) until the end of the game is reached,
resulting in a win or loss. It automatically does this over and over.
The magic comes from the use of statistics. The evaluation of a
position can be defined as the frequency with which random
move sequences originating in that position lead to a win. For
instance, the program might determine that when move A is
played, random sequences of moves result in a win 73 percent
of the time, while move B leads to a win only 54 percent of the
time. It's a shockingly simple metric.
It may seem counterintuitive to try to win a deeply strategic
game with a program that uses random moves to evaluate its
different choices. But there are lots of precedents that show
the efficacy of this statistical approach. For example, most
Internet search engines do not attempt to analyze a query to try
to understand the semantics of what is being asked for-they just
apply some simple numerical schemes to rank results. Monte
Carlo methods are also standard in disciplines such as particle
physics, weather forecasting, chemistry, and finance. They are
often the best approach for solving complex problems in which
problem-specific knowledge is hard to formalize.
a go-playing ai can repeaTedly apply iTs mcTs algoriThm

until resources-time or memory-run out. Like many other
search methods, MCTS constructs a game tree, in which
each possible move creates branches of new possible moves,
which are conventionally drawn pointing downward. For a
basic example of this algorithm, imagine that a Go program
is trying to decide on its next move. It would therefore repeat
these four steps:
1. Tree descent: From the existing board position (the root

2/4
Leaf node
2/3

0/1

Leaf node

Leaf node

Leaf node

1/1

0/1

1/1

1

0

1

0

GrowinG
the Tree
In these four simulations of a simple
Monte Carlo tree search, the program,
playing as black, evaluates the winning
potential of possible moves. Starting
from a position to be evaluated (the
leaf node), the program plays a random
sequence of legal moves, playing for
both black and white. It plays to the end
of the game and then determines if the
result is a win (1) or a loss (0). Then it
discards all the information about that
move sequence except for the result,
which it uses to update the winning ratio
for the leaf node and the nodes that
came before it, back to the root of the
game tree.
SPECTRUM.IEEE.ORG

|

nORTh aMERICan

|

jUl 2014

|

51


http://SPECTRUM.IEEE.ORG

Table of Contents for the Digital Edition of IEEE Spectrum July, 2014

IEEE Spectrum July, 2014 - Cover1
IEEE Spectrum July, 2014 - Cover2
IEEE Spectrum July, 2014 - 1
IEEE Spectrum July, 2014 - 2
IEEE Spectrum July, 2014 - 3
IEEE Spectrum July, 2014 - 4
IEEE Spectrum July, 2014 - 5
IEEE Spectrum July, 2014 - 6
IEEE Spectrum July, 2014 - 7
IEEE Spectrum July, 2014 - 8
IEEE Spectrum July, 2014 - 9
IEEE Spectrum July, 2014 - 10
IEEE Spectrum July, 2014 - 11
IEEE Spectrum July, 2014 - 12
IEEE Spectrum July, 2014 - 13
IEEE Spectrum July, 2014 - 14
IEEE Spectrum July, 2014 - 15
IEEE Spectrum July, 2014 - 16
IEEE Spectrum July, 2014 - 17
IEEE Spectrum July, 2014 - 18
IEEE Spectrum July, 2014 - 19
IEEE Spectrum July, 2014 - 20
IEEE Spectrum July, 2014 - 21
IEEE Spectrum July, 2014 - 22
IEEE Spectrum July, 2014 - 23
IEEE Spectrum July, 2014 - 24
IEEE Spectrum July, 2014 - 25
IEEE Spectrum July, 2014 - 26
IEEE Spectrum July, 2014 - 27
IEEE Spectrum July, 2014 - 28
IEEE Spectrum July, 2014 - 29
IEEE Spectrum July, 2014 - 30
IEEE Spectrum July, 2014 - 31
IEEE Spectrum July, 2014 - 32
IEEE Spectrum July, 2014 - 33
IEEE Spectrum July, 2014 - 34
IEEE Spectrum July, 2014 - 35
IEEE Spectrum July, 2014 - 36
IEEE Spectrum July, 2014 - 37
IEEE Spectrum July, 2014 - 38
IEEE Spectrum July, 2014 - 39
IEEE Spectrum July, 2014 - 40
IEEE Spectrum July, 2014 - 41
IEEE Spectrum July, 2014 - 42
IEEE Spectrum July, 2014 - 43
IEEE Spectrum July, 2014 - 44
IEEE Spectrum July, 2014 - 45
IEEE Spectrum July, 2014 - 46
IEEE Spectrum July, 2014 - 47
IEEE Spectrum July, 2014 - 48
IEEE Spectrum July, 2014 - 49
IEEE Spectrum July, 2014 - 50
IEEE Spectrum July, 2014 - 51
IEEE Spectrum July, 2014 - 52
IEEE Spectrum July, 2014 - 53
IEEE Spectrum July, 2014 - 54
IEEE Spectrum July, 2014 - 55
IEEE Spectrum July, 2014 - 56
IEEE Spectrum July, 2014 - 57
IEEE Spectrum July, 2014 - 58
IEEE Spectrum July, 2014 - 59
IEEE Spectrum July, 2014 - 60
IEEE Spectrum July, 2014 - 61
IEEE Spectrum July, 2014 - 62
IEEE Spectrum July, 2014 - 63
IEEE Spectrum July, 2014 - 64
IEEE Spectrum July, 2014 - 65
IEEE Spectrum July, 2014 - 66
IEEE Spectrum July, 2014 - 67
IEEE Spectrum July, 2014 - 68
IEEE Spectrum July, 2014 - Cover3
IEEE Spectrum July, 2014 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1217
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1117
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1017
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0917
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0817
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0717
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0617
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0517
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0417
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0317
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0217
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0117
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1216
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1116
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1016
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0916
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0816
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0716
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0616
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0516
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0416
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0316
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0216
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0116
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1215
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1115
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1015
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0915
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0815
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0715
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0615
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0515
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0415
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0315
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0215
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0115
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1214
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1114
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1014
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0914
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0814
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0714
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0614
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0514
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0414
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0314
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0214
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0114
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1213
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1113
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1013
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0913
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0813
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0713
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0613
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0513
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0413
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0313
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0213
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0113
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1212
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1112
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1012
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0912
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0812
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0712
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0612
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0512
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0412
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0312
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0212
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0112
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1211
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1111
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1011
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0911
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0811
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0711
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0611
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0511
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0411
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0311
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0211
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0111
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1210
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1110
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1010
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0910
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0810
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0710
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0610
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0510
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0410
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0310
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0210
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0110
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1209
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1109
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1009
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0909
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0809
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0709
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0609
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0509
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0409
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0309
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0209
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0109
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1208
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1108
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1008
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0908
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0808
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0708
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0608
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0508
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0408
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0308
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0208
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0108
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1207
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1107
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1007
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0907
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0807
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0707
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0607
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0507
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0407
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0307
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0207
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0107
https://www.nxtbookmedia.com