SymLight: Exploring Interpretable and Deployable Symbolic Policies for Traffic Signal Control

Xiao-Cheng Liao, Yi Mei, Mengjie Zhang

TL;DR

SymLight introduces a novel framework that uses Monte Carlo Tree Search (MCTS) to automatically discover mathematical formulas (symbolic policies) for traffic signal control. Unlike black-box deep reinforcement learning models, these symbolic policies are fully transparent, human-readable, and lightweight enough to run on cheap, resource-constrained edge microcontrollers while outperforming state-of-the-art baselines.

What Problem Does This Paper Address?

Adaptive Traffic Signal Control (ATSC) systems can significantly reduce urban congestion by adjusting traffic lights based on real-time conditions. While Deep Reinforcement Learning (DRL) has shown great success in simulating highly effective traffic policies, its real-world adoption remains surprisingly low—fewer than 5% of intersections in North America use ATSC systems.

The authors identify three critical barriers to deployment:

  1. Lack of Interpretability: DRL relies on deep neural networks, which act as black boxes. Traffic engineers cannot easily validate, troubleshoot, or trust their decision-making logic.
  2. Resource Constraints: Deploying complex neural networks requires substantial computational power and memory. Real-world traffic intersections typically rely on low-cost, low-power edge devices that cannot handle these models without severe latency.
  3. Objective Misalignment: DRL models are usually trained on local surrogate metrics (like intersection queue length) rather than the global, system-level metrics that city authorities actually care about (like average travel time).

Methods

Instead of training a neural network, SymLight searches for an explicit mathematical formula—a symbolic priority function ($\pi$)—to dictate traffic light transitions. At any given moment, the function takes lane-level traffic features as inputs and calculates a priority score for each traffic movement. These scores are aggregated to determine which traffic phase gets the green light.

Figure 1: An illustration of a single phase decision at an intersection, showing the role of the priority function in SymLight. The priority function takes lane-level traffic features as input to determine the priority of each phase.

To efficiently find the best mathematical formula without suffering from a combinatorial explosion of possibilities, SymLight introduces three key innovations within an MCTS framework:

  • Linear Token List Representation: Expressions are encoded as a simple linear list of tokens (operators like $+$, $\times$, $\min$ and variables) ordered via a breadth-first traversal (BFT) of the expression tree. This keeps the search space discrete and manageable.
  • Probabilistic Structural Rollout (PSR) Strategy: Standard MCTS relies on uniform random rollouts to evaluate a search path, which frequently generates low-quality, nonsensical formulas. PSR replaces this by maintaining a frequency table of parent-child token pairs from the top-10 best-performing formulas discovered during the search, biasing the rollout toward structurally sound and effective mathematical patterns.
  • Adaptive Reward Shaping: SymLight directly uses the ultimate global objective—the reciprocal of the average vehicle travel time—as its reward signal. It dynamically normalizes these rewards during training to keep the MCTS exploration stable across different traffic networks without needing dataset-specific hyperparameter tuning.
Figure 2: The overall framework of SymLight for exploring priority functions. To facilitate illus- tration, the state of an MCTS node is represented by the token list comprising all nodes on the path from the root to that node.

Datasets

The framework was evaluated using CityFlow, an open-source traffic simulator, across six real-world traffic datasets:

  • Hangzhou1 & Hangzhou2 (1×1 grids)
  • Los Angeles (4×1 grid)
  • Atlanta (5×1 grid)
  • Jinan (4×1 grid)
  • Manhattan (16×3 grid)

Notably, the Los Angeles and Atlanta datasets feature heterogeneous intersections with complex, non-uniform lane configurations and phase settings. To test robustness against real-world data imperfections, the authors also generated noisy traffic flows by randomly shifting vehicle entry times by up to 60 seconds.

Key Insights and Ideas

  • Simplicity is Sufficient: The paper demonstrates that massive neural networks are over-parameterized for traffic control. A compact, non-parametric mathematical formula can capture traffic dynamics just as effectively.
  • Structure-Aware Search Matters: Purely random exploration in symbolic regression is highly inefficient. By capturing and exploiting the structural "DNA" of historically successful formulas, PSR drastically accelerates the discovery of high-performing policies.
  • Domain Insight via Transparency: Because the resulting policies are explicit formulas (e.g., $\pi = LI \times DI^2$, where $LI$ is lane occupancy and $DI$ is vehicle count near the intersection), engineers can directly see why a decision is made. Analysis of these formulas revealed that features associated with incoming lanes are universally more critical than outgoing lanes, validating human traffic engineering intuition.

Key Results

SymLight consistently outperformed traditional methods, standard DRL baselines (FRAP, MPLight, CoLight), and existing practical/lightweight neural methods in both average travel time and throughput.

  • Performance: In the highly complex Los Angeles scenario, SymLight achieved an average travel time of 410.28 seconds/vehicle, significantly outperforming the popular DRL baseline FRAP (719.70 s) and beating the previous state-of-the-art programmatic method, $\pi$-Light (446.09 s).
  • Hardware Deployability: In terms of resource consumption, SymLight requires orders of magnitude fewer Floating-Point Operations (FLOPs) and bytes of memory than DRL methods. It easily satisfies the strict hardware limits and 0.1-second response time thresholds of cheap, ubiquitous microcontrollers like the ATmega328P (found in Arduino Uno) and the MSP430G2553.

Limitations and Future Work

While SymLight demonstrates excellent zero-shot generalization to unseen environments, its search space is currently bounded by a predefined set of basic mathematical operators ($+$, $-$, $\times$, protected division, $\min$, $\max$) and a maximum operator count (capped at 6 to maintain simplicity).

Future work could explore expanding the operator vocabulary to include more complex relations or extending the framework to dynamically co-optimize phase durations rather than relying on a fixed decision interval (e.g., 20 seconds).

Summary updated

BibTeX
@misc{liao2025symlight,
  author = {Xiao-Cheng Liao and Yi Mei and Mengjie Zhang},
  title = {{SymLight: Exploring Interpretable and Deployable Symbolic Policies for Traffic Signal Control}},
  year = {2025},
  eprint = {2511.05790},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.05790},
}
Figure