Learned Network Dynamics for Model Predictive Traffic Signal Control under Incidents
Authors: Dang Viet Anh Nguyen, Carlos Lima Azevedo, Tomer Toledo, Filipe Rodrigues
Organizations: Department of Technology, Management and Economics, Technical University of Denmark, 2800 Kongens Lyngby, Denmark. · Faculty of Civil and Environmental Engineering, Technion – Israel Institute of Technology, Haifa 32000, Israel.
Model predictive control (MPC) of urban traffic signals relies on a model of how queues respond to signal decisions, which is hard to specify and calibrate in heterogeneous networks, particularly when incidents change capacities and turning shares. Measurements add a second limitation: the controlled lanes at the stop line are often short, so queues extending upstream of them fall outside lane-level measurements. We propose GNN-MPC, a receding-horizon controller that plans with action-conditioned network dynamics learned by graph neural networks. Phase sequences are coordinated across intersections by approximate best responses, with an acceptance test that keeps the predicted cost no higher than that of the initial plan. In microscopic simulation under non-recurrent incidents, GNN-MPC reduces travel time and increases completed trips relative to all tested controllers, on a homogeneous grid and a heterogeneous 21-intersection network. Controlled comparisons on the heterogeneous network distinguish the roles of observation and prediction. With nearly as many vehicles entering the network, GNN-MPC reduces travel time by 13% relative to MaxPressure with the same upstream measurement, and GNN-MPC without the upstream representation does not reproduce its performance. Under the same traffic measurements, planner and objective, replacing the learned dynamics with calibrated store-and-forward predictors increases travel time by 31-34%. Observing hidden demand and predicting its response to control are thus complementary requirements of network-level predictive control.
Figures & tables
Fig. 1: Observation of an approach. Each lane window measures the queue qℓ on a controlled lane, from the stop line over at most the detection range Lmeas . (a) Long controlled lanes ( Lℓ≥Lmeas ): the windows cover the downstream part of the approach. (b) Short controlled lanes ( Lℓ<Lmeas ): each window ends where its lane begins, and vehicles queued upstream of the lanes are not measured; an upstream zone Za can count these stopped vehicles, qaup , but not the movements they will take or their future arrivals.
Fig. 2: Overview of GNN-MPC at one control step: (a) two-level graph representation of the network, (b) learned network dynamics model, (c) phase-sequence search for an individual intersection, and (d) coordination through iterated best responses. In (c), the predicted information state X(τ) and the planned phases U(τ) are shown over the control horizon nu and the prediction horizon ny . Panels (a)–(b) provide the predictive model, while (c)–(d) constitute the coordinated planner.
Grid 4×4
Ingolstadt
Signalized intersections
16
21
Approaches / controlled lanes
64 / 192
67 / 158
Lanes per approach
3
1–4
Controlled lane length (m)
273–286
0.2–271 (med. 24)
Green phases per signal
8
2–4
Network-level graph edges
48
75
TABLE I: Networks and evaluation scenarios.
Controller
Obs.
Incid.
Prediction
Decision procedure
Fixed-Time
–
no
–
fixed phase order
MaxPressure
W
no
–
max. pressure
RL (5 methods)
W
no
–
trained policy
MaxPressure-U
W+U
no
–
max. pressure + upstream
GNN-MPC (No Upstream)
W
yes
learned, no zone
IBR, no zone term
SF-MPC
W+U
yes
store-and-forward
IBR, cost ( 8 )
TABLE II: Information, prediction and decision procedure of the controllers. W: lane windows; W+U: lane windows and upstream zones, which exist on Ingolstadt only, so that W+U reduces to W on the grid; IBR: iterated best response (Section V ). MaxPressure-U, GNN-MPC (No Upstream) and SF-MPC-Ext are evaluated on Ingolstadt only.
Traveler ATT (s)
Method
E1
E2
E3
E4
E5
Thr. (veh)
Δ (s)
Fixed-Time
292.0
291.9
348.9
291.5
295.2
1,412
−149.8±2.1
MaxPressure
162.1
163.1
282.1
163.4
170.4
1,428
−34.2±8.5
IDQN (NI)
152.4
219.5
572.5
149.0
155.5
1,365
−95.7±58.3
MPLight (I)
160.7
162.2
233.4
160.6
166.2
1,440
−22.6±0.7
IPPO (NI)
160.2
167.9
341.2
158.7
167.8
1,424
−45.1±18.7
TABLE III: Grid, E1–E5: traveler ATT, mean over five trials, and throughput, i.e., trips completed per run out of 1,473 scheduled vehicles, mean over E1–E5. Δ : paired difference GNN-MPC minus method in traveler ATT over the 25 trial pairs, mean ± half-width of the unclustered 95% Student- t interval; GNN-MPC is better in all 25 pairs for every baseline. NI/I: RL training without/with incidents.
Method
Thr. (veh)
Never ins. (veh)
Trav. ATT (s)
Δ (s)
Fixed-Time
3,808
27
332.8
−100.1±7.3
MaxPressure
3,753
193
309.5
−76.7±7.4
IDQN (I)
3,802
20
307.9
−75.1±8.3
MPLight (NI)
3,701
162
339.5
−106.7±9.9
IPPO (I)
3,799
25
322.7
−89.9±6.2
FMA2C (I)
3,856
29
313.4
−80.6±9.2
TABLE IV: Ingolstadt, S1–S5: means per run over 25 runs. Thr.: trips completed within the window, out of 4,240 scheduled vehicles; Never ins.: vehicles never inserted. Δ : paired difference GNN-MPC minus method in traveler ATT, mean ± half-width of the unclustered 95% Student- t interval; GNN-MPC is better in all 25 pairs for every baseline. NI/I: RL training without/with incidents. Further metrics in Supplementary Material, Sec. S7.
Completed
Still in network
Never
Traveler
within window
in extension
at simulation end
inserted
ATT (s)
(a) Means per run
MaxPressure
3753.0
52.3
241.8
193.0
309.5
MaxPressure-U
3839.7
50.3
335.3
14.7
268.2
GNN-MPC (No Upstream)
3794.4
45.2
226.8
173.6
306.1
GNN-MPC
3957.8
50.6
219.2
12.4
232.8
TABLE V: Ingolstadt, S1–S5 (25 runs): upstream observation, admission and service. (a) Means per run; the four vehicle categories are mutually exclusive and sum to the 4,240 scheduled vehicles. (b) Paired differences, mean with the 95% interval clustered by scenario. Last row: (GNN-MPC − No Upstream) − (MaxPr.-U − MaxPressure), per run. No Upstream: GNN-MPC (No Upstream); MaxPr.-U: MaxPressure-U. Unclustered intervals, wins, and the travel and waiting times of the admitted vehicles in Supplementary Material, Sec. S8, which also links the per-scenario values.
Fig. 3: Component ablations: paired difference variant minus full GNN-MPC, mean with 95% Student- t interval; filled markers: interval excludes zero (exploratory). (a) Grid, traveler ATT, 15 pairs; (b) Ingolstadt, traveler ATT, and (c) completed trips, nine pairs. A: single output head; B: no incident descriptors; C: no network-level context in the lane model; D: MLP encoder; E/H: longer/shorter horizon; F: single simultaneous pass. Definitions in Supplementary Material, Sec. S10.
Grid
Ingolstadt
Main configuration, deterministic
10.9 / 15.8 / 15.9
11.1 / 15.0 / 15.1
Main configuration, non-deterministic
9.9 / 14.2 / 14.7
6.5 / 8.8 / 8.9
H (2 / 2), deterministic
–
2.7 / 3.6 / 3.7
H (2 / 2), non-deterministic
–
1.6 / 2.1 / 2.1
TABLE VI: Planning time of GNN-MPC per decision (s) on 50 recorded states after five warm-up states, mean / p95 / observed maximum, on an NVIDIA RTX 5080. Deterministic: execution mode of all closed-loop runs; non-deterministic: default GPU execution. H: shorter horizons ( nu=ny=2 ).
Traffic signal control studies how to set intersection phases and green times to reduce congestion while balancing safety, emissions, and priority needs.
We present a traffic-signal control interface in which a shared graph neural network assigns scores to individual traffic movements. Each junction converts these scores into its own variable-sized set of legal signal phases using a deterministic incidence matrix. Directed corridor nodes provide traffic context, while movement nodes represent controlled input-to-output paths through junctions. Typed mean aggregation produces one scalar per movement; phase definitions and signal timing remain outside the learned network. This makes graph size and junction-specific action count independent of the learned parameter shapes. PPO experiments evaluate the interface on unseen synthetic grid geometries, altered signal coverage, and five heterogeneous city graphs. The policies retained performance across unseen geometries within the synthetic grid family, while changes in signal coverage exposed sensitivity to a signal-coverage distribution shift. A single trained city-policy instance executed across all five city graphs, with heterogeneous outcomes. These results provide feasibility evidence rather than a general estimate of transfer to arbitrary road networks.
Multimodal model predictive control (MM-MPC) avoids local minima among moving obstacles by solving one optimal control problem (OCP) per combination of avoidance sides, so its computational cost grows exponentially with the number of decision-critical obstacles. We propose SideNet-MPC, which replaces this enumeration with a mode decision learned by imitating MM-MPC as an expert. A graph neural network is trained to predict the expert's minimum-cost mode, one avoidance side per obstacle. Its edges encode, for each obstacle pair, the gap predicted for the moment the vehicle first reaches either obstacle, so a neighbor that blocks a preferred passage can reverse the proposed side. The expert's selection rule compares its minimum-cost mode with the previously executed mode; SideNet-MPC keeps this rule and substitutes the network proposal for the minimum-cost mode. Hence at most two OCPs are solved per control period, and every applied input still comes from an OCP with control barrier function constraints rather than from the network. In 100 seed-matched closed-loop Monte Carlo runs of mixed traffic, SideNet-MPC reaches 93% of the expert's success rate and needs \SI{18.6}{ms} per control period on a single thread, 48% less than the expert's \SI{35.5}{ms} on sixteen parallel threads. In a controlled gap sweep, its proposed side reverses in the same gap interval as the expert's, whereas proposers without pairwise edges, trained on the same data, never reverse and all deadlock at the blocked gates of a deterministic scene.
Urban traffic congestion is a key challenge for the development of modern cities, requiring advanced control techniques to optimize existing infrastructures usage. Despite the extensive availability of data, modeling such complex systems remains an expensive and time consuming step when designing model-based control approaches. On the other hand, machine learning approaches require simulations to bootstrap models, or are unable to deal with the sparse nature of traffic data and enforce hard constraints. We propose a novel formulation of traffic dynamics based on behavioral systems theory and apply data-enabled predictive control to steer traffic dynamics via dynamic traffic light control. A high-fidelity simulation of the city of Zürich, the largest closed-loop microscopic simulation of urban traffic in the literature to the best of our knowledge, is used to validate the performance of the proposed method in terms of total travel time and CO2 emissions.
Alessio Rimoldi, Carlo Cenedese, Alberto Padoan +2
Automatic Control Laboratory, ETH Zürich · Delft Center for Systems and Control, TU Delft · Dep. of Electrical and Computer Engineering, UBC