Papers
Topics
Authors
Recent
Search
2000 character limit reached

CoordLight: Decentralized Traffic Control

Updated 4 July 2026
  • CoordLight is a decentralized multi-agent reinforcement learning framework that leverages queue-dynamic state encoding (QDSE) and neighbor-aware policy optimization (NAPO) for adaptive traffic signal control.
  • The framework formulates traffic control as a Dec-POMDP, using per-lane queue dynamics and local information exchange to reduce both local and downstream congestion.
  • Integrating GRU-based temporal modeling and attention mechanisms, CoordLight demonstrates enhanced training stability and scalability over large networks with measurable improvements in average travel times.

CoordLight is a decentralized multi-agent reinforcement learning framework for adaptive traffic signal control that combines a queue-dynamics grounded state representation, Queue Dynamic State Encoding (QDSE), with a neighbor-aware policy optimization algorithm, Neighbor-aware Policy Optimization (NAPO). It models traffic signal control over a road network as a Dec-POMDP, targets stable, scalable coordination among intersections, and is designed to improve intra-neighborhood traffic by enhancing decision-making at individual junctions as well as coordination with neighboring agents, thereby scaling up to network-level traffic optimization (Zhang et al., 25 Mar 2026).

1. Problem formulation and control objective

CoordLight formulates adaptive traffic signal control over a road network G=(V,E)G=(V,E) as a Dec-POMDP in which each intersection i∈Vi\in V is an agent selecting a signal phase at discrete decision times tt, with a fixed control step of $5$ seconds and an enforced yellow of $2$ seconds on phase changes in CityFlow (Zhang et al., 25 Mar 2026). Neighbors are defined by spatial adjacency through road connectivity, so that j∈N(i)j\in N(i) if there is a link between the outgoing lanes of ii and incoming lanes of jj.

Partial observability is explicit in the formulation. The global state st∈Ss^t\in S is the joint traffic configuration, whereas each agent receives a local observation zitz_i^t comprising the local state i∈Vi\in V0 and the states of its immediate neighbors i∈Vi\in V1: i∈Vi\in V2 In CoordLight, i∈Vi\in V3 is the QDSE vector and i∈Vi\in V4 are neighbors’ QDSEs obtained via local information exchange.

The action space i∈Vi\in V5 is a finite set of collision-free signal phases i∈Vi\in V6 that can be activated without a fixed cycle. All agents pick phases synchronously and enact them for i∈Vi\in V7 seconds. The environment transition is governed by microscopic traffic dynamics in CityFlow coupled with signal-induced service. CoordLight uses a per-lane queue dynamics model,

i∈Vi\in V8

where i∈Vi\in V9 is the stopped vehicle count on incoming lane tt0, tt1 counts moving vehicles that will join the queue within the next control step, and tt2 counts departures served by green.

The reward is regional and cooperative rather than purely ego-centric. The per-agent reward at time tt3 is

tt4

and the network-level return is

tt5

This reward is defined so that local decisions reduce both local congestion and downstream congestion experienced by neighbors. Execution is fully decentralized, with agent tt6 sampling tt7. Training is on-policy with parameter sharing across agents: a single actor tt8 and critic tt9 are updated using trajectories collected from all agents. CoordLight does not rely on centralized critics or mixing networks; it uses a privileged local critic that ingests only local and immediate neighbor information.

2. Queue Dynamic State Encoding

QDSE is the framework’s state representation and is built from per-lane queue dynamics and short-term forecasts derived from vehicle queuing models (Zhang et al., 25 Mar 2026). Its starting point is the discrete-time queue update

$5$0

where $5$1 is stopped-vehicle count, $5$2 is arrivals-to-queue within the control step, and $5$3 is departures. Departures depend on the phase and effective green time $5$4. With saturation flow $5$5 and green time $5$6,

$5$7

subject to upstream and downstream constraints such as spillback. In CityFlow, service is capped by a throughput $5$8 per green step, so $5$9 when the movement from $2$0 is authorized in phase $2$1.

Arrivals are approximated using IDM prediction. Let $2$2 be moving vehicles currently on lane $2$3, and let $2$4 be the distance from vehicle $2$5 to the tail of the queue. With current speed $2$6 and acceleration $2$7, the predicted travel distance during step $2$8 is

$2$9

Arrivals-to-queue are then approximated as

j∈N(i)j\in N(i)0

The paper notes that this underestimates arrivals when queues grow during the step, but the error is small for short steps of j∈N(i)j\in N(i)1 seconds.

For an intersection j∈N(i)j\in N(i)2, the final QDSE vector is

j∈N(i)j\in N(i)3

Per incoming lane j∈N(i)j\in N(i)4, these six features are: j∈N(i)j\in N(i)5, stopped vehicle count; j∈N(i)j\in N(i)6, number of entering vehicles; j∈N(i)j\in N(i)7, number of leaving vehicles; j∈N(i)j\in N(i)8, number of moving vehicles on lane j∈N(i)j\in N(i)9; ii0, number of vehicles closely following the foremost moving vehicle; and ii1, distance from the queue tail to the foremost moving vehicle. The design encodes current congestion, imminent congestion, and partial movement authorization. Features are aggregated in fixed order across lanes to build ii2.

