Skip to main content
QUICK REVIEW

[Paper Review] ASTM :Autonomous Smart Traffic Management System Using Artificial Intelligence CNN and LSTM

Christofel Rio Goenawan|arXiv (Cornell University)|Oct 14, 2024
Traffic Prediction and Management TechniquesEngineering5 citations
TL;DR

The paper presents an Autonomous Smart Traffic Management (ASTM) system that uses YOLOv5 for vehicle detection and an LSTM-based RNN to forecast traffic for 12 hours, evaluated in CARLA showing improved flow and reduced delays.

ABSTRACT

In the modern world, the development of Artificial Intelligence (AI) has contributed to improvements in various areas, including automation, computer vision, fraud detection, and more. AI can be leveraged to enhance the efficiency of Autonomous Smart Traffic Management (ASTM) systems and reduce traffic congestion rates. This paper presents an Autonomous Smart Traffic Management (STM) system that uses AI to improve traffic flow rates. The system employs the YOLO V5 Convolutional Neural Network to detect vehicles in traffic management images. Additionally, it predicts the number of vehicles for the next 12 hours using a Recurrent Neural Network with Long Short-Term Memory (RNN-LSTM). The Smart Traffic Management Cycle Length Analysis manages the traffic cycle length based on these vehicle predictions, aided by AI. From the results of the RNN-LSTM model for predicting vehicle numbers over the next 12 hours, we observe that the model predicts traffic with a Mean Squared Error (MSE) of 4.521 vehicles and a Root Mean Squared Error (RMSE) of 2.232 vehicles. After simulating the STM system in the CARLA simulation environment, we found that the Traffic Management Congestion Flow Rate with ASTM (21 vehicles per minute) is 50\% higher than the rate without STM (around 15 vehicles per minute). Additionally, the Traffic Management Vehicle Pass Delay with STM (5 seconds per vehicle) is 70\% lower than without STM (around 12 seconds per vehicle). These results demonstrate that the STM system using AI can increase traffic flow by 50\% and reduce vehicle pass delays by 70\%.

Motivation & Objective

  • Motivate improvements in traffic efficiency through AI-driven autonomous traffic management.
  • Develop a system that detects vehicles in traffic images and predicts future vehicle counts.
  • Optimize traffic signal cycle length using predictive analytics and fuzzy decision making.
  • Evaluate the ASTM system in a realistic simulation to quantify congestion reduction and flow improvements.

Proposed method

  • Detect vehicles in traffic images using YOLOv5 CNN with tuned hyperparameters (lr0, momentum, mosaic, degree, scale, weight decay).
  • Predict next 12 hours of vehicle counts with an LSTM-based RNN using features like past counts and timestamp components.
  • Compute optimal traffic signal cycle length using Webster’s formula within a fuzzy decision-making framework.
  • Simulate and evaluate system performance in the CARLA autonomous driving simulator across multiple scenarios.
  • Train and validate YOLOv5 achieving MAP 0.4034 (overall) and 0.95251 for cars; RMSE/MSE for vehicle prediction: MSE 4.521, RMSE 2.232.
Figure 1: Convolutional Neural Network for Image Detection in Artificial Intelligence
Figure 1: Convolutional Neural Network for Image Detection in Artificial Intelligence

Experimental results

Research questions

  • RQ1Does YOLOv5-based vehicle detection accurately identify vehicles in traffic management imagery for ASTM?
  • RQ2How accurately can the LSTM model predict vehicle counts for the next 12 hours?
  • RQ3What is the impact of ASTM on traffic congestion and vehicle pass delay in a CARLA-based simulation?
  • RQ4How effective is Webster’s-based cycle length optimization within fuzzy decision making for dynamic traffic conditions?

Key findings

  • YOLOv5 vehicle detection MAP reaches 0.88561 overall and 0.95251 for cars after tuning.
  • The LSTM model predicts 12-hour vehicle counts with MSE 4.521 and RMSE 2.232.
  • CARLA simulations show a 50% increase in congestion flow rate with ASTM (21 vpm) compared to ~15 vpm without STM.
  • ASTM reduces vehicle pass delay by 70% (5 seconds per vehicle) compared to ~12 seconds per vehicle without STM.
  • Best-tuned YOLOv5 hyperparameters include lr0 0.0052, momentum 0.595, mosaic 0.36, degree 72, scale 1.32, weight_decay 0.0005; MAP 0.4034 for ASTMs’ vehicle detection.
Figure 2: Recurrent Neural Network Architecture for Traffic Congestion System Prediction using Artificial Intelligence
Figure 2: Recurrent Neural Network Architecture for Traffic Congestion System Prediction using Artificial Intelligence

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.