# Discovering Programmatic Policies from Reinforcement Learning-Based Traffic Signal Controllers

*Lindong Xie, Yang Zhang, Beiyu Song, XING Zeren, Flora Salim, Edward Chung*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148335) · [OpenReview](https://openreview.net/forum?id=ybRA9BTKJ8) · [Open on the map](../papers.html#p148335)

Category: [Reinforcement Learning & Games](../pcat/10.md) › [Temporal Logic Planning](../pgroup/453.md) · Type: new method · Keywords: traffic signal control, interpretable policies, evolutionary search, phase utility functions, LLM-based policy distillation

Areas: [AI Agents](../areas/agents.md) › Agent Optimization and Evaluation › Computer Use Agents; [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Reinforcement Learning › Reward Specification

## Summary
PPL-TSC distills compact, human-readable traffic signal control policies from deep reinforcement learning teachers using an evolutionary search over phase utility functions guided by an LLM.

## Explained to a 5-year-old
Traffic lights sometimes learn how to stay green for cars using a computer program that thinks like a brain. That program makes decisions that are hard to understand, like a secret code. We want traffic lights to make decisions that people can read and understand, like simple rules. Our new method uses a smart robot helper to create those simple rules by trying many ideas and checking if they make sense. This helps traffic flow smoothly while using less computer power.

## Explained to a 5-year-old, longer
Traffic lights are signals that tell cars when to go and stop. Sometimes engineers use a special computer program that learns from traffic data to decide how long each light should stay green. This learning program can be very smart, but its decisions are like a hidden puzzle that nobody can easily read. Because of this, it can be hard for people to know why a traffic light made a certain choice, and the program may not work well in new places. We wanted to create traffic light rules that are simple and clear, like a recipe, so anyone can understand them. Our idea uses a helpful robot that suggests many possible simple rules and checks each one to see if it makes sense. The robot also makes sure the rules follow the basic ideas of how traffic signals should work. After finding good rules, we test them to see if they work as well as the original smart program. The new rules are short and easy to read, like a few lines of text. They also work well in new cities without needing a lot of computer power. This makes it easier for city workers to look after traffic and for people to trust the system. Overall, we can have traffic lights that are both smart and understandable.

## For a technical reader
The paper introduces PPL-TSC, a framework that converts opaque deep reinforcement learning traffic signal controllers into compact, human-readable policies. It does this by evolving phase utility functions (PUFs) using an LLM as an evolutionary operator, while enforcing syntactic and traffic-principle constraints. Valid PUFs are calibrated to match the DRL teacher’s behavior and selected based on a joint fidelity-performance score across diverse traffic scenarios. Experiments show that the distilled policies retain teacher performance, improve generalization to unseen conditions, and require far less computational resources. The result is a transparent, deployable control system that can be audited and maintained by traffic engineers.

## Problem
Deep reinforcement learning controllers for traffic signals often produce opaque, complex policies that are difficult to understand and generalize across different traffic scenarios. There is a need for compact, human-readable policies that retain performance while improving transferability.

## Method
The approach formulates policy learning as an evolutionary search over phase utility functions, where an LLM proposes and refines candidate functions. Candidate policies are validated for syntactic correctness and consistency with traffic signal principles, then calibrated to match the DRL teacher and evaluated on a joint fidelity-performance score to select the next generation.

## Results
The approach yields policies that match teacher performance, improve transfer to unseen scenarios, and substantially lower computational requirements.

## Contributions
It introduces a framework for evolving interpretable phase utility functions that are syntactically valid and aligned with traffic signal principles, demonstrating that such policies retain teacher performance while enhancing generalization and efficiency.

## Practical relevance
Provides traffic engineers with transparent, compact signal policies that are easier to audit, maintain, and deploy across cities, reducing the computational overhead of running complex DRL controllers.

## Research questions this paper is counted under

- [How can reinforcement learning policies be made interpretable and human-readable while preserving their performance?](../q/268.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148335)
