Playing Flappy Bird Based on Motion Recognition Using a Transformer Model and LIDAR Sensor

Author:

Dirgová Luptáková Iveta1,Kubovčík Martin1,Pospíchal Jiří1ORCID

Affiliation:

1. Institute of Computer Technologies and Informatics, Faculty of Natural Sciences, University of Ss. Cyril and Methodius, J. Herdu 2, 917 01 Trnava, Slovakia

Abstract

A transformer neural network is employed in the present study to predict Q-values in a simulated environment using reinforcement learning techniques. The goal is to teach an agent to navigate and excel in the Flappy Bird game, which became a popular model for control in machine learning approaches. Unlike most top existing approaches that use the game’s rendered image as input, our main contribution lies in using sensory input from LIDAR, which is represented by the ray casting method. Specifically, we focus on understanding the temporal context of measurements from a ray casting perspective and optimizing potentially risky behavior by considering the degree of the approach to objects identified as obstacles. The agent learned to use the measurements from ray casting to avoid collisions with obstacles. Our model substantially outperforms related approaches. Going forward, we aim to apply this approach in real-world scenarios.

Funder

Cultural and Educational Grant Agency MŠVVaŠ SR

Erasmus+ project FAAI: The Future is in Applied Artificial Intelligence

Publisher

MDPI AG

Reference50 articles.

1. Attention Is All You Need;Vaswani;Adv. Neural Inf. Process. Syst.,2017

2. Are transformers effective for time series forecasting?;Zeng;Proc. AAAI Conf. Artif. Intell.,2023

3. Reinforcement Learning for Improving Flappy Bird Game;Wei;Highlights Sci. Eng. Technol.,2023

4. Playing Flappy Bird with Deep Reinforcement Learning;Pilcer;IEEE Trans. Neural Netw.,2015

5. Yang, K. (2022, January 15–17). Using DQN and Double DQN to Play Flappy Bird. Proceedings of the 2022 International Conference on Artificial Intelligence, Internet and Digital Economy (ICAID 2022), Xi’an, China. Available online: https://www.atlantis-press.com/article/125977189.pdf.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3