Stockfish, chess engine UCI
Rating JCER = 3389
🔬 Author: Stéphane Nicolet
Set the default contempt value of Stockfish to 20 centipawns.
The contempt feature of Stockfish tries to prevent the engine from simplifying the position too quickly when it feels that it is very slightly behind, instead keeping the tension a little bit longer.
Various tests in November 2017 have proved that our current imple- mentation works well against SF7 (which is about 130 Elo weaker than current master) and than the Elo gain is an increasing function of contempt, going (against SF7) from +0 Elo when contempt is set at zero centipawns, to +30 Elo when contempt is 40 centipawns.
This november discussion left open the decision of which "default" value for contempt we should use for Stockfish, taking into account the various uses ofStockfish (opening preparation for humans, computer online tournaments,analysis tool for web pages, human/computer play, etc).
This pull request proposes to set the default contempt value of SF to twenty centipawns, which turns out to be the highest value which is not a regression against current master, as this seemed to be a good compromise between risk and safety. A couple of SPRT[-3..1] tests were done to bisect this value:
Contempt 10: http://tests.stockfishchess.org/tests/view/5a5d42d20ebc5902977e2901 (PASSED)
Contempt 15: http://tests.stockfishchess.org/tests/view/5a5d41740ebc5902977e28fa (PASSED)
Contempt 20: http://tests.stockfishchess.org/tests/view/5a5d42060ebc5902977e28fc (PASSED)
Contempt 25: http://tests.stockfishchess.org/tests/view/5a5d433f0ebc5902977e2904 (FAILED)
Surprisingly, a test at "very long time control" hinted that using contempt 20 is not only be non-regressive against contempt 0, but may actually exhibit some small Elo gain, giving a likehood of superio-rity of 88.7% after 8500 games:
ELO: 2.28 +-3.7 (95%) LOS: 88.7%
Total: 8521 W: 1096 L: 1040 D: 6385
Finally, there was some concerns that a contempt value of 20 would be worse than a value of 7, but a test with 20000 games at STC was neutral:
ELO: 0.45 +-3.1 (95%) LOS: 61.2%
Total: 20000 W: 4222 L: 4196 D: 11582
See the comments in pull request 1361 for the long, nice discussion (180 entries :-)) leading to the decision to propose contempt 20 as the default value:
Whether Stockfish should strictly adhere to the Komodo and Houdini semantics and add the UCI commands to force the contempt to be White in the so-called "analysis mode" is still under discussion, and may be or may not be the object of a future commit.
⭐⭐⭐ Stockfish 18012314_Nicolet - download
Best posts of the month
Fire - UCI chess engine, Rating JCER=3185 author compilation - by Norman Schmidt Fire 7.1 download
About the new version: We have just released Komodo 12.3 . The normal version is about 5 elo stronger than Komodo 12.2.2 (plus any benef...
Sugar - UCI chess engine, Author - Marco Zerbinati Rating JCER=3372 SugaR XPrO 1.5.3 - download
Rebelfis h is intended to enrich the Stockfish engine with typical Rebel | ProDeo features such as in ProDeo 2.9 and at the same time (for...
Raubfisch is an engine derived from Stockfish and Torpedo 1.1 XJR (private engine by Frank Karl Werner and Max Fehler) Rating JCER - 34...
Temp 3' + 3" Hardware: Intel Core i5-8250U 7,9 GB Mem , 552 Tournament games , GUI- Arena 3.5.1 , 118.406 JCER games (01.0...