Intelligent Meta-Heuristic-Based Optimization of Traffic Light Timing Using Artificial Intelligence Techniques
Abstract
:1. Introduction
- Increased road traffic congestion due to the increasing numbers of road users and the limited capacity of the current road infrastructure that cannot be extended easily, where this main problem could cause many subproblems such as increased waiting time, increased number of accidents and increased levels of CO and CO2 gas emissions [18].
- A current problem exists in the proposed meta-heuristic algorithms in the literature concerning both the execution time and convergence speed, which are two important factors that should be minimized/improved when designing a meta-heuristic algorithm. This will help us in making faster decisions and better solutions that are nearer to the optimal solution.
- A current problem exists in the proposed machine learning models in the literature when it comes to the prediction accuracy of the solution. Better predictions will enable us to make more wise future decision and help solve the problem before occurring.
1.1. Motivations
1.2. Contributions
1.3. Organization
2. Related Work
3. Background
3.1. Prediction Algorithms
3.1.1. Recurrent Neural Network (RNN)
3.1.2. Long Short-Term Memory (LSTM)
3.1.3. Decision Tree
- Data Splitting:
- Feature Selection:
- Recursive Process:
- Leaf Node Labeling:
- Prediction:
3.1.4. Auto-Regressive Integrated Moving Average (ARIMA)
3.1.5. Seasonal ARIMA (SARIMA)
3.2. Meta-Heuristics Algorithms
3.2.1. Phases in Meta-Heuristics Algorithms
- Exploration: First, we have exploration, which is the process of examining a large portion of the solution space for novel and varied solutions. The algorithm places a premium on trying out fresh solutions, even if they do not look promising at first. By searching for other regions of the solution space, exploration aims to prevent getting stuck in local optima (suboptimal solutions). In other words, the goal of exploration is to keep the population of solutions diverse and to stop it from settling too quickly into a suboptimal zone.
- Exploitation: The second strategy, “exploitation”, is a thorough investigation of proven methods in order to hone and enhance them. The algorithm’s focus throughout the exploitation phase is on using the insights acquired from previously found optimal solutions to further enhance and perfect them. This is usually done through local search techniques that center on making minor adjustments close to probable solutions. The goal of exploitation is to improve upon already promising solutions so that they converge on the optimal solution.
3.2.2. BAT Meta-Heuristic Algorithm
- The algorithm begins by creating a population of bats with uniformly distributed initial positions in the solution space (referred to as “initialization”). Each bat has a unique pulse emission rate and loudness value that influences how it flies.
- Emission and Movement: From their current locations, bats emit ultrasonic pulses, with the intensity of the pulse decreasing with each repetition. Bats make course corrections using information from the radiated pulses as well as their own past positions and velocities. By flying about, bats can test out many strategies and eventually settle on the most effective one.
- Pulse Frequency and Velocity: A bat’s search radius surrounding its current position is determined by the frequency of its pulses. More global exploration is encouraged by bats with higher pulse frequencies, whereas local exploitation is prioritized by those with lower frequencies. Each bat’s speed is revised every time its pulse frequency or volume is detected.
- Local Search and Global Search: When looking for interesting regions in the solution space, bats undertake a local search around their current places. They also alter their speeds in the direction of the greatest solution identified so far in the population, which aids in worldwide research.
- The loudness and pulse frequency of each bat are adjusted to reflect their current performance. Bats with better solutions have their volume and frequency settings preserved, while bats with worse solutions have their settings lowered to promote more research.
- At each iteration, the objective function of the optimization problem is used to assess the fitness of each bat’s solution. Bats who come up with superior solutions contribute to improving the overall best one.
- Termination: The algorithm repeats this process until a convergence condition is fulfilled or a predetermined number of iterations have passed. In the end, one has the optimal solution discovered by any bat.
Algorithm 1 Bat Algorithm |
Position Update
- is the updated position of the i-th bat at time .
- is the current position of the i-th bat at time t.
- is the current best solution found by any bat.
- is a random scaling factor.
- is the loudness of the bat.
- A is the pulse rate of the bat.
- rand() generates a random number between 0 and 1.
Velocity Update
- is the updated velocity of the i-th bat at time .
- is the current velocity of the i-th bat at time t.
4. Prediction Techniques for Road Network Congestion
4.1. Dataset Description
4.2. Zone-Based Analysis
4.3. Performance Measures
4.3.1. Mean Absolute Error (MAE)
- n is the number of data points.
- represents the actual value of the i-th data point.
- represents the predicted value of the i-th data point.
4.3.2. Root Mean Squared Error (RMSE)
4.3.3. R-Squared (R2)
- is the mean of the actual values of .
4.4. Problem Formulation
- and are the weights for the two objective functions.
- is the number of vehicles in phase p at intersection i and lane group j during time interval k.
- is the total waiting time for all vehicles in phase p at intersection i and lane group j during time interval k.
- is the total time taken by emergency vehicle e to travel from its origin to its destination.
- E is the total number of emergency vehicles.
- is the duration of phase p at intersection i and lane group j.
- is the yellow and all of the red time at intersection i and lane group j during phase p.
- is the duration of the green time at intersection i and lane group j during phase p.
- is a binary variable that equals 1 if phase p is active at intersection i and lane group j, and 0 otherwise.
- M is a large constant.
- is the maximum allowed difference between the green time at intersection i and lane group j in successive phases.
- is the maximum number of vehicles that can be served per hour at intersection i and lane group j.
4.5. Results and Analysis
5. Proposed Methodology
5.1. Enhanced BAT Algorithm
Algorithm 2 Enhanced Bat Algorithm |
5.2. Results and Analysis
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Guerrini, F. Traffic Congestion Costs Americans $124 Billion A Year, Report Says. Forbes, 14 October 2014; p. 1. [Google Scholar]
- The Economist. The Cost of Traffic Jams. Available online: https://www.economist.com/blogs/economist-explains/2014/11/economist-explains-1 (accessed on 3 November 2014).
- Tan, M.K.; Chuo, H.S.E.; Chin, R.K.Y.; Yeo, K.B.; Teo, K.T.K. Optimization of Urban Traffic Network Signalization using Genetic Algorithm. In Proceedings of the 2016 IEEE Conference on Open Systems (ICOS), Langkawi, Malaysia, 10–12 October 2016; pp. 87–92. [Google Scholar]
- Khasawneh, M.A.; Awasthi, A. Literature Review on Smart City SoS Perspective. In Fleet Management and Planning for Sustainable Connected Mobility Systems; IGI Global: Hershey, PA, USA, 2021. [Google Scholar]
- Gao, K.; Zhang, Y.; Zhang, Y.; Su, R.; Suganthan, P.N. Meta-Heuristics for Bi-Objective Urban Traffic Light Scheduling Problems. IEEE Trans. Intell. Transp. Syst. 2019, 20, 2618–2629. [Google Scholar] [CrossRef]
- Miller, A.J. Settings for fixed-cycle traffic signals. J. Oper. Res. Soc. 1963, 14, 373–386. [Google Scholar] [CrossRef]
- Webster, F.V. Traffic Signal Settings; Road Research Technical Paper 39; Road Research Laboratory: London, UK, 1958. [Google Scholar]
- Cools, S.-B.; Gershenson, C.; D’Hooghe, B. Self-organizing traffic lights: A realistic simulation. In Advances in Applied Self-Organizing Systems; Springer: London, UK, 2013; pp. 45–55. [Google Scholar]
- Porche, I.; Lafortune, S. Adaptive look-ahead optimization of traffic signals. J. Intell. Transp. Syst. 1999, 4, 209–254. [Google Scholar]
- Kuyer, L.; Whiteson, S.; Bakker, B.; Vlassis, N. Multiagent reinforcement learning for urban traffic control using coordination graphs. In Machine Learning and Knowledge Discovery in Databases; Springer: Berlin/Heidelberg, Germany, 2008; pp. 656–671. [Google Scholar]
- van der Pol, E.; Oliehoek, F.A. Coordinated Deep Reinforcement Learners for Traffic Light Control. In Proceedings of the 30th Conference on Neural Information Processing Systems (NIPS 2016), Barcelona, Spain, 5–10 December 2016. [Google Scholar]
- Wiering, M.A. Multi-agent reinforcement learning for traffic light control. In Proceedings of the Seventeenth International Conference on Machine Learning (ICML’2000), Stanford, CA, USA, 29 June–2 July 2000; pp. 1151–1158. [Google Scholar]
- Kumar, N.; Rahman, S.S.; Dhakad, N. Fuzzy Inference Enabled Deep Reinforcement Learning-Based Traffic Light Control for Intelligent Transportation System. IEEE Trans. Intell. Transp. Syst. 2021, 22, 4919–4928. [Google Scholar] [CrossRef]
- Lu, F.-Q.; Huang, M.; Ching, W.-K.; Siu, T.K. Credit portfolio management using two-level particle swarm optimization. Inf. Sci. 2013, 237, 162–175. [Google Scholar] [CrossRef]
- Yan, T.; Lu, F.; Wang, S.; Wang, L.; Bi, H. A hybrid metaheuristic algorithm for the multi-objective location-routing problem in the early post-disaster stage. J. Ind. Manag. Optim. 2023, 19, 4663–4691. [Google Scholar] [CrossRef]
- Wen, H.; Wang, S.X.; Lu, F.Q.; Feng, M.; Wang, L.Z.; Xiong, J.K.; Ma, C. Colony search optimization algorithm using global optimization. J. Supercomput. 2021, 78, 6567–6611. [Google Scholar] [CrossRef]
- Lu, F.; Chen, W.; Feng, W.; Bi, H. 4PL routing problem using hybrid beetle swarm optimization. Soft Comput. 2023, 27, 17011–17024. [Google Scholar] [CrossRef]
- Tsai, C.-W.; Teng, T.-C.; Liao, J.-T.; Chiang, M.-C. An effective hybrid-heuristic algorithm for urban traffic light scheduling. Neural Comput. Appl. 2021, 33, 17535–17549. [Google Scholar] [CrossRef]
- Wei, H.; Zheng, G.; Yao, H.; Li, Z.J. IntelliLight: A Reinforcement Learning Approach for Intelligent Traffic Light Control. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, UK, 19–23 August 2018. [Google Scholar]
- Sartikha; Ardiyanto, I.; Sulistyo, S. A Study on Metaheuristics for Urban Traffic Light Scheduling Problems. In Proceedings of the 2018 10th International Conference on Information Technology and Electrical Engineering (ICITEE), Bali, Indonesia, 24–26 July 2018; pp. 545–550. [Google Scholar]
- Roy, A.; Das, S.K. QM2RP: A QoS-based mobile multicast routing protocol using multi-objective genetic algorithm. Wirel. Netw. 2004, 10, 271–286. [Google Scholar] [CrossRef]
- Radhika, S.C.S.; Ranjith, M.K.S.; Sasirekha, N. An intelligent IoT Enabled Traffic queue handling System Using Machine Learning Algorithm. In Proceedings of the 2022 International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems (ICSES), Chennai, India, 15–16 July 2022; pp. 1–9. [Google Scholar] [CrossRef]
- Jaleel, A.; Hassan, M.A.; Mahmood, T.; Ghani, M.U.; Rehman, A.U. Reducing Congestion in an Intelligent Traffic System with Collaborative and Adaptive Signaling on the Edge. IEEE Access 2020, 8, 205396–205410. [Google Scholar] [CrossRef]
- Zeadally, S.; Hunt, R.; Chen, Y.-S.; Irwin, A.; Hassan, A. Vehicular ad hoc networks (VANETS): Status, results, and challenges. Telecommun. Syst. 2012, 50, 217–241. [Google Scholar] [CrossRef]
- Golestan, K.; Jundi, A.; Nassar, L.; Sattar, F.; Karray, F.; Kamel, M.; Boumaiza, S. Vehicular ad-hoc networks (VANETs): Capabilities, challenges in information gathering and data fusion. In Autonomous and Intelligent Systems; Springer: Berlin/Heidelberg, Germany, 2012; pp. 34–41. [Google Scholar]
- Shen, M.; Zhan, Z.H.; Chen, W.N.; Gong, Y.J.; Zhang, J.; Li, Y. Bi-velocity discrete particle swarm optimization and its application to multicast routing problem in communication networks. IEEE Trans. Ind. Electron. 2014, 61, 7141–7151. [Google Scholar] [CrossRef]
- Taherkhani, N.; Pierre, S. Centralized and Localized Data Congestion Control Strategy for Vehicular Ad Hoc Networks Using a Machine Learning Clustering Algorithm. IEEE Trans. Intell. Transp. Syst. 2016, 17, 3275–3285. [Google Scholar] [CrossRef]
- Kumar, V.; Kumar, S. Energy balanced position-based routing for lifetime maximization of wireless sensor networks. Ad Hoc Netw. 2016, 52, 117–129. [Google Scholar] [CrossRef]
- Wang, H.; Meng, X.; Li, S.; Xu, H. A tree-based particle swarm optimization for multicast routing. Comput. Netw. 2010, 54, 2775–2786. [Google Scholar] [CrossRef]
- Haghighat, A.T.; Faez, K.; Dehghan, M.; Mowlaei, A.; Ghahremani, Y. GA-based heuristic algorithms for QoS based multicast routing. Knowl.-Based Syst. 2003, 16, 305–312. [Google Scholar] [CrossRef]
- Kumar, N.; Rahman, S.S. Deep Reinforcement Learning with Vehicle Heterogeneity Based Traffic Light Control for Intelligent Transportation System. In Proceedings of the 2019 IEEE International Conference on Industrial Internet (ICII), Orlando, FL, USA, 11–12 November 2019; pp. 28–33. [Google Scholar] [CrossRef]
- Robertson, D.I. TRANSYT method for area traffic control. Traffic Eng. Control 1969, 10, 276–281. [Google Scholar]
- Li, M.-T.; Gan, A. Signal timing optimization for oversaturated networks using TRANSYT-7F. Transp. Res. Rec. J. Transp. Res. Board 1999, 1683, 118–126. [Google Scholar] [CrossRef]
- Hunt, P.B.; Robertson, D.L.; Bretherton, R.D.; Royle, M.C. The SCOOT on-line traffic signal optimisation technique. Traffic Eng. Control 1982, 23, 190–192. [Google Scholar]
- Gartner, N.H. OPAC: A Demand-Responsive Strategy for Traffic Signal Control; U.S. Department of Transportation: Washington, DC, USA, 1983.
- Farges, J.-L.; Henry, J.J.; Tufal, J. The PRODYN real time traffic algorithm. IFAC Proc. Vol. 1983, 16, 305–310. [Google Scholar]
- Boillot, F.; Blosseville, J.M.; Lesort, J.B.; Motyka, V.; Papageorgiou, M.; Sellam, S. Optimal signal control of urban traffic networks. In Proceedings of the 6th IEEE International Conference Road Traffic Monitoring and Control, 28–30 April 1992; The Institution: London, UK, 1992; pp. 75–79. [Google Scholar]
- Sen, S.; Head, K.L. Controlled optimization of phases at an intersection. Transp. Sci. 1997, 31, 5–17. [Google Scholar] [CrossRef]
- Sanchez, J.; Galan, M.; Rubio, E. Applying a traffic lights evolutionary optimization technique to a real case: ‘Las Ramblas’ area in Santa Cruz de Tenerife. IEEE Trans. Evol. Comput. 2008, 12, 25–40. [Google Scholar] [CrossRef]
- Sanchez, J.J.; Galán, M.; Rubio, E. Genetic algorithms and cellular automata: A new architecture for traffic light cycles optimization. In Proceedings of the 2004 Congress on Evolutionary Computation (IEEE Cat. No.04TH8753), Portland, OR, USA, 19–23 June 2004; pp. 1668–1674. [Google Scholar]
- García-Nieto, J.; Alba, E.; Olivera, A.C. Swarm intelligence for traffic light scheduling: Application to real urban areas. Eng. Appl. Artif. Intel. 2012, 25, 274–283. [Google Scholar] [CrossRef]
- Garcia-Nieto, J.; Olivera, A.C.; Alba, E. Optimal cycle program of traffic lights with particle swarm optimization. IEEE Trans. Evol. Comput. 2013, 17, 823–839. [Google Scholar] [CrossRef]
- Göttlich, S.; Herty, M.; Ziegler, U. Modeling and optimizing traffic light settings in road networks. Comput. Oper. Res. 2015, 55, 36–51. [Google Scholar] [CrossRef]
- Cheng, J.; Wu, W.; Cao, J.; Li, K. Fuzzy Group-Based Intersection Control via Vehicular Networks for Smart Transportations. IEEE Trans. Ind. Inform. 2017, 13, 751–758. [Google Scholar] [CrossRef]
- Jamal, A.; Rahman, M.T.; Al-Ahmadi, H.M.; Ullah, I.; Zahid, M. Intelligent Intersection Control for Delay Optimization: Using Meta-Heuristic Search Algorithms. Sustainability 2020, 12, 1896. [Google Scholar] [CrossRef]
- Shahkar, A.; Oruç, E.; Yelghi, A. Traffic Signal Prediction Based on ANFIS and Metaheuristic Algorithms Applied to a Vissim-Based Simulated Intersection. Res. Sq. 2023, in press. [CrossRef]
- Shirke, C.; Sabar, N.; Chung, E.; Bhaskar, A. Metaheuristic approach for designing robust traffic signal timings to effectively serve varying traffic demand. J. Intell. Transp. Syst. 2022, 26, 343–355. [Google Scholar] [CrossRef]
- Al-Turki, M.; Jamal, A.; Al-Ahmadi, H.M.; Al-Sughaiyer, M.A.; Zahid, M. On the Potential Impacts of Smart Traffic Control for Delay, Fuel Energy Consumption, and Emissions: An NSGA-II-Based Optimization Case Study from Dhahran, Saudi Arabia. Sustainability 2020, 12, 7394. [Google Scholar] [CrossRef]
- Szatmari, L.; Prodan, L.; Iovanovici, A.; Avramoni, D. Road Intersection Optimization with Resource-Constrained Metaheuristic: A Case Study. In Proceedings of the 2022 IEEE 20th Jubilee International Symposium on Intelligent Systems and Informatics (SISY), Subotica, Serbia, 15–17 September 2022. [Google Scholar] [CrossRef]
- Jamal, A.; MAl-Ahmadi, H.; Muhammad Butt, F.; Iqbal, M.; Almoshaogeh, M.; Ali, S. Metaheuristics for Traffic Control and Optimization: Current Challenges and Prospects. In Search Algorithm—Essence of Optimization; IntechOpen: London, UK, 2023. [Google Scholar] [CrossRef]
- Ilhan, T.; Mehmet, S. Fuzzy logic and deep Q learning based control for traffic lights. Alex. Eng. J. 2022, 67, 343–359. [Google Scholar] [CrossRef]
- Younes, M.B.; Boukerche, A.; Rango, F.D. SmartLight: A smart efficient traffic light scheduling algorithm for green road intersections. Ad Hoc Netw. 2023, 140, 103061. [Google Scholar] [CrossRef]
- Dheeraj, J.; Neetesh, K.; Anuj, S.; Yash, D.; Naveen, D. Adaptive neuro-fuzzy enabled multi-mode traffic light control system for urban transport network. Appl. Intell. 2022, 53, 1–22. [Google Scholar] [CrossRef]
- Khasawneh, M.A.; Awasthi, A. Intelligent Traffic Light Control. In Proceedings of the 2nd African International Conference on Industrial Engineering and Operations Management (IEOM), Harare, Zimbabwe, 7–10 December 2020. [Google Scholar]
- Towards Data Science. Available online: https://towardsdatascience.com/highlighting-click-data-on-plotly-choropleth-map-377e721c5893 (accessed on 28 November 2023).
Name of Feature | Description |
---|---|
INT_ID (Intersection Number) | This field would likely contain a unique identifier for each intersection in the dataset. |
Intersection Name | This field would store the name or label associated with the intersection, and the names of the two streets that form the intersection. |
ARRONDISSEMENT (Region Name) | This field could include the name of the region or area where the intersection is located. |
Longitude | This feature would hold the geographical longitude coordinate of the intersection’s position on the Earth’s surface. |
Latitude | This feature would contain the geographical latitude coordinate of the intersection’s position on the Earth’s surface. |
Congestion Level (Number of Cars) | Low congestion (0 to 10 cars at traffic light), medium congestion (11 to 30 cars at traffic light), or high congestion (31 to 50 cars at traffic light) |
Number of Intersections | 2345 |
Number of Zones | 213 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. 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/).
Share and Cite
Khasawneh, M.A.; Awasthi, A. Intelligent Meta-Heuristic-Based Optimization of Traffic Light Timing Using Artificial Intelligence Techniques. Electronics 2023, 12, 4968. https://doi.org/10.3390/electronics12244968
Khasawneh MA, Awasthi A. Intelligent Meta-Heuristic-Based Optimization of Traffic Light Timing Using Artificial Intelligence Techniques. Electronics. 2023; 12(24):4968. https://doi.org/10.3390/electronics12244968
Chicago/Turabian StyleKhasawneh, Mohammed A., and Anjali Awasthi. 2023. "Intelligent Meta-Heuristic-Based Optimization of Traffic Light Timing Using Artificial Intelligence Techniques" Electronics 12, no. 24: 4968. https://doi.org/10.3390/electronics12244968
APA StyleKhasawneh, M. A., & Awasthi, A. (2023). Intelligent Meta-Heuristic-Based Optimization of Traffic Light Timing Using Artificial Intelligence Techniques. Electronics, 12(24), 4968. https://doi.org/10.3390/electronics12244968