25,161
edits
Changes
NNUE
,no edit summary
'''NNUE''', (ƎUИИ Efficiently Updatable Neural Networks)<br/>
a Neural Network architecture intended to replace the [[Evaluation|evaluation]] of [[Shogi]], [[Chess|chess]] and other board game playing [[Alpha-Beta|alpha-beta]] searchers running on a CPU.Inspired by [[Kunihito Hoki|Kunihito Hoki's]] approach of [[Piece-Square Tables|piece-square tables]] indexed by king location, and further two-piece locations and side to move as applied in his Shogi engine [[Bonanza]] <ref>[http://yaneuraou.yaneu.com/2020/05/03/%E6%A9%9F%E6%A2%B0%E5%AD%A6%E7%BF%92%E3%82%A8%E3%83%B3%E3%82%B8%E3%83%8B%E3%82%A2%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AE%E5%B0%86%E6%A3%8Bai%E9%96%8B%E7%99%BA%E5%85%A5%E9%96%80%E3%81%9D%E3%81%AE1/ 機械学習エンジニアのための将棋AI開発入門その1 Introduction to Shogi AI development for machine learning engineers Part 1], May 03, 2020 (Japanese)</ref>, '''NNUE ''' was introduced in 2018 by [[Yu Nasu]] <ref>[[Yu Nasu]] ('''2018'''). ''ƎUИИ 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>,and was used in Shogi adaptations of [[Stockfish]] 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]] <ref>[https://github.com/Tama4649/Kristallweizen/ GitHub - Tama4649/Kristallweizen: 第29回世界コンピュータ将棋選手権 準優勝のKristallweizenです。]</ref>, apparently with [[AlphaZero]] strength <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=72754 The Stockfish of shogi] by [[Larry Kaufman]], [[CCC]], January 07, 2020</ref>.
* [[Cerebrum]]
* [[David E. Moriarty#SANE|SANE]]
* [[Stockfish NNUE#HalfKA|Stockfish HalfKAv2]]
=Publications=
* [[Yu Nasu]] ('''2018'''). ''ƎUИИ 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], [https://www.apply.computer-shogi.org/wcsc28/appeal/the_end_of_genesis_T.N.K.evolution_turbo_type_D/nnue.pdf pdf] (Japanese with English abstract) [https://github.com/asdfjkl/nnue GitHub - asdfjkl/nnue translation] <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76250 Translation of Yu Nasu's NNUE paper] by [[Dominik Klein]], [[CCC]], January 07, 2021</ref>
* [[Dominik Klein]] ('''2021'''). ''[https://github.com/asdfjkl/neural_network_chess Neural Networks For Chess]''. [https://github.com/asdfjkl/neural_network_chess/releases/tag/v1.1 Release Version 1.1 · GitHub] <ref>[https://www.talkchess.com/forum3/viewtopic.php?f=2&t=78283 Book about Neural Networks for Chess] by dkl, [[CCC]], September 29, 2021</ref>
=Forum Posts=
: [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=74531&start=8 Re: NNUE accessible explanation] by [[Jonathan Rosenthal]], [[CCC]], August 03, 2020
* [https://groups.google.com/d/msg/fishcooking/Wpk-9COzk64/ez643VTkAAAJ BrainLearn NNUE 1.0] by [[Andrea Manzo]], [[Computer Chess Forums|FishCooking]], July 25, 2020 » [[BrainLearn]]
* [https://groups.google.com/d/msg/fishcooking/yWtpz_FY5_Y/RMTG56fkAAAJ ShashChess NNUE 1.0] by [[Andrea Manzo]], [[Computer Chess Forums|FishCooking]], July 25, 2020 » [[ShashChess ]]
* [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=74611 What does NNUE actually mean] by Paloma, [[CCC]], July 29, 2020
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=75433 Seer] by [[Gerd Isenberg]], [[CCC]], October 18, 2020 » [[Seer]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=75482 BBC 1.3 + Stockfish NNUE released!] by [[Maksim Korzh]], [[CCC]], October 21, 2020 » [[BBC]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=75500 Mayhem NNUE - New NN engine] by [[Toni Helminen|JohnWoe]], [[CCC]], October 22, 2020 » [[Mayhem NNUE]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=75501 Centipawns vs Millipawns with NNUE] by Madeleine Birchfield, [[CCC]], October 23, 2020 » [[Centipawns]], [[Millipawns]]
* <span id="KingPlacements"></span>[http://www.talkchess.com/forum3/viewtopic.php?f=7&t=75506 NNUE Question - King Placements] by [[Andrew Grant]], [[CCC]], October 23, 2020 » [[Stockfish NNUE#NNUE Structure|Stockfish NNUE - NNUE Structure]]: [[#KingPlacementsCont|July 01, 2021 continuation]]
===November===
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=75651 Komodo 14.1 Release and Dragon Announcement] by [[Larry Kaufman]], [[CCC]], November 02, 2020 » [[Komodo]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76250 Translation of Yu Nasu's NNUE paper] by [[Dominik Klein]], [[CCC]], January 07, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=75724&start=60 Re: Pytorch NNUE training] by [[Gary Linscott]], [[CCC]], January 09, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76263 More experiments with neural nets] by [[Jonathan Kreuzer]], [[CCC]], January 09, 2021 » [[Slow Chess]]
* [https://groups.google.com/g/fishcooking/c/cad1MGSdpU4/m/Ury4iBqSBgAJ Shouldn't positional attributes drive SF's NNUE input features (rather than king position)?] by [[Nick Pelling]], [[Computer Chess Forums|FishCooking]], January 10, 2021 » [[Stockfish NNUE]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76285 HalfKP Structure in NNUE] by Roger Stephenson, [[CCC]], January 12, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76437 256 in NNUE?] by Ted Wong, [[CCC]], January 28, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76446 So what do we miss in the traditional evaluation?] by [[Ferdinand Mosca]], [[CCC]], January 29, 2021 » [[Evaluation]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76447 Latest Night Nurse released] by [[Dietrich Kappe]], [[CCC]], January 29, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76456 None-GPL NNUE probing code] by [[Daniel Shawul]], [[CCC]], January 31, 2021
===February===
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76556 HCE and NNUE and vectorisation] by [[Vivien Clauzon]], [[CCC]], February 11, 2021 » [[Minic]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76570 nnue reading code] by [[Jon Dart]], [[CCC]], February 13, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76648 New net: The White Rose] by [[Dietrich Kappe]], [[CCC]], February 20, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76664 Are neural nets (the weights file) copyrightable?] by [[Adam Treat]], [[CCC]], February 21, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76731 My first NNUE nn-f0c1c3cbf2f1.nnue] by [[Michael Byrne|MikeB]], [[CCC]], February 27, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76840 Simex including NNUE] by jjoshua2, [[CCC]], March 11, 2021 » [[Engine Similarity]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76844 NNUE ranking] by Jim Logan, [[CCC]], March 12, 2021 » [[Stockfish NNUE]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76892 FEN compression] by lucasart, [[CCC]], March 17, 2021 » [[Forsyth-Edwards NotationBMI2#FEN Compression|FEN Compression]], [[#Training|NNUE Training]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=76917 Mabigat - hyperparameter optimizer for NNUE net] by [[Ferdinand Mosca]], [[CCC]], March 22, 2021 » [[Automated Tuning]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76964 nnue-trainer] by [[Jon Dart]], [[CCC]], March 27, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77200 Crafty NNUE Chess Engine?] by supersharp77, [[CCC]], April 29, 2021 » [[Crafty]], [[Vafra]] <ref>[http://www.jurjevic.org.uk/chess/vafra/index.html Vafra] by [[Robert Jurjević]]</ref>
===May===
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77244 Komodo Dragon 2 released] by [[Larry Kaufman]], [[CCC]], May 04, 2021 » [[Dragon by Komodo Chess|Komodo Dragon]]* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77344 Stockfish with new NNUE architecture and bigger net released] by [[Stefan Pohl]], [[CCC]], May 19, 2021 » [[Stockfish]], [[Stockfish NNUE]]<ref>[https://github.com/official-stockfish/Stockfish/pull/3474 Update default net to nn-8a08400ed089.nnue by Sopel97 · Pull Request #3474 · official-stockfish/Stockfish · GitHub] by [[Tomasz Sobczyk]]</ref>
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=77348 NNUE scoring (egbb lib)] by [[Michael Hoffmann|Desperado]], [[CCC]], May 19, 2021 » [[Scorpio#ScorpioNNUE|Scorpio NNUE]]
===June===
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=77243&start=20 Re: Booot progress] by [[Alex Morozov]], [[CCC]], June 01, 2021 » [[Booot]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77438 Commercial Release of Ethereal 13.00 (NNUE) for AVX2 Systems] by [[Andrew Grant]], [[CCC]], June 04, 2021 » [[Ethereal#Ethereal 13 (NNUE)|Ethereal 13.00 (NNUE)]]
: [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77438&start=17 Re: Commercial Release of Ethereal 13.00 (NNUE) for AVX2 Systems] by [[Andrew Grant]], [[CCC]], June 04, 2021 » [[Stockfish NNUE#NNUE Structure|HalfKP]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77467 Dark Horse Update] by [[Dietrich Kappe]], [[CCC]], June 11, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=77492 Some more experiments with neural nets] by [[Jonathan Kreuzer]], [[CCC]], June 15, 2021 » [[Slow Chess]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77503&start=55 Re: will Tcec allow Stockfish with a Leela net to play?] by [[Connor McMonigle]], [[CCC]], June 17, 2021 » [[Stockfish]], [[Dragon by Komodo Chess|Komodo Dragon]], [[Ethereal]], [[Seer]]
: [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77503&start=63 Re: will Tcec allow Stockfish with a Leela net to play?] by [[Daniel Shawul]], [[CCC]], June 18, 2021 » [[Scorpio]]
: [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77503&start=68 Re: will Tcec allow Stockfish with a Leela net to play?] by [[Vivien Clauzon]], [[CCC]], June 18, 2021 » [[Minic]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77571 I declare that HCE is dead...] by [[Andrew Grant]], [[CCC]], June 29, 2021 » [[Ethereal]], [[Evaluation|HCE]]
===July===
* <span id="KingPlacementsCont"></span>[http://www.talkchess.com/forum3/viewtopic.php?f=7&t=75506&start=39 Re: NNUE Question - King Placements] by [[Tomasz Sobczyk]], [[CCC]], July 01, 2021 » [[#KingPlacements|NNUE Question]]
: [https://www.talkchess.com/forum3/viewtopic.php?f=7&t=75506&start=40 Re: NNUE Question - King Placements] by [[Daniel Shawul]], July 01, 2021 » [[Scorpio#ScorpioNNUE|ScorpioNNUE]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77602 Before things become more messy than they already are] by [[Ed Schroder|Ed Schröder]], [[CCC]], July 02, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=77606 NNUE training set generation] by [[Edsel Apostol]], [[CCC]], July 03, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77612 Time to rethink what Albert Silver has done?] by [[Srdja Matovic]], [[CCC]], July 03, 2021 » [[Fat Fritz#Fat Fritz 2|Fat Fritz 2]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77639 Would the ICGA have accepted today's NNUE engines?] by Madeleine Birchfield, [[CCC]], July 05, 2021 » [[ICGA]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77664 Koivisto 5.0] by [[Finn Eggers]], [[CCC]], July 07, 2021 » [[Koivisto]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77681 NNUE one year retrospective] by Madeleine Birchfield, [[CCC]], July 09, 2021
===August ...===
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=77869 Basic NNUE questions] by [[Amanj Sherwany]], [[CCC]], August 04, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=78109 Alternatives to King-Pawn, King-All NNUE encoding] by [[Andrew Grant]], [[CCC]], September 05, 2021
* [https://www.talkchess.com/forum3/viewtopic.php?f=7&t=78394 NNUE - Efficiently Updatable Network - understanding] by [[Daniel Infuehr]], [[CCC]], October 11, 2021
* [https://www.talkchess.com/forum3/viewtopic.php?f=2&t=78497 NNUE - only from own engine?] by [[Ed Schroder|Rebel]], October 25, 2021
* [https://www.talkchess.com/forum3/viewtopic.php?f=2&t=78588 Regarding AVX2] by [[Ed Schroder|Rebel]], [[CCC]], November 03, 2021 » [[AVX2]]
* [https://www.talkchess.com/forum3/viewtopic.php?f=2&t=78855 Mantissa 3.0.0] by [[Jeremy Wright]], [[CCC]], December 10, 2021 » [[Mantissa]]
* [https://www.talkchess.com/forum3/viewtopic.php?f=2&t=78979 Are NNUE Nets Specific to Chess Engines or They Universal to All Engines?] by daniel71, [[CCC]], December 26, 2021
==2022 ...==
* [https://www.talkchess.com/forum3/viewtopic.php?f=7&t=79020 Why NNUE trainer requires an online qsearch on each training position?] by [[Chao Ma]], [[CCC]], January 01, 2022
* [https://www.talkchess.com/forum3/viewtopic.php?f=2&t=79107 Rebel 14] by [[Ed Schroder|Ed Schröder]], [[CCC]], January 12, 2022 » [[Rebel#14|Rebel 14]]
* [https://www.talkchess.com/forum3/viewtopic.php?f=2&t=79523 Koivisto 8.0] by [[Finn Eggers]], [[CCC]], March 15, 2022 » [[Koivisto]]
* [https://www.talkchess.com/forum3/viewtopic.php?f=7&t=79742 NNUE + Pawn-King Network] by Alvin Peng, [[CCC]], April 22, 2022
=External Links=
* [https://github.com/fsmosca/Mabigat GitHub - fsmosca/Mabigat: NNUE parameter optimizer] by [[Ferdinand Mosca]] » [[Automated Tuning]]
==Misc==
* [https://software.intel.com/content/www/us/en/develop/articles/lower-numerical-precision-deep-learning-inference-and-training.html Lower Numerical Precision Deep Learning Inference and Training] by [https://community.intel.com/t5/user/viewprofilepage/user-id/134067 Andres Rodriguez] et al., [[Intel]], January 19, 2018 » [[AVX-512]]
* [https://en.wikipedia.org/wiki/Nue Nue from Wikipedia]
* [[:Category:Hiromi Uehara|Hiromi]] - [https://en.wikipedia.org/wiki/Spectrum_(Hiromi_album) Spectrum], 2019, [https://en.wikipedia.org/wiki/YouTube YouTube] Video
: {{#evu:https://www.youtube.com/watch?v=A8RCz_RoefM|alignment=left|valignment=top}}
=References=
'''[[Neural Networks|Up one Level]]'''
[[Category:Toriyama Sekien]]
[[Category:Hiromi Uehara]]