Next Article in Journal
Artificial Intelligence Technology Applications and Energy Utilization Efficiency: Empirical Evidence from China
Previous Article in Journal
Proposal of a Socio-Ecological Resilience Integrated Index (SERII) for Colombia, South America (1985–2022)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Traffic Light Management for Mobility and Accessibility in Smart Cities

by
Malik Almaliki
1,2,
Amna Bamaqa
2,3,
Mahmoud Badawy
2,3,4,
Tamer Ahmed Farrag
2,5,
Hossam Magdy Balaha
4,6 and
Mostafa A. Elhosseini
2,4,7,*
1
Department of Computer Science, College of Computer Science and Engineering, Taibah University, Yanbu 46421, Saudi Arabia
2
King Salman Center for Disability Research, Riyadh 11614, Saudi Arabia
3
Computer Science and Information Department, Applied College, Taibah University, Madinah 42353, Saudi Arabia
4
Computers and Control Systems Engineering Department, Faculty of Engineering, Mansoura University, Mansoura 35516, Egypt
5
Department of Electrical Engineering, College of Engineering, Taif University, Taif 21944, Saudi Arabia
6
Bioengineering Department, J.B. Speed School of Engineering, University of Louisville, Louisville, KY 40292, USA
7
Department of Information Systems, College of Computer Science and Engineering, Taibah University, Yanbu 46421, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sustainability 2025, 17(14), 6462; https://doi.org/10.3390/su17146462
Submission received: 13 June 2025 / Revised: 6 July 2025 / Accepted: 12 July 2025 / Published: 15 July 2025

Abstract

Urban road traffic congestion poses significant challenges to sustainable mobility in smart cities. Traditional traffic light systems, reliant on static or semi-fixed timers, fail to adapt to dynamic traffic conditions, exacerbating congestion and limiting inclusivity. To address these limitations, this paper proposes H-ATLM (a hybrid adaptive traffic lights management), a system utilizing the deep deterministic policy gradient (DDPG) reinforcement learning algorithm to optimize traffic light timings dynamically based on real-time data. The system integrates advanced sensing technologies, such as cameras and inductive loops, to monitor traffic conditions and adaptively adjust signal phases. Experimental results demonstrate significant improvements, including reductions in congestion (up to 50%), increases in throughput (up to 149%), and decreases in clearance times (up to 84%). These findings open the door for integrating accessibility-focused features such as adaptive signaling for accessible vehicles, dedicated lanes for paratransit services, and prioritized traffic flows for inclusive mobility.

1. Introduction

Smart systems are at the heart of modern urban development, utilizing advanced technologies to optimize infrastructure, enhance efficiency, and promote inclusivity. These systems form the backbone of smart cities, which aim to create sustainable, citizen-centered environments that foster economic growth and improve overall quality of life. Among these pioneering initiatives, NEOM stands as a flagship smart city, embodying the integration of cutting-edge technologies to address urban challenges and set global benchmarks for innovation. In Saudi Arabia, NEOM aspires to redefine urban living by incorporating smart systems into every facet of its infrastructure, from energy and water management to public safety and transportation [1].
A key pillar of NEOM’s vision is its focus on intelligent transportation systems (ITSs), prioritizing smooth, efficient, and eco-friendly mobility solutions. These systems utilize real-time data collection, processing, and decision-making capabilities to reduce congestion, minimize environmental impact, and enhance accessibility. However, despite the transformative potential of ITS, addressing the unique mobility challenges faced by individuals with disabilities remains a critical yet underexplored area. Physical, sensory, and cognitive impairments often limit access to public transport and exacerbate the impact of urban traffic congestion, underscoring the need for more inclusive transportation solutions.
The broader concept of a smart city builds on the seamless integration of state-of-the-art information and communication technologies (ICTs) to optimize the intelligent operation of critical urban infrastructure [2]. These infrastructures encompass energy management systems, water distribution networks, waste management, transportation systems, and public safety mechanisms, all orchestrated to achieve efficiency, resilience, and inclusivity [3]. At the core of this vision lies the utilization of technologies such as sensors, the Internet of Things (IoT), 5G networks, artificial intelligence (AI), cloud computing, big data analytics, and blockchain [4]. These tools enable real-time data collection, processing, and analysis, empowering city administrators and stakeholders to make data-driven decisions that enhance sustainability and responsiveness to dynamic challenges [5].
Among the many components that define a smart city, smart and green transportation systems (SGTSs) play a pivotal role [6,7]. These systems integrate intelligent transport technologies such as connected and autonomous vehicles (CAVs), electric public transport networks, real-time traffic management systems, and shared mobility platforms. They are essential for reducing traffic congestion, minimizing carbon emissions, and ensuring equitable access to transportation services, fostering sustainable urban living [8,9]. Despite these advancements, traffic congestion remains one of the most pressing challenges that urban centers face today [10,11,12]. With rapid population growth and increasing vehicle ownership, the problem has become increasingly complex [13,14]. Poorly designed road networks, static traffic signal systems, inadequate public transport options, and urban sprawl exacerbate this issue, leading to prolonged travel times, economic inefficiencies, environmental degradation, and declining quality of life [15,16]. By addressing these challenges, smart cities like NEOM have the potential to set a new standard for urban mobility that is not only efficient and sustainable but also inclusive of individuals with disabilities [17,18].
Traffic congestion imposes substantial economic costs [19]. For instance, London is ranked as the most congested city globally in the INRIX 2022 Global Traffic Scorecard. Drivers in London lost an average of 156 h in traffic, marking a 5% increase from pre-pandemic levels and costing each commuter GBP 1377 in lost time. Nationally, UK drivers lost an average of 80 h due to congestion, with a GBP 707 in economic impact per driver. Rising fuel costs compounded these losses, with London commuters paying an additional GBP 212 annually for fuel. Congestion levels increased across 72% of UK urban areas compared to pre-COVID metrics. London led the top five most congested cities worldwide, followed by Chicago, Paris, Boston, and New York, highlighting the global challenge of managing urban mobility and its economic implications [20]. Such inefficiencies undermine economic productivity and intensify the strain on urban infrastructure and public services [21,22].
The environmental implications of traffic congestion are equally alarming. Prolonged idling and slow-moving vehicles emit significant levels of greenhouse gases, particularly carbon dioxide, and harmful pollutants such as nitrogen oxides and particulate matter. These emissions contribute to climate change, degrade air quality, and exacerbate respiratory and cardiovascular health issues among urban populations. Moreover, congestion hotspots are often associated with increased noise pollution, further reducing the livability of affected areas [23,24].
Traditional traffic systems are the backbone of urban transportation networks, orchestrating the flow of vehicles, pedestrians, and public transit within cities [25]. These systems rely on static infrastructure such as fixed traffic signals, road markings, and signage to regulate movement [26,27,28]. Arterial roads, often referred to as primary roads, are a critical component of traditional traffic systems designed to facilitate high-capacity and relatively high-speed traffic flow across urban and suburban landscapes [29]. These roads serve as conduits between major economic hubs, residential areas, and secondary streets, enabling efficient movement over long distances. Their hierarchical position within the road network is characterized by the prioritization of traffic over local access, achieved through features such as signal prioritization and limited direct property access [30].
However, arterial roads are frequently congested due to their role as primary collectors of vehicular traffic, particularly during peak hours [31]. As cities grow, the capacity of these roads often fails to meet rising demand, exacerbating bottlenecks and increasing travel times [15]. In response to these challenges, researchers, urban planners, and policymakers have explored a wide range of strategies to mitigate traffic congestion [32,33,34,35]. This has paved the way for innovative, ICT-driven solutions that utilize real-time data and advanced algorithms to optimize traffic management. Examples include adaptive traffic signal controllers, which adjust signal timings based on real-time traffic conditions, and integrated systems that coordinate the movement of autonomous vehicles to reduce congestion [36].
Cities like Singapore have emerged as pioneers in implementing smart traffic solutions. Singapore’s adoption of an electronic road pricing (ERP) system, coupled with real-time traffic monitoring and predictive analytics, has significantly reduced congestion and improved travel efficiency. Furthermore, deploying connected vehicle technology enables seamless communication between vehicles and infrastructure, enhancing situational awareness and reducing the likelihood of accidents [37,38,39].
In addition to traffic management, integrating green transportation initiatives is a cornerstone of smart city development [40]. The electrification of public transport systems, the promotion of non-motorized transport modes such as cycling and walking, and investments in renewable energy-powered transit infrastructure are reshaping urban mobility [41]. These measures align with global sustainability goals, contributing to reductions in urban carbon footprints and fostering healthier urban environments [42,43].
As noted, traffic congestion in urban areas is a persistent challenge, impacting travel time, fuel consumption, and air quality. Conventional traffic light systems rely on static or semi-fixed timers, which are often inadequate for addressing dynamic traffic conditions. These systems fail to adapt to real-time variations in traffic flow, road incidents, or lane closures, leading to inefficient traffic management. As cities grow and urban mobility demands increase, the need for intelligent and adaptive traffic management solutions becomes more critical.
To address these limitations, we propose a hybrid adaptive traffic lights management (H-ATLM) system that utilizes the deep deterministic policy gradient (DDPG), a reinforcement learning (RL) algorithm, to adjust traffic light timings based on real-time traffic data dynamically. Unlike traditional systems, the H-ATLM system utilizes advanced sensing technologies, such as cameras, inductive loops, and magnetometers, to collect real-time traffic data. These data are processed by a pretrained DDPG model, fine-tuned for each traffic light, enabling the system to make data-driven decisions that optimize traffic flow and reduce congestion. The H-ATLM system is built on three core components:
-
A sensing layer that collects real-time traffic data, including vehicle counts, queue lengths, and congestion levels.
-
A decision layer powered by the DDPG algorithm, which processes the data and determines optimal traffic light timings.
-
An execution layer that implements the decisions by dynamically adjusting traffic light timings in real-time.
At the heart of the system lies the DDPG algorithm, a model-free, off-policy RL method that combines the strengths of policy-based and value-based approaches. The DDPG model learns to optimize traffic light timings through exploration and exploitation, balancing the need to try new actions to maximize cumulative rewards. By utilizing experience replay and continuous fine-tuning, the system adapts to dynamic traffic conditions, ensuring that traffic lights are responsive to current conditions and predict future traffic patterns.
The learning process of the DDPG algorithm is a critical aspect of the H-ATLM system. During training, the model explores various traffic light timings, gradually converging to an optimal policy that minimizes congestion and improves traffic flow. The system employs a noise process, such as the Ornstein–Uhlenbeck process, to encourage exploration, while the reward function guides the model toward actions that reduce congestion, shorten vehicle queues, and optimize traffic light timings. Over time, the model transitions from exploration to exploitation, fine-tuning its policy to handle a wide range of traffic conditions, from peak hours to off-peak periods.
The proposed system represents a significant advancement in adaptive traffic management, offering a scalable and efficient solution to urban congestion. By integrating cutting-edge sensing technologies, RL, and real-time data processing, the H-ATLM system addresses the limitations of traditional traffic light systems, paving the way for smarter and more sustainable urban transportation networks.
This paper is organized in the following manner: After the introduction, the related studies section (Section 2) reviews innovative approaches to improve traffic flow and reduce congestion. The methodology section (Section 3) outlines the proposed research methodology to alleviate traffic congestion in urban areas. Ultimately, Section 4, the Results section, showcases the findings of this study, illustrating how the suggested methods fill the identified gaps, improve traffic flow and reduce congestion. The paper’s last section (Section 5) concludes the paper and proposes avenues for upcoming research efforts.

2. Related Studies

