Enhanced Deep Q-Learning for 2D Self-Driving Cars: Implementation and Evaluation on a Custom Track Environment
Abstract: This research project presents the implementation of a Deep Q-Learning Network (DQN) for a self-driving car on a 2-dimensional (2D) custom track, with the objective of enhancing the DQN network's performance. It encompasses the development of a custom driving environment using Pygame on a track surrounding the University of Memphis map, as well as the design and implementation of the DQN model. The algorithm utilizes data from 7 sensors installed in the car, which measure the distance between the car and the track. These sensors are positioned in front of the vehicle, spaced 20 degrees apart, enabling them to sense a wide area ahead. We successfully implemented the DQN and also a modified version of the DQN with a priority-based action selection mechanism, which we refer to as modified DQN. The model was trained over 1000 episodes, and the average reward received by the agent was found to be around 40, which is approximately 60% higher than the original DQN and around 50% higher than the vanilla neural network.
- 2020. CarRacing DQN: A DQN Agent to play CarRacing 2d using TensorFlow and Keras. (2020). https://github.com/andywu0913/OpenAI-GYM-CarRacing-DQN.
- 2023a. Documentation - SUMO Documentation. https://sumo.dlr.de/docs/index.html. (2023). (Accessed on 05/05/2023).
- 2023. duarouter - SUMO Documentation. https://sumo.dlr.de/docs/duarouter.html. (2023). (Accessed on 05/05/2023).
- 2023. netconvert - SUMO Documentation. https://sumo.dlr.de/docs/netconvert.html. (2023). (Accessed on 05/05/2023).
- 2023. OpenStreetMap Foundation. https://wiki.osmfoundation.org/wiki/Main_Page. (2023). (Accessed on 05/05/2023).
- 2023. pygame · PyPI. https://pypi.org/project/pygame/. (2023). (Accessed on 05/05/2023).
- 2023b. sumo - SUMO Documentation. https://sumo.dlr.de/docs/sumo.html. (2023). (Accessed on 05/05/2023).
- 2023c. sumo-gui - SUMO Documentation. https://sumo.dlr.de/docs/sumo-gui.html. (2023). (Accessed on 05/05/2023).
- 2023. TraCI - SUMO Documentation. https://sumo.dlr.de/docs/TraCI.html. (2023). (Accessed on 05/05/2023).
- 2023. Trip - SUMO Documentation. https://sumo.dlr.de/docs/Tools/Trip.html. (2023). (Accessed on 05/05/2023).
- Max Peter Ronecker and Yuan Zhu. 2019. Deep Q-Network Based Decision Making for Autonomous Driving. In 2019 3rd International Conference on Robotics and Automation Sciences (ICRAS). 154–160. DOI:http://dx.doi.org/10.1109/ICRAS.2019.8808950Â
- Deep Reinforcement Learning framework for Autonomous Driving. Electronic Imaging 29, 19 (jan 2017), 70–76. DOI:http://dx.doi.org/10.2352/issn.2470-1173.2017.19.avm-023Â
- Lei Tai and Ming Liu. 2016. A robot exploration strategy based on Q-learning network. In 2016 IEEE International Conference on Real-time Computing and Robotics (RCAR). 57–62. DOI:http://dx.doi.org/10.1109/RCAR.2016.7784001Â
- Li Ling Koh Yang Thee Quek. 2021. Deep Q-network implementation for simulated autonomous vehicle control - Quek - 2021 - IET Intelligent Transport Systems - Wiley Online Library. https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/itr2.12067. (2021). (Accessed on 05/05/2023).
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.