A DRL solution to help reduce the cost in waiting time of securing a traffic light for cyclists
Lucas Magnana, Hervé Rivano, Nicolas Chiabaut
TL;DR
This work tackles the challenge of safely isolating cyclists at intersections with dedicated green phases by proposing a 3DQN-based adaptive traffic-light controller. The method learns to sequence and time cyclist-specific greens to minimize total waiting time, using two-channel state representations of lane occupancy and speed and a negative quadratic reward r_t = $-(w_b + w_c)^2$ that penalizes both bike and car queuing. Evaluation on a realistic, day-long simulation driven by real hourly counts from Paris shows the 3DQN approach generally outperforms static and actuated baselines, offering superior performance at moderate traffic levels and robustness to moderate bike-traffic fluctuations; however, performance can degrade when bike demand deviates substantially from training conditions. The work highlights the potential of DRL to enable lightweight, dynamic cyclist-friendly intersections, with practical extensions toward multi-intersection coordination and policy comparisons (e.g., PPO), and provides code for reproducibility.
Abstract
Cyclists prefer to use infrastructure that separates them from motorized traffic. Using a traffic light to segregate car and bike flows, with the addition of bike-specific green phases, is a lightweight and cheap solution that can be deployed dynamically to assess the opportunity of a heavier infrastructure such as a separate bike lane. To compensate for the increased waiting time induced by these new phases, we introduce in this paper a deep reinforcement learning solution that adapts the green phase cycle of a traffic light to the traffic. Vehicle counter data are used to compare the DRL approach with the actuated traffic light control algorithm over whole days. Results show that DRL achieves better minimization of vehicle waiting time at almost all hours. Our DRL approach is also robust to moderate changes in bike traffic. The code of this paper is available at https://github.com/LucasMagnana/A-DRL-solution-to-help-reduce-the-cost-in-waiting-time-of-securing-a-traffic-light-for-cyclists.
