Page 1 of 1

Translation of Yu Nasu's NNUE paper

Posted: Thu Jan 07, 2021 11:38 am
by dkl
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...?!

Re: Translation of Yu Nasu's NNUE paper

Posted: Thu Jan 07, 2021 12:16 pm
by maksimKorzh
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...?!
Thanks for sharing!

Re: Translation of Yu Nasu's NNUE paper

Posted: Thu Jan 07, 2021 5:24 pm
by Gerd Isenberg
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...?!
Thank you, Dominik.
CPW will soon add links.

Re: Translation of Yu Nasu's NNUE paper

Posted: Thu Jan 07, 2021 5:43 pm
by Ferdy
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...?!
Thanks for the translation.

Re: Translation of Yu Nasu's NNUE paper

Posted: Fri Jan 08, 2021 12:01 am
by IanO
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

Posted: Sat Jan 09, 2021 5:05 pm
by MikeB
Great stuff, I edited the English version to improve readability.

https://www.dropbox.com/s/y0vwv9oz7mbse ... b.pdf?dl=0

Re: Translation of Yu Nasu's NNUE paper

Posted: Sat Jan 09, 2021 8:28 pm
by kinderchocolate
Brilliant! I had been trying to read the paper for a long time, but Japanese... Thanks!!