Related Experiment Video
Updated: May 9, 2026

10:56
Long-term Behavioral Tracking of Freely Swimming Weakly Electric Fish
Published on: March 6, 2014
12.5K
Playing Flappy Bird Based on Motion Recognition Using a Transformer Model and LIDAR Sensor
Iveta Dirgová Luptáková1, Martin Kubovčík1, Jiří Pospíchal1
1Institute of Computer Technologies and Informatics, Faculty of Natural Sciences, University of Ss. Cyril and Methodius, J. Herdu 2, 917 01 Trnava, Slovakia.
Sensors (Basel, Switzerland)
|March 28, 2024
Summary
This study uses a transformer neural network and LIDAR ray casting for reinforcement learning in Flappy Bird. The agent successfully learned to avoid obstacles, outperforming existing methods.
Area of Science:
- Artificial Intelligence
- Machine Learning
- Robotics
Background:
- The Flappy Bird game is a popular benchmark for reinforcement learning control tasks.
- Traditional approaches often rely on visual input (game rendered image).
- There is a need for alternative sensory inputs and methods for robust agent navigation.
Purpose of the Study:
- To develop a reinforcement learning agent capable of navigating the Flappy Bird game.
- To investigate the efficacy of using LIDAR (Light Detection and Ranging) sensory input, processed via ray casting, for agent control.
- To enhance obstacle avoidance by analyzing temporal context and proximity to obstacles.
Main Methods:
- Utilized a transformer neural network architecture for predicting Q-values.
- Employed reinforcement learning techniques to train the agent.
- Implemented a ray casting method to represent LIDAR sensory input, focusing on temporal measurements.
- Optimized agent behavior by considering the degree of approach to obstacles.
Main Results:
- The agent successfully learned to navigate the Flappy Bird environment.
- The agent effectively utilized ray casting measurements to avoid collisions with obstacles.
- The proposed model demonstrated substantial performance improvements over related approaches.
Conclusions:
- Transformer neural networks combined with LIDAR ray casting provide an effective alternative to visual input for reinforcement learning agents.
- This approach enhances obstacle avoidance capabilities by leveraging temporal sensory data.
- The method shows promise for application in real-world navigation and control scenarios.
Related Concept Videos
Gyroscope
A gyroscope is defined as a spinning disk in which the axis of rotation is free to assume any orientation. When spinning, the orientation of the spin axis is unaffected by the orientation of the body that encloses it. The body or vehicle enclosing the gyroscope can be moved from place to place, while the orientation of the spin axis remains the same. This makes gyroscopes very useful in navigation, especially where magnetic compasses cannot be used, such as in crewed and crewless spacecraft,...
Absolute Motion Analysis- General Plane Motion
Visualize a drone, with its propellers spinning rapidly, hovering mid-air. The fascinating movements and operations of this drone can be comprehended by applying the principle of general plane motion.
As the drone's propellers rotate, an upward force is generated that counteracts the force of gravity, enabling the drone to lift off from the ground. This initial movement of the drone is along a straight path, representing a form of translational motion. In this phase, every point on the drone...
As the drone's propellers rotate, an upward force is generated that counteracts the force of gravity, enabling the drone to lift off from the ground. This initial movement of the drone is along a straight path, representing a form of translational motion. In this phase, every point on the drone...
Relative Motion Analysis using Rotating Axes
Consider a component AB undergoing a linear motion. Along with a linear motion, point B also rotates around point A. To comprehend this complex movement, position vectors for both points A and B are established using a stationary reference frame.
However, to express the relative position of point B relative to point A, an additional frame of reference, denoted as x'y', is necessary. This additional frame not only translates but also rotates relative to the fixed frame, making it instrumental in...
However, to express the relative position of point B relative to point A, an additional frame of reference, denoted as x'y', is necessary. This additional frame not only translates but also rotates relative to the fixed frame, making it instrumental in...