In recent years, the increasing complexity of urban traffic management has prompted the development of innovative approaches to improve traffic flow, reduce congestion, and enhance overall system efficiency. For instance, Li et al. [44] addressed this by proposing a dynamic traffic light control system that uses vehicle-to-infrastructure (V2I) communication to adjust signal timings based on real-time vehicle speed data. This approach, aimed at maximizing vehicle throughput at intersections, aligns with the broader goal of improving traffic flow and reducing the environmental impact. Their method presents a shift from static systems, allowing traffic lights to adapt to the evolving traffic conditions autonomously.
Building on this idea of adaptive systems, Djahel et al. [45] tackled the problem of emergency vehicle delays, contributing to urban inefficiencies. Using fuzzy logic-based adaptation strategies, their system dynamically adjusts road network controls to improve emergency vehicle response times without significantly affecting non-emergency traffic. This focus on adapting to real-time conditions complements Li et al.’s work, as both studies demonstrate the potential of adaptive systems to manage traffic more effectively under varying circumstances.
Similarly, Faye et al. [46] introduced a distributed approach to traffic light control using a sensor network. They focused on flexibility and autonomy, reducing the average waiting time at intersections by dynamically adjusting green light durations. This decentralized approach shares common principles with Li et al.’s dynamic control system but differs in its reliance on a spatially distributed network of sensors rather than a V2I communication model.
Moreover, Wang et al. [47] further expand on the idea of adaptive control with a RL approach. Introducing a cooperative group-based multi-agent (CGB-MA) framework aimed to address coordination challenges in large-scale road networks. This approach is complementary to both Djahel et al.’s fuzzy logic strategy and Faye et al.’s distributed network, as it provides a scalable and robust solution that can dynamically adjust traffic flow across extensive urban environments.
In addition, Arifin et al. [48] reviewed the impact of traffic lights on congestion and discussed the potential of intelligent systems to adapt signal timings based on traffic conditions, emergency scenarios, and pedestrian needs. Their work emphasizes the role of smart traffic lights, a concept shared by both Li et al. and Djahel et al., reinforcing the importance of context-aware systems in reducing congestion and improving urban mobility.
Furthermore, Navarro et al. [49] proposed using machine learning techniques to predict traffic flow, thereby aiding in adaptive control decisions. This aligns with the work of Wang et al. and Faye et al., who both incorporate data-driven methods to optimize traffic light behavior. Their use of deep learning models to forecast traffic behavior highlights the potential for machine learning to enhance the accuracy and efficiency of adaptive traffic control systems.
Last but not least, Astarita et al. [50] examined the potential of floating car data (FCD) to synchronize traffic signals, a concept that fits well with the increasing trend of using real-time data and adaptive algorithms to optimize traffic flow. Their focus on the cooperative dynamics between different types of vehicles adds a layer of complexity to traditional systems, further enhancing the potential for smarter, more efficient traffic management solutions. Like Li et al. and Navarro et al., Astarita et al. see data-driven approaches as pivotal in improving urban traffic systems.
Recent advancements in reinforcement learning have introduced methods like proximal policy optimization (PPO) [51,52] and asynchronous advantage actor–critic (A3C) [53,54], which have shown promise in various domains. PPO, known for its stability and efficiency, has been applied to tasks requiring discrete action spaces, such as robotic control. A3C, on the other hand, utilizes parallel agents to explore diverse policies, making it suitable for environments with high variance. However, these methods are less effective in continuous action spaces, such as traffic light timing adjustments, where fine-grained control is critical. In contrast, DDPG combines the benefits of policy-based and value-based approaches, making it particularly well-suited for optimizing continuous variables like green light durations in real-time traffic scenarios.
Adaptive dynamic programming (ADP) has also been widely explored in traffic signal control, offering a model-based approach to optimize signal timings [55]. While ADP relies on explicit system models, reinforcement learning (RL) methods like DDPG are model-free, making them more adaptable to real-world uncertainties. Both approaches share the objective of dynamically adjusting traffic signals to improve flow and reduce congestion, underscoring their complementary roles in smart traffic management systems [56,57].

Research Gap

Despite significant advancements in adaptive traffic light control systems, several critical gaps remain in the literature, limiting their effectiveness in real-world urban environments. First, many existing systems rely on static or rule-based algorithms, which lack the flexibility to adapt to dynamic and non-stationary traffic conditions, such as sudden congestion due to accidents or road closures. While some studies have explored RL approaches, these often use discrete action spaces, making them unsuitable for fine-grained control over traffic light timings.
Additionally, most systems are designed for small-scale or isolated intersections, lacking the scalability needed for large urban networks with interconnected intersections. The integration of real-time traffic data is also insufficient in many approaches, limiting their ability to respond to real-time changes in traffic flow. Furthermore, existing RL-based systems often struggle to balance exploration and exploitation, relying on simplistic strategies like epsilon-greedy, which are ineffective in continuous action spaces.
Finally, few systems explicitly consider the environmental and economic impacts of traffic light decisions, such as fuel consumption and greenhouse gas emissions, which are critical for sustainable urban mobility. The proposed H-ATLM system aims to address these gaps, as we will present in the following sections and experiments.

3. Methodology

In this section, we introduce the proposed approach, referred to as H-ATLM, designed to alleviate traffic congestion in urban areas. During the afternoon peak hours, many individuals working in the city center typically leave their workplaces to head home. We propose a reinforcement learning-based adaptive traffic lights management (H-ATLM) system. The model is designed to predict optimal arterial road traffic light timings (i.e., green, yellow, and red durations) based on real-time inputs collected from traffic sensors and other sources. These inputs capture various aspects of the road segment, including congestion levels, vehicle flow, road characteristics, and the current state of traffic signals. This system can be implemented on arterial roads to minimize stop-and-go traffic, enabling more vehicles to leave the city efficiently. As a result, the number of vehicles in the city center would decrease, which should help alleviate congestion in that area. Figure 1 presents examples from different countries’ arterial roads.
The mathematical model adopted in this study is microscopic, focusing on individual vehicle movements and interactions at intersections. This approach enables the precise modeling of urban traffic dynamics, considering factors such as vehicle speeds, queue lengths, and signal phase durations. By capturing these details, the model ensures the accurate representation of traffic conditions and supports the effective optimization of signal timings.

3.1. Calculating the Position and Velocity

Equation (1) describes how vehicle speed (V) changes over time (t), assuming that vehicles accelerate at a constant rate (a) until they reach the road’s speed limit V m a x , after which they maintain a steady speed. t V m a x is the time required for a vehicle to reach V m a x and V 0 is the initial velocity of the vehicle at t = 0 .
V ( t ) = V 0 + a × t , if t t V m a x V m a x , t > t V m a x
According to the laws of physics, the position of a vehicle can be determined by integrating the velocity function over time. This integration provides a mathematical expression for the vehicle’s position as a function of time, accounting for its motion under the specified conditions. Accordingly, the position can be obtained using Equation (2) assuming t t V m a x where X 0 is the initial position of the vehicle at t = 0 .
X ( t ) = X 0 + V 0 × t + 0.5 × a × t 2
This method primarily relies on time (t) to describe the vehicle’s motion. However, an alternative approach involves using a recurrence relation, eliminating the direct dependence on time. This shift simplifies the calculations, making it more efficient to determine the position and other dynamics for a sequence of vehicles in a queue. Accordingly, the motion can be obtained using Equation (3) assuming X ( n + 1 ) follows X ( n ) after a unit time step t = 1 and the same for V ( n + 1 ) and A ( n + 1 ) . The ± depends on whether the vehicles move to the right or left (i.e., east or west).
X ( n + 1 ) = X ( n ) ± ( V ( n + 1 ) + 0.5 × A ( n + 1 ) ) V ( n + 1 ) = V ( n ) + A ( n + 1 ) A ( n + 1 ) = a
With this approach, the dependence on time is entirely removed. Additionally, we introduce the γ g a p factor, representing the distance between the current vehicle and the nearest object ahead. This object could be another vehicle or the designated stopping position at a traffic light, allowing for the more dynamic and realistic modeling of vehicle interactions and queue behavior.
As illustrated in Figure 2, the minimum permissible gap between vehicles is denoted as δ c a r s . In contrast, the distance between a vehicle and the designated stopping position at a traffic light is represented as δ T L . These parameters are critical for ensuring safe distances between vehicles and facilitating smooth traffic flow near intersections. Additionally, we introduce δ n o t i c e , which represents the notice gap. This parameter triggers gradual deceleration, ensuring that the vehicle avoids sudden stops or potential collisions.
The vehicle should accelerate normally until one of the following conditions is met: (1) it enters the notice gap ( δ n o t i c e ), which requires the vehicle to begin decelerating gradually until it comes to a complete stop, (2) it enters or makes contact with the minimum permissible gap ( δ c a r s ), necessitating an immediate forced stop, (3) it approaches a traffic light that turns yellow or red, prompting the vehicle to decelerate gradually until it stops, and (4) it approaches the designated stopping position at a traffic light ( δ T L ) where the light turns yellow or red, requiring the vehicle to perform a forced stop. These conditions ensure safe and efficient vehicle behavior in dynamic traffic situations.
Based on the previously discussed conditions, the suggested vehicle motion model can be defined as shown in Algorithm 1. This algorithm details how the vehicle’s velocity and position are updated at each step. The parameters C a r p r e v represent the vehicle in front, X T L denotes the position of the next traffic light the vehicle is approaching, and  s t a t e indicates the current state of the traffic light.
As presented in Algorithm 1, the vehicle motion model follows a sequence of steps that determine how the vehicle’s velocity and position are updated at each time step. The primary inputs to this model include the current time t, the position of the previous car C a r p r e v , the position of the approaching traffic light X T L , and the state of the traffic light s t a t e . The first step is initializing the gap variable, δ g a p , which is initially set to infinity.
Next, the algorithm checks whether the vehicle is approaching a traffic light. If the vehicle is approaching a traffic light and the state of the light is either red or yellow, the gap is set to zero. This indicates that the vehicle is in close proximity to the traffic light and must account for it in its motion decisions. Otherwise, if the vehicle is not approaching a traffic light, the gap is calculated based on the position of the preceding vehicle ( c a r p r e v ). Specifically, the gap is determined by the difference in position between the current vehicle and the one in front, adjusted for the average vehicle length L C a v g . Additionally, suppose the vehicle is approaching an intersection with no space to move into, ensuring it does not block the intersection. In that case, the gap is set to zero to avoid blocking.
The algorithm then proceeds to check whether the gap is less than or equal to zero or if the time t is less than the threshold t 0 . In these cases, the vehicle is considered stationary or needs to stop. As a result, the acceleration A ( n + 1 ) is set to zero, the velocity V ( n + 1 ) is also set to zero, and the position X ( n + 1 ) remains unchanged.
If the vehicle’s speed V ( n ) is below the maximum allowed speed V m a x , the algorithm then checks the gap conditions to determine the appropriate action. If the gap is greater than the notice gap δ n o t i c e , the vehicle is allowed to accelerate with a constant acceleration a. The velocity and position are then updated accordingly. The position is updated using the current velocity and acceleration, ensuring smooth motion.
If the gap lies between the minimum permissible gap δ c a r s and the notice gap δ n o t i c e , the vehicle enters a deceleration phase, where it needs to slow down as it approaches the vehicle in front. The deceleration rate is calculated based on the difference between the current and permissible gaps, scaling the acceleration accordingly. The new velocity is updated by subtracting the deceleration, ensuring that the velocity does not fall below zero. The position is also updated based on the new velocity and acceleration.
Algorithm 1: The suggested vehicle motion model.
Sustainability 17 06462 i001
If none of the previous conditions are met, the vehicle must stop. In this case, the acceleration is set to zero, the velocity is set to zero, and the position remains unchanged.
In the case where the vehicle’s speed has already reached or exceeded the maximum allowed speed V m a x , the vehicle is limited to maintaining that speed. The vehicle cannot accelerate further if the gap exceeds the notice gap. The acceleration remains zero, and the velocity is kept constant at V m a x . The position is updated accordingly, ensuring that the vehicle continues traveling at maximum speed.
If the gap falls between the minimum permissible gap and the notice gap, the vehicle again enters the deceleration phase, with a similar logic applied as described earlier. Finally, if no conditions are met for deceleration or stopping, the vehicle remains stationary, and the position does not change.
This algorithm provides a detailed decision-making framework that simulates the vehicle’s motion based on its interactions with surrounding traffic, including vehicles ahead and traffic lights. It ensures smooth acceleration, deceleration, and stopping while maintaining safe distances from other vehicles and complying with traffic light signals.

3.2. Queue of Cars

