Cargando…

Application of Deep Reinforcement Learning to NS-SHAFT Game Signal Control

Reinforcement learning (RL) with both exploration and exploit abilities is applied to games to demonstrate that it can surpass human performance. This paper mainly applies Deep Q-Network (DQN), which combines reinforcement learning and deep learning to the real-time action response of NS-SHAFT game...

Descripción completa

Detalles Bibliográficos
Autores principales: Chang, Ching-Lung, Chen, Shuo-Tsung, Lin, Po-Yu, Chang, Chuan-Yu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9317465/
https://www.ncbi.nlm.nih.gov/pubmed/35890943
http://dx.doi.org/10.3390/s22145265
_version_ 1784755063224270848
author Chang, Ching-Lung
Chen, Shuo-Tsung
Lin, Po-Yu
Chang, Chuan-Yu
author_facet Chang, Ching-Lung
Chen, Shuo-Tsung
Lin, Po-Yu
Chang, Chuan-Yu
author_sort Chang, Ching-Lung
collection PubMed
description Reinforcement learning (RL) with both exploration and exploit abilities is applied to games to demonstrate that it can surpass human performance. This paper mainly applies Deep Q-Network (DQN), which combines reinforcement learning and deep learning to the real-time action response of NS-SHAFT game with Cheat Engine as the API of game information autonomously. Based on a personal computer, we build an experimental learning environment that automatically captures the NS-SHAFT’s frame, which is provided to DQN to decide the action of moving left, moving right, or stay in same location, survey different parameters: such as the sample frequency, different reward function, and batch size, etc. The experiment found that the relevant parameter settings have a certain degree of influence on the DQN learning effect. Moreover, we use Cheat Engine as the API of NS-SHAFT game information to locate the relevant values in the NS-SHAFT game, and then read the relevant values to achieve the operation of the overall experimental platform and the calculation of Reward. Accordingly, we successfully establish an instant learning environment and instant game training for the NS-SHAFT game.
format Online
Article
Text
id pubmed-9317465
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-93174652022-07-27 Application of Deep Reinforcement Learning to NS-SHAFT Game Signal Control Chang, Ching-Lung Chen, Shuo-Tsung Lin, Po-Yu Chang, Chuan-Yu Sensors (Basel) Article Reinforcement learning (RL) with both exploration and exploit abilities is applied to games to demonstrate that it can surpass human performance. This paper mainly applies Deep Q-Network (DQN), which combines reinforcement learning and deep learning to the real-time action response of NS-SHAFT game with Cheat Engine as the API of game information autonomously. Based on a personal computer, we build an experimental learning environment that automatically captures the NS-SHAFT’s frame, which is provided to DQN to decide the action of moving left, moving right, or stay in same location, survey different parameters: such as the sample frequency, different reward function, and batch size, etc. The experiment found that the relevant parameter settings have a certain degree of influence on the DQN learning effect. Moreover, we use Cheat Engine as the API of NS-SHAFT game information to locate the relevant values in the NS-SHAFT game, and then read the relevant values to achieve the operation of the overall experimental platform and the calculation of Reward. Accordingly, we successfully establish an instant learning environment and instant game training for the NS-SHAFT game. MDPI 2022-07-14 /pmc/articles/PMC9317465/ /pubmed/35890943 http://dx.doi.org/10.3390/s22145265 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Chang, Ching-Lung
Chen, Shuo-Tsung
Lin, Po-Yu
Chang, Chuan-Yu
Application of Deep Reinforcement Learning to NS-SHAFT Game Signal Control
title Application of Deep Reinforcement Learning to NS-SHAFT Game Signal Control
title_full Application of Deep Reinforcement Learning to NS-SHAFT Game Signal Control
title_fullStr Application of Deep Reinforcement Learning to NS-SHAFT Game Signal Control
title_full_unstemmed Application of Deep Reinforcement Learning to NS-SHAFT Game Signal Control
title_short Application of Deep Reinforcement Learning to NS-SHAFT Game Signal Control
title_sort application of deep reinforcement learning to ns-shaft game signal control
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9317465/
https://www.ncbi.nlm.nih.gov/pubmed/35890943
http://dx.doi.org/10.3390/s22145265
work_keys_str_mv AT changchinglung applicationofdeepreinforcementlearningtonsshaftgamesignalcontrol
AT chenshuotsung applicationofdeepreinforcementlearningtonsshaftgamesignalcontrol
AT linpoyu applicationofdeepreinforcementlearningtonsshaftgamesignalcontrol
AT changchuanyu applicationofdeepreinforcementlearningtonsshaftgamesignalcontrol