Leela has a new version

For discussing go computing, software announcements, etc.
Garf
Dies in gote
Posts: 34
Joined: Mon Jun 06, 2016 1:22 am
GD Posts: 0
Been thanked: 10 times

Re: Leela has a new version

Post by Garf »

yoyoma wrote:I saw somewhere (compgo?) that the Leela author said he is not running Leela on CGOS. So it is an unofficial test by someone else.
I think it's a test by pookpooi actually.

The most interesting would probably be to run Leela with 1 cpu and no GPU. Then we know how much the GPU is worth. I'm not sure it affects the conclusion vs Zenith because Zenith can't use the GPU anyway, but that is not Leela's fault.

Zen 14.0 is now also on CGOS!
pookpooi
Lives in sente
Posts: 727
Joined: Sat Aug 21, 2010 12:26 pm
GD Posts: 10
Has thanked: 44 times
Been thanked: 218 times

Re: Leela has a new version

Post by pookpooi »

If it was test by me I wouldn't use gpu in the first place ;)
Gomoto
Gosei
Posts: 1733
Joined: Sun Nov 06, 2016 6:56 am
GD Posts: 0
Location: Earth
Has thanked: 621 times
Been thanked: 310 times

Re: Leela has a new version

Post by Gomoto »

Gomoto was wrong.
not true, he was right ;-)

(Leela 0.8 was not stronger than Zenith 6)
Gomoto
Gosei
Posts: 1733
Joined: Sun Nov 06, 2016 6:56 am
GD Posts: 0
Location: Earth
Has thanked: 621 times
Been thanked: 310 times

Re: Leela has a new version

Post by Gomoto »



Leela 0.9.0 defeats Zen again (this time without pondering, still using much more time than Zen)

Zenit Go 6 [setting: 20 seconds per move]
Leela 0.9.0 GPU [setting: 20 minutes for the game] (used more than 40 minutes)

CPU Intel 2500K GPU Nvidia GTX 970

Leela's advice towards Zen: Move 91 should have been at J10. Zen looses with an empty triangle ;) (52% => 47% win)
Zen was still quite sure to win the game at this time (60% win)
Pippen
Lives in gote
Posts: 677
Joined: Thu Sep 16, 2010 3:34 pm
GD Posts: 0
KGS: 2d
Has thanked: 6 times
Been thanked: 31 times

Re: Leela has a new version

Post by Pippen »

This is a typical diagramm of an opening I play with pretty good success. After analyzing it for 20 minutes, Leela gives it only about 41.5% for White with the slow 'a' as best continuation for White. :shock: I am interested in what CS or Zen say to this position, and how they would continue for White. I usually continue with 'b' or 'c'.
Click Here To Show Diagram Code
[go]$$B
$$ +---------------------------------------+
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . O . . O . . . X . . . . . |
$$ | . . . X . . . . . , . . . . . X . a . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . O . . |
$$ | . . X . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . b . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . c . . |
$$ | . . X . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . X . . . . . , . . . . . O . . . |
$$ | . . . . . O . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+[/go]
Garf
Dies in gote
Posts: 34
Joined: Mon Jun 06, 2016 1:22 am
GD Posts: 0
Been thanked: 10 times

Re: Leela has a new version

Post by Garf »

Given that you are 5D, can't you just play this out vs Leela, and see what happens after a bunch of moves? Either it'll show you a refutation, or its score will go towards 50%.
johnsmith
Lives with ko
Posts: 136
Joined: Fri May 27, 2016 3:55 am
Rank: KGS 6 dan
GD Posts: 0
Has thanked: 47 times
Been thanked: 21 times

Re: Leela has a new version

Post by johnsmith »

Pippen wrote:This is a typical diagramm of an opening I play with pretty good success. After analyzing it for 20 minutes, Leela gives it only about 41.5% for White with the slow 'a' as best continuation for White. :shock: I am interested in what CS or Zen say to this position, and how they would continue for White. I usually continue with 'b' or 'c'.
Click Here To Show Diagram Code
[go]$$B
$$ +---------------------------------------+
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . O . . O . . . X . . . . . |
$$ | . . . X . . . . . , . . . . . X . a . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . O . . |
$$ | . . X . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . b . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . c . . |
$$ | . . X . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . X . . . . . , . . . . . O . . . |
$$ | . . . . . O . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+[/go]
Zen suggest k4 with 53% for white. But I'd rather trust Leela. If you look more closely at its Net Win %, it says w is winning by 28% (i.e. losing the game) which is, I believe, more accurate than Win %. At least that's what those Deep Mind guys were looking at when they were testing AlphaGo.
Pippen
Lives in gote
Posts: 677
Joined: Thu Sep 16, 2010 3:34 pm
GD Posts: 0
KGS: 2d
Has thanked: 6 times
Been thanked: 31 times

Re: Leela has a new version

Post by Pippen »