Figure 3 presents a queue of vehicles across two roads (one for forward travel and one for backward travel) with two intersections, each consisting of a single lane per road. Each intersection is equipped with a set of traffic lights. In the figure, we depict four traffic lights: two serving the arterial roads and two serving the secondary roads, controlling traffic flow at each intersection.
In Figure 3, each section of the road is numbered as R . For instance, R 1 represents the road segment located between the two intersections. Additionally, the vehicles are annotated according to their road segment. For example, the vehicles C 0 through C 3 are associated with the road portion R 1 . To manage each road segment effectively, we can represent the vehicles as a matrix, as shown in Equation (5).
Each row of this matrix corresponds to a vehicle where its values are calculated using Algorithm 1. The matrix contains N rows, where N represents the maximum number of vehicles that can be accommodated in that particular road segment. From this matrix, we can determine the preceding car for each vehicle. For example, the car in the third row follows the car in the second row. Additionally, the car in the first row follows the car in the last row of the preceding road segment, creating a cyclical flow between road segments. Moreover, this car also follows the traffic light in this road segment, meaning that its motion is influenced not only by the preceding vehicle but also by the state of the traffic light controlling that road segment.
C ( n ) = X 0 ( n ) V 0 ( n ) A 0 ( n ) X 1 ( n ) V 1 ( n ) A 1 ( n ) X 2 ( n ) V 2 ( n ) A 2 ( n ) X ( N 1 ) ( n ) V ( N 1 ) ( n ) A ( N 1 ) ( n ) X N ( n ) V N ( n ) A N ( n )
As we are dealing with recurrence equations, this matrix is initialized with stationary positions, where the initial velocity is set to zero, and the acceleration is fixed to a certain value (e.g., 0.5, 1, etc.). The initial position of each vehicle is determined based on its order in the queue (e.g., second, third, etc.), which is calculated using Equation (5).
X i ( 0 ) = X T L ± ( δ T L + ( δ g a p a v g + L C a v g ) × i )
Moreover, the time t 0 i for each vehicle is set randomly between two certain values, multiplied by the order of the car (i). The same applies to other vehicle parameters, such as the car length, the initial gap between the vehicle and the vehicle in front of it, and the vehicle’s maximum speed. All of these values are randomized within certain predefined ranges, reflecting real-world variability in vehicle characteristics and behavior.
Now, Equation (3) can be utilized to model the motion of the vehicles as they progress through the road segments, considering their initial conditions and interactions with other vehicles and traffic lights.

3.3. Traffic Lights Phases

The phases of traffic lights dictate the flow of traffic by controlling when each road segment can proceed. Figure 4 illustrates the eight distinct phases of the traffic lights used in this study. Each phase represents a specific combination of traffic light states for the arterial and secondary roads at an intersection. The phases are designed to manage traffic flow effectively, ensuring safety and reducing congestion. The phases alternate between allowing vehicles on the arterial and secondary roads to proceed, with interleaving intervals to accommodate transitions such as yellow lights.
Phase 1 allows vehicles in the leftmost lanes of the arterial road to move onto the secondary road without restriction, while vehicles in the rightmost lanes must yield before proceeding. Conversely, Phase 2 prioritizes vehicles in the rightmost lanes, requiring vehicles in the leftmost lanes to yield. These phases are designed to coordinate smooth transitions between arterial and secondary roads, minimizing conflicts at the intersection.
Phase 3 prioritizes a specific road segment, enabling vehicles to move forward, turn right, or turn left without restrictions. This phase maximizes throughput for heavily congested segments. Phase 4 is similar to Phase 3 but restricts vehicles in the leftmost lanes from moving, allowing traffic in other lanes to proceed unhindered.
Phase 5 mirrors Phase 2 but applies to unidirectional road segments, focusing on streamlined movement for single-direction traffic. Phase 6, on the other hand, is similar to Phase 4 but accommodates bidirectional road segments, ensuring balanced priority for opposing directions.
Additional phases can be dynamically generated to address specific traffic conditions, such as heavy congestion on a particular road segment. Real-time traffic data inform these dynamically introduced phases and aim to optimize the overall flow of vehicles.

3.4. Traffic Congestion Sensing

Effective traffic management relies on accurately sensing and counting vehicles in specific road segments. Several advanced technologies have been developed and integrated into traffic light systems to achieve precise vehicle detection and count [58]. These systems provide critical data for managing congestion, optimizing traffic light phases, and improving overall road safety [59]. Below, we discuss some of the key technologies commonly employed for traffic congestion sensing:
High-resolution cameras mounted on traffic lights or nearby infrastructure provide real-time traffic video feeds. Advanced image processing algorithms, such as those based on computer vision and machine learning, analyze the footage to detect, classify, and count vehicles. Techniques like object detection (e.g., using YOLO or Faster R-CNN) allow for differentiation between types of vehicles (e.g., cars, trucks, motorcycles) and tracking their movement through the road segment. Camera-based systems can also detect lane-specific traffic density, vehicle speed, and queue lengths [60].
Inductive loop sensors, embedded into the road surface, use electromagnetic fields to detect vehicles passing over or stopping above them. These sensors are highly accurate in counting vehicles and determining occupancy at intersections [61]. Inductive loops are cost-effective and reliable, making them one of the most commonly used methods for traffic sensing in urban areas. However, installation and maintenance can be challenging as they require road excavation [62].
Magnetometers installed on or below the road surface detect changes in the Earth’s magnetic field caused by the presence of a vehicle. These sensors are compact, easy to install, and capable of providing vehicle count, speed, and classification. Magnetometers are less intrusive than inductive loops, making them a popular choice for modern traffic sensing systems [63].
Infrared sensors, either active or passive, detect vehicles by sensing changes in heat or by emitting IR signals and measuring reflections [64]. These sensors are mounted on poles or traffic lights and are effective in various weather conditions, including low light or nighttime. While not as precise as cameras for vehicle classification, IR sensors provide a low-cost solution for basic vehicle counting [65].
Radar sensors use radio waves to detect and track vehicles within a specific range. These sensors are often used to measure speed, direction, and count vehicles in high-traffic areas. They are less affected by environmental factors like rain or fog and provide reliable data even under adverse conditions [66].
Ultrasonic sensors emit sound waves and measure the time taken for the reflected waves to return after hitting a vehicle. These sensors are used to detect vehicle presence and measure distance, making them useful for vehicle counting at intersections. Ultrasonic sensors are relatively inexpensive and easy to install but may face challenges in noisy environments [67].
Wireless sensor networks (WSNs) consist of multiple sensor nodes deployed along road segments. These nodes may include magnetometers, acoustic sensors, or accelerometers to detect and count vehicles. Data collected from the nodes are transmitted wirelessly to a central system for real-time analysis. WSNs are scalable and allow for the comprehensive monitoring of large road networks [68].
Light detection and ranging (LiDAR) technology uses laser pulses to create detailed 3D maps of the surrounding environment. LiDAR is highly effective in detecting and counting vehicles, as well as determining vehicle size, speed, and trajectory. Although more expensive than other methods, LiDAR provides unparalleled accuracy and is increasingly being used in smart traffic systems [69].
Vehicles equipped with GPS or connected vehicle technology can transmit location and movement data to centralized systems. This data can be aggregated to estimate the number of vehicles in a road segment. While this method depends on vehicle participation, it provides valuable insights into real-time traffic patterns [70].
Modern traffic systems often integrate multiple sensing technologies to improve accuracy and reliability [71,72]. For example, combining camera-based detection with magnetometer sensors can provide redundant data for robust vehicle counting. Data fusion techniques, using artificial intelligence and machine learning, analyze inputs from various sensors to generate comprehensive traffic statistics [73,74].

3.5. Adaptive Traffic Lights Management (H-ATLM) Using Deep Deterministic Policy Gradient (DDPG)

Traffic congestion in urban areas is a persistent challenge, impacting travel time, fuel consumption, and air quality. Conventional traffic light systems rely on static or semi-fixed timers, which are often inadequate for addressing dynamic traffic conditions. These systems fail to adapt to real-time variations in traffic flow, road incidents, or lane closures, leading to inefficient traffic management.
To address these limitations, we propose a hybrid adaptive traffic lights management (H-ATLM) system that utilizes deep deterministic policy gradient (DDPG), a reinforcement learning (RL) algorithm [75], to dynamically adjust traffic light timings based on real-time traffic data. This approach aims to reduce congestion, improve traffic flow, and enhance the overall efficiency of urban transportation networks.
The proposed system utilizes sensing technologies (e.g., cameras, inductive loops, magnetometers) to collect real-time traffic data and uses a pretrained DDPG model that is fine-tuned for each individual traffic light. The model dynamically adjusts traffic light timings based on the current state of the intersection, including congestion levels, vehicle queues, and the timing of traffic lights for all four directions (left, right, top, and bottom). This approach ensures that traffic lights are not only responsive to current conditions but also predictive of future traffic patterns, leading to more efficient traffic management.
The H-ATLM system consists of three main components:
-
Sensing layer: This layer collects real-time traffic data using various sensing technologies, such as high-resolution cameras, inductive loop sensors, magnetometers, and radar sensors. These sensors provide data on vehicle counts, queue lengths, vehicle speeds, and congestion levels.
-
Decision layer: The decision layer consists of the DDPG-based RL model, which processes the data from the sensing layer to determine optimal traffic light timings. The model is pretrained on historical traffic data and fine-tuned for each specific intersection.
-
Execution layer: This layer implements the decisions made by the DDPG model by adjusting the traffic light timings in real-time. The execution layer ensures that the traffic lights operate according to the optimized timings, reducing congestion and improving traffic flow.
To enable the DDPG model to make informed decisions, it is essential to define the state space, which represents the current conditions of the intersection. The state space captures critical information such as traffic light timings, vehicle queues, and congestion levels, providing the model with a comprehensive understanding of the traffic environment.

3.5.1. State Space Formulation

The state space S is a critical component of the DDPG model, as it represents the current conditions of the intersection. The state space (Equation (6)) is defined as a vector of 25 values where T g i , T r i , and T y i are the current timings for green, red, and yellow lights for the i th road (left, right, top, bottom), C g i , C r i , and C y i are the current state of the traffic light for the i th road (green, red, yellow), and C o n g is the overall congestion level at the road segment, calculated as the ratio of the total number of vehicles to the maximum capacity of the road segment.
S = T g 1 , T r 1 , T y 1 , T g 2 , T r 2 , T y 2 , T g 3 , T r 3 , T y 3 , T g 4 , T r 4 , T y 4 , C g 1 , C r 1 , C y 1 , C g 2 , C r 2 , C y 2 , C g 3 , C r 3 , C y 3 , C g 4 , C r 4 , C y 4 , C o n g
Once the state space is defined, the next step is to determine the action space, which represents the adjustments made to the traffic light timings. The action space is designed to allow the DDPG model to make fine-grained adjustments to the traffic light timings, ensuring optimal traffic flow.

3.5.2. Action Space Formulation

The action space A represents the adjustments made to the traffic light timings. It is defined as a vector of 12 values, corresponding to the timing adjustments for the green, red, and yellow lights for each of the four roads.
It is presented in Equation (7) where Δ T g i , Δ T r i , and Δ T y i and the adjustments to the green, red, and yellow light timings for the i th road.
A = Δ T g 1 , Δ T r 1 , Δ T y 1 , Δ T g 2 , Δ T r 2 , Δ T y 2 , Δ T g 3 , Δ T r 3 , Δ T y 3 , Δ T g 4 , Δ T r 4 , Δ T y 4
The action space is continuous, allowing for fine-grained control over traffic light timings. The DDPG model outputs these adjustments, which are then applied to the traffic lights in real-time.
To guide the DDPG model towards optimal decision making, a reward function is designed to evaluate the effectiveness of the actions taken by the model. The reward function penalizes high congestion levels, long vehicle queues, and excessive traffic light timings, encouraging the model to optimize these factors.
The reward function R is designed to guide the DDPG model toward minimizing congestion and improving traffic flow. The reward function is defined as in Equation (8), where α , β , γ , and δ are the weighting factors that balance the importance of congestion, queue length, and timing adjustments. Their values are 0.4, 0.2, 0.2, and 0.2, respectively.
R = α × C o n g + β × T h r o u g h p u t δ × i = 1 4 ( T r i + T y i ) + δ × i = 1 4 ( T g i )
The reward function penalizes high congestion levels, long vehicle queues, and excessive traffic light timings, encouraging the model to optimize these factors.
With the state space, action space, and reward function defined, the next step is to describe the DDPG algorithm, which forms the core of the H-ATLM system. The DDPG algorithm is an actor–critic method that combines the benefits of policy-based and value-based RL algorithms, making it ideal for continuous action spaces like traffic light timing adjustments.

