Easy to set up Go AI?

General conversations about Go belong here.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: Easy to set up Go AI?

Post by Bill Spight »

Tryss wrote:
dfan wrote:Terminal positions in the tree search are actually evaluated by the game rules. However, the position is not considered terminal until both players have passed. The engines do know how to pass but I don't know how often it comes up in the tree search. Since they all use Chinese rules there is no penalty for continuing to play on for a while after the dame are filled.
As an illustration, here is a recent self play of LZ (network #166) with resign disabled :

http://zero.sjeng.org/view/3ad105e1870e ... viewer=wgo

Black pass only because it has no legal moves remaining.
Thanks. ;)

I note that Black made a moyo on the bottom side to center. :)
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
dfan
Gosei
Posts: 1599
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Easy to set up Go AI?

Post by dfan »

Bill Spight wrote:
dfan wrote: AlphaGo did actual Monte Carlo simulations to the end of the game. AlphaGo Zero and all its descendants (AlphaZero, Leela Zero, ELF OpenGo, etc.) do not, despite continuing to use the (now misleading) term "Monte Carlo Tree Search".
Thanks. But Leela still uses Monte Carlo playouts, right? I noticed "MCWR" in Bojanic's analysis of the Metta-Ben David game, and figured that stood for Monte Carlo win rate. That's one reason for my confusion on that issue.
Leela and Crazy Stone (from 2016 on) are based on AlphaGo and perform Monte Carlo playouts to the end of the game.

Leela Zero and ELF OpenGo are based on AlphaGo Zero and only expand one tree node at a time.

I wish very much that everyone involved had chosen better names.
zermelo
Dies in gote
Posts: 46
Joined: Sun Apr 17, 2016 1:51 pm
Rank: Euro 1 dan
GD Posts: 7
Has thanked: 109 times
Been thanked: 34 times

Re: Easy to set up Go AI?

Post by zermelo »

dfan wrote: Leela Zero and ELF OpenGo are based on AlphaGo Zero and only expand one tree node at a time.

I wish very much that everyone involved had chosen better names.
As I understand it, the tree search is still probabilistic, since the nodes to expand are selected according to the probabilities given by the policy net. Therefore it is still a 'Monte Carlo' way of tree search?
dfan
Gosei
Posts: 1599
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Easy to set up Go AI?

Post by dfan »

zermelo wrote:
dfan wrote: Leela Zero and ELF OpenGo are based on AlphaGo Zero and only expand one tree node at a time.
As I understand it, the tree search is still probabilistic, since the nodes to expand are selected according to the probabilities given by the policy net. Therefore it is still a 'Monte Carlo' way of tree search?
Node expansion in AlphaGo Zero is deterministic. At each iteration it chooses the "best" node, which is chosen by a combination of the value network, values propagating up the tree from descendant nodes, the policy network, and a exploration factor (where nodes that have been visited less get a bonus). The search algorithm continues to move to the node with the highest score in a greedy manner until it hits a leaf.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: Easy to set up Go AI?

Post by Bill Spight »

dfan wrote:Node expansion in AlphaGo Zero is deterministic. At each iteration it chooses the "best" node, which is chosen by a combination of the value network, values propagating up the tree from descendant nodes, the policy network, and a exploration factor (where nodes that have been visited less get a bonus). The search algorithm continues to move to the node with the highest score in a greedy manner until it hits a leaf.
Best first search. Just like the old days. :cool: ;)
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Post Reply