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
Moderator: Ras
-
- Posts: 28
- Joined: Wed Jan 14, 2015 5:55 pm
Translation of Yu Nasu's NNUE paper
Not Fritz, it's Jerry! Free Chess GUI - https://github.com/asdfjkl/jerry
Free Book about Neural Networks for Chess - https://github.com/asdfjkl/neural_network_chess
Free Book about Neural Networks for Chess - https://github.com/asdfjkl/neural_network_chess
-
- Posts: 775
- Joined: Sat Sep 08, 2018 5:37 pm
- Location: Ukraine
- Full name: Maksim Korzh
Re: Translation of Yu Nasu's NNUE paper
Thanks for sharing!dkl wrote: ↑Thu Jan 07, 2021 11:38 am 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...?!
Didactic chess engines:
https://www.chessprogramming.org/Maksim_Korzh
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ
https://www.chessprogramming.org/Maksim_Korzh
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ
-
- Posts: 2251
- Joined: Wed Mar 08, 2006 8:47 pm
- Location: Hattingen, Germany
Re: Translation of Yu Nasu's NNUE paper
Thank you, Dominik.dkl wrote: ↑Thu Jan 07, 2021 11:38 am 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...?!
CPW will soon add links.
-
- Posts: 4846
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Translation of Yu Nasu's NNUE paper
Thanks for the translation.dkl wrote: ↑Thu Jan 07, 2021 11:38 am 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...?!
-
- Posts: 498
- Joined: Wed Mar 08, 2006 9:45 pm
- Location: Portland, OR
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.
-
- Posts: 4889
- Joined: Thu Mar 09, 2006 6:34 am
- Location: Pen Argyl, Pennsylvania
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: 454
- Joined: Mon Nov 01, 2010 6:55 am
- Full name: Ted Wong
Re: Translation of Yu Nasu's NNUE paper
Brilliant! I had been trying to read the paper for a long time, but Japanese... Thanks!!