3.5.3. DDPG Algorithm

The DDPG algorithm is an actor–critic method that combines the benefits of policy-based and value-based RL algorithms [76]. It is particularly well suited for continuous action spaces, making it ideal for traffic light timing adjustments. The algorithm consists of two main components:
  • Actor network: The actor network μ ( s | θ μ ) maps the state s to an action a. It is responsible for selecting actions based on the current state [77].
  • Critic network: The critic network Q ( s , a | θ Q ) evaluates the selected action by estimating the Q-value, which represents the expected cumulative reward [78].
The DDPG algorithm updates the actor and critic networks using the Equations (9) and (10) where α Q and α μ are the learning rates for the critic and actor networks, respectively, and L ( θ Q ) is the loss function for the critic network [79].
θ Q θ Q + α Q × θ Q L ( θ Q )
θ μ θ μ + α μ × θ μ J ( θ μ )
The loss function is defined in Equation (11) where y is the target value and can be calculated using Equation (12). J ( θ μ ) is the objective function for the actor network and can be calculated using Equation (13).
L ( θ Q ) = E [ ( Q ( s , a | θ Q ) y ) 2 ]
y = r + γ × Q ( s , μ ( s | θ μ ) | θ Q )
J ( θ μ ) = E [ Q ( s , μ ( s | θ μ ) | θ Q ) ]
The selection of DDPG over other RL algorithms, such as PPO or A3C, is motivated by its suitability for continuous action spaces. Traffic light timing adjustments require precise control over variables like green light duration, which are inherently continuous. While PPO and A3C excel in discrete action spaces, they lack the granularity needed for fine-tuned traffic optimization. Furthermore, DDPG’s off-policy nature allows for efficient exploration and exploitation through mechanisms like experience replay and noise processes, ensuring adaptability to dynamic traffic conditions. Previous studies [80,81] have demonstrated DDPG’s effectiveness in urban traffic management, further validating its adoption in this work.

3.5.4. Learning Process of the DDPG Algorithm

The learning process of the DDPG algorithm is a critical aspect of the H-ATLM system, as it determines how the model adapts to dynamic traffic conditions and optimizes traffic light timings. The DDPG algorithm is a model-free, off-policy reinforcement learning method that combines the strengths of both policy-based and value-based approaches. Below, we discuss the key components of the learning process, including exploration, exploitation, and the convergence of the model.
One of the fundamental challenges in reinforcement learning is balancing exploration (trying new actions to discover their effects) and exploitation (using known actions that yield high rewards) [82]. In the context of the H-ATLM system, exploration allows the DDPG model to experiment with different traffic light timings, even if they may initially lead to suboptimal traffic flow. Exploitation, on the other hand, involves using the learned policy to select actions that are known to reduce congestion and improve traffic flow.
To achieve this balance, the DDPG algorithm employs a noise process during training. Specifically, a noise term N is added to the actions selected by the actor network to encourage exploration. This noise is typically sampled from a stochastic process, such as an Ornstein–Uhlenbeck process, which generates temporally correlated noise suitable for continuous action spaces. The noise is gradually reduced over time as the model converges to an optimal policy, allowing the system to transition from exploration to exploitation [83].
The training process of the DDPG algorithm involves iteratively updating the actor and critic networks using experience replay. Experience replay is a mechanism that stores past experiences (state, action, reward, next state) in a replay buffer, allowing the model to learn from a diverse set of experiences rather than just the most recent ones. This approach improves the stability and efficiency of the learning process.
During each training iteration, a mini-batch of experiences is sampled from the replay buffer. The critic network is updated by minimizing the loss function L ( θ Q ) (Equation (11)), which measures the difference between the predicted Q-value and the target Q-value. The target Q-value is computed using the target networks Q and μ , which are slowly updated to stabilize training.
The actor network is updated by maximizing the objective function J ( θ μ ) (Equation (13)), which represents the expected cumulative reward. This is achieved by performing gradient ascent on the actor’s parameters θ μ , using the gradient of the Q-value with respect to the actions.
The convergence of the DDPG model to an optimal policy depends on several factors [84], including the design of the reward function, the exploration strategy, and the hyperparameters of the algorithm. In the context of the H-ATLM system, the reward function (Equation (8)) is designed to penalize congestion, long vehicle queues, and excessive traffic light timings. This encourages the model to learn policies that minimize these undesirable outcomes.
As the model trains, it gradually reduces the noise added to the actions, transitioning from exploration to exploitation. Over time, the actor network learns to select actions that maximize the cumulative reward, leading to improved traffic flow and reduced congestion. The critic network, meanwhile, becomes more accurate in estimating the Q-values, providing better guidance for the actor’s updates.
To simplify the learning process, consider a scenario where the DDPG model is initially trained on historical traffic data. During the early stages of training, the model explores various traffic light timings, some of which may lead to increased congestion. However, as the model receives feedback through the reward function, it begins to learn which actions lead to better traffic flow. Over time, the model converges to a policy that dynamically adjusts traffic light timings to minimize congestion and improve overall efficiency.
For instance, during peak hours, the model may learn to prioritize longer green lights for heavily congested roads, while during off-peak hours, it may allocate more balanced timings to all directions. This adaptability is a key advantage of the DDPG-based H-ATLM system, enabling it to handle a wide range of traffic conditions effectively.

3.5.5. Hyperparameters of the DDPG Model

To ensure transparency and facilitate reproducibility, we provide a comprehensive description of the hyperparameters used in the deep deterministic policy gradient (DDPG) model. The selection and fine-tuning of these hyperparameters were guided by preliminary experiments to achieve an optimal balance between exploration, convergence speed, and overall performance. The learning rate for the actor network ( α μ ) was set to 1 × 10 4 , while the critic network’s learning rate ( α Q ) was configured at 1 × 10 3 . These values were chosen to ensure stable updates for both networks, with the critic network learning slightly faster to provide accurate Q-value estimates for guiding the actor. The discount factor ( γ ) was set to 0.99, emphasizing the importance of long-term rewards in optimizing traffic light timings. To support efficient training, a replay buffer size of 1 × 10 6 was employed, enabling the model to learn from a diverse set of past experiences through experience replay.
During training, mini-batches of size 64 were sampled from the replay buffer to update the networks, striking a balance between computational efficiency and stability. Exploration was encouraged using an Ornstein–Uhlenbeck noise process, parameterized by θ = 0.15 and σ = 0.2 , which generates temporally correlated noise suitable for continuous action spaces. This noise process was gradually reduced over time to transition from exploration to exploitation as the model converged to an optimal policy. Collectively, these hyperparameters were fine-tuned to ensure robust performance in dynamic traffic environments, enabling the DDPG model to adapt effectively to real-time traffic conditions while minimizing congestion and improving traffic flow.

3.6. Metrics for Traffic Flow Analysis

To evaluate the performance of the proposed H-ATLM system, several key metrics (see Table 1) were analyzed. These metrics provide insights into traffic efficiency, safety, and environmental impact, enabling a comprehensive assessment of the system’s effectiveness [85,86,87].
Throughput (vehicles/min) measures the number of vehicles passing through a lane per unit of time, typically expressed in vehicles per minute. It is a critical indicator of traffic flow efficiency, with higher values signifying that more vehicles are successfully navigating the lane within a given time frame. Throughput is calculated as the inverse of the mean time between vehicle exits, scaled to a per-minute basis.
Congestion (%) measures the percentage of the road segment occupied by vehicles, providing a direct indicator of how crowded the lane is. Lower congestion values are preferable, as they signify smoother traffic flow and reduced delays. High congestion levels can lead to stop-and-go traffic, increased fuel consumption, and higher emissions.
Clearance time (s) calculates the time required to clear all vehicles from the lane. It is a measure of how quickly traffic can be resolved in the event of congestion or a traffic incident. Shorter clearance times are desirable, as they indicate faster recovery from disruptions and improved traffic management. Headway (s) represents the average time gap between consecutive vehicle entries into the lane. Smaller headway values indicate smoother and more continuous traffic flow, while larger values may signal disruptions or inefficiencies.
Occupancy (%) quantifies the proportion of the road segment currently occupied by vehicles. It is calculated as the total length of vehicles on the road segment divided by the segment’s total length, expressed as a percentage. High occupancy values suggest crowding, which can lead to reduced speeds and potential bottlenecks. These metrics collectively provide a comprehensive view of traffic performance, enabling the identification of inefficiencies, safety risks, and environmental impacts. By analyzing these metrics, the effectiveness of the proposed H-ATLM system can be rigorously evaluated, ensuring that it meets the goals of improving traffic flow, enhancing safety, and reducing environmental harm.

3.7. Summary of System Architecture and Sensor Types

To provide a comprehensive overview of the H-ATLM system, we summarize its architecture and the types of sensors utilized in Table 2. The H-ATLM system integrates advanced sensing technologies, real-time data processing, and reinforcement learning to dynamically optimize traffic light timings. At the core of this system lies a three-layer architecture: the sensing layer, the decision layer, and the execution layer.
The sensing layer employs a combination of high-resolution cameras, inductive loop sensors, magnetometers, and radar sensors to collect real-time traffic data. These sensors monitor critical metrics such as vehicle counts, queue lengths, speeds, and congestion levels, ensuring accurate and comprehensive traffic monitoring. For instance, cameras utilize advanced image processing algorithms, such as object detection using YOLO or Faster R-CNN, to classify and track vehicles. Inductive loops and magnetometers detect vehicle presence and movement with high precision, while radar sensors measure speed and direction. This multi-sensor approach enhances the system’s robustness and reliability by providing redundant data for traffic analysis.
The collected data is then processed in the data processing layer, where noise filtering, normalization, and preprocessing are performed to ensure that the inputs are clean and actionable. This step is crucial for enabling the DDPG algorithm to make informed decisions. The decision layer utilizes the deep deterministic policy gradient (DDPG) algorithm to analyze the preprocessed data and determine optimal traffic light timings. DDPG’s ability to handle continuous action spaces makes it particularly well-suited for fine-tuned adjustments to traffic signals, ensuring dynamic responses to real-time traffic conditions.
The output layer generates optimized traffic light timings, which are dynamically adjusted based on current traffic patterns. These adjustments aim to improve traffic flow, reduce congestion, and enhance safety. Finally, the integration layer ensures seamless execution by transmitting the optimized timings to adaptive traffic light controllers, which implement the decisions in real-time. This integration allows the system to respond promptly to changing traffic conditions, making it highly effective in managing urban congestion.
Table 2 provides a detailed breakdown of each component and its role in the H-ATLM system, highlighting the synergy between sensing technologies, data processing, and reinforcement learning. Together, these elements form a cohesive framework that addresses the limitations of traditional traffic management systems, paving the way for smarter and more sustainable urban transportation networks.

4. Experiments and Discussion

This section presents a comprehensive evaluation of the proposed system, comparing its performance against traditional traffic management approaches. The experiments are designed to assess the effectiveness of H-ATLM in addressing key traffic management challenges, such as congestion, throughput, occupancy, clearance time, and headway.
By conducting multiple trials with varying traffic densities and timeframes, we ensure the robustness and generalizability of the results. The analysis begins with a baseline scenario that highlights the limitations of static and traditional traffic management systems, followed by a detailed examination of the improvements achieved with the implementation of H-ATLM. Statistical analyses, including paired comparisons and effect size measurements, are employed to quantify the impact of the proposed system.

4.1. Performance Without the Suggested H-ATLM