Zen suggest k4 with 53% for white. But I'd rather trust Leela. If you look more closely at its Net Win %, it says w is winning by 28% (i.e. losing the game) which is, I believe, more accurate than Win %. At least that's what those Deep Mind guys were looking at when they were testing AlphaGo.
Interesting. How can there be such a difference between the two probabilities?

I rechecked and here is what Leela says in detail: D2(best move): Win% 42, MC win% 51.7, Net win% 31.8, Net prob% 29. What is the meaning of all these numbers anyway? I always thought that win% matters, the rest not so much.
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: Leela has a new version

Post by Uberdude »

Did everyone set the same komi, and ensure the different bots all respect it?
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: Leela has a new version

Post by Bill Spight »

Pippen wrote:This is a typical diagramm of an opening I play with pretty good success. After analyzing it for 20 minutes, Leela gives it only about 41.5% for White with the slow 'a' as best continuation for White. :shock: I am interested in what CS or Zen say to this position, and how they would continue for White. I usually continue with 'b' or 'c'.
Click Here To Show Diagram Code
[go]$$B
$$ +---------------------------------------+
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . O . . O . . . X . . . . . |
$$ | . . . X . . . . . , . . . . . X . a . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . O . . |
$$ | . . X . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . b . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . c . . |
$$ | . . X . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . X . . . . . , . . . . . O . . . |
$$ | . . . . . O . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+[/go]
BTW, I like "a". It is pretty much sente, and after White "b", instead, it is a good point for Black.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Garf
Dies in gote
Posts: 34
Joined: Mon Jun 06, 2016 1:22 am
GD Posts: 0
Been thanked: 10 times

Re: Leela has a new version

Post by Garf »

Pippen wrote: I rechecked and here is what Leela says in detail: D2(best move): Win% 42, MC win% 51.7, Net win% 31.8, Net prob% 29. What is the meaning of all these numbers anyway? I always thought that win% matters, the rest not so much.
It's explained on Leela's webpage.

FAQ: "What do the columns in the Analysis Window mean?"
goame
Lives with ko
Posts: 132
Joined: Sat Jan 28, 2017 12:25 am
GD Posts: 0
Been thanked: 7 times

Re: Leela has a new version

Post by goame »

Garf wrote:
goame wrote: Is it possiple to use 4x nvidia geforce gtx 1080 ti with Leela?
No, because you cannot buy those yet :)
Is it possiple to use 4x nvidia geforce gtx 1080 with Leela?
And how big is the benefit from 1 to 2 to 4 gpus? +1, +2, +4 Dan
Pippen
Lives in gote
Posts: 677
Joined: Thu Sep 16, 2010 3:34 pm
GD Posts: 0
KGS: 2d
Has thanked: 6 times
Been thanked: 31 times

Re: Leela has a new version

Post by Pippen »

Simulations: the number of Monte Carlo playouts used to investigate the move. More simulations means more confidence in the winrate as the move has been investigated deeper.
Win%: this represents Leela's best guess as to how likely it is for the player to move to win the game.
MC Win%: the likelyhood that the player to move wins the game, as determined by randomized Monte Carlo playouts from the current position. This is a factor in the Win% calculation.
Net Win%: the likelyhood that the player to move wins the game, as determined by analyzing the position with a neural network. This is a factor in the Win% calculation.
Net Prob%: the probability that a pro player would play this move, as estimated by the Neural Network.
PV: the principal variation. The sequence of suggested moves for both players that Leela believes is optimal.
How is Net win % and Net Prob win % calculated? What does Leela do (in simple words)? For example, in MC win%, Leela is just playing many random games and e.g. if Black wins 6000 out of 10.000 random games it will give Black 60% winrate.
Schachus
Lives with ko
Posts: 211
Joined: Wed Jul 01, 2015 11:02 am
Rank: KGS 1k EGF 2k
GD Posts: 0
KGS: Schachus12
Has thanked: 16 times
Been thanked: 62 times

Re: Leela has a new version

Post by Schachus »

Its a bit like human intuition. That net looked at millions of positions and who was winning in the end, and learned to develop an intuition saying "this looks like black is going to win" or "this looks like its still even". This intuition thinks black is likely to win from here(probably the net was trained with pro games or strong amateur games(KGS? I know Alphago started out with KGS games), maybe also with selfplay-games of Leela, I dont know.
yharzu
Beginner
Posts: 9
Joined: Mon Oct 27, 2014 4:06 am
Rank: KGS 3kyu
GD Posts: 0
Been thanked: 6 times

Re: Leela has a new version

Post by yharzu »

haylee playing leela 0.9 :

https://www.youtube.com/watch?v=FFU7pEEMAjU

sadly not on optimal hardware and also recording while actually playing (instead of just reviewing her game or something like that).

hopefully she plays leela again under better conditions :)
still a cool video!
Post Reply