Leelafish with distilled network

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Eduard
Posts: 1439
Joined: Sat Oct 27, 2018 12:58 am
Location: Germany
Full name: N.N.

Re: Leelafish with distilled network

Post by Eduard »

Here are 3 interesting analyzes. Leelafish used the same main Engine (network 11258 64x6) and AuxEngine (Cfish 230219).
I just wondered why Leelafish gets deeper than Leela? :roll:

Lc0 only CPU.
GUI=Fritz 15.

[OPTIONS]
Threads=3
AuxEnginePath=C:\Program Files (x86)\ChessBase\Engines\lc0-v0.21.0-fish-v0.5-distilled\Cfish.exe
AuxEngineOptions=Hash=128;Threads=1
AuxEngineThreshold=45
AuxEngineBoost=86.000000
AuxEngineDepth=15
AuxEngineFollowPvDepth=5

Caruana,F - Carlsen,M 1/2-1/2, World Chess Championship 2018
[d]1r1q1rk1/1p2b2p/pN6/P1pP1bp1/5p2/2B2Q2/1P4PP/R4RK1 w - - 0 1

After 5 minutes:

Analysis by Lc0 v0.21.0-rc1se (11258 64x6):

23.Tad1 Ld6 24.Sc4 g4 25.Df2 f3 26.Tfe1 Tc8 27.Sxd6 Dxd6 28.gxf3 Tce8 29.Txe8 Txe8 30.fxg4 Lxg4 31.Td3 Te2 32.Dg3 Dg6 33.h3 h5 34.hxg4 Dxg4 35.d6 Tg2+ 36.Kxg2
+/- (1.33) Tiefe: 12/29 00:05:02 148kN
23.Tad1 Ld6 24.Sc4 g4 25.Df2 f3 26.Tfe1 Tc8 27.Sxd6 Dxd6 28.gxf3 Tce8 29.Txe8 Txe8 30.fxg4 Lxg4 31.Td3 Te2 32.Dg3 Dg6 33.h3 h5 34.hxg4 Dxg4 35.d6 Tg2+ 36.Kxg2
+/- (1.33) Tiefe: 12/30 00:05:05 149kN

Analysis by Cfish 230219 64 POP N:

23.Tae1 Lf6 24.h4 Ld4+ 25.Lxd4 cxd4 26.hxg5 Dxg5 27.d6 Lg4 28.Db3+ Kh8 29.Db4 f3 30.Dxd4+ Df6 31.Te4 Dxd4+ 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:05:03 146kN

Very 8-) last Analysis!
Eduard
Posts: 1439
Joined: Sat Oct 27, 2018 12:58 am
Location: Germany
Full name: N.N.

Re: Leelafish with distilled network

Post by Eduard »

Btw: With Cfish version "CF EXT 170219 x64 POP" (renamed as CF.exe) is it possible to enable a "tactical mode",
and disable "LazyThreshold", if I want. Thanks for this CF EXT.. possibilities.

AuxEngineOptions=Hash=128;Threads=1;Tactical=true;LazyThreshold=false;

Here for example a analysis:
[d]k1r4r/4q1p1/PBp2b1n/1pPppb1B/4p3/R6P/1PPQ1PP1/4NRK1 b - - 0 1

Analysis by Leelafish v0.21.0-fish-v0.5 (CF tactical):

26...Lg5 27.Dd1 Lf4 28.c4 bxc4 29.Sc2 d4 30.Sb4 d3 31.Lf3 exf3 32.Dxf3 Sg4 33.Sxc6 Dh4 34.g3 Dxh3 35.Se7+ Le4 36.Dxe4+
-/+ (-1.09) Tiefe: 10/25 00:01:55 48kN
26...Lg5 27.Dd1 Lf4 28.c4 bxc4 29.Sc2 d4 30.Te1 g6 31.Le2 d3 32.Sb4 dxe2 33.Dxe2 Sg4 34.Tea1 e3 35.fxe3 Lh2+ 36.Kh1
-/+ (-1.10) Tiefe: 11/25 00:01:58 49kN
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Leelafish with distilled network

Post by Damir »

Hi Eduard. :) :)

Where can I find this Leelafish you have been using ? :D :D
dkappe
Posts: 1631
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: Leelafish with distilled network

Post by dkappe »

I’m not completely sold on the playing style of leelafish, but you can’t argue with the strength. With Sting 14, depth 10, threshold 35, pv depth 3 and 11258-120x9-se, 1 thread all around, leelafish runs about even with the latest ethereal, a jump of 150 elo over vanilla lc0. This is with tc 6+6.

Code: Select all

Score of ethereal vs fish-120x9: 1 - 2 - 13  [0.469] 16
Looking at the cpu usage of Sting 14, it averages around 30% at these settings, so isn’t doing nearly as much as it could.

Jury is still out on the playing style.
Fat Titz by Stockfish, the engine with the bodaciously big net. Remember: size matters. If you want to learn more about this engine just google for "Fat Titz".
gerhard
Posts: 95
Joined: Wed Mar 28, 2018 10:16 am

Re: Leelafish with distilled network

Post by gerhard »

Damir wrote: Wed Feb 27, 2019 7:59 pm Hi Eduard. :) :)

Where can I find this Leelafish you have been using ? :D :D
https://github.com/killerducky/lc0/releases
Eduard
Posts: 1439
Joined: Sat Oct 27, 2018 12:58 am
Location: Germany
Full name: N.N.

Re: Leelafish with distilled network

Post by Eduard »

Sorry Damir, I thought you already knew it! No?
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Leelafish with distilled network

Post by Damir »

I did knew about it, but there was a user on Infinity who was getting 50.000 kN/s with his 36 cores with leelafish, so I assumed he was using a different kind of leelafish… cause the only Leelafish I know its kN/s are very low. :) :)
Eduard
Posts: 1439
Joined: Sat Oct 27, 2018 12:58 am
Location: Germany
Full name: N.N.

Re: Leelafish with distilled network

Post by Eduard »

:lol: you looked very carefully! 8-)
Eduard
Posts: 1439
Joined: Sat Oct 27, 2018 12:58 am
Location: Germany
Full name: N.N.

Re: Leelafish with distilled network

Post by Eduard »

At the moment I am testing the network 50405 with Leelafish on CPU only. It looks like this network is better than destilled networks! Previously I tested NN 50326, it was not bad but 50405 is much better! It seems to be the best NN for CPU only, it plays strong.
User avatar
Guenther
Posts: 4607
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Leelafish with distilled network

Post by Guenther »

Eduard wrote: Sat Mar 09, 2019 8:45 am At the moment I am testing the network 50405 with Leelafish on CPU only. It looks like this network is better than destilled networks! Previously I tested NN 50326, it was not bad but 50405 is much better! It seems to be the best NN for CPU only, it plays strong.
May be this is true for Leelafish, but with LC0 alone without any A/B helper program it has has a long way to go vs. very tactical engines.
It seems the tactical holes are filled only after an enormous lot of training games. Try for example Hannibal 1.7.

I tested already a few NN50s and noticed that they were partially en par with best dist. 11258 until they had to play against very tactical opponents.
https://rwbc-chess.de

trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...