Stockfish - Update architecture to "SFNNv4

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

Moderator: Ras

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

Stockfish - Update architecture to "SFNNv4

Post by Eduard »

https://abrok.eu/stockfish/

Author: Tomasz Sobczyk
Date: Thu Feb 10 19:54:31 2022 +0100
Timestamp: 1644519271

Update architecture to "SFNNv4". Update network to nn-6877cd24400e.nnue.

Impressively good. Congratulations!
Jouni
Posts: 3770
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Stockfish - Update architecture to "SFNNv4

Post by Jouni »

+2,81 ELO for 60000 @ 60+0.6 th 1.
Jouni
Cornfed
Posts: 511
Joined: Sun Apr 26, 2020 11:40 pm
Full name: Brian D. Smith

Re: Stockfish - Update architecture to "SFNNv4

Post by Cornfed »

I downloaded last night and put it thru some paces as I normally do with new versions.

I pull up a particular large pgn file in Chessbase which is opening prep and use whatever my default engine for analysis is - currently 1/19/22 (if I remember right...), set each with the same parameters and often with 2 pv and 2 cores.

I then jump around to various positions to compare analysis - which engine gets to a particular choice of move...how fast...does it jump back and forth a lot...etc, etc.

Frankly, I'm sticking with 1/19/22 as my default for now...
User avatar
AdminX
Posts: 6363
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Stockfish - Update architecture to "SFNNv4

Post by AdminX »

Image
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
dkappe
Posts: 1632
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: Stockfish - Update architecture to "SFNNv4

Post by dkappe »

Cornfed wrote: Fri Feb 11, 2022 2:42 pm I downloaded last night and put it thru some paces as I normally do with new versions.

I pull up a particular large pgn file in Chessbase which is opening prep and use whatever my default engine for analysis is - currently 1/19/22 (if I remember right...), set each with the same parameters and often with 2 pv and 2 cores.

I then jump around to various positions to compare analysis - which engine gets to a particular choice of move...how fast...does it jump back and forth a lot...etc, etc.

Frankly, I'm sticking with 1/19/22 as my default for now...
In the short term you could probably get this kind of gain with the old architecture. Maybe there’s more headroom for future gains.

The challenge is that SF is essentially massaging large amounts of leela data and trying to get more out of it. Barring some way of generating useful data of its own (other than dodgy position data), moving to new architectures and tweaking training hyperparameters is the only way forward.

Still, SF Dev has made impressive advances. Over at CCC blitz the performance is trending toward +70 uho elo vs dragon which works out to +35 CCRL elo. Not bad.
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".
User avatar
Rebel
Posts: 7436
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Re: Stockfish - Update architecture to "SFNNv4

Post by Rebel »

dkappe wrote: Fri Feb 11, 2022 4:49 pm The challenge is that SF is essentially massaging large amounts of leela data and trying to get more out of it. Barring some way of generating useful data of its own (other than dodgy position data), moving to new architectures and tweaking training hyperparameters is the only way forward.
Regarding the Leela data, are they using annotated PGN's (with scores) or PGN's without.
90% of coding is debugging, the other 10% is writing bugs.
adnoh
Posts: 76
Joined: Tue Jun 26, 2007 6:31 am
Full name: Charles Wong

Re: Stockfish - Update architecture to "SFNNv4

Post by adnoh »

Is it really true this latest build / network is based on Leela data? This is what I see on the notes.

https://github.com/official-stockfish/S ... /pull/3927

First session:

The first session was training a network from scratch (random initialization). The exact trainer used was slightly different (older) from the one used in the second session, but it should not have a measurable effect. The purpose of this session is to establish a strong network base for the second session. Small deviations in strength do not harm the learnability in the second session.

Second session:

The second training session was done starting from the best network (as determined by strength testing) from the first session.
dkappe
Posts: 1632
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: Stockfish - Update architecture to "SFNNv4

Post by dkappe »

Rebel wrote: Fri Feb 11, 2022 5:28 pm Regarding the Leela data, are they using annotated PGN's (with scores) or PGN's without.
It’s from leela training data which has Z (result), Q (score), best move, position, and a bunch of other stuff. I was converting the Bad Gyal data like this to nnue data back in early 2020 to train Night Nurse.

I think they’ve got maybe 50b positions from leela converted (after rescoring with TB). That leaves a lot of room for filtering and massaging.
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".
dkappe
Posts: 1632
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: Stockfish - Update architecture to "SFNNv4

Post by dkappe »

adnoh wrote: Fri Feb 11, 2022 6:02 pm Is it really true this latest build / network is based on Leela data? This is what I see on the notes.
“From scratch” simply means that the starting net is a random collection of weights. Last time I checked, they were using leela data for that first go round, then a bunch of dodgy position data to clean up flaws in the second go round.
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".
Sopel
Posts: 391
Joined: Tue Oct 08, 2019 11:39 pm
Full name: Tomasz Sobczyk

Re: Stockfish - Update architecture to "SFNNv4

Post by Sopel »

get yourself a tshirt in celebration

dangi12012 wrote:No one wants to touch anything you have posted. That proves you now have negative reputations since everyone knows already you are a forum troll.

Maybe you copied your stockfish commits from someone else too?
I will look into that.