In the neural architecture, features are normalized per lane and per intersection before embedding, and temporal dependencies are modeled via a GRU to extract trends in QDSE sequences. CoordLight does not explicitly encode turning ratios, but spillback risk is stated to be implicitly captured via ii3 and ii4 relative to ii5, while waiting time correlates with ii6 and ii7 history via the GRU. This suggests that QDSE is intended not only as a descriptive state but also as a short-horizon predictive representation.

3. Neighbor-aware Policy Optimization

NAPO augments independent PPO with neighbor-aware attention and advantage estimation (Zhang et al., 25 Mar 2026). The coordination graph is the adjacency graph ii8, where an edge joins intersections with direct road connections, and each agent has up to four neighbors ii9. Observations include neighbors’ QDSEs, and the critic additionally uses neighbors’ current actions.

The actor and critic both use attention over neighbors. Let jj0 be the embedded feature of jj1, and jj2 the embeddings of neighbor states. For one attention head,

jj3

jj4

jj5

The context jj6 is fused with the ego feature using a residual connection and passed through a GRU. Multi-head attention concatenates head-specific contexts.

The critic includes an action-aware attention module. Neighbors’ current actions jj7 are embedded into jj8, after which

jj9

st∈Ss^t\in S0

This action context is fused with the state representation through a residual connection and GRU to produce the value and an auxiliary queue-prediction head. Attention masks handle missing neighbors.

Advantage estimation is neighbor-aware. The temporal-difference residual is

st∈Ss^t\in S1

where

st∈Ss^t\in S2

Generalized advantage estimation is then

st∈Ss^t\in S3

The paper states that using a baseline not conditioned on st∈Ss^t\in S4 avoids bias in policy gradients, while attention-derived neighbor weighting and temporal GRU states improve robustness.

Policy optimization uses PPO with parameter sharing. The actor loss is

st∈Ss^t\in S5

where

st∈Ss^t\in S6

The entropy term is

st∈Ss^t\in S7

The critic loss uses the TD target

st∈Ss^t\in S8

with

st∈Ss^t\in S9

Auxiliary queue prediction heads are supervised by

zitz_i^t0

The total optimization objectives are

zitz_i^t1

zitz_i^t2

4. Network architecture, communication, and training procedure

The actor takes, for agent zitz_i^t3 at time zitz_i^t4, the concatenated observation zitz_i^t5 together with one-hot positional embeddings of agent indices, forming inputs embedded to zitz_i^t6 for ego plus four neighbors (Zhang et al., 25 Mar 2026). Spatial attention uses ego queries and neighbor keys and values to compute zitz_i^t7 and context zitz_i^t8; residual fusion yields zitz_i^t9; a GRU produces i∈Vi\in V00; and the outputs are a softmax policy over phases and an auxiliary head predicting the next-step queue vector.

The critic shares the same state embedding and spatial attention structure, producing a state representation i∈Vi\in V01 and query i∈Vi\in V02 for the state-action decoder. Neighbor actions are embedded and fed to the action-aware attention block to yield i∈Vi\in V03 and i∈Vi\in V04. After residual fusion and GRU, the critic outputs the scalar value i∈Vi\in V05 and auxiliary queue prediction i∈Vi\in V06.

Communication is strictly local. At each control step, agents locally read neighbors’ QDSE i∈Vi\in V07 and neighbors’ current actions i∈Vi\in V08 for the critic. The paper emphasizes that attention is purely learned weighting and that there is no explicit message passing beyond sharing local state and action vectors within neighborhoods. With fixed i∈Vi\in V09, multi-head attention has per-step complexity i∈Vi\in V10 per agent, and total complexity per update is i∈Vi\in V11 across the network.

Training is decentralized with parameter sharing and on-policy PPO. The hyperparameters are: batch size i∈Vi\in V12; actor learning rate i∈Vi\in V13; critic learning rate i∈Vi\in V14; Adam optimizer; value loss coefficient i∈Vi\in V15; entropy coefficient i∈Vi\in V16; prediction loss coefficient i∈Vi\in V17; discount i∈Vi\in V18; GAE i∈Vi\in V19; PPO clip i∈Vi\in V20; i∈Vi\in V21 PPO epochs per batch; hidden dimension i∈Vi\in V22 for linear, attention, and GRU layers. Episode length is i∈Vi\in V23 seconds. The decision step is i∈Vi\in V24 seconds; if the same phase repeats, it extends i∈Vi\in V25 seconds, otherwise a i∈Vi\in V26-second yellow and a i∈Vi\in V27-second green are inserted to keep the i∈Vi\in V28-second decision interval.

A simplified training loop initializes shared actor and critic parameters, resets GRU hidden states at the start of each episode, collects trajectories i∈Vi\in V29, computes i∈Vi\in V30 and i∈Vi\in V31 via neighbor-aware TD and GAE, forms TD targets, and then recomputes policies and queue predictions over stored trajectories for i∈Vi\in V32 PPO epochs before updating i∈Vi\in V33 and i∈Vi\in V34 with Adam.

5. Empirical evaluation

Experiments use CityFlow and three real-world traffic networks: Jinan, China, with i∈Vi\in V35 intersections; Hangzhou, China, with i∈Vi\in V36; and New York, USA, with i∈Vi\in V37 intersections (Zhang et al., 25 Mar 2026). Each intersection has four incoming roads and three lanes per road. Traffic demand is evaluated over multiple flows: Jinan i∈Vi\in V38, i∈Vi\in V39, i∈Vi\in V40; Hangzhou i∈Vi\in V41, i∈Vi\in V42; and New York i∈Vi\in V43, i∈Vi\in V44. Evaluation uses i∈Vi\in V45 episodes with different seeds per trained policy. The primary metric is average travel time,

i∈Vi\in V46

with truncation at i∈Vi\in V47 seconds for vehicles that do not exit.

The baseline set includes conventional methods—Fixed-Time, MaxPressure, Advanced-MP—and MARL methods—CoLight, MPLight, Advanced-CoLight, Advanced-MPLight, DenseLight, and SocialLight. All methods are evaluated under a consistent control step and homogeneous policies.

The reported quantitative results are as follows.

Network / flow CoordLight average travel time (s) Comparison stated in the paper
Jinan i∈Vi\in V48 199.24 vs SocialLight: 217.92
Jinan i∈Vi\in V49 198.21 vs SocialLight: 211.75
Jinan i∈Vi\in V50 191.05 vs SocialLight: 210.46
Hangzhou i∈Vi\in V51 248.45 vs DenseLight*: 248.43
Hangzhou i∈Vi\in V52 250.87 vs DenseLight*: 272.27
New York i∈Vi\in V53 748.32 vs SocialLight: 771.92; vs CoLight: 1221.77
New York i∈Vi\in V54 1039.15 vs SocialLight: 1106.69; vs CoLight: 1476.18

For Jinan, the paper reports improvements over SocialLight of approximately i∈Vi\in V55 to i∈Vi\in V56. For Hangzhou i∈Vi\in V57, the comparison against DenseLight is described as notably i∈Vi\in V58. For New York, unpaired t-tests versus SocialLight across seven experiments yield i∈Vi\in V59-values i∈Vi\in V60, significant after Bonferroni correction.

The ablations separate the contributions of representation and optimization. On i∈Vi\in V61, QDSE is compared with VC, GP, EP, ATS, and DTSE. The paper states that QDSE reduces average queue length and its variance, increases average speed, and lowers travel time; DTSE yields smoother training but similar final performance. NAPO ablations show that removing the spatio-temporal network or the critic’s state-action decoder degrades performance and stability; CoordLight-Base, described as fully connected IPPO, lags significantly. Including neighbor actions in the critic accelerates and stabilizes training.

Robustness to sensing noise is also quantified. Adding Gaussian noise to i∈Vi\in V62 with i∈Vi\in V63 meters increases travel time by up to approximately i∈Vi\in V64 on i∈Vi\in V65. This is presented as evidence of resilience to realistic sensing imperfections.

6. Scalability, robustness, limitations, and positioning

CoordLight’s scalability is attributed to three design choices: parameter sharing across agents, local attention over constant-size neighbor sets with i∈Vi\in V66, and fully decentralized execution without global mixers or centralized critics (Zhang et al., 25 Mar 2026). Compute per agent per step scales as i∈Vi\in V67, while memory scales linearly with i∈Vi\in V68 for storing local hidden states. The reported evaluation up to i∈Vi\in V69 intersections is used to demonstrate network-level scaling.

The framework addresses several classical MARL difficulties in traffic control. Partial observability is mitigated by fusing neighbors’ QDSE through attention and encoding temporal dependencies with the GRU. Non-stationarity is addressed through parameter sharing and attention-driven neighbor weighting, which the paper states reduce variance and improve stationarity in learning targets. Demand shifts are probed across low- and high-demand settings, with performance described as stable, including travel times around i∈Vi\in V70 seconds on high-demand Hangzhou while other baselines degrade.

The limitations are also explicit. Queue prediction under severe spillback or gridlock can be biased because IDM-based arrivals may underestimate i∈Vi\in V71 when queues grow rapidly. Long yellow or all-red periods, or unsignalized turns, may violate service assumptions. Homogeneous policies may under-serve minor approaches under extremely skewed demand, and the paper notes that reward shaping could incorporate fairness terms. Future work is identified in heterogeneous networks and asynchronous control, continuous phase durations, explicit spillback modeling, priority vehicles, accident and closure handling, and broader domain randomization.

A plausible implication is that CoordLight’s contribution is less a single architectural novelty than a coordinated decomposition of the control problem into queue-centric local forecasting and neighbor-aware decentralized optimization. Within the scope evaluated in CityFlow, the framework is positioned as a scalable alternative to both independent-agent baselines and more communication-heavy traffic MARL schemes, while preserving decentralized execution and avoiding centralized critics or mixing networks (Zhang et al., 25 Mar 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to CoordLight.