Learning Traffic Signal Control via Genetic Programming

Xiao-Cheng Liao, Yi Mei, Mengjie Zhang · DOI

TL;DR

Researchers have developed GPLight, a new approach to traffic signal control that uses Genetic Programming to evolve explainable, tree-based "urgency functions." By treating traffic control as a global search problem rather than a reinforcement learning task, GPLight outperforms state-of-the-art Deep Reinforcement Learning (DRL) models while providing human-readable rules that don't require complex reward engineering.

What Problem Does This Paper Address?

Traffic Signal Control (TSC) is a classic optimization problem: how do we move vehicles through intersections to minimize travel time?

Currently, the field is split between two extremes. Traditional methods (like Fixed-Time or Max Pressure) are simple and explainable but often rely on unrealistic assumptions or fail to adapt to dynamic traffic. Deep Reinforcement Learning (DRL) methods are highly adaptive and powerful, but they come with two major headaches:

  1. Reward Design: Crafting a reward function that actually leads to good traffic flow is notoriously difficult and requires deep domain expertise.
  2. The "Black Box" Problem: DRL policies are buried inside complex neural networks. If a traffic light behaves strangely, engineers can't easily look "under the hood" to understand why, which hinders trust and safety audits.

Methods

The authors propose GPLight, which shifts the focus from learning a value function (like DRL) to evolving an explicit urgency function ($\Gamma$).

The Urgency Concept

For every possible signal phase (a set of non-conflicting traffic movements), the system calculates an "urgency" value. At every decision point, the phase with the highest urgency is activated.

Figure 1: Example of an intersection, traffic movements, and different phases. In this figure, phase𝑠3 is currently activated.

Genetic Programming (GP)

Instead of neural networks, GPLight uses GP to represent the urgency function as a tree structure.

  • Terminals (Inputs): 16 features per phase, including the number of waiting vehicles ($w(l)$) and total vehicles ($x(l)$) on relevant lanes.
  • Functions: Basic operators like $\{+, -, \times, \div, \min, \max\}$.
  • Evolution: The algorithm starts with a random population of trees and uses crossover and mutation to "breed" better functions over generations, using average travel time in a simulator as the fitness metric.
Figure 2: Framework of the proposed GPLight.

Datasets

The authors evaluated GPLight using the CityFlow simulator on three real-world road network datasets:

  • Jinan: 12 intersections (3x4 grid) with three different traffic flow scenarios.
  • Hangzhou: 16 intersections (4x4 grid) with two traffic flow scenarios.
  • New York (Manhattan): A large-scale scenario featuring 196 intersections (28x7 grid).

Key Insights and Ideas

  • Explainability by Design: Because the output is a mathematical formula, researchers can simplify and analyze the evolved rules. For example, one evolved rule simplified to $\Gamma = x_0 + 2x_1 + x_9 \min(x_0, x_{12})$, showing exactly how the model weights waiting vehicles vs. total vehicles.
  • Feature Importance: By analyzing the evolved trees, the authors found that features related to incoming lanes ($x_0, x_1$) appeared much more frequently than outgoing lane features, confirming that the model automatically learned which data points were most critical for decision-making.
  • Gradient-Free Global Search: Unlike DRL, which uses gradient descent and can get stuck in local optima, GP performs a global search across the space of possible functions, which the authors argue is more robust for this specific black-box optimization task.

Key Results

GPLight was compared against Fixed-Time, Max Pressure (MP), and MPLight (a top-tier DRL method).

  • Performance: GPLight achieved the lowest average travel time in 5 out of 6 test instances.
  • Gap Analysis: In the Hangzhou 1 scenario, GPLight outperformed the DRL baseline (MPLight) by 5.38% and the traditional Max Pressure method by 16.15%.
  • Scalability: Even in the massive 196-intersection New York scenario, GPLight maintained a 4.08% lead over MPLight, proving it can handle city-level complexity.

Limitations and Future Work

While promising, the authors note a few areas for improvement:

  • Heterogeneous Features: The current terminal set treats all lanes similarly, but conflicts can still exist between homogeneous lanes that need better handling.
  • Communication: Currently, intersections act independently (distributed control). The authors suggest that adding communication mechanisms between neighboring intersections could further boost performance.
  • Initial Exploration: This is an early-stage adaptation of GP for 8-phase multi-intersection control; more complex tree structures or hybrid methods could be explored.

Summary updated

BibTeX
@inproceedings{liao2024learning,
  author = {Xiao-Cheng Liao and Yi Mei and Mengjie Zhang},
  title = {{Learning Traffic Signal Control via Genetic Programming}},
  booktitle = {GECCO},
  year = {2024},
}
Figure