My "official" request to top engine programmers

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

Moderator: Ras

Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: My "official" request to top engine programmer

Post by Rodolfo Leoni »

corres wrote:You are right, Stockfish-TCEC6-PA-GTB is a good program. It is only ~100 Elo weaker than Stockfish 8. I think its code is sophisticated and its compilation is rather complicated in particular for Windows. This is the main reason that it has no man to continue it. Moreover relatively a few peoples use it - from open-chess.org were only about 4000 downloading from 2014...
There are millions chess players around the world, millions Stockfish users. Few know about forks and were to download them. AsmFish is a bit stronger than c++ Stockfish, but almost nobody know it even exists.

Three months ago I received a phone call by the local chess club President. When talking about engines, he said "Ahh, Stockfish is great. I always use it and I need nothing else." I said him "Komodo is as strong as Stockfish..." His reply: "You mean Komodo Aquarius?"

This is the average level of knowledge many chess players have about computer chess... It's not a surprise Stockfish PA GTB has been downloaded so few times. Nobody knows about open-chess.org.
F.S.I. Chess Teacher
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: My "official" request to top engine programmer

Post by Rodolfo Leoni »

cdani wrote:I solved all the little pv and multipv bugs and I made a new version:

www.andscacs.com/downloads/andscacs091150.zip

This zip file also contains a no popcnt "n" version.
I tested it about 2 hours Everything works fine. Thanks Daniel. :)
F.S.I. Chess Teacher
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: My "official" request to top engine programmer

Post by cdani »

Rodolfo Leoni wrote:
cdani wrote:I solved all the little pv and multipv bugs and I made a new version:

www.andscacs.com/downloads/andscacs091150.zip

This zip file also contains a no popcnt "n" version.
I tested it about 2 hours Everything works fine. Thanks Daniel. :)
Thanks to you! :-)
User avatar
gbtami
Posts: 389
Joined: Wed Sep 26, 2012 1:29 pm
Location: Hungary

Re: My "official" request to top engine programmer

Post by gbtami »

Great work! Do you plan to make a 0.92 release with these new sfuff in the near future? If not, may I ask you to create a Linux bin also?
corres
Posts: 3657
Joined: Wed Nov 18, 2015 11:41 am
Location: hungary

Re: My "official" request to top engine programmer

Post by corres »

I think the great majority of chess engine users do not need any manipulations of hash table. The only thing what is needed the reduction of the power of top engines like Stockfish.
For analysis purpose there are some commercial and free program. Combining these with top engines on a powerful PC and personal chess knowledge you can get an effective analytical system.
Note:
Cerebellum is a kind of "permanent hash" mainly for playing chess openings. During endgames there are some type of EGTB to manipulate hash. Middle game is so complicated that using of ''tinned" evaluation of middle game positions is a time consuming and rather ineffective thing.
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: My "official" request to top engine programmer

Post by cdani »

gbtami wrote:Great work! Do you plan to make a 0.92 release with these new sfuff in the near future? If not, may I ask you to create a Linux bin also?
Done! Just download the file again:
www.andscacs.com/downloads/andscacs091150.zip
User avatar
gbtami
Posts: 389
Joined: Wed Sep 26, 2012 1:29 pm
Location: Hungary

Re: My "official" request to top engine programmer

Post by gbtami »

cdani wrote:
gbtami wrote:Great work! Do you plan to make a 0.92 release with these new sfuff in the near future? If not, may I ask you to create a Linux bin also?
Done! Just download the file again:
www.andscacs.com/downloads/andscacs091150.zip
Thanks Daniel!
giovanni
Posts: 142
Joined: Wed Jul 08, 2015 12:30 pm

Re: My "official" request to top engine programmer

Post by giovanni »

Hi Rodolfo. Thanks for this interesting thread. I remember that you were working a lot on learning with the Baron program. Would you care to compare these features with the ones in Stockfish-DD-PA_GTB? Thanks in advance.
Giovanni
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: My "official" request to top engine programmer

Post by Rodolfo Leoni »

giovanni wrote:Hi Rodolfo. Thanks for this interesting thread. I remember that you were working a lot on learning with the Baron program. Would you care to compare these features with the ones in Stockfish-DD-PA_GTB? Thanks in advance.
Giovanni
Hi Giovanni. :)

I started making experiments with the old Knight Cap by Andrew Tridgell. It was kind of positional learning, as changing value of squares, relative values of pieces, etc. It could never work and, in fact, it was useless.

Some years later, I worked with Romichess by Michael Sherwin. That learning was a simple bonus/malus scoring and book learning, but I enjoyed it a lot, to a point I build an opening book for Romi. It was a learning oriented book, strongly pruned. Only one move per position, while trying to include every suitable opponent reply. My theory was (and still is) that if number of opening lines were reduced enough, then we could improve engine performance by learning. It didn't work at these times, because:

a) Performance level changes in relation of TCs
b) Different opponent books drive the learning towards too many directions
c) A bonus/malus system is a blunder-related system, and it's not true learning if it's based on possible weak moves on ending stage.

Then, I became tester of The Baron by Richard Pijl. Baron learning was a simple position learning with some tricky propagation features. Here, I try to interprete ideas Richard coded:

1) Own position score derives from score after opponent best reply (2 plies propagation)
2) Opponent position score is own score after he made his best move (1 ply propagation - for giving scores to opponent moves too)

Case 1 is possible if own score drops, so we can assume our score was bad evaluated. It's also possible when opponent reply was the ponder move, even if score doesn't drop.

Case 2 is always possible.

In fact, all of that is related to engine strenght and to a correct evaluation. The stronger the engine, the better the learning.

I gave a mere look at Stockfish PA GTB so far. It looks similar to Critter session file, just a bit more sophisticated.

Score backward propagation happens by hash hits. If engine plays several times the same position it can hit previously scored positions while on search, and score changes as a consequence. Engine could then find a better move. Furthermore, score propagation is correctly depth-related. That means a score with depth 20 cannot back-propagate to previous ply if it was searched at depth 21 or more.

Stockfish PA GTB has forward propagation feature too. That means, if one set, for example, depth 20, then all PV positions with depth 20 or more are saved. If engine reaches depth 25 it saves 6 positions. It's interesting to note the fact Baron saved all position and scores (after propagation) at game end, Critter saves them after a move is made, Stockfish PA GTB saves all suitable entries while on search. It means much more positions are saved.

The most effective way to use Stockfish PA GTB could be, apart from manually making moves and taking them back, to perform backward game analyses with fixed depth parameter. Fixed depth because we are sure score is propagated (with a Min-Max process) from game end to an opening stage.

It can probably still improved by introducing a score limit option, to avoid heavily won/lost position to be saved, or to prune the hash file better. A pity this project is dead. :(
F.S.I. Chess Teacher
giovanni
Posts: 142
Joined: Wed Jul 08, 2015 12:30 pm

Re: My "official" request to top engine programmer

Post by giovanni »

Thanks, Rodolfo, for your detailed answer. I need to study it a bit :wink: , but I am glad that you are back to computer chess, because I found this thread really a fascinating one.
Whenever you get the chance, could you make a case study of using Stockfish PA GTB, possibly using a real word example for chess players? May be that providing a few examples will inspire people to continue with this project or start a fresh one along the same line.
Thanks again.
Giovanni