Deep learning in computer chess
This report demonstrates a statistic chess position evaluation of a chess engine using two differ- ent neural network architectures. In this project, I worked on two deep learning techniques to achieve the aim of in a seven-class classification task using 10,000 distinct chess positions from Kaggl...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2023
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/172008 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-172008 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-1720082023-11-24T15:36:43Z Deep learning in computer chess Zhao, Yu He Ying School of Computer Science and Engineering YHe@ntu.edu.sg Engineering::Computer science and engineering This report demonstrates a statistic chess position evaluation of a chess engine using two differ- ent neural network architectures. In this project, I worked on two deep learning techniques to achieve the aim of in a seven-class classification task using 10,000 distinct chess positions from Kaggle1, la- beled by Stockfish 16, a simple MLP and a three-layer neural network inspired by Mathew Lai.The first implementation and architecture is a Multi-Layer Perceptron (MLP) which contains three layers of 128 neurons each with ReLU activation function and an output layer with CrossEntropyLoss function. The second architecture is following the concept of Matthew Lai’s Giraffe to build a three-layer neural network, whose first layer was not fully conneccted but seperated into three modalities piece-centri, square-centric and position-centric to prevent overfitting, more details would be discussed in Method- ology section. Eventually, the MLP achieved the test accuracy 84.26% and the three-layer Neural Network achieved test accuracy 95.38% . Bachelor of Engineering (Computer Engineering) 2023-11-20T07:07:35Z 2023-11-20T07:07:35Z 2023 Final Year Project (FYP) Zhao, Y. (2023). Deep learning in computer chess. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/172008 https://hdl.handle.net/10356/172008 en application/pdf Nanyang Technological University |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
Engineering::Computer science and engineering |
spellingShingle |
Engineering::Computer science and engineering Zhao, Yu Deep learning in computer chess |
description |
This report demonstrates a statistic chess position evaluation of a chess engine using two differ-
ent neural network architectures. In this project, I worked on two deep learning techniques to achieve
the aim of in a seven-class classification task using 10,000 distinct chess positions from Kaggle1, la-
beled by Stockfish 16, a simple MLP and a three-layer neural network inspired by Mathew Lai.The
first implementation and architecture is a Multi-Layer Perceptron (MLP) which contains three layers of
128 neurons each with ReLU activation function and an output layer with CrossEntropyLoss function.
The second architecture is following the concept of Matthew Lai’s Giraffe to build a three-layer neural
network, whose first layer was not fully conneccted but seperated into three modalities piece-centri,
square-centric and position-centric to prevent overfitting, more details would be discussed in Method-
ology section. Eventually, the MLP achieved the test accuracy 84.26% and the three-layer Neural
Network achieved test accuracy 95.38% . |
author2 |
He Ying |
author_facet |
He Ying Zhao, Yu |
format |
Final Year Project |
author |
Zhao, Yu |
author_sort |
Zhao, Yu |
title |
Deep learning in computer chess |
title_short |
Deep learning in computer chess |
title_full |
Deep learning in computer chess |
title_fullStr |
Deep learning in computer chess |
title_full_unstemmed |
Deep learning in computer chess |
title_sort |
deep learning in computer chess |
publisher |
Nanyang Technological University |
publishDate |
2023 |
url |
https://hdl.handle.net/10356/172008 |
_version_ |
1783955499936382976 |