Minic version 2

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

Moderator: Ras

User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 2

Post by xr_a_y »

Due the stockfish NNUE hype, i am in the mood to try something with NN !

So I got back to this idea (http://talkchess.com/forum3/viewtopic.p ... na#p828151) of trying to create a model of the error between Minic texel tuned evaluation using as input some eval features (now that I have some thanks to Minic personality thing ...).

For now I'm trying to tune a "simple" 16/32/16/1 MLP based on half of the data of lichess-new-labeled and look at the result on the other half of the data.
The next step will be to fuse Minic eval and this little NN eval and see how it goes...

I'll see where this experiment leads ... probably nowhere ... but at least I'm playing with NN a bit. :D
carldaman
Posts: 2284
Joined: Sat Jun 02, 2012 2:13 am

Re: Minic version 2

Post by carldaman »

Good luck with your experiments :) - without experimentation where would we be?
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 2

Post by xr_a_y »

I'm happy to announce Minic 2.43, which seems to be +30 versus previous release for both STC and LTC.

https://github.com/tryingsomestuff/Mini ... s/tag/2.43
Gregory Owett
Posts: 259
Joined: Fri Mar 10, 2006 10:26 am
Location: France

Re: Minic version 2

Post by Gregory Owett »

Has anyone had success in downloading minic 2.43 ? :P
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 2

Post by xr_a_y »

Gregory Owett wrote: Tue Jul 28, 2020 3:18 pm Has anyone had success in downloading minic 2.43 ? :P
what is your issue ?
Gregory Owett
Posts: 259
Joined: Fri Mar 10, 2006 10:26 am
Location: France

Re: Minic version 2

Post by Gregory Owett »

When I download the file "minic 2.43 mingw_x64_skylake.exe", I get a file "damaged or its format is unknown". :cry:
MOBMAT
Posts: 396
Joined: Sat Feb 04, 2017 11:57 pm
Location: USA

Re: Minic version 2

Post by MOBMAT »

Works for me, though I get a "not a common download" warning, but I override it and it continues on.
Seems to work fine.

Code: Select all

FEN: 7k/8/7K/p1P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g3 Nxa4 3.Kg6 Kg8 4.Kxg5 Kf7 5.Kf5 Nc3 6.Be1 Nb5 7.Ke4 Ke6 8.Kd3 a4 9.Kc2 a3 10.Kb1 a2+ 11.Ka1 Nd6 12.Kxa2
i7-6700K @ 4.00Ghz 32Gb, Win 10 Home, EGTBs on PCI SSD
Benchmark: Stockfish15.1 NNUE x64 bmi2 (nps): 1277K
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 2

Post by xr_a_y »

Gregory Owett wrote: Tue Jul 28, 2020 3:47 pm When I download the file "minic 2.43 mingw_x64_skylake.exe", I get a file "damaged or its format is unknown". :cry:
Sorry for the stupid question, but are you sure you are on a 64bits platform (cpu and OS) and with at least a skylake generation CPU ?
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 2

Post by xr_a_y »

Here are some recent results

TC 2min+0.1s
TT 256Mb

Code: Select all

Rank Name                          Elo     +/-   Games   Score   Draws
   1 demolito                       68      20     717   59.6%   39.5%
   2 igel-last                      19      19     718   52.8%   46.8%
   3 Vajolet2_2.8                   15      19     718   52.2%   44.0%
   4 minic_2.43                     12      19     717   51.7%   44.9%
   5 texel                          -3      19     717   49.6%   42.0%
   6 minic_2.33                    -23      19     718   46.7%   41.8%
   7 combusken                     -90      21     717   37.4%   34.3%
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 2

Post by xr_a_y »

Minic 2.47 is released. This is a quite special version, as NNUE (from Stockfish) as be integrated inside.
This release has NNUE technology enabled (by #define WITH_NNUE inside definition.hpp), but has to be considerate as "MinicNNUE" only if you specify a network file using the NNUEFile GUI option.

MinicNNUE (using nn-97f742aaefcd.nnue) seems +200Elo versus standard Minic evaluation.
But as already stated in many places, MinicNNUE won't be "official Minic" version because it does not represent at all my own work.
Minic is already of course vastly inspired by others engines but I try and test everything by myself, and those who has followed Minic development know how long it took... but here, integrated NNUE was more or less just a copy/paste.
So please do not "categorized" MinicNNUE with standard Minic (i'm thinking of CCRL, FGRL, CEGT testing here).

Anyone is of course free to use this Minic version with any network file you want (but please call it MinicNNUE, not Minic, as soon as a net is used). I'd also be glad if someone try to train specific net for it...

This experiment showed that many Elo can be gained in Minic by working on its evaluation, and also many more working on search ! :D

Using NNUE inside Minic was quite easy (as discussed on the TCEC discord channel), mainly because the NNUE code itself is very clear, a very good job was done by people who integrated it into Stockfish.

Finally, I'd like to make a point about NNUE technology release. I think many engine dev will try (and success) to use it in the next days or weeks, and it would feel more natural to me if the NNUE is hosted in a specific repository so that many engine authors can work with it. I think this would benefit to everyone in the community, including Stockfish and maybe even shogi engine devs. Maybe some will try to write others architectures for instances. This will at least be better than 100 copy/paste different codes hard to track and merge.