I was very interested in how the NNUE is actually designed an implemented.
Yu Nasu originally introduced it in his 2018 paper "Efficiently Updatable Neural-Network-basedEvaluation Functions for Computer Shogi" (available here https://www.apply.computer-shogi.org/wc ... D/nnue.pdf ), but it's unfortunately only available in Japanese. Only the abstract is in English.
I thus created a rough translation of this paper to German and English. The PDFs are available at my github repo here
https://github.com/asdfjkl/nnue
The German translation is quite literal word-by-word, for English I took more freedom. Of course, if someone spots translation errors, I'll try to fix these over time. Some sections that might seem confusing are however already in the original paper difficult to read, as they assume some knowledge about certain computer Shogi aspects (like the previously commonly used Shogi evaluation function, or the KP encoding).
Still though it might be easier to understand this from the paper than from looking at code. It might also make sense to link these in the chessprogramming wiki...?!
Translation of Yu Nasu's NNUE paper
Moderators: hgm, Dann Corbit, Harvey Williamson
Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Translation of Yu Nasu's NNUE paper
Not Fritz, it's Jerry! Free Chess GUI - https://github.com/asdfjkl/jerry
- maksimKorzh
- Posts: 630
- Joined: Sat Sep 08, 2018 3:37 pm
- Location: Ukraine
- Full name: Maksim Korzh
- Contact:
Re: Translation of Yu Nasu's NNUE paper
Thanks for sharing!dkl wrote: ↑Thu Jan 07, 2021 10:38 amI was very interested in how the NNUE is actually designed an implemented.
Yu Nasu originally introduced it in his 2018 paper "Efficiently Updatable Neural-Network-basedEvaluation Functions for Computer Shogi" (available here https://www.apply.computer-shogi.org/wc ... D/nnue.pdf ), but it's unfortunately only available in Japanese. Only the abstract is in English.
I thus created a rough translation of this paper to German and English. The PDFs are available at my github repo here
https://github.com/asdfjkl/nnue
The German translation is quite literal word-by-word, for English I took more freedom. Of course, if someone spots translation errors, I'll try to fix these over time. Some sections that might seem confusing are however already in the original paper difficult to read, as they assume some knowledge about certain computer Shogi aspects (like the previously commonly used Shogi evaluation function, or the KP encoding).
Still though it might be easier to understand this from the paper than from looking at code. It might also make sense to link these in the chessprogramming wiki...?!
Wukong Xiangqi (Chinese chess engine + apps to embed into 3rd party websites):
https://github.com/maksimKorzh/wukong-xiangqi
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ
https://github.com/maksimKorzh/wukong-xiangqi
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ
-
- Posts: 2233
- Joined: Wed Mar 08, 2006 7:47 pm
- Location: Hattingen, Germany
Re: Translation of Yu Nasu's NNUE paper
Thank you, Dominik.dkl wrote: ↑Thu Jan 07, 2021 10:38 amI was very interested in how the NNUE is actually designed an implemented.
Yu Nasu originally introduced it in his 2018 paper "Efficiently Updatable Neural-Network-basedEvaluation Functions for Computer Shogi" (available here https://www.apply.computer-shogi.org/wc ... D/nnue.pdf ), but it's unfortunately only available in Japanese. Only the abstract is in English.
I thus created a rough translation of this paper to German and English. The PDFs are available at my github repo here
https://github.com/asdfjkl/nnue
The German translation is quite literal word-by-word, for English I took more freedom. Of course, if someone spots translation errors, I'll try to fix these over time. Some sections that might seem confusing are however already in the original paper difficult to read, as they assume some knowledge about certain computer Shogi aspects (like the previously commonly used Shogi evaluation function, or the KP encoding).
Still though it might be easier to understand this from the paper than from looking at code. It might also make sense to link these in the chessprogramming wiki...?!
CPW will soon add links.
Re: Translation of Yu Nasu's NNUE paper
Thanks for the translation.dkl wrote: ↑Thu Jan 07, 2021 10:38 amI was very interested in how the NNUE is actually designed an implemented.
Yu Nasu originally introduced it in his 2018 paper "Efficiently Updatable Neural-Network-basedEvaluation Functions for Computer Shogi" (available here https://www.apply.computer-shogi.org/wc ... D/nnue.pdf ), but it's unfortunately only available in Japanese. Only the abstract is in English.
I thus created a rough translation of this paper to German and English. The PDFs are available at my github repo here
https://github.com/asdfjkl/nnue
The German translation is quite literal word-by-word, for English I took more freedom. Of course, if someone spots translation errors, I'll try to fix these over time. Some sections that might seem confusing are however already in the original paper difficult to read, as they assume some knowledge about certain computer Shogi aspects (like the previously commonly used Shogi evaluation function, or the KP encoding).
Still though it might be easier to understand this from the paper than from looking at code. It might also make sense to link these in the chessprogramming wiki...?!
Re: Translation of Yu Nasu's NNUE paper
I suggest asking Larry Kaufmann for a review of your work. He is knowledgable in both computer chess and shogi.
Re: Translation of Yu Nasu's NNUE paper
Great stuff, I edited the English version to improve readability.
https://www.dropbox.com/s/y0vwv9oz7mbse ... b.pdf?dl=0
https://www.dropbox.com/s/y0vwv9oz7mbse ... b.pdf?dl=0
-
- Posts: 449
- Joined: Mon Nov 01, 2010 5:55 am
- Full name: Ted Wong
- Contact:
Re: Translation of Yu Nasu's NNUE paper
Brilliant! I had been trying to read the paper for a long time, but Japanese... Thanks!!
Chessable Technical Lead. https://www.linkedin.com/in/scchess. SmallChess. http://smallchess.com. https://twitter.com/scchess. https://www.facebook.com/scchess.