Joint Pedestrian and Vehicle Traffic Optimization in Urban Environments using Reinforcement Learning Bibek Poudel, Xuan Wang, Weizi Li, Lei Zhu, Kevin Heaslip Abstract Reinforcement learning (RL) holds significant promise for adaptive traffic signal control. While existing RL-based methods demonstrate effectiveness in reducing vehicular congestion, their predominant focus on vehicle-centric optimization leaves pedestrian mobility needs and safety challenges unaddressed. In this paper, we present a deep RL framework for adaptive control of eight traffic signals along a real-world urban corridor, jointly optimizing both pedestrian and vehicular efficiency. Our single-agent policy is trained using real-world pedestrian and vehicle demand data derived from Wi-Fi logs and video analysis. The results demonstrate significant performance improvements over traditional fixed-time signals, reducing average wait times per pedestrian and per vehicle by up to 𝟔𝟕 % \mathbf{67\%} and 𝟓𝟐 % \mathbf{52\%} respectively, while simultaneously decreasing total accumulated wait times for both groups by up to 𝟔𝟕 % \mathbf{67\%} and 𝟓𝟑 % \mathbf{53\%} . Additionally, our results demonstrate generalization capabilities across varying traffic demands, including conditions entirely unseen during training, validating RL’s potential for developing transportation systems that serve all road users. I Introduction Fig. 1 : The Craver Road corridor with an intersection (INT) that contains one primary traffic signal and four signalized crosswalks, along with seven midblock signalized crosswalks (MB 1 –MB 7 ) that control pedestrian–vehicle interactions. Traffic congestion has become a silent tax on modern civilization. Each year, drivers in U.S. cities waste an average of 54 hours stuck in traffic [ 1 ] , costing over 160 billion in lost productivity [ 2 ] . With urban cores in metropolitan areas experiencing an increase of traffic inflow—up to +25\% year-over-year [ 3 ] —congestion is set to worsen as urbanization continues. To address this challenge, traffic control systems have evolved from traditional handcrafted rules and actuated systems to Adaptive Traffic Signal Control (ATSC). Driven by cost-effectiveness [ 4 , 5 ] , increasing availability of traffic data [ 6 ] , and advances in optimization techniques [ 7 ] , ATSC has become a central focus of intelligent transportation systems research [ 8 ] . While ATSC has reduced congestion and improved vehicular flow, its evolution has largely overlooked a critical stakeholder: pedestrians. At the same time, pedestrian fatalities in the U.S. have reached their highest level in 41 years, averaging about 21 deaths per day [ 9 , 10 ] . Urban areas are particularly affected, with 84 % of these fatalities occurring in cities and 76 % taking place at non-intersection locations such as mid-block crossings and commercial strips [ 11 ] . A key factor is the prevalence of unsignalized mid-block crosswalks, where pedestrians lack clear guidance and drivers may not yield, increasing accident risks [ 12 ] . Implementing signalized crosswalks at these locations—with dedicated pedestrian phases and clear right-of-way signals—has proven effective in reducing vehicle-pedestrian conflicts and enhancing rule compliance [ 13 ] . The inclusion of pedestrian-friendly features in ATSC frameworks ensures that traffic control systems not only alleviate congestion but also proactively protect vulnerable road users. As urban traffic control grows increasingly complex, ATSC strategies are leveraging real-time sensor data and computational methods. RL, in particular, has emerged as a leading approach due to its ability to learn adaptive policies directly from data without relying on traffic models or handcrafted rules. Recent methods have primarily focused on improving vehicular throughput, often neglecting pedestrian efficiency or modeling pedestrian behavior in overly simplified scenarios [ 14 , 15 , 16 ] . This vehicle-centric approach fails to capture the complex interactions between vehicles and pedestrians, especially in urban environments characterized by high pedestrian volumes, frequent mid-block crossings, and diverse mobility demands. Developing control policies that simultaneously optimize pedestrian and vehicular efficiency in realistic urban settings remains an open challenge. This paper introduces a deep RL framework for corridor-level control of eight traffic signals, jointly optimizing for vehicular and pedestrian efficiency. Our contributions are: • We develop a single policy that effectively manages high traffic volumes (up to 6,000 pedestrians/hr and 558 vehicles/hr) based on real-world demand data derived from Wi-Fi logs and video analysis. • Our results demonstrate substantial performance improvements over traditional fixed-time signals, reducing average wait time per vehicle by up to 52\% and average wait time per pedestrian by up to 67\% . • We provide insights into the behaviors learned by our policy, including coordination of multiple signals to create a “green wave” effect, and responsiveness to real-time traffic by switching phases more frequently. The code, data, and video demonstrations are available in GitHub repository: github.com/poudel-bibek/Urban-Control . II Related Work Conventional adaptive traffic control systems have evolved through two primary approaches: model-based methods like SCOOT [ 17 ] , which leverage macroscopic traffic flow equations to optimize signal timings, and rule-based systems such as SCATS [ 18 ] , which select from a library of timing plans in response to detected traffic. Despite their widespread deployment and clear advantages over fixed-time control, these systems struggle to capture the inherent complexity and stochasticity of urban traffic. Common challenges include unpredictable variations in traffic volume and queue propagation through multiple intersections in the network [ 19 ] . To address these challenges, modern traffic control strategies harness real-time sensor data alongside advanced computational techniques—including machine learning [ 20 , 21 ] and deep reinforcement learning (DRL) [ 22 , 23 ] —effectively eliminating the need for explicit rules or pre-defined models. In particular, DRL has emerged at the forefront of modern traffic control research, demonstrating its effectiveness in both single-agent and multi-agent settings [ 24 , 25 ] . In single-agent settings, DRL has been applied to optimize isolated intersections by selecting appropriate signal phases [ 26 ] or duration [ 27 ] based on observed traffic conditions, while multi-agent scenarios explore approaches where agents either collaborate to coordinate signals across networks [ 28 ] or compete to prioritize movement in traffic signal with higher demand [ 15 ] . These methods generally show better performance compared to fixed-time and conventional control approaches [ 29 ] , demonstrating, for instance, reductions in average travel time and queue lengths [ 30 ] . Yet, it is worth noting that majority of existing studies remain primarily focused on optimizing vehicular throughput [ 16 ] . However, real-world urban environments include both vehicles and pedestrians. Integrating pedestrian dynamics into ATSC systems introduces several complex challenges—such as ensuring pedestrian safety at crosswalks [ 14 , 31 ] and balancing the needs of both vehicles and pedestrians to prevent excessive delays for one group while prioritizing the other [ 32 ] . Recognizing these complexities, recent studies have extended RL-based traffic signal control to incorporate pedestrians. Several approaches have emerged in this direction: some introduce pedestrian-specific phases i.e., eliminate vehicle-pedestrian interactions for improved safety [ 33 ] , while others incorporate pedestrian-centric performance metrics directly into the reward function [ 34 ] . However, these studies typically rely on synthetic demand data or remain constrained to ideal road-networks [ 8 ] . This leaves pedestrian-inclusive ATSC strategies relatively underexplored, particularly for complex urban corridors with multiple signalized crosswalks. Our work addresses these limitations by proposing a DRL framework that jointly optimizes vehicular and pedestrian waiting times in a real-world corridor-level setting. Unlike earlier methods that either focused solely on vehicles or used synthetic demand on ideal networks, our approach employs a real-world urban network of eight traffic signals with real-world demand data for both vehicles and pedestrians. The work most similar to ours is Kumarasamy et al. [ 35 ] , which also uses a real-world corridor and vehicle demand data but differs by adopting a multi-agent framework and relying on synthetic pedestrian demand. Our approach demonstrates that a single-agent policy can effectively control an entire urban corridor while balancing the needs of both vehicles and pedestrians. III Methodology Fig. 2 : (a) Deep reinforcement learning framework for corridor-level traffic control. (b) Intersection signal configurations controlling vehicle and pedestrian movements, including dedicated left turns (choice 3 ) and all-pedestrian phases (choice 4 ). (c) Two midblock signal configurations allowing either vehicle movement (choice 1 ) or pedestrian crossing (choice 2 ). III-A Real-World Network and Demand Data The Craver Road, as shown in Figure 1 , is a 750 m corridor that serves as the primary arterial through the University of North Carolina, Charlotte’s main campus. The campus covers 1.56 square miles and includes 85 buildings and approximately 34,000 students, faculty, and staff [ 36 ] . To capture pedestrian demand data, we utilize Wi-Fi logs collected in September 2021 by the university’s IT department. The Wi-Fi network comprises of 2,492 access points (APs) distributed across 82 buildings, with 88,409 unique clients. The Wi-Fi log data captures communication events between Wi-Fi clients (e.g., smartphones and laptops) and APs. Each log entry indicates “when” (timestamp) and “where” (AP location) each client connected to the network. We processed this raw data using a generalized Wi-Fi processing framework based on a “Point-Line-Plane” hierarchical concept [ 37 ] with the following filtering assumptions: • Client activities were aggregated at the building level, each client’s AP sessions within the same building were merged to represent presence in that location. • Clients identified as visitors or irregular commuters (detected for fewer than three days per month, constituting 11.81\% of the dataset) were excluded, as our analysis focuses on typical campus travel patterns. • To address individuals carrying multiple devices, we used K-means clustering to classify and remove “non-mobile” devices based on the mean and variance of their stationary ratio relative to total daily activity time [ 38 ] . For vehicle demand data, we analyzed four video recordings (total 21 minutes) captured at different times at the Craver Road intersection (INT). The observed flow was converted to hourly rates, resulting in an average headway of 18 seconds between vehicles. We mapped both pedestrian and vehicle demand to SUMO [ 39 ] trip definitions, creating a network-wide real-world demand of 2223 pedestrians/hr and 202 vehicles/hr. For trip generation, we defined origin-destination pairs using Traffic Analysis Zones (TAZs). Pedestrian origin-destination pairs were derived from Wi-Fi building visit data, and vehicle pairs from movement records. In each trip, start and end points were assigned to specific edges within TAZs, with departure times based on observed timestamps. III-B Markov Decision Process We formulate the Adaptive Traffic Signal Control (ATSC) as a sequential decision-making problem modeled as a partially observable Markov Decision Process represented by the tuple (S,A,T,R,\Omega,O,\gamma) . Here, S denotes the set of environment states, A represents the set of possible actions, T:S\times A\times S\to[0,1] is the probabilistic state transition function, and R:S\times A\to\mathbb{R} defines the reward function. Due to partial observability in real-world traffic systems, \Omega represents the set of observations, O:S\times A\times\Omega\to[0,1] defines the observation probability function, and \gamma\in[0,1) is the discount factor to balance immediate and future rewards. State: Traffic representation significantly impacts ATSC performance [ 40 ] . Our observation fuses vehicle and pedestrian occupancy data in areas neighboring each traffic signal, vehicles are detected within a 15 – 100 m vicinity while pedestrians are detected within 5 – 10 m. To capture both spatial and temporal dynamics, we stack occupancy information over the action duration (each action step encompasses N simulation timesteps). At action step t , the observation o_{t}\in\Omega is formed by stacking N vectors from the previous action interval: \displaystyle o_{t} \displaystyle=\left[v_{1},\,v_{2},\,\ldots,\,v_{N}\right],\quad\text{with} \displaystyle v_{k} \displaystyle=\Bigl[\phi_{t-1},\,\{v_{i,\cdot}(k)\}_{i=1}^{M},\,\{p_{i,\cdot}(k)\}_{i=1}^{M}\Bigr], for k=1,2,\ldots,N , where: • \phi_{t-1} is the signal phase during the previous action, • v_{i,\cdot}(k)=\bigl(v_{i,\mathrm{in}}(k),\,v_{i,\mathrm{inside}}(k),\,v_{i,\mathrm{out}}(k)\bigr) denotes the vehicle occupancy vector at traffic signal i at the k -th simulation timestep; here, v_{i,\mathrm{in}}(k) represents occupancy from lanes approaching the traffic signal (incoming), v_{i,\mathrm{inside}}(k) from lanes within the controlled area, and v_{i,\mathrm{out}}(k) from lanes exiting (outgoing), • p_{i,\cdot}(k)=\bigl(p_{i,\mathrm{in}}(k),\,p_{i,\mathrm{out}}(k)\bigr) denotes the pedestrian occupancy vector at traffic signal i at the k -th simulation timestep; here, p_{i,\mathrm{in}}(k) represents occupancy from pedestrians approaching the crosswalk, and p_{i,\mathrm{out}}(k) from those leaving, • M is the number of controlled traffic signals. This spatio-temporal formulation provides a comprehensive snapshot of evolving traffic conditions. Action: The agent’s action is composed of two independent components—intersection and mid-block actions—both derived from a policy parameterized by \theta\in\mathbb{R}^{d} , which takes as input the current observation o_{t} to produce logits that are split into distribution parameters for the two actions: • Intersection Action : The agent selects one of four mutually exclusive phase configurations as shown in Figure 2 (b), i.e., a_{t}^{int}\in\{1,2,3,4\} , with j denoting the chosen configuration. This selection is drawn from a Categorical distribution: P(a_{t}^{int}=j\mid o_{t},\theta)=\text{Categorical}\Bigl(j;\mathbf{p}^{int}(o_{t},\theta)\Bigr), where \mathbf{p}^{int}(o_{t},\theta)\in\Delta^{3} is the probability vector over the four phase configurations. • Mid-Block Actions : For each of the seven mid-block signals, the agent independently selects a binary action a_{t,i}^{mb}\in\{1,2\} , each modeled as a Bernoulli distribution: P(a_{t,i}^{mb}=b\mid o_{t},\theta)=\text{Bernoulli}\Bigl(b;\mu_{i}^{mb}(o_{t},\theta)\Bigr), where \mu_{i}^{mb}(o_{t},\theta) is the probability for signal i and b=1 indicates permission for vehicle flow i.e., Midblock choice 1 shown in Figure 2 (c). The overall action a_{t}=\text{concat}(a_{t}^{int},a_{t,1}^{mb},\ldots,a_{t,7}^{mb}) is an 8 -digit string. Restricting the intersection action to pre-defined safe configurations inherently enforces safety (preventing conflicting pedestrian–vehicle greens) and reduces the exploration space for more sample-efficient learning. For additional safety, a 4 -timestep mandatory yellow phase is automatically introduced in all the signals via an internal mechanism before switching from a green to a red signal. Note that while direct control over the yellow phase duration is not permitted, the duration of any other phase can be controlled by repeatedly selecting the same action. Each action lasts for 10 simulation steps ( N=10 ). Reward: To fulfill the multi-objective goal of minimizing both vehicle and pedestrian waiting times, we build on the success of the Maximum Wait Aggregated Queue (MWAQ) [ 41 ] , and propose the Exponentially Increasing Maximum Wait Aggregated Queue (EI-MWAQ) . While MWAQ uses the product of queue length and maximum waiting time to approximate the worst-case aggregate delay, EI-MWAQ normalizes those values and applies an exponential penalty. This strongly disincentivizes large queues and long waits. For the intersection, we compute: Q^{\mathrm{int}}_{\mathrm{veh}}=\frac{N^{\mathrm{int}}_{\mathrm{veh}}\cdot W^{\mathrm{int}}_{\mathrm{veh}}}{8|D|},\quad Q^{\mathrm{int}}_{\mathrm{ped}}=\frac{N^{\mathrm{int}}_{\mathrm{ped}}\cdot W^{\mathrm{int}}_{\mathrm{ped}}}{10|D|}, where N^{\mathrm{int}}_{\mathrm{veh}} and N^{\mathrm{int}}_{\mathrm{ped}} denote the counts of waiting vehicles and pedestrians at the intersection, W^{\mathrm{int}}_{\mathrm{veh}} and W^{\mathrm{int}}_{\mathrm{ped}} their respective maximum waiting times, and |D| the number of incoming directions. For each midblock signal i , we compute: \displaystyle Q^{\mathrm{mb}}_{\mathrm{veh}}(i) \displaystyle=\frac{N^{\mathrm{mb}}_{\mathrm{veh}}(i)\cdot W^{\mathrm{mb}}_{\mathrm{veh}}(i)}{8|D_{\mathrm{mb}}|}, \displaystyle Q^{\mathrm{mb}}_{\mathrm{ped}}(i) \displaystyle=\frac{N^{\mathrm{mb}}_{\mathrm{ped}}(i)\cdot W^{\mathrm{mb}}_{\mathrm{ped}}(i)}{10}, where |D_{\mathrm{mb}}| is the number of incoming directions. These per-signal values are aggregated across all 7 midblock signals using the L_{2} norm: Q^{\mathrm{mb}}_{\mathrm{veh}}=\left\|\left(Q^{\mathrm{mb}}_{\mathrm{veh}}(i)\right)_{i=1}^{7}\right\|_{2},\quad Q^{\mathrm{mb}}_{\mathrm{ped}}=\left\|\left(Q^{\mathrm{mb}}_{\mathrm{ped}}(i)\right)_{i=1}^{7}\right\|_{2}. The amplified penalties are obtained by applying the exponential function: \displaystyle R^{\mathrm{int}}_{\mathrm{veh}} \displaystyle=\exp\left(Q^{\mathrm{int}}_{\mathrm{veh}}\right),\quad R^{\mathrm{int}}_{\mathrm{ped}}=\exp\left(Q^{\mathrm{int}}_{\mathrm{ped}}\right), \displaystyle R^{\mathrm{mb}}_{\mathrm{veh}} \displaystyle=\exp\left(Q^{\mathrm{mb}}_{\mathrm{veh}}\right),\quad R^{\mathrm{mb}}_{\mathrm{ped}}=\exp\left(Q^{\mathrm{mb}}_{\mathrm{ped}}\right). The final reward is given by: \boxed{R=-\left(R^{\mathrm{int}}_{\mathrm{veh}}+R^{\mathrm{int}}_{\mathrm{ped}}+R^{\mathrm{mb}}_{\mathrm{veh}}+R^{\mathrm{mb}}_{\mathrm{ped}}\right)}, which is clipped within the range [-10^{5},\,0] for numerical stability. Vehicles are considered waiting below speed 0.2\,\mathrm{m/s} and pedestrians below speed 0.5\,\mathrm{m/s} and the normalization constants 8 and 10 are empirically chosen. Additionally, both the state and reward statistics are updated at each action step using a Welford Normalizer [ 42 , 43 ] . Fig. 3 : Performance comparison between three traffic control approaches across varying demand scales. The figure shows wait times for both pedestrians (left) and vehicles (right), measured as average wait time per pedestrian/vehicle (top) and total wait time for pedestrians/vehicles (bottom). Our RL agent consistently outperforms traffic signal control (Signalized) across all demand levels, reducing average vehicle wait times by up to 52\% (from 42.6 to 20.5 seconds per vehicle at 2 × demand) while decreasing pedestrian wait times by up to 67\% (from 6.0 to 2.0 seconds per pedestrian at 2 × demand). Despite providing protected crossing phases through signalization, our RL approach achieves pedestrian wait times comparable to or slightly better than unsignalizing mid-block crosswalks (Unsignalized), while delivering approximately 20\% lower average vehicle wait times at higher demands. The gray-shaded areas to the left and right indicate demand levels unseen during training ( <1 × and >2.25 ×), where our approach generalizes effectively with consistent performance improvements across both low and high demands. All values are averaged across 10 independent simulation runs with a total of 600 runs. IV Experiments Category Parameter Value PPO Learning Rate ( \alpha ) 1{\times}10^{-4} Discount Factor ( \gamma ) 0.99 GAE Estimation ( \lambda ) 0.95 Clip Parameter ( \epsilon ) 0.2 Value Function Coeff. 0.5 Update Frequency 1024 K-epochs 4 Policy Architecture MLP Hidden Layers (Actor) [512,256,128,64,32] Hidden Layers (Critic) [512,256,128,64,32] Simulation Time Step ( \Delta t ) 1 second Action Duration 10 steps Warmup Time-steps 100 - 250 Episode Horizon 600 steps TABLE I : Key parameters for PPO, policy, and simulation. IV-A Setup We conduct all simulations using SUMO [ 44 ] . The reinforcement learning policy is trained using Proximal Policy Optimization (PPO) [ 45 ] with Generalized Advantage Estimation (GAE) [ 46 ] . Training occurs across 24 parallel actors over 6\times 10^{6} simulation timesteps on an Intel Core i 9-14900 KF processor and an NVIDIA RTX A 5000 GPU. We implement a multi-layer perceptron policy architecture with separate networks for actor and critic. During training, each episode consists of a warmup period (randomly selected between 100 and 250 timesteps) during which all signals operate on fixed-time control, followed by a 600 -timestep episode horizon. To ensure robust policy learning, we randomly scale both pedestrian and vehicle demand between 1\times and 2.25\times the original demand for each episode. SUMO’s dynamic routing behavior introduces additional variability by adapting vehicle and pedestrian routes based on current traffic conditions. A comprehensive list of simulation and training parameters is provided in Table I . IV-B Benchmarks We evaluate our approach against two traffic control strategies that represent common real-world implementations. IV-B 1 Unsignalized In this benchmark, we implement all mid-block locations (MB 1 -MB 7 ) as unsignalized crosswalks, closely matching the current real-world setup of the corridor. At these unsignalized crosswalks, pedestrians have the right-of-way as specified by the Uniform Vehicle Code [ 47 ] . This right-of-way behavior is implemented in our simulation using SUMO’s pedestrian interaction model [ 48 ] , where vehicles must yield to pedestrians in two specific scenarios: • Vehicles and pedestrians share the same road • Vehicles pass through designated pedestrian crossings The unsignalized approach represents a pedestrian-prioritized baseline that minimizes pedestrian delay at mid-block locations but may increase vehicle delay and conflicts (right-of-way negotiations) between vehicles and pedestrians. As shown in Figure 4 (a), the conflicts become increasingly critical at higher traffic volumes, where unsignalized crosswalks experience up to 28.1 conflicts on average. The intersection (INT) remains signalized. IV-B 2 Signalized This benchmark implements fixed-time control for both the intersection (INT) and mid-block (MB 1 -MB 7 ) crosswalks. The signal timings are based on real-world observations and standard traffic engineering practices: INT: Operates on a 5 -phase cycle with 90 -second green periods alternating between N-S and E-W through vehicle movements. Each direction change includes a 4 -second yellow and 2 -second all-red transition period. Consistent with the real-world implementation, the signal timing does not include dedicated left-turn phases. Complementary pedestrian crossings activate simultaneously with their corresponding vehicle phases (i.e., when N-S vehicle movement is green, the E-W pedestrian crosswalks are also green, and vice versa). We derived these timings through manual observation of video footage captured at different times of day. MB \mathbf{1} -MB \mathbf{7} : Operate on a 62 -second cycle with phases set according to guidelines from FHWA’s Manual on Uniform Traffic Control Devices (MUTCD) [ 49 ] and Traffic Signal Timing Manual (TSTM) [ 50 ] : • Pedestrian Phase (MUTCD 4I .06 ): 16 seconds consisting of a 7 -second minimum interval followed by a 9 -second clearance interval calculated as: \displaystyle\text{Clearance time}=\frac{\text{Crosswalk length}}{\text{Walking speed}}=\frac{32\text{ ft}}{3.5\text{ ft/s}}\approx 9\text{ s} • Vehicle Phase (TSTM 6.6.3 , MUTCD 4F .17 ): 46 seconds consisting of 40 -second green time ( 64\% of the split distribution), a 4 -second yellow change interval, and a 2 -second red clearance interval. The signalized approach represents a fully-controlled safety-oriented baseline with dedicated signal phases ensuring rule compliance and eliminating vehicle-pedestrian right-of-way conflicts. Our RL approach also uses the fully-controlled setup but replaces the fixed signal timing cycles with adaptive timings controlled by the policy. Fig. 4 : (a) Vehicle-pedestrian right-of-way conflicts in unsignalized mid-block crosswalks increase substantially with traffic demand, from 1.8 conflicts at 0.5 x demand to 28.1 at 2.5 x demand. The error bars show standard deviation values rising at higher demand levels, indicating safety outcomes become both worse and more unpredictable as traffic volumes increase. (b) Emergence of traffic signal coordination during training. Average number of mid-block traffic lights simultaneously set to green for vehicular flow shows an upward trend (from approximately 3.55 to 3.75 ) indicating that the RL agent gradually learns to coordinate multiple signals. (c) Total signal phase switches after the warmup period across all signals in the network. RL agent demonstrates adaptive switching, with more than five fold increase in switching frequency compared to fixed-time signalized control. Plots (a) and (c) data are averaged over 10 runs. IV-C Results Our reinforcement learning (RL) based approach effectively resolves the safety-efficiency trade-off in traffic control by providing the safety benefits of signalized crossings while achieving wait times comparable to or better than unsignalized crossings. As shown in Figure 3 , the approach consistently outperforms Signalized across all demand levels, reducing average vehicle wait times by up to 52\% and pedestrian wait times by up to 67\% . The approach also demonstrates strong generalization capabilities, maintaining these performance advantages at both low ( 0.5 x, 0.75 x) and high ( 2.5 x, 2.75 x) demands that were unseen during training. Pedestrian Wait Times. At 1 x demand, our approach achieves an average wait time per pedestrian of 2.1 seconds compared to 5.9 seconds for Signalized and 2.1 seconds for Unsignalized . This represents a 65\% reduction compared to Signalized while matching Unsignalized . As demand increases, our approach maintains its efficiency: at 2 x demand, 2.0 seconds versus 6.0 seconds for Signalized ( 67\% reduction) and 2.2 seconds for Unsignalized . The total pedestrian wait time shows a similar pattern (upto 67\% reduction), with our approach consistently outperforming both Signalized and Unsignalized across the demands. Vehicle Wait Times. At 1 x demand, our approach achieves an average wait time per vehicle of 20.8 seconds compared to 31.3 seconds for Signalized and 20.7 seconds for Unsignalized . This represents a 34\% reduction compared to Signalized while maintaining comparable performance to Unsignalized . This pattern continues at higher demands: at 2 x demand, 20.5 seconds versus 42.6 seconds for Signalized ( 52\% reduction) and 25.9 seconds for Unsignalized . The total accumulated vehicle wait time at 2 x demand shows similar improvements: 1.16 hours for Signalized , 0.55 hours for our approach, and 0.56 hours for Unsignalized . Generalization to Unseen Demands. As shown in the shaded (gray) regions of Figure 3 , our approach maintains consistent performance advantages for both pedestrians and vehicles at both low demand (up to 0.5 x) and high demand (up to 2.75 x), reducing wait times by up to 67 % for pedestrians and up to 39 % for vehicles. To understand the observed wait time reductions, we examine the internal behaviors of our policy and identify two emergent phenomena that explain its advantage over baselines: Signal Coordination. Our policy autonomously learns to coordinate mid-block crosswalks, similar to the “green wave” effect observed in other RL traffic systems [ 51 , 52 ] . The action space models each mid-block signal independently using Bernoulli distribution (as described in Section III ), with no built-in mechanism for coordination. Yet as shown in Figure 4 (b), the RL agent learns to increase the number of mid-block traffic signals simultaneously set to vehicle green phase. The trend line shows this coordination improve from approximately 3.55 to 3.75 synchronized green signals over the course of training—a significant shift when considering each data point represents an average over 1440 actions taken across 24 parallel actors. The coordination of signal timing reduces the number of stops and enables more efficient vehicular flow through the corridor. Adaptive Switching Frequency. As shown in Figure 4 (c), our policy exhibits more than five fold increase in switching frequency with an average of 284 switches compared to 54 in signalized control. Additionally, the policy demonstrates adaptability across different demand scales, with standard deviations ranging from 9.23 (at 2.5 x demand) to 16.42 (at 2.0 x demand). Despite the policy not being explicitly incentivized to switch more (or less) often in the reward, it learned that demand-responsive and generally more frequent switching enables the system to minimize waiting times. V Conclusion and Future Work In this work, we introduced a deep reinforcement learning framework for corridor-level adaptive traffic signal control that jointly optimizes for pedestrian and vehicular efficiency. We applied this framework to a real-world urban network using real-world pedestrian and vehicle demand data. Our trained policy reduces wait times significantly for both pedestrians (up to 67\% ) and vehicles (up to 52\% ) compared to traditional fixed-time signals, while generalizing to both lower and higher traffic volumes not seen during training. Under high demands, qualitative analysis of the rollouts reveal the propagation of vehicle queues upstream, when signals are located close to each other (back-spill effect). This may have resulted from our modeling assumption that each signal operates independently. There exist many future directions. First, the framework could explicitly incorporate correlations between adjacent signals to address this limitation. Second, with the rise of self-driving technology, we would like to incorporate mixed traffic control [ 53 , 54 , 55 , 56 , 57 , 58 ] into our framework. Finally, the framework could explore other topics such as adversarial robustness evaluation [ 59 ] and effect of real-world traffic disruptions [ 60 , 61 ] .