Changes

Jump to: navigation, search

Stockfish NNUE

7,111 bytes added, 18:06, 29 July 2020
'''[[Main Page|Home]] * [[Engines]] * [[Stockfish]] * NNUE'''

[[FILE:SekienAyakashi.jpg|border|right|thumb|250px| [[:Category:Toriyama Sekien|Toriyama Sekien]] - [https://en.wikipedia.org/wiki/Ikuch Ikuchi] <ref>[https://en.wikipedia.org/wiki/Ikuchi Ikuchi] drawn as the [https://en.wikipedia.org/wiki/Ayakashi_(y%C5%8Dkai) Ayakashi] from the [https://en.wikipedia.org/wiki/Konjaku_Gazu_Zoku_Hyakki Konjaku Gazu Zoku Hyakki] (今昔画図続百鬼) by [[:Category:Toriyama Sekien|Toriyama Sekien]], circa 1779, [https://en.wikipedia.org/wiki/Wikimedia_Commons Wikimedia Commons]</ref> ]]

'''Stockfish NNUE''',<br/>
a Stockfish branch by [[Nodchip]] which uses [[NNUE|Efficiently Updatable Neural Networks]] - stylized as (&#398;U&#1048;&#1048;) or reversed as NNUE - to replace its standard [[Stockfish#Evaluation|evaluation]].
NNUE, introduced in 2018 by [[Yu Nasu]] <ref>[[Yu Nasu]] ('''2018'''). ''&#398;U&#1048;&#1048; Efficiently Updatable Neural-Network based Evaluation Functions for Computer Shogi''. Ziosoft Computer Shogi Club, [https://github.com/ynasu87/nnue/blob/master/docs/nnue.pdf pdf] (Japanese with English abstract)</ref>,
were previously successfully applied in [[Shogi]] evaluation functions embedded in a Stockfish based search <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=72754 The Stockfish of shogi] by [[Larry Kaufman]], [[CCC]], January 07, 2020</ref>, such as [[YaneuraOu]] <ref>[https://github.com/yaneurao/YaneuraOu GitHub - yaneurao/YaneuraOu: YaneuraOu is the World's Strongest Shogi engine(AI player), WCSC29 1st winner, educational and USI compliant engine]</ref>,
and [[Kristallweizen-kai]] <ref>[https://github.com/Tama4649/Kristallweizen/ GitHub - Tama4649/Kristallweizen: 第29回世界コンピュータ将棋選手権 準優勝のKristallweizenです。]</ref>.
In 2019, Nodchip incorporated NNUE into Stockfish 10 - as a proof of concept, and with the intention to give something back to the Stockfish community <ref>[http://yaneuraou.yaneu.com/2020/06/19/stockfish-nnue-the-complete-guide/ Stockfish NNUE – The Complete Guide], June 19, 2020 (Japanese and English)</ref>.
After support and announcements by [[Henk Drost]] in May 2020 <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74059 Stockfish NN release (NNUE)] by [[Henk Drost]], [[CCC]], May 31, 2020</ref>
and subsequent enhancements, Stockfish NNUE was established. In summer 2020 with more people involved in [[Engine Testing|testing]] and training,
and the computer chess community bursts out enthusiastically due to its rapidly raising [[Playing Strength|playing strength]] with different networks trained using a mixture of [[Supervised Learning|supervised]] and [[Reinforcement Learning|reinforcement learning]] methods -
despite the approximately halved search speed, seemingly becoming stronger than its original <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74484 Can the sardine! NNUE clobbers SF] by [[Henk Drost]], [[CCC]], July 16, 2020</ref>. In July 2020, the playing code of NNUE is put into the official Stockfish repository as a branch for further development and examination. However, the training code still remains in Nodchip's repository <ref>[https://github.com/official-stockfish/Stockfish/issues/2823 NNUE merge · Issue #2823 · official-stockfish/Stockfish · GitHub] by [[Joost VandeVondele]], July 25, 2020</ref> <ref>[https://github.com/nodchip/Stockfish GitHub - nodchip/Stockfish: UCI chess engine] by [[Nodchip]]</ref>.

=Strong Points=
* Reuses and gets benefits from the very optimized [[Search|search]] function of Stockfish as well as almost all Stockfish's code
* Runs with CPU only, doesn't require expensive video cards, and the need for installing video drivers and specific libraries, thus it becomes much easier to install (compare with other NN engines such as [[Leela Chess Zero]]) for users and can run with almost all modern computers
* Requires much smaller training sets. Some high score networks can be built with the effort of one or a few people. It doesn't require the massive computing from a supercomputer and/or from community

=Forum Posts=
==2020 ...==
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=72754 The Stockfish of shogi] by [[Larry Kaufman]], [[CCC]], January 07, 2020 » [[Shogi]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=74058 Stockfish NNUE] by [[Henk Drost]], [[CCC]], May 31, 2020 » [[Stockfish]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74059 Stockfish NN release (NNUE)] by [[Henk Drost]], [[CCC]], May 31, 2020
==July==
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74484 Can the sardine! NNUE clobbers SF] by [[Henk Drost]], [[CCC]], July 16, 2020
* [https://groups.google.com/d/msg/fishcooking/8j68W3GL6Q0/__Pf0FRNCQAJ End of an era?] by [[Michel Van den Bergh]], [[Computer Chess Forums|FishCooking]], July 20, 2020
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74520 Sergio Vieri second net is out] by Sylwy, [[CCC]], July 21, 2020
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=74531 NNUE accessible explanation] by [[Martin Fierz]], [[CCC]], July 21, 2020
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74565 Stockfish NNUE] by Lion, [[CCC]], July 25, 2020
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74585 SF-NNUE going forward...] by Zenmastur, [[CCC]], July 27, 2020
* [https://groups.google.com/d/msg/fishcooking/fDY3dXqxgIQ/7Z5V0tATAQAJ 7000 games testrun of SFnnue sv200724_0123 finished] by [[Stefan Pohl]], [[Computer Chess Forums|FishCooking]], July 26, 2020
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74607 LC0 vs. NNUE - some tech details...] by [[Srdja Matovic]], [[CCC]], July 29, 2020 » [[Leela Chess Zero#Lc0|Lc0]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74613 Stockfish NNUE and testsuites] by [[Jouni Uski]], [[CCC]], July 29, 2020

=External Links=
==Chess Engine==
* [http://yaneuraou.yaneu.com/2020/06/19/stockfish-nnue-the-complete-guide/ Stockfish NNUE – The Complete Guide], June 19, 2020 (Japanese and English)
* [https://github.com/nodchip/Stockfish GitHub - nodchip/Stockfish: UCI chess engine] by [[Nodchip]]
* [https://www.qhapaq.org/shogi/shogiwiki/stockfish-nnue/ Stockfish NNUE Wiki]
* [https://github.com/official-stockfish/Stockfish/issues/2823 NNUE merge · Issue #2823 · official-stockfish/Stockfish · GitHub] by [[Joost VandeVondele]], July 25, 2020 <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=74560 An info] by Sylwy, [[CCC]], July 25, 2020</ref>
* [https://www.comp.nus.edu.sg/~sergio-v/nnue/ Index of /~sergio-v/nnue] by [[Sergio Vieri]]
==Misc==
* [https://en.wikipedia.org/wiki/Stockfish Stockfish from Wikipedia]
* [https://en.wikipedia.org/wiki/Nue Nue from Wikipedia]
* [https://en.wikipedia.org/wiki/Ikuchi Ikuchi from Wikipedia]

=References=
<references />
'''[[Stockfish|Up one Level]]'''
[[Category:UCI]]
[[Category:Open Source]]
[[Category:GPL]]
[[Category:NN]]
[[Category:PC]]
[[Category:Windows]]
[[Category:Linux]]
[[Category:Mac]]
[[Category:Fish]]
[[Category:Demonology]]
[[Category:Toriyama Sekien]]

Navigation menu