Trying out the Leela Hybrid engine (NN with AB)

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Jaglo
Posts: 12
Joined: Sat Mar 02, 2019 6:45 pm
Full name: Jacek Glowinski

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Jaglo » Tue Apr 09, 2019 5:57 pm

A quote from the CombiChess page:

"The rules that it uses are fairly simple:
If 2 out of 3 engines give the same best move, then do that move and cancel work of the third.
if all 3 engines say something else, listen to the 'Master engine'. The master engine is simply engine0
if all 3 engines agree, do that move."

LC0 is the "Master engine". If all 3 engines say something else, then LC0 is playing.

If there is a strong tactical play, Stockfish and Houdini will find it. The rule will work: "If 2 out of 3 engines give the same best move, then do that move". The same is true for endings.

User avatar
Ozymandias
Posts: 1132
Joined: Sun Oct 25, 2009 12:30 am

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Ozymandias » Tue Apr 09, 2019 6:27 pm

Jaglo wrote:
Tue Apr 09, 2019 5:57 pm
A quote from the CombiChess page:

"The rules that it uses are fairly simple:
If 2 out of 3 engines give the same best move, then do that move and cancel work of the third.
if all 3 engines say something else, listen to the 'Master engine'. The master engine is simply engine0
if all 3 engines agree, do that move."

LC0 is the "Master engine". If all 3 engines say something else, then LC0 is playing.

If there is a strong tactical play, Stockfish and Houdini will find it. The rule will work: "If 2 out of 3 engines give the same best move, then do that move". The same is true for endings.
I guess that way of selecting moves works for (most) tactical shots, but I'm not so sure about endings. When heavily probing syzygy, several moves often lead to the same outcome (it's not DTM) so the other engines might not agree on the move and allow Lc0 to mess the position up.

Jaglo
Posts: 12
Joined: Sat Mar 02, 2019 6:45 pm
Full name: Jacek Glowinski

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Jaglo » Thu Apr 11, 2019 9:35 am

I'm sure you're right. I used the ready-to-use solution, but it seems to me that 3 engines is too much. You should use two to avoid the problem of what you write.

User avatar
Laskos
Posts: 9465
Joined: Wed Jul 26, 2006 8:21 pm
Full name: Kai Laskos

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Laskos » Thu Apr 11, 2019 12:00 pm

Jaglo wrote:
Thu Apr 11, 2019 9:35 am
I'm sure you're right. I used the ready-to-use solution, but it seems to me that 3 engines is too much. You should use two to avoid the problem of what you write.
The easiest would be to play Leela for say 35 moves, and then switch to Stockfish. There is a tool that theoretically does that, ChessCombi v1, but for some reason it doesn't work properly for me.

Jaglo
Posts: 12
Joined: Sat Mar 02, 2019 6:45 pm
Full name: Jacek Glowinski

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Jaglo » Fri Apr 12, 2019 12:12 pm

I also tried Chesscombi v1 and didn't get any positive results. In my opinion this adapter has bad assumptions.

User avatar
Laskos
Posts: 9465
Joined: Wed Jul 26, 2006 8:21 pm
Full name: Kai Laskos

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Laskos » Fri Apr 12, 2019 4:26 pm

Jaglo wrote:
Fri Apr 12, 2019 12:12 pm
I also tried Chesscombi v1 and didn't get any positive results. In my opinion this adapter has bad assumptions.
Based on its output I concluded it is buggy.

Jaglo
Posts: 12
Joined: Sat Mar 02, 2019 6:45 pm
Full name: Jacek Glowinski

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Jaglo » Thu May 16, 2019 7:29 am

My personal ranking of hybrids:

1) Leelafish
2) Combichess (Python)
3) Triplebrain (Shredder)
4) Chesscombi v1

killerducky, is the Leelafish project evolving?

Jaglo
Posts: 12
Joined: Sat Mar 02, 2019 6:45 pm
Full name: Jacek Glowinski

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Jaglo » Sun May 19, 2019 3:01 pm

Another interesting project.

https://github.com/feldi/py-goratschin

Similar to CombiChess, but uses 2 engines. I think the assumptions are OK. Unfortunately, the project is underdeveloped and requires testing (only LC0 works, Stockfish doesn't).

User avatar
Nordlandia
Posts: 2457
Joined: Fri Sep 25, 2015 7:38 pm
Location: Sortland, Norway

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Nordlandia » Sun May 19, 2019 4:29 pm

What's leela's assessment of this position. Komodo held it against SF Dev, draw after 5 hours and 13 minutes.


User avatar
Eduard
Posts: 210
Joined: Fri Oct 26, 2018 10:58 pm
Location: Germany
Full name: Eduard Nemeth
Contact:

Re: Trying out the Leela Hybrid engine (NN with AB)

Post by Eduard » Wed Jul 31, 2019 11:34 am

Dear killerducky,
is it possible to release now a leelafish for android?

Post Reply