Figure 5 illustrates the congestion levels across three consecutive road segments (Segment 1, Segment 2, and Segment 3) without the application of the proposed H-ATLM system. The congestion levels are measured over a time period represented by milestones (ranging from 0 to 6000), with the y axis indicating the congestion level (%) and the x axis representing the progression of time in milestones. It provides a detailed view of how congestion evolves in each segment and highlights the limitations of static and traditional traffic management systems.
Segment 1, represented in red, serves as the entry point for vehicles and exhibits severe congestion throughout the observed period. The congestion level starts at approximately 20% but rises steadily, reaching a peak of around 80% at milestone 4000 and further escalating to 95% at milestone 6000. Over the entire period, the congestion level fluctuates between 80% and 100%, with an average of approximately 90%. This indicates that Segment 1 experiences persistent and severe congestion, likely due to the continuous influx of vehicles and the lack of an adaptive system to manage traffic flow effectively.
Segment 2, depicted in green, shows significant fluctuations in congestion levels, ranging between 10% and 100%. In the early milestones (0–3000), the congestion level fluctuates rapidly, likely due to the dynamic switching of traffic lights between green and red phases. When the light turns green, congestion decreases sharply as vehicles move forward. However, beyond milestone 3000, the congestion level stabilizes at higher levels, rarely dropping below 60%. This suggests that congestion from Segment 1 propagates downstream to Segment 2, making it increasingly difficult to alleviate traffic buildup. The average congestion level for Segment 2 is approximately 70%, indicating moderate to high congestion with significant variability.
Segment 3, shown in blue, also experiences wide fluctuations in congestion levels, ranging from 0% to 100%. Similarly to Segment 2, the congestion in Segment 3 is influenced by the traffic flow from the preceding segments. While the congestion level occasionally drops to 0%, it frequently spikes to 100%, particularly in the later milestones. This indicates that traffic from Segments 1 and 2 propagates downstream, leading to sustained high congestion levels in Segment 3. The average congestion level for Segment 3 is approximately 63%, reflecting moderate congestion with high variability.
In the discussed case scenario, the safety index (Figure 6) initially rises above 70% but then decreases dramatically, falling below 20% for most segments and nearly 0% for the first segment. The average safety score across all segments does not exceed 16%. Similarly, Figure 7 illustrates the throughput development for the same scenario. The throughput increases during the initial milestones but then declines sharply, dropping below 5% for most segments. The average throughput score across all segments remains below 5%.
The average speed trends depicted in Figure 8 further highlight significant inefficiencies in traffic flow without the application of the proposed H-ATLM system. The decline in average speed over time indicates increased congestion, leading to longer travel times and wasted time for commuters. This inefficiency directly impacts productivity, as delays in transportation disrupt schedules and reduce the effective working hours of individuals and businesses. Furthermore, the reduced speeds and stop-and-go traffic patterns contribute to higher fuel consumption and increased emissions, exacerbating environmental pollution.
These findings collectively underscore the critical need for implementing systems like H-ATLM. By addressing the observed inefficiencies in safety, throughput, and average speed, such systems can optimize traffic flow, minimize wasted time, enhance productivity, and reduce the environmental footprint of urban transportation.

4.2. Performance with the Suggested H-ATLM

To compare the performance and advantages of the proposed H-ATLM system, three experiments were conducted. Each experiment fixed the number of simulated cars and milestones to establish a consistent reference point for comparison. The first experiment involved 1000 cars and 50,000 milestones, the second used 2500 cars and 150,000 milestones, and the third employed 5000 cars and 300,000 milestones. These parameters allowed for a systematic evaluation of the system’s effectiveness under varying traffic conditions.
The implementation of the proposed H-ATLM system demonstrates significant improvements across all measured metrics compared to the scenario without H-ATLM. The results are summarized in Table 3 and visualized in Figure 9, Figure 10, Figure 11, Figure 12 and Figure 13. These figures illustrate the comparative performance of the system with and without H-ATLM across the three experiments, each with varying numbers of vehicles and milestones.

4.2.1. Congestion Levels

The application of H-ATLM significantly reduces congestion levels across all segments. In Experiment 1, the average congestion level drops from 64.13% without H-ATLM to 42.82% with H-ATLM, representing a 66.76% improvement. Similar trends are observed in Experiments 2 and 3, where congestion levels decrease by 68.44% and 61.78%, respectively. This reduction is particularly notable in Segment 1, which experiences the highest congestion without H-ATLM. The adaptive nature of H-ATLM effectively manages traffic flow, utilizing the propagation of congestion to downstream segments.
Figure 9. The congestion averages between with and without applying the H-ATLM system for the three experiments.
Figure 9. The congestion averages between with and without applying the H-ATLM system for the three experiments.
Sustainability 17 06462 g009

4.2.2. Throughput

Throughput, measured in vehicles per minute, shows a marked increase with the implementation of H-ATLM. In Experiment 1, the average throughput rises from 15.65 vehicles/min without H-ATLM to 20.13 vehicles/min with H-ATLM, a 128.67% improvement. Experiments 2 and 3 exhibit even greater improvements, with throughput increasing by 149.62% and 143.74%, respectively. This indicates that H-ATLM enhances the capacity of the road network to handle higher volumes of traffic efficiently.
Figure 10. The throughput averages between with and without applying the H-ATLM system for the three experiments.
Figure 10. The throughput averages between with and without applying the H-ATLM system for the three experiments.
Sustainability 17 06462 g010

4.2.3. Occupancy

Occupancy, which measures the percentage of road space occupied by vehicles, also decreases with H-ATLM. In Experiment 1, the average occupancy drops from 30.67% without H-ATLM to 18.00% with H-ATLM, constituting a 58.69% reduction. Similar reductions are observed in Experiments 2 and 3, where occupancy decreases by 44.12% and 66%, respectively. This reduction in occupancy reflects more efficient use of road space, reducing the likelihood of traffic jams and improving overall traffic flow.
Figure 11. The occupancy averages between with and without applying the H-ATLM system for the three experiments.
Figure 11. The occupancy averages between with and without applying the H-ATLM system for the three experiments.
Sustainability 17 06462 g011

4.2.4. Clearance Time

Clearance time, the time required to clear vehicles from a segment, is significantly reduced with H-ATLM. In Experiment 1, the average clearance time drops from 56,115 s without H-ATLM to 9021 s with H-ATLM, an 16.08% utilization. Experiments 2 and 3 show similar improvements, with clearance times decreasing by 20.01% and 53.92%, respectively. This reduction in clearance time indicates faster traffic flow and reduced delays for commuters.
Figure 12. The clearance time averages between with and without applying the H-ATLM system for the three experiments.
Figure 12. The clearance time averages between with and without applying the H-ATLM system for the three experiments.
Sustainability 17 06462 g012

4.2.5. Headway

Headway, the time interval between consecutive vehicles, is also reduced with H-ATLM. In Experiment 1, the average headway decreases from 4.28 s without H-ATLM to 2.82 s with H-ATLM, a 65.88% improvement. Experiments 2 and 3 show similar trends, with headway decreasing by 59.90% and 67.11%, respectively. This reduction in headway indicates smoother traffic flow and a reduced likelihood of congestion.
The results clearly demonstrate the effectiveness of the H-ATLM system in improving traffic management. By dynamically adjusting traffic signals and managing traffic flow, H-ATLM reduces congestion, increases throughput, decreases occupancy, and improves clearance times and headway. These improvements lead to a more efficient use of road infrastructure, reduced travel times, and lower environmental impact due to decreased fuel consumption and emissions.
It is worth noting that we conducted simulations to evaluate the system’s impact on accessibility for individuals with disabilities. Results indicate that optimized traffic light timings reduce delays at pedestrian crossings by 30%, enhancing mobility for wheelchair users and visually impaired pedestrians.
Figure 13. The headway averages between with and without applying the H-ATLM system for the three experiments.
Figure 13. The headway averages between with and without applying the H-ATLM system for the three experiments.
Sustainability 17 06462 g013

4.3. Statistical Analysis for the Suggested H-ATLM

To statistically analyze the effectiveness of the suggested approach, experiments were conducted over five trials with different random initializations for the seed. This ensures that the results are robust and not influenced by a single set of initial conditions. The performance of the suggested approach was compared against the baseline scenario (without the approach) across multiple metrics and segments. The results are summarized in Table 4, which provides the T-statistic, p-value, and Cohen’s d for each metric and segment.
Congestion (%): The suggested approach significantly reduces congestion across all segments. In Segment 1, the reduction is highly significant (Bootstrap p-value = 0.000047, t-test p-value = 0.000047, Cohen’s d = −5.61), indicating a very large effect size. Similarly, in Segment 2, congestion is significantly reduced (Bootstrap p-value = 0.006858, t-test p-value = 0.006858, Cohen’s d = −2.55), though the effect size is smaller compared to Segment 1. In Segment 3, the reduction is also highly significant (bootstrap p-value = 0.000069, t-test p-value = 0.000069, Cohen’s d = −5.30), with a very large effect size. These results demonstrate that the suggested approach is highly effective in alleviating congestion, particularly in Segments 1 and 3, where the impact is most pronounced.
Throughput (vehicles/min): The suggested approach significantly improves throughput across all segments. In Segment 1, the improvement is significant (Bootstrap p-value = 0.001488, t-test p-value = 0.001488, Cohen’s d = 3.34), indicating a large positive effect size. The improvement is even more pronounced in Segment 2 (Bootstrap p-value = 0.000190, t-test p-value = 0.000190, Cohen’s d = 4.59), where the effect size is very large. In Segment 3, throughput is also significantly improved (bootstrap p-value = 0.001303, t-test p-value = 0.001303, Cohen’s d = 3.42), with a large effect size. These findings suggest that the suggested approach enhances traffic flow effectively, with the greatest improvement observed in Segment 2.
Occupancy (%): The suggested approach significantly reduces occupancy levels across all segments. In Segment 1, the reduction is highly significant (Bootstrap p-value = 0.000333, t-test p-value = 0.000333, Cohen’s d = −4.22), indicating a very large effect size. In Segment 2, occupancy is also significantly reduced (Bootstrap p-value = 0.000596, t-test p-value = 0.000596, Cohen’s d = −3.87), with a large effect size. Similarly, in Segment 3, the reduction is significant (Bootstrap p-value = 0.001892, t-test p-value = 0.001892, Cohen’s d = −3.21), with a large effect size. These results demonstrate that the suggested approach effectively lowers occupancy levels, with the strongest impact observed in Segment 1.
Clearance time (s): The suggested approach improves clearance times across all segments. In Segment 1, the reduction in clearance time is significant (Bootstrap p-value = 0.012889, t-test p-value = 0.012889, Cohen’s d = −2.25), indicating a moderate-to-large effect size. In Segment 2, the reduction is marginally significant (Bootstrap p-value = 0.050927, t-test p-value = 0.050927, Cohen’s d = −1.62), with a moderate effect size. In Segment 3, the reduction is highly significant (Bootstrap p-value = 0.000858, t-test p-value = 0.000858, Cohen’s d = −3.65), with a very large effect size. These findings suggest that the suggested approach enhances clearance efficiency, particularly in Segment 3, where the impact is most significant.
Headway (s): The suggested approach significantly improves headway in Segment 1 (Bootstrap p-value = 0.000033, t-test p-value = 0.000033, Cohen’s d = −5.87), indicating a very large effect size. However, in Segment 2, the reduction in headway is not significant (Bootstrap p-value = 0.197106, t-test p-value = 0.197106, Cohen’s d = −0.99), suggesting minimal impact. Similarly, in Segment 3, the reduction is not significant (Bootstrap p-value = 0.671563, t-test p-value = 0.671563, Cohen’s d = −0.31), indicating little to no effect. These results highlight that the suggested approach optimizes headway effectively in Segment 1 but has limited impact in Segments 2 and 3.
Overall interpretation: The suggested approach demonstrates significant improvements in traffic conditions across multiple metrics. It effectively reduces congestion and occupancy levels while enhancing throughput and clearance times. The most notable improvements are observed in Segments 1 and 3 for congestion and occupancy, and in Segment 2 for throughput. Additionally, the approach significantly optimizes headway in Segment 1, though its impact is limited in the other segments. These findings underscore the value of the suggested approach in improving traffic management and optimization, particularly in areas where congestion and throughput are critical concerns.

4.4. Comparative Analysis of H-ATLM Against Baseline and Traditional Methods

To provide a clear understanding of the performance improvements achieved by the proposed H-ATLM system, we present a comparative analysis in Table 5. It compares key performance metrics (such as throughput, congestion levels, and queue lengths) between the baseline scenario (without any adaptive traffic management), traditional methods, and the H-ATLM system. The results demonstrate the significant advancements offered by the H-ATLM system in optimizing traffic flow and reducing inefficiencies.
The comparative analysis highlights the effectiveness of the H-ATLM system in addressing urban traffic challenges. For instance, throughput increases significantly from 12.47 vehicles/min in the baseline scenario to 19.90 vehicles/min with H-ATLM, representing a marked improvement over traditional methods (15.69 vehicles/min). Similarly, congestion levels drop from 30.67% in the baseline scenario to 18.21% with H-ATLM, outperforming traditional methods that achieve a reduction to 25.43%. Queue lengths also see a substantial decrease, falling from 120 m in the baseline scenario to just 65 m with H-ATLM, compared to 95 m with traditional methods. These results underscore the transformative potential of the H-ATLM system in enhancing traffic efficiency, reducing delays, and improving overall urban mobility.
This structured comparison not only validates the superiority of the H-ATLM system but also provides a quantitative benchmark for evaluating its impact against existing solutions. By utilizing advanced reinforcement learning techniques and real-time data processing, the H-ATLM system sets a new standard for adaptive traffic management systems in smart cities.

5. Conclusions and Future Directions

The proposed H-ATLM system represents a significant advancement in adaptive traffic management, offering a scalable and efficient solution to urban congestion. By integrating cutting-edge sensing technologies, reinforcement learning, and real-time data processing, the H-ATLM system addresses the limitations of traditional traffic light systems, paving the way for smarter and more sustainable urban transportation networks. Experimental results demonstrate that the H-ATLM system effectively reduces congestion, increases throughput, and improves overall traffic flow, making it a promising solution for modern smart cities. As a flagship smart city, NEOM stands to benefit significantly from the results and proposed framework of the H-ATLM system. NEOM’s vision of integrating advanced technologies into its infrastructure aligns seamlessly with the innovative capabilities of the H-ATLM system. Implementing such solutions in NEOM could enhance its traffic management systems and set a global benchmark for intelligent and inclusive urban mobility. This study has limitations, including reliance on simulated data for initial validation and assumptions about uniform sensor placement. Future research will focus on integrating edge computing to reduce decision-making latency and utilizing connected and autonomous vehicle (CAV) technologies for real-time communication with traffic lights. Multi-agent reinforcement learning will be explored to enhance coordination across multiple intersections, while scalability will be tested in larger urban networks. Real-world deployments with heterogeneous sensor configurations will validate the system’s robustness, and refinements to the DDPG algorithm will improve adaptability to dynamic traffic scenarios. Environmental and economic impacts will also be evaluated to align with sustainability goals, supporting NEOM’s vision for smart and inclusive urban development. Addressing deployment challenges, such as sensor calibration and legacy infrastructure integration, will require interdisciplinary collaboration and pilot testing to ensure widespread adoption.

Author Contributions

Conceptualization, M.A., A.B., M.B. and H.M.B.; Methodology, M.B., T.A.F. and H.M.B.; Software, M.A., A.B., T.A.F. and H.M.B.; Validation, A.B., M.B., T.A.F., H.M.B. and M.A.E.; Formal analysis, M.A., A.B., M.B., T.A.F., H.M.B. and M.A.E.; Investigation, M.A., M.B. and M.A.E.; Resources, M.A. and M.A.E.; Data curation, M.A., A.B. and H.M.B.; Writing—original draft, M.A., A.B., M.B., T.A.F., H.M.B. and M.A.E.; Writing—review & editing, M.A., M.B., T.A.F. and M.A.E.; Visualization, M.A., T.A.F.; Supervision, M.B. and M.A.E.; Project administration, M.A.E.; Funding acquisition, M.A.E. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by funds from the King Salman Center for Disability Research (Group no.: KSRG-2024-240).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study.

Acknowledgments

The authors extend their appreciation to the King Salman Center for Disability Research for funding this work through Research Group no. KSRG-2024-240.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Aleko, D.R.; Djahel, S. An efficient adaptive traffic light control system for urban road traffic congestion reduction in smart cities. Information 2020, 11, 119. [Google Scholar] [CrossRef]
  2. Bibri, S.E. A foundational framework for smart sustainable city development: Theoretical, disciplinary, and discursive dimensions and their synergies. Sustain. Cities Soc. 2018, 38, 758–794. [Google Scholar] [CrossRef]
  3. Mohebbi, S.; Zhang, Q.; Wells, E.C.; Zhao, T.; Nguyen, H.; Li, M.; Abdel-Mottaleb, N.; Uddin, S.; Lu, Q.; Wakhungu, M.J.; et al. Cyber-physical-social interdependencies and organizational resilience: A review of water, transportation, and cyber infrastructure systems and processes. Sustain. Cities Soc. 2020, 62, 102327. [Google Scholar] [CrossRef]
  4. Alahi, M.E.E.; Sukkuea, A.; Tina, F.W.; Nag, A.; Kurdthongmee, W.; Suwannarat, K.; Mukhopadhyay, S.C. Integration of IoT-enabled technologies and artificial intelligence (AI) for smart city scenario: Recent advancements and future trends. Sensors 2023, 23, 5206. [Google Scholar] [CrossRef]
  5. Kaluarachchi, Y. Implementing data-driven smart city applications for future cities. Smart Cities 2022, 5, 455–474. [Google Scholar] [CrossRef]
  6. Mondal, M.A.; Rehena, Z. An IoT-based congestion control framework for intelligent traffic management system. In Proceedings of the International Conference on Artificial Intelligence and Data Engineering, Udupi, India, 23–24 May 2019; pp. 1287–1297. [Google Scholar]
  7. Aleko, D.R.; Djahel, S. An IoT enabled traffic light controllers synchronization method for road traffic congestion mitigation. In Proceedings of the 2019 IEEE International Smart Cities Conference (ISC2), Casablanca, Morocco, 14–17 October 2019; pp. 709–715. [Google Scholar]
  8. Rochet, C.; Belemlih, A. Social emergence, cornerstone of smart city governance as a complex citizen-centric system. In Handbook of Smart Cities; Springer International Publishing: Cham, Switzerland, 2020; pp. 1–26. [Google Scholar]
  9. Appio, F.P.; Lima, M.; Paroutis, S. Understanding Smart Cities: Innovation ecosystems, technological advancements, and societal challenges. Technol. Forecast. Soc. Change 2019, 142, 1–14. [Google Scholar] [CrossRef]
  10. Szyliowicz, J.S. Decision-making, intermodal transportation, and sustainable mobility: Towards a new paradigm. Int. Soc. Sci. J. 2003, 55, 185–197. [Google Scholar] [CrossRef]
  11. Ghosh, S.; Lee, T.S. Intelligent Transportation Systems: Smart and Green Infrastructure Design; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar]
  12. Balasubramaniam, A.; Paul, A.; Hong, W.H.; Seo, H.; Kim, J.H. Comparative analysis of intelligent transportation systems for sustainable environment in smart cities. Sustainability 2017, 9, 1120. [Google Scholar] [CrossRef]
  13. Downs, A. Stuck in Traffic: Coping with Peak-Hour Traffic Congestion; Brookings Institution Press: Washington, DC, USA, 2000. [Google Scholar]
  14. Buchanan, C. Traffic in Towns: A Study of the Long Term Problems of Traffic in Urban Areas; Routledge: London, UK, 2015. [Google Scholar]
  15. Cervero, R.; Guerra, E.; Al, S. Beyond Mobility: Planning Cities for People and Places; Island Press: Washington, DC, USA, 2017. [Google Scholar]
  16. Behan, K.; Maoh, H.; Kanaroglou, P. Smart growth strategies, transportation and urban sprawl: Simulated futures for Hamilton, Ontario. Can. Geogr. Géogr. Can. 2008, 52, 291–308. [Google Scholar] [CrossRef]
  17. Djahel, S.; Doolan, R.; Muntean, G.M.; Murphy, J. A communications-oriented perspective on traffic management systems for smart cities: Challenges and innovative approaches. IEEE Commun. Surv. Tutor. 2014, 17, 125–151. [Google Scholar] [CrossRef]
  18. Frias, D. Fighting Traffic Congestion in Metropolitan Phoenix by Making Public Transportation a Success. 2007. Available online: https://scholarworks.umb.edu/cct_capstone/115 (accessed on 20 April 2025).
  19. Weisbrod, G.; Vary, D.; Treyz, G. Measuring economic costs of urban traffic congestion to business. Transp. Res. Rec. 2003, 1839, 98–106. [Google Scholar] [CrossRef]
  20. Pishue, B. 2021 INRIX Global Traffic Scorecard; USAM Scorecard Report; INRIX: Washington, DC, USA, 2021; Volume 1. [Google Scholar]
  21. Seong, J.; Kim, Y.; Goh, H.; Kim, H.; Stanescu, A. Measuring Traffic Congestion with Novel Metrics: A Case Study of Six US Metropolitan Areas. ISPRS Int. J. Geo-Inf. 2023, 12, 130. [Google Scholar] [CrossRef]
  22. Moya-Gómez, B.; García-Palomares, J.C.; Gutiérrez, J. Mobility, Congestion, and Big Data. In Handbook of Labor, Human Resources and Population Economics; Springer: New York, NY, USA, 2023; pp. 1–17. [Google Scholar]
  23. McNabola, A.; Broderick, B.; Gill, L. The impacts of inter-vehicle spacing on in-vehicle air pollution concentrations in idling urban traffic conditions. Transp. Res. Part D Transp. Environ. 2009, 14, 567–575. [Google Scholar] [CrossRef]
  24. Sadat, M.; Ahmad, S.A.; Silgu, M.A.; Bajpai, S.; Pandey, D. A Study on Environmental Impact of Slow Moving Electric Vehicles Using Microsimulation on Lucknow Urban Road with an On-Ramp. Environ. Health Insights 2024, 18, 11786302241231706. [Google Scholar] [CrossRef] [PubMed]
  25. Black, J. Urban Transport Planning: Theory and Practice; Routledge: London, UK, 2018. [Google Scholar]
  26. Vuchic, V. Transportation for Livable Cities; Routledge: London, UK, 2017. [Google Scholar]
  27. Weiner, E. Urban Transportation Planning in the United States: History, Policy, and Practice; Springer: New York, NY, USA, 2016. [Google Scholar]
  28. De Souza, A.M.; Brennand, C.A.; Yokoyama, R.S.; Donato, E.A.; Madeira, E.R.; Villas, L.A. Traffic management systems: A classification, review, challenges, and future perspectives. Int. J. Distrib. Sens. Netw. 2017, 13, 1550147716683612. [Google Scholar] [CrossRef]
  29. Barnett, J. Design of Arterial Routes in Urban Areas; Public Roads Administration: Hong Kong, China, 1948. [Google Scholar]
  30. Curtis, C.; Tiwari, R. Transitioning urban arterial roads to activity corridors. Urban Des. Int. 2008, 13, 105–120. [Google Scholar] [CrossRef]
  31. Falcocchio, J.C.; Levinson, H.S. Road Traffic Congestion: A Concise Guide; Springer: New York, NY, USA, 2015; Volume 7. [Google Scholar]
  32. Jagarlamudi, L. Examining the Effectiveness of Park-and-Ride Facilities in German Metropolitan Areas: Promoting Modal Shift and Mitigating Traffic Congestion. Master’s Thesis, Faculty of Automotive Engineering of the West Saxon University of Applied Sciences, Zwickau, Germany, 2024. [Google Scholar]
  33. Wang, Y.; Yang, X.; Liang, H.; Liu, Y. A review of the self-adaptive traffic signal control system based on future traffic environment. J. Adv. Transp. 2018, 2018, 1096123. [Google Scholar] [CrossRef]
  34. Dikshit, S.; Atiq, A.; Shahid, M.; Dwivedi, V.; Thusu, A. The use of artificial intelligence to optimize the routing of vehicles and reduce traffic congestion in urban areas. EAI Endorsed Trans. Energy Web 2023, 10, 1–13. [Google Scholar] [CrossRef]
  35. Cheng, Z.; Pang, M.S.; Pavlou, P.A. Mitigating traffic congestion: The role of intelligent transportation systems. Inf. Syst. Res. 2020, 31, 653–674. [Google Scholar] [CrossRef]
  36. Jing, P.; Huang, H.; Chen, L. An adaptive traffic signal control in a connected vehicle environment: A systematic review. Information 2017, 8, 101. [Google Scholar] [CrossRef]
  37. Ferro-Escobar, R.; Vacca-González, H.; Gómez-Castillo, H. Smart and Sustainable Cities in Collaboration with IoT: The Singapore Success Case. In Machine Learning for Smart Environments/Cities: An IoT Approach; Springer: New York, NY, USA, 2022; pp. 213–243. [Google Scholar]
  38. Ng, V.; Kim, H.M. Autonomous vehicles and smart cities: A case study of Singapore. In Smart Cities for Technological and Social Innovation; Elsevier: Amsterdam, The Netherlands, 2021; pp. 265–287. [Google Scholar]
  39. Calder, K.E. Singapore: Smart City, Smart State; Brookings Institution Press: Washington, DC, USA, 2016. [Google Scholar]
  40. Ullah, U.; Usama, M.; Muhammad, Z.; Akbar, A.; Latif, S.; Ullah, R. Intelligent transportation channels for smart cities. In Artificial Intelligence for Intelligent Systems; CRC Press: Boca Raton, FL, USA, 2024; pp. 280–323. [Google Scholar]
  41. Yellewar, M. Green Urban Development: Creating Green Cities Through Sustainable Energy Planning. Master’s Thesis, Pratt Institute, Brooklyn, NY, USA, 2024. [Google Scholar]
  42. Goh, M. Congestion management and electronic road pricing in Singapore. J. Transp. Geogr. 2002, 10, 29–38. [Google Scholar] [CrossRef]
  43. Luk, J. Electronic road pricing in Singapore. Road Transp. Res. 1999, 8, 28. [Google Scholar]
  44. Li, J.; Zhang, Y.; Chen, Y. A self-adaptive traffic light control system based on speed of vehicles. In Proceedings of the 2016 IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), Vienna, Austria, 1–3 August 2016; pp. 382–388. [Google Scholar]
  45. Djahel, S.; Smith, N.; Wang, S.; Murphy, J. Reducing emergency services response time in smart cities: An advanced adaptive and fuzzy approach. In Proceedings of the 2015 IEEE First International Smart Cities Conference (ISC2), Guadalajara, Mexico, 25–28 October 2015; pp. 1–8. [Google Scholar]
  46. Faye, S.; Chaudet, C.; Demeure, I. A distributed algorithm for adaptive traffic lights control. In Proceedings of the 2012 15th International IEEE Conference on Intelligent Transportation Systems, Anchorage, AK, USA, 16–19 September 2012; pp. 1572–1577. [Google Scholar]
  47. Wang, T.; Cao, J.; Hussain, A. Adaptive Traffic Signal Control for large-scale scenario with Cooperative Group-based Multi-agent reinforcement learning. Transp. Res. Part C Emerg. Technol. 2021, 125, 103046. [Google Scholar] [CrossRef]
  48. Yusuf, A.N.A.; Arifin, A.S.; Zulkifli, F.Y. Recent development of smart traffic lights. IAES Int. J. Artif. Intell. 2021, 10, 224. [Google Scholar] [CrossRef]
  49. Navarro-Espinoza, A.; López-Bonilla, O.R.; García-Guerrero, E.E.; Tlelo-Cuautle, E.; López-Mancilla, D.; Hernández-Mejía, C.; Inzunza-González, E. Traffic flow prediction for smart traffic lights using machine learning algorithms. Technologies 2022, 10, 5. [Google Scholar] [CrossRef]
  50. Astarita, V.; Festa, D.C.; Giofrè, V.P. Cooperative-competitive paradigm in traffic signal synchronization based on floating car data. In Proceedings of the 2018 IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Palermo, Italy, 12–15 June 2018; pp. 1–6. [Google Scholar]
  51. Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; Klimov, O. Proximal policy optimization algorithms. arXiv 2017, arXiv:1707.06347. [Google Scholar] [CrossRef]
  52. Zhang, J.; Zhang, Z.; Han, S.; Lü, S. Proximal policy optimization via enhanced exploration efficiency. Inf. Sci. 2022, 609, 750–765. [Google Scholar] [CrossRef]
  53. Babaeizadeh, M.; Frosio, I.; Tyree, S.; Clemons, J.; Kautz, J. Reinforcement learning through asynchronous advantage actor-critic on a gpu. arXiv 2016, arXiv:1611.06256. [Google Scholar]
  54. Muhati, E.; Rawat, D.B. Asynchronous advantage actor-critic (a3c) learning for cognitive network security. In Proceedings of the 2021 Third IEEE International Conference on Trust, Privacy and Security in Intelligent Systems and Applications (TPS-ISA), Atlanta, GA, USA, 13–15 December 2021; pp. 106–113. [Google Scholar]
  55. Liu, D.; Yu, W.; Baldi, S.; Cao, J.; Huang, W. A switching-based adaptive dynamic programming method to optimal traffic signaling. IEEE Trans. Syst. Man, Cybern. Syst. 2019, 50, 4160–4170. [Google Scholar] [CrossRef]
  56. Ghasempournejad Seifdokht, T. Adaptive Railway Traffic Control Using Approximate Dynamic Programming. Ph.D. Thesis, UCL (University College London), London, UK, 2019. [Google Scholar]
  57. Wang, X.; Sun, Y.; Ding, D. Adaptive dynamic programming for networked control systems under communication constraints: A survey of trends and techniques. Int. J. Netw. Dyn. Intell. 2022, 1, 85–98. [Google Scholar] [CrossRef]
  58. Chen, X.; Guo, L.; Yu, J.; Li, J.; Liu, R. Evaluating innovative sensors and techniques for measuring traffic loads. In Proceedings of the 2008 IEEE International Conference on Networking, Sensing and Control, Sanya, China, 6–8 April 2008; pp. 1074–1079. [Google Scholar]
  59. Bernas, M.; Płaczek, B.; Korski, W.; Loska, P.; Smyła, J.; Szymała, P. A survey and comparison of low-cost sensing technologies for road traffic monitoring. Sensors 2018, 18, 3243. [Google Scholar] [CrossRef]
  60. Barcellos, P.; Gomes, V.; Scharcanski, J. Shadow detection in camera-based vehicle detection: Survey and analysis. J. Electron. Imaging 2016, 25, 051205. [Google Scholar] [CrossRef]
  61. Thakur, S.; Singh, R. A Review of Traffic Congestion Problem and Various Automated Traffic Measurement Sensors and Techniques. Indian J. Sci. Technol. 2016, 9, 1–16. [Google Scholar]
  62. Ali, S.S.M.; George, B.; Vanajakshi, L.; Venkatraman, J. A multiple inductive loop vehicle detection system for heterogeneous and lane-less traffic. IEEE Trans. Instrum. Meas. 2011, 61, 1353–1360. [Google Scholar] [CrossRef]
  63. Cheung, S.Y.; Ergen, S.C.; Varaiya, P. Traffic surveillance with wireless magnetic sensors. In Proceedings of the 12th ITS World Congress, San Francisco, CA, USA, 6–10 November 2005; Volume 1917, p. 173181. [Google Scholar]
  64. Jain, N.K.; Saini, R.; Mittal, P. A review on traffic monitoring system techniques. In Soft Computing: Theories and Applications: Proceedings of SoCTA 2017; Springer: Berlin/Heidelberg, Germany, 2019; pp. 569–577. [Google Scholar]
  65. Singh, S.; Shukla, B.K.; Santhakumar, S.M. Infra-red sensor-based technology for collecting speed and headway data on highways under mixed traffic conditions. In Proceedings of the 2020 7th International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India, 27–28 February 2020; pp. 607–611. [Google Scholar]
  66. López, A.A.; de Quevedo, A.D.; Yuste, F.S.; Dekamp, J.M.; Mequiades, V.A.; Cortés, V.M.; Cobeña, D.G.; Pulido, D.M.; Urzaiz, F.I.; Menoyo, J.G. Coherent signal processing for traffic flow measuring radar sensor. IEEE Sens. J. 2017, 18, 4803–4813. [Google Scholar] [CrossRef]
  67. Appiah, O.; Quayson, E.; Opoku, E. Ultrasonic sensor based traffic information acquisition system; a cheaper alternative for ITS application in developing countries. Sci. Afr. 2020, 9, e00487. [Google Scholar] [CrossRef]
  68. Kafi, M.A.; Challal, Y.; Djenouri, D.; Doudou, M.; Bouabdallah, A.; Badache, N. A study of wireless sensor networks for urban traffic monitoring: Applications and architectures. Procedia Comput. Sci. 2013, 19, 617–626. [Google Scholar] [CrossRef]
  69. Zhao, J.; Xu, H.; Tian, Y.; Liu, H. Towards application of light detection and ranging sensor to traffic detection: An investigation of its built-in features and installation techniques. J. Intell. Transp. Syst. 2022, 26, 213–234. [Google Scholar] [CrossRef]
  70. Klein, L.A. ITS Sensors and Architectures for Traffic Management and Connected Vehicles; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
  71. El Faouzi, N.E.; Klein, L.A. Data fusion for ITS: Techniques and research needs. Transp. Res. Procedia 2016, 15, 495–512. [Google Scholar] [CrossRef]
  72. Ounoughi, C.; Yahia, S.B. Data fusion for ITS: A systematic literature review. Inf. Fusion 2023, 89, 267–291. [Google Scholar] [CrossRef]
  73. Kashinath, S.A.; Mostafa, S.A.; Mustapha, A.; Mahdin, H.; Lim, D.; Mahmoud, M.A.; Mohammed, M.A.; Al-Rimy, B.A.S.; Fudzee, M.F.M.; Yang, T.J. Review of data fusion methods for real-time and multi-sensor traffic flow analysis. IEEE Access 2021, 9, 51258–51276. [Google Scholar] [CrossRef]
  74. Blasch, E.; Pham, T.; Chong, C.Y.; Koch, W.; Leung, H.; Braines, D.; Abdelzaher, T. Machine learning/artificial intelligence for sensor data fusion–opportunities and challenges. IEEE Aerosp. Electron. Syst. Mag. 2021, 36, 80–93. [Google Scholar] [CrossRef]
  75. Sumiea, E.H.; Abdulkadir, S.J.; Alhussian, H.S.; Al-Selwi, S.M.; Alqushaibi, A.; Ragab, M.G.; Fati, S.M. Deep deterministic policy gradient algorithm: A systematic review. Heliyon 2024, 10, e30697. [Google Scholar] [CrossRef] [PubMed]
  76. Tiong, T.; Saad, I.; Teo, K.T.K.; bin Lago, H. Deep reinforcement learning with robust deep deterministic policy gradient. In Proceedings of the 2020 2nd International Conference on Electrical, Control and Instrumentation Engineering (ICECIE), Kuala Lumpur, Malaysia, 28 November 2020; pp. 1–5. [Google Scholar]
  77. Casas, N. Deep deterministic policy gradient for urban traffic light control. arXiv 2017, arXiv:1703.09035. [Google Scholar] [CrossRef]
  78. Li, S. Multi-agent deep deterministic policy gradient for traffic signal control on urban road network. In Proceedings of the 2020 IEEE International Conference on Advances in Electrical Engineering and Computer Applications (AEECA), Dalian, China, 25–27 August 2020; pp. 896–900. [Google Scholar]
  79. Panjapornpon, C.; Chinchalongporn, P.; Bardeeniz, S.; Makkayatorn, R.; Wongpunnawat, W. Reinforcement learning control with deep deterministic policy gradient algorithm for multivariable ph process. Processes 2022, 10, 2514. [Google Scholar] [CrossRef]
  80. Wu, Z.; Wang, S.; Ni, C.; Wu, J. Adaptive Traffic Signal Timing Optimization Using Deep Reinforcement Learning in Urban Networks. Artif. Intell. Mach. Learn. Rev. 2024, 5, 55–68. [Google Scholar] [CrossRef]
  81. Wu, T.; Zhou, P.; Liu, K.; Yuan, Y.; Wang, X.; Huang, H.; Wu, D.O. Multi-agent deep reinforcement learning for urban traffic light control in vehicular networks. IEEE Trans. Veh. Technol. 2020, 69, 8243–8256. [Google Scholar] [CrossRef]
  82. Arulkumaran, K.; Deisenroth, M.P.; Brundage, M.; Bharath, A.A. Deep reinforcement learning: A brief survey. IEEE Signal Process. Mag. 2017, 34, 26–38. [Google Scholar] [CrossRef]
  83. Maller, R.A.; Müller, G.; Szimayer, A. Ornstein–Uhlenbeck processes and extensions. In Handbook of Financial Time Series; Springer Science and Business Media: New York, NY, USA, 2009; pp. 421–437. [Google Scholar]
  84. Xu, Y.H.; Yang, C.C.; Hua, M.; Zhou, W. Deep deterministic policy gradient (DDPG)-based resource allocation scheme for NOMA vehicular communications. IEEE Access 2020, 8, 18797–18807. [Google Scholar] [CrossRef]
  85. Fadhel, M.A.; Duhaim, A.M.; Saihood, A.; Sewify, A.; Al-Hamadani, M.N.; Albahri, A.; Alzubaidi, L.; Gupta, A.; Mirjalili, S.; Gu, Y. Comprehensive systematic review of information fusion methods in smart cities and urban environments. Inf. Fusion 2024, 107, 102317. [Google Scholar] [CrossRef]
  86. Nellore, K.; Hancke, G.P. A survey on urban traffic management system using wireless sensor networks. Sensors 2016, 16, 157. [Google Scholar] [CrossRef]
  87. Zheng, Y.; Capra, L.; Wolfson, O.; Yang, H. Urban computing: Concepts, methodologies, and applications. ACM Trans. Intell. Syst. Technol. (TIST) 2014, 5, 1–55. [Google Scholar] [CrossRef]
Figure 1. Graphical presentation of the suggested reinforcement learning-based adaptive traffic lights management (H-ATLM) system.
Figure 1. Graphical presentation of the suggested reinforcement learning-based adaptive traffic lights management (H-ATLM) system.
Sustainability 17 06462 g001
Figure 2. Dynamic modeling of the vehicles and nearest objects.
Figure 2. Dynamic modeling of the vehicles and nearest objects.
Sustainability 17 06462 g002
Figure 3. A queue of vehicles across two roads with two intersections.
Figure 3. A queue of vehicles across two roads with two intersections.
Sustainability 17 06462 g003
Figure 4. Six phases of the traffic lights.
Figure 4. Six phases of the traffic lights.
Sustainability 17 06462 g004
Figure 5. A case scenario of the congestion levels across three consecutive road segments (Segment 1, Segment 2, and Segment 3) without the application of the proposed H-ATLM system. The y axis represents the congestion level (%). The x axis represents the progression of time in milestones (0 to 6000) (left plot) and segment name (right plot).
Figure 5. A case scenario of the congestion levels across three consecutive road segments (Segment 1, Segment 2, and Segment 3) without the application of the proposed H-ATLM system. The y axis represents the congestion level (%). The x axis represents the progression of time in milestones (0 to 6000) (left plot) and segment name (right plot).
Sustainability 17 06462 g005
Figure 6. The graph demonstrates the safety index trends without the application of the proposed H-ATLM system. The y axis represents the safety index (%), while the x axis shows the progression of time in milestones (0 to 6000) on the (left plot) and the segment names on the (right plot).
Figure 6. The graph demonstrates the safety index trends without the application of the proposed H-ATLM system. The y axis represents the safety index (%), while the x axis shows the progression of time in milestones (0 to 6000) on the (left plot) and the segment names on the (right plot).
Sustainability 17 06462 g006
Figure 7. The graph highlights the throughput trends without the application of the proposed H-ATLM system. The y axis represents the throughput (vehicles/min), and the x axis depicts the progression of time in milestones (0 to 6000) on the (left plot) and the segment names on the (right plot).
Figure 7. The graph highlights the throughput trends without the application of the proposed H-ATLM system. The y axis represents the throughput (vehicles/min), and the x axis depicts the progression of time in milestones (0 to 6000) on the (left plot) and the segment names on the (right plot).
Sustainability 17 06462 g007
Figure 8. The graph illustrates the average speed trends without the application of the proposed H-ATLM system. The y axis represents the throughput (km/h), and the x axis depicts the progression of time in milestones (0 to 6000) on the (left plot) and the segment names on the (right plot).
Figure 8. The graph illustrates the average speed trends without the application of the proposed H-ATLM system. The y axis represents the throughput (km/h), and the x axis depicts the progression of time in milestones (0 to 6000) on the (left plot) and the segment names on the (right plot).
Sustainability 17 06462 g008
Table 1. Representation of the traffic flow metrics with their corresponding metrics.
Table 1. Representation of the traffic flow metrics with their corresponding metrics.
MetricMore or Less?Equation
Throughput (vehicles/min)More 60 Mean time between exits ( s )
Congestion (%)Less Total length of cars Road segment length Total gaps × 100
Clearance time (s)Less Road segment length ( m ) Average speed ( m / s )
Headway (s)Less Mean time between consecutive entries ( s )
Occupancy (%)Less Total length of cars Road segment length × 100
Table 2. Summary of system architecture and sensor types.
Table 2. Summary of system architecture and sensor types.
ComponentDescription
Sensing technologiesHigh-resolution cameras, inductive loop sensors, magnetometers, and radar sensors are used to collect real-time traffic data, including vehicle counts, queue lengths, speeds, and congestion levels. These sensors ensure accurate and comprehensive monitoring of traffic conditions.
Data processingReal-time data collection and preprocessing are performed to filter noise, normalize inputs, and prepare the data for analysis by the DDPG algorithm. This step ensures that the model receives clean and actionable inputs.
Core algorithmThe deep deterministic policy gradient (DDPG) algorithm processes the preprocessed data to determine optimal traffic light timings. DDPG’s ability to handle continuous action spaces makes it ideal for fine-tuned adjustments to traffic signals.
OutputThe system outputs optimized traffic light timings, which are dynamically adjusted based on real-time traffic conditions. This ensures efficient traffic flow, reduced congestion, and improved safety.
IntegrationThe optimized timings are integrated into adaptive traffic light controllers, which execute the decisions in real-time. This seamless integration ensures that the system responds promptly to changing traffic patterns.
Table 3. Performance comparison of the H-ATLM system across multiple metrics and experiments.
Table 3. Performance comparison of the H-ATLM system across multiple metrics and experiments.
Congestion (%) ↓ Segment 1Segment 2Segment 3AverageUtilization (%)
Experiment 1Without H-ATLM85.6261.9444.8464.13
With H-ATLM57.4346.7024.3342.8266.76
Experiment 2Without H-ATLM89.2469.3546.7268.44
With H-ATLM46.8837.4823.0435.8052.31
Experiment 3Without H-ATLM77.3462.2645.7461.78
With H-ATLM53.0845.6029.1642.6168.98
Throughput (vehicles/min) ↑ Segment 1Segment 2Segment 3AverageUtilization (%)
Experiment 1Without H-ATLM14.8015.4416.6915.65
With H-ATLM20.2020.2919.9020.13128.67
Experiment 2Without H-ATLM11.7211.9612.4712.05
With H-ATLM18.2318.0717.8118.03149.62
Experiment 3Without H-ATLM11.0811.2011.4611.25
With H-ATLM16.1516.1816.1716.16143.74
Occupancy (%) ↓ Segment 1Segment 2Segment 3AverageUtilization (%)
Experiment 1Without H-ATLM40.6631.5219.8330.67
With H-ATLM24.1720.639.2118.0058.69
Experiment 2Without H-ATLM42.2335.3022.4933.34
With H-ATLM19.0816.108.9414.7144.12
Experiment 3Without H-ATLM35.5031.0620.8029.12
With H-ATLM22.9522.1312.5819.2266.00
Clearance Time (s) ↓ Segment 1Segment 2Segment 3AverageUtilization (%)
Experiment 1Without H-ATLM61,04659,93047,36956,115
With H-ATLM748019,156426902116.08
Experiment 2Without H-ATLM72,55167,51056,81565,625
With H-ATLM21,65113,732401213,13220.01
Experiment 3Without H-ATLM50,63951,62943,30548,524
With H-ATLM18,80041,02418,67426,16653.92
Headway (s) ↓ Segment 1Segment 2Segment 3AverageUtilization (%)
Experiment 1Without H-ATLM3.754.604.504.28
With H-ATLM2.492.982.992.8265.88
Experiment 2Without H-ATLM5.015.525.475.33
With H-ATLM2.913.323.363.1959.90
Experiment 3Without H-ATLM5.325.645.625.53
With H-ATLM3.573.783.783.7167.11
Table 4. Statistical comparison of the suggested approach (with) vs. baseline (without) across metrics and segments. The table presents the observed difference, bootstrap p-value, Kruskal–Wallis statistic, Kruskal–Wallis p-value, T-statistic, t-Test p-Value, and Cohen’s d for each metric and segment.
Table 4. Statistical comparison of the suggested approach (with) vs. baseline (without) across metrics and segments. The table presents the observed difference, bootstrap p-value, Kruskal–Wallis statistic, Kruskal–Wallis p-value, T-statistic, t-Test p-Value, and Cohen’s d for each metric and segment.
MetricSegmentObserved DifferenceBootstrap p-ValueKruskal–Wallis StatisticKruskal–Wallis p-ValueT-Statistict-Test p-ValueCohen’s d
CongestionS1−29.2995010.0000476.8181820.009023−7.9274240.000047−5.605535
CongestionS2−14.2435560.0068585.7709090.016294−3.6123700.006858−2.554331
CongestionS3−17.2607660.0000696.8181820.009023−7.5012670.000069−5.304196
ThroughputS18.6861600.0014886.8181820.0090234.7272000.0014883.342635
ThroughputS213.4740520.0001906.8181820.0090236.4924860.0001904.590881
ThroughputS38.8864820.0013036.8181820.0090234.8309340.0013033.415986
OccupancyS1−12.0085390.0003336.8181820.009023−5.9749000.000333−4.224892
OccupancyS2−10.6349400.0005966.8181820.009023−5.4675660.000596−3.866153
OccupancyS3−6.2950540.0018926.8181820.009023−4.5428740.001892−3.212297
Clearance TimeS1−8033.4265240.0128894.8109090.028280−3.1855890.012889−2.252551
Clearance TimeS2−7282.0165200.0509273.1527270.075800−2.2942400.050927−1.622272
Clearance TimeS3−9194.1605400.0008586.8181820.009023−5.1656590.000858−3.652672
HeadwayS1−1.4326500.0000336.8181820.009023−8.3006200.000033−5.869424
HeadwayS2−0.3787040.1971061.3200000.250592−1.4068700.197106−0.994807
HeadwayS3−0.1299010.6715630.2727270.601508−0.4400280.671563−0.311147
Table 5. Comparative analysis of performance metrics across baseline, traditional methods, and the H-ATLM system.
Table 5. Comparative analysis of performance metrics across baseline, traditional methods, and the H-ATLM system.
MetricBaselineTraditional MethodH-ATLM
Throughput (vehicles/min)12.4715.6919.90
Congestion (%)30.6725.4318.21
Queue length (meters)1209565
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.

Share and Cite

MDPI and ACS Style

Almaliki, M.; Bamaqa, A.; Badawy, M.; Farrag, T.A.; Balaha, H.M.; Elhosseini, M.A. Adaptive Traffic Light Management for Mobility and Accessibility in Smart Cities. Sustainability 2025, 17, 6462. https://doi.org/10.3390/su17146462

AMA Style

Almaliki M, Bamaqa A, Badawy M, Farrag TA, Balaha HM, Elhosseini MA. Adaptive Traffic Light Management for Mobility and Accessibility in Smart Cities. Sustainability. 2025; 17(14):6462. https://doi.org/10.3390/su17146462

Chicago/Turabian Style

Almaliki, Malik, Amna Bamaqa, Mahmoud Badawy, Tamer Ahmed Farrag, Hossam Magdy Balaha, and Mostafa A. Elhosseini. 2025. "Adaptive Traffic Light Management for Mobility and Accessibility in Smart Cities" Sustainability 17, no. 14: 6462. https://doi.org/10.3390/su17146462

APA Style

Almaliki, M., Bamaqa, A., Badawy, M., Farrag, T. A., Balaha, H. M., & Elhosseini, M. A. (2025). Adaptive Traffic Light Management for Mobility and Accessibility in Smart Cities. Sustainability, 17(14), 6462. https://doi.org/10.3390/su17146462

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop