Deep learning and computer chess (part 1)

This paper focuses on two novel implementations of modern chess engines that use neural networks: Giraffe and DeepChess. Both models aim to evaluate chess positions without relying on handcrafted heuristics that are common in traditional chess engines. Giraffe consists of a three-layer feed-forward...

Full description

Saved in:
Bibliographic Details
Main Author: Muhammad Riaz Bin Jamalullah
Other Authors: He Ying
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2024
Subjects:
Online Access:https://hdl.handle.net/10356/181178
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-181178
record_format dspace
spelling sg-ntu-dr.10356-1811782024-11-18T01:14:24Z Deep learning and computer chess (part 1) Muhammad Riaz Bin Jamalullah He Ying College of Computing and Data Science YHe@ntu.edu.sg Computer and Information Science Chess Deep learning Neural network evaluation This paper focuses on two novel implementations of modern chess engines that use neural networks: Giraffe and DeepChess. Both models aim to evaluate chess positions without relying on handcrafted heuristics that are common in traditional chess engines. Giraffe consists of a three-layer feed-forward network that uses a low-level feature representation of game positions and makes predictions about the advantage of players (White and Black) in a given position. On the other hand, DeepChess employs a Siamese network architecture, integrating two models that are based on autoencoders, to compare game positions and predict the winner between two game states. In this paper, we implement, train and evaluate these models while introducing modifications to improve their performance and test the effectiveness of certain model parameters. Different architectures which include creating deeper networks as well as alternative activation functions were tested. Our results show that in the problem space of multiclass classification, a modified deeper Giraffe architecture with more hidden layers significantly improved evaluation accuracy. Our DeepChess implementation with the Leaky Rectified Linear Unit activation function achieved the best performance, albeit with significant overfitting. These experiments help provide further insight into the strengths and limitations of these models and neural network based chess engines in general, as well as the potential for future improvements. Bachelor's degree 2024-11-18T01:14:24Z 2024-11-18T01:14:24Z 2024 Final Year Project (FYP) Muhammad Riaz Bin Jamalullah (2024). Deep learning and computer chess (part 1). Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/181178 https://hdl.handle.net/10356/181178 en SCSE23-0981 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 Computer and Information Science
Chess
Deep learning
Neural network evaluation
spellingShingle Computer and Information Science
Chess
Deep learning
Neural network evaluation
Muhammad Riaz Bin Jamalullah
Deep learning and computer chess (part 1)
description This paper focuses on two novel implementations of modern chess engines that use neural networks: Giraffe and DeepChess. Both models aim to evaluate chess positions without relying on handcrafted heuristics that are common in traditional chess engines. Giraffe consists of a three-layer feed-forward network that uses a low-level feature representation of game positions and makes predictions about the advantage of players (White and Black) in a given position. On the other hand, DeepChess employs a Siamese network architecture, integrating two models that are based on autoencoders, to compare game positions and predict the winner between two game states. In this paper, we implement, train and evaluate these models while introducing modifications to improve their performance and test the effectiveness of certain model parameters. Different architectures which include creating deeper networks as well as alternative activation functions were tested. Our results show that in the problem space of multiclass classification, a modified deeper Giraffe architecture with more hidden layers significantly improved evaluation accuracy. Our DeepChess implementation with the Leaky Rectified Linear Unit activation function achieved the best performance, albeit with significant overfitting. These experiments help provide further insight into the strengths and limitations of these models and neural network based chess engines in general, as well as the potential for future improvements.
author2 He Ying
author_facet He Ying
Muhammad Riaz Bin Jamalullah
format Final Year Project
author Muhammad Riaz Bin Jamalullah
author_sort Muhammad Riaz Bin Jamalullah
title Deep learning and computer chess (part 1)
title_short Deep learning and computer chess (part 1)
title_full Deep learning and computer chess (part 1)
title_fullStr Deep learning and computer chess (part 1)
title_full_unstemmed Deep learning and computer chess (part 1)
title_sort deep learning and computer chess (part 1)
publisher Nanyang Technological University
publishDate 2024
url https://hdl.handle.net/10356/181178
_version_ 1816858936668585984