acceptodds
Published as a conference paper at NeurIPS 2026

Discovering Programmatic Policies from Reinforcement Learning-Based Traffic Signal Controllers

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

Abstract

Traffic signal control (TSC) is critical for mitigating urban congestion. Deep reinforcement learning (DRL) has achieved strong performance by learning adaptive policies from traffic observations, but learned neural controllers are often opaque, structurally complex, and difficult to generalize across scenarios. We propose PPL-TSC, a programmatic policy learning framework that distills compact and human-readable TSC policies from DRL teachers. PPL-TSC formulates policy learning as an evolutionary search over phase utility functions (PUFs), which score candidate signal phases and select the highest-utility phase for execution. Each generation consists of four steps: policy generation, policy review, policy calibration, and policy evaluation. In the generation step, a large language model (LLM) acts as a semantics-aware evolutionary operator to propose and refine candidate PUFs. Generated PUFs are screened through explicit checks for syntactic validity, mathematical soundness, and consistency with TSC principles, with invalid ones repaired through iterative feedback. Valid PUFs are then calibrated to improve behavioral fidelity to the DRL teacher, and evaluated using a joint score combining teacher fidelity and traffic-control performance to select candidates for the next generation. Extensive experiments across diverse traffic scenarios and representative DRL-based controllers show that PPL-TSC produces compact and human-readable policies, matches teacher performance, improves transfer generalization, and substantially reduces computational cost.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_9FgrOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes PPL-TSC, a teacher-guided programmatic policy learning framework for traffic signal control that distills explicit policies from pretrained DRL teachers. The experimental results show that the PPL-TSC achieves comparable control performance with the teacher DRL model and less computation and storage requirements.

Strengths and weaknesses

Strengths:

  1. The paper studies an interesting and important question: how to distill a DRL-based policy for TSC into a more explainable and resource-efficient programmatic policy. The idea of utilizing an LLM to generate the programmatic policy is good.

  2. The experiments are comprehensive, including performance evaluation, ablation studies, generalization analysis, and resource efficiency analysis.

Weaknesses:

  1. The meaning of ABF as a metric for better policy quality is not well justified. ABF measures behavioral fidelity between the student policy and the DRL teacher policy, but the DRL-based teacher policy is not guaranteed to be optimal. Therefore, a higher ABF score does not necessarily indicate a better TSC policy. In Section 3.3.4, the joint score combines behavioral fidelity and control performance with w_1=1and w_2=1, and offspring selection is based on this joint score. This design needs further justification, since fidelity to a potentially suboptimal teacher may conflict with actual control performance in the TSC environment.

  2. The obtained PPL-TSC policy is distilled from the DRL-based teacher policy. However, in the experimental results, most results show that PPL-TSC achieves better performance in the ATT metric. This needs further justification, since PPL-TSC searches for policies using DRL rollout data, and both the policy evaluation and calibration steps include metrics that optimize the policy to choose the same phase as the teacher policy. The fact that the student policy achieves better ATT performance needs more justification.

  3. A major limitation of the proposed framework is that it requires a well-trained DRL policy, as mentioned in the paper’s limitations section. This may affect the functional generalization of the framework.

Questions

Can the authors further explain the use of metric ABF both in policy search and experiments?

Can the authors further explain the experimental results that the student policy yields better ATT than the teacher policy?

Limitations

Yes

Paper formatting concerns

N/A

Final justification

The authors have addressed my questions, and I would like to increase my score to 4.

1 comment

Dear Reviewer 9Fgr,

Thank you for the careful review. Your comments helped us strengthen the analysis and manuscript; we respond point by point below.

Q1. Role of ABF

Our goal is to extract a programmatic control policy (i.e., the student), represented as a phase utility function (PUF), from a deep reinforcement learning (DRL)-based traffic signal controller (i.e., the teacher). This requires balancing two considerations. The student should preserve the behavior learned by the teacher, yet fidelity cannot be the only criterion because the teacher may take suboptimal actions and action differences can affect closed-loop traffic performance. We therefore consider fidelity and performance jointly [Bastani et al., 2018].

We measure fidelity using average behavioral fidelity (ABF), the fraction of student actions that match the teacher on teacher rollouts. ABF supplies behavioral guidance during the symbolic search and quantifies how faithfully the resulting PUF reproduces the teacher. To ensure that this guidance does not override actual traffic performance, we pair ABF with the average-travel-time (ATT)-based control-performance score (CP) from Eq. (7): P(U)=exp⁡(min⁡(Δ,0))P(U)=\exp(\min(\Delta,0)), where Δ=(AT−AS)/(∣AT∣+ϵ)\Delta=(A_T-A_S)/(|A_T|+\epsilon), ATA_T and ASA_S are teacher and student ATT, and ϵ=10−4\epsilon=10^{-4}. CP equals 1 when the student ATT is no higher than the teacher ATT and decreases smoothly when the student performs worse.

The resulting objective is J(U)=w1F(U)+w2P(U)J(U)=w_1F(U)+w_2P(U), where F(U)F(U) is ABF and P(U)P(U) is CP. Because both terms are bounded and similarly scaled, w1w_1 and w2w_2 directly control the fidelity–performance trade-off. The objective favors faithful students that preserve teacher-level performance, while allowing deviations from the teacher when the gain in CP offsets the loss in ABF.

We evaluate this design across 210 matched tasks (six teachers × seven scenarios × five flows). For each task, only the search objective is changed; the table reports means.

Objective (ABF weight, CP weight)ABF ↑CP ↑ATT improvement ↑
Performance-only (0,1)(0,1)0.520.94+4.35%
ABF-only (1,0)(1,0)0.650.87−14.45%
Joint (1,1)(1,1)0.640.93+3.39%

The results show the intended trade-off. ABF-only gives the highest fidelity (0.65) but worsens ATT by 14.45%, illustrating the risk of optimizing imitation alone. In contrast, performance-only gives the largest ATT improvement (+4.35%) but the lowest ABF (0.52), weakening the connection to the teacher. The joint objective retains nearly all of the ABF-only fidelity (0.64 vs. 0.65), while maintaining similar CP to performance-only (0.93 vs. 0.94) and positive ATT improvement (+3.39%). It therefore balances teacher guidance with closed-loop control performance.

Reference

Bastani et al. Verifiable Reinforcement Learning via Policy Extraction. NeurIPS, 2018.

Q2. Weight Sensitivity

To assess the sensitivity of the default (w1,w2)=(1,1)(w_1,w_2)=(1,1), we vary the weights in a controlled study with MPLight as the teacher. We test seven settings on flow 0 of Hangzhou1, Jinan, and Los Angeles with three seeds (8101, 8202, and 8303); all else is fixed. This yields 63 searches and nine outcomes per setting, paired by scenario and seed. The table reports means and two-sided paired Wilcoxon signed-rank pp-values for ATT improvement versus the default.

Weights (ABF, CP)ABF ↑CP ↑ATT improvement ↑ATT pp-value vs. (1,1)(1,1)
(0,1)(0,1)0.600.98+1.23%0.22
(0.5,1)(0.5,1)0.650.98+1.03%0.84
(1,1)(1,1)0.690.98+0.97%—
(2,1)(2,1)0.690.98+2.39%0.31
(1,0)(1,0)0.690.95−4.97%0.30
(1,0.5)(1,0.5)0.690.98−0.78%0.74
(1,2)(1,2)0.690.99+0.81%0.57

With both terms active, ABF ranges from 0.65 to 0.69, CP from 0.98 to 0.99, and mean ATT improvement from −0.78% to +2.39%. Relative to the default of +0.97%, two alternative mixed settings have higher means and two have lower means, but none differs significantly from the default (p≥0.31p\geq0.31). At the endpoints, removing ABF (w1=0w_1=0) lowers mean fidelity from 0.69 to 0.60. Removing CP (w2=0w_2=0) lowers mean CP from 0.98 to 0.95 and shifts mean ATT improvement from +0.97% to −4.97%. Neither ATT comparison is statistically significant (p=0.22p=0.22 and p=0.30p=0.30).

Removing either term weakens its corresponding objective, so we keep both ABF and CP. Since no tested mixed setting differs significantly from (1,1)(1,1) in ATT improvement, we use equal weights as the default to balance fidelity and control performance.

Q3. Analysis of Student Outperformance

We analyze this question using the in-domain and cross-domain transfer results from the main paper.

In-domain. The student and teacher are evaluated under the city–traffic-flow conditions used to collect the teacher rollouts, where the trained DRL teacher is already a strong baseline. PPL-TSC does not enforce exact action matching: ABF encourages fidelity, while CP penalizes deviations that increase closed-loop ATT. The compact PUF can therefore preserve the teacher’s main control pattern while changing individual decisions. Table 2 of the main paper accordingly shows comparable rather than uniformly superior performance: this simplification may discard either unhelpful or useful details of the neural teacher.

Cross-domain transfer. In this setting, a student extracted on a source flow and its teacher are evaluated without retraining under two distribution shifts: unseen flows within the same scenario and flows from different scenarios. Table 3 of the main paper reports the student’s ATT improvement over the transferred teacher. Mean improvement is positive in five of six flow-shift settings and all four applicable cross-scenario settings. In the latter, it ranges from +33.42% to +54.22%, with 887–954 ATT wins out of 1,050. Compared with the mixed in-domain pattern, the student advantage is more consistent under distribution shift.

The key distinction is how the two policies generalize. A neural teacher may fit a high-dimensional mapping tied to the source topology and traffic distribution [Shi et al., 2024]. In contrast, a compact PUF expresses shared traffic relations involving demand, pressure, bottlenecks, and switching. Because ABF rewards rather than enforces action matching, the PUF can retain teacher guidance while deviating from source-specific decisions. Similar generalization benefits of symbolic policies have also been reported in other domains [Zheng et al., 2024].

We further show control rules from PUFs learned from diverse teachers to illustrate how students capture traffic-control principles while maintaining fidelity and competitive ATT:

Teacher / scenarioControl ruleTraffic-control interpretationABF ↑Teacher ATT (s) ↓Student ATT (s) ↓
CoLight (Atlanta / flow 3)Qp=Vp+0.2IpVp2Q_p=V_p+0.2I_pV_p^2Prioritizes demand; a quadratic bonus retains a busy phase.0.94339.20317.90
EcoLight (phase-selection; Hangzhou2 / flow 2)Qp=0.7Vp+0.3Vpmax⁡+0.15IpQ_p=0.7V_p+0.3V_p^{\max}+0.15I_pCombines total/peak demand; a stay bonus limits switching.0.94135.93134.13
EcoLight (native, action-aligned; Hangzhou2 / flow 2)Qk=gg+1Q_k=\frac{g}{\sqrt{g+1}}; Qs=rlog⁡(1+r)g+1Q_s=\frac{r\log(1+r)}{g+1}Keeps green for served demand; switches as red demand grows.0.99135.93135.05
FRAP (Hangzhou1 / flow 4)Qp=Vp+0.1Ip+0.2(1−Ip)(Vp−1)Q_p=V_p+0.1I_p+0.2(1-I_p)(V_p-1)Adds switch incentive above an inactive-phase demand threshold.0.88111.09106.53
MPLight (Hangzhou3 / flow 4)Qp=PpΣ+Ppmax⁡+0.15IpQ_p=P_p^{\Sigma}+P_p^{\max}+0.15I_pMax-Pressure [Varaiya, 2013] with bottleneck and stay terms.0.9386.0184.04
TinyLight (Hangzhou3 / flow 1)Qp=PpΣ+0.5log⁡(1+Wp)+0.2Np+0.5IpQ_p=P_p^{\Sigma}+0.5\log(1+W_p)+0.2N_p+0.5I_pPrioritizes pressure, queues, and waiting; retains the phase.0.8680.7780.63
NotationMeaning
p, Ip, Qp, Qk, Qsp,\ I_p,\ Q_p,\ Q_k,\ Q_sCandidate phase; current-phase indicator; and phase, keep, and switch utilities; select the largest utility.
PpΣ, Ppmax⁡P_p^{\Sigma},\ P_p^{\max}Sum and maximum normalized directional pressures (raw pressure: upstream queue minus downstream queue).
Vp, Vpmax⁡V_p,\ V_p^{\max}Total and maximum movement demand.
Np, WpN_p,\ W_pQueue count and accumulated waiting time.
g, rg,\ rGreen- and red-side demand.

References

Shi et al. Improving the Generalizability and Robustness of Large-Scale Traffic Signal Control. 2024.

Zheng et al. Symbolic Visual Reinforcement Learning. IEEE TPAMI, 2024.

Varaiya. Max Pressure Control of a Network of Signalized Intersections. Transp. Res. Part C, 2013.

Q4. Dependence on a Well-Trained Teacher

A well-trained DRL teacher is important to PPL-TSC, and we explicitly discuss this limitation in Appendix A.5. Such dependence is common in the field of knowledge distillation [Hinton et al., 2015]. Importantly, PPL-TSC addresses an important yet underexplored problem: converting neural TSC controllers into compact, readable programmatic policies. We empirically validate this conversion across multiple teacher families and real-world-derived traffic scenarios. Moreover, the growing number of well-trained DRL-based TSC controllers provides a diverse pool of teachers to which PPL-TSC can be applied [Wei et al., 2021]. Future work will extend this evaluation to more teacher architectures, training qualities, and traffic settings to assess and improve generalization across teachers and deployment conditions.

References

Hinton et al. Distilling the Knowledge in a Neural Network. 2015.

Wei et al. Recent Advances in Reinforcement Learning for Traffic Signal Control. 2021.

Reviewer_3HtyOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper addresses the interpretability and deployability gap in deep-RL traffic signal control (TSC): neural controllers perform well but are opaque, costly at inference, and transfer poorly. The authors propose PPL-TSC, which distills a pretrained DRL teacher into a compact, human-readable programmatic policy rather than searching for one from scratch. The student is a phase utility function (PUF) — a symbolic expression f(x) shared across intersections, plus an intersection/phase-specific bias β — that scores each candidate phase and selects the highest-utility one. The PUF is found by an evolutionary loop with four steps: an LLM acts as a semantics-aware mutation/crossover operator to generate candidate PUFs; a review step screens them for syntactic validity, mathematical soundness, and consistency with TSC principles (with iterative repair); a calibration step fits the bias terms to the teacher's behavior; and an evaluation step scores candidates by a joint metric combining behavioral fidelity to the teacher and closed-loop control performance. Experiments in CityFlow span seven real-world-derived networks and five DRL teachers, with analyses of performance, fidelity, transfer, readability, resource cost, and an ablation.

Strengths and weaknesses

Strengths

  • Sound, practically relevant motivation: a compact, inspectable symbolic controller that approaches teacher performance directly addresses the resource cost (Figure 1) and transfer brittleness (Table 1) that hinder DRL deployment.
  • A timely, sensible combination: using an LLM as a semantics-aware evolutionary operator over phase-utility functions, guided by teacher rollouts rather than from-scratch environment search.
  • The explicit review/repair stage, enforcing mathematical validity and TSC-principle consistency, is a nice touch, distinguishing it from generic program synthesis.
  • Broad evaluation across seven networks and five teachers, with a clear six-RQ structure; resource-efficiency and readability are the most convincing angles.

Weaknesses

  • The "matches or improves the teacher" claim is shakier than stated: ΔATT std often exceeds the mean (e.g., 11.51 ± 23.98; −18.05 ± 41.66 for EcoLight native), and the student clearly underperforms for TinyLight and EcoLight (native); significance tests and per-scenario breakdowns are needed.
  • No head-to-head comparison against prior programmatic TSC methods (π-Light, GPLight+, SymLight) — the experiments mostly compare student vs. its own teacher, so the contribution is hard to situate against the state of the art.
  • The LLM is central but under-characterized (which model, cost, prompt/seed sensitivity, and reproducibility of the generated programs).
  • Limited PUF expressiveness (one shared symbolic form + per-intersection bias, with calibration only adjusting β) may explain the keep/switch-teacher failures and deserves discussion.
Questions
  1. Variance and significance. Can you report per-scenario results with significance tests (or confidence intervals) rather than only mean ± std aggregated over 35 combinations? Given the large spreads, a demonstration that the improvements over the teacher are statistically reliable for the families you claim would raise my score.
  2. Programmatic baselines. How does PPL-TSC compare head-to-head against π-Light, GPLight+, or SymLight on the same scenarios, in both performance and readability? This is the comparison most needed to establish the contribution.
  3. TinyLight / EcoLight (native) failures. Why does distillation fail for these teachers? Is it the keep/switch action interface, the PUF expressiveness, or the calibration scope? A convincing diagnosis (and ideally a fix) would strengthen the "teacher-agnostic" claim.
  4. LLM dependence. Which LLM is used, what is the generation cost per run, and how sensitive are the discovered PUFs to the LLM choice and random seed? Are the learned policies reproducible without the LLM?
  5. Readability claim. Can you provide a small user-facing assessment (or at least representative PUFs across teachers) so readers can judge "human-readable" beyond expression length?
Limitations

The authors acknowledge that performance is uneven across teacher families and that the method depends on teacher rollouts. The limitations I would most like surfaced are the large performance variance, the absence of head-to-head programmatic baselines, and the reproducibility/cost implications of the LLM operator. No notable negative societal-impact concerns; the work, if anything, improves transparency and lowers deployment cost.

Paper formatting concerns

No

1 comment

Dear Reviewer 3Hty,

We sincerely appreciate your careful review. Your comments helped improve the method and evaluation. We respond point by point below.

Q1: Significance Analysis

For each teacher–scenario pair, we apply a two-sided exact Wilcoxon signed-rank test to n=10n=10 matched student–teacher average travel time (ATT) results at the flow level. For transfer settings, results are first aggregated by source flow. Holm correction is applied across seven scenarios within each teacher and evaluation setting. B/W/NS reports counts of scenarios in which student ATT is significantly lower (better), significantly higher (worse), or not significantly different, respectively (Holm-adjusted p<0.05p<0.05).

TeacherIn-domain settingSame-scenario transferCross-scenario transfer
CoLight1/1/51/2/4N/A
EcoLight (native)1/2/46/1/07/0/0
EcoLight (phase-selection)6/0/16/1/07/0/0
FRAP2/1/44/1/27/0/0
MPLight1/0/60/2/56/0/1
TinyLight1/1/52/0/5N/A

In the in-domain setting, NS is most common (25/42), indicating no significant ATT difference in most comparisons. Same-scenario transfer has more B than W (19 vs. 7); cross-scenario transfer has 27 B and 1 NS. CoLight and TinyLight are not evaluated cross-scenario because their action dimensions vary.

Overall, PPL-TSC usually shows no detectable in-domain difference and a stronger transfer advantage.

Q2: Programmatic Baselines

π-Light, GPLight+, and SymLight are representative programmatic policy-search methods whose original versions learn through environment interaction rather than teacher rollouts. For a controlled comparison, we adapted them into teacher-guided variants—π-Light-Distill, GPLight+-Distill, and SymLight-Distill—using the same MPLight teacher. SymLight lacks public code, so we reimplemented it from the paper.

Control performance. All methods use the same teacher rollouts, phase interface, seeds, evaluation, and search budget. We test ten source–target pairs on five matched flows each (50 paired tasks), with no target-domain search, calibration, or teacher data. Each entry reports mean ATT ± standard deviation (SD) over the five flows.

Source → TargetPPL-TSCπ-Light-DistillGPLight+-DistillSymLight-Distill
Hangzhou1 → Hangzhou2121.76 ± 1.24122.96 ± 1.74121.84 ± 1.46121.73 ± 1.54
Hangzhou2 → Atlanta239.42 ± 1.12293.62 ± 84.52259.23 ± 30.13246.97 ± 8.09
Hangzhou2 → Los Angeles456.82 ± 20.26578.76 ± 137.53548.54 ± 154.44538.00 ± 107.08
Hangzhou1 → Manhattan223.70 ± 19.79239.49 ± 21.98324.44 ± 183.42526.54 ± 672.16
Atlanta → Jinan310.77 ± 0.99867.47 ± 312.51560.48 ± 290.66492.19 ± 389.26
Jinan → Hangzhou384.50 ± 1.5885.11 ± 2.02105.25 ± 46.0784.63 ± 1.50
Manhattan → Los Angeles445.32 ± 12.89617.64 ± 158.11462.57 ± 26.55517.48 ± 129.38
Los Angeles → Atlanta255.28 ± 33.83273.66 ± 50.79330.10 ± 80.95282.39 ± 85.26
Hangzhou3 → Jinan421.61 ± 233.29323.26 ± 17.67318.30 ± 19.52316.17 ± 29.15
Jinan → Atlanta239.26 ± 4.57236.31 ± 5.56261.25 ± 53.38236.67 ± 5.29

PPL-TSC has the lowest mean ATT on 7/10 transfer pairs. Relative to π-Light-Distill, GPLight+-Distill, and SymLight-Distill, respectively, it reduces ATT by 9.21%, 7.77%, and 4.12% on average and wins 33/50, 34/50, and 29/50 paired tasks.

Readability. To compare their readability, we examine the control rules learned from the same MPLight teacher on the same Hangzhou2 / flow 2 task.

MethodControl ruleSymbols
PPL-TSCQp=P~p+0.1IpQ_p=\tilde P_p+0.1I_pQp/Ip/P~pQ_p/I_p/\tilde P_p: phase utility/active-phase indicator/min–max-normalized total pressure over movements served by phase pp (raw movement pressure: upstream vehicle count minus downstream vehicle count).
π-Light-DistillQp=Pp+(1−Ip)Q_p=P_p+(1-I_p)PpP_p: total pressure over movements served by phase pp.
GPLight+-DistillQp=Ip−Pˉp−min⁡(−Pˉp,Ppmax⁡)Q_p=I_p-\bar P_p-\min(-\bar P_p,P_p^{\max})Pˉp/Ppmax⁡\bar P_p/P_p^{\max}: mean/maximum pressure over movements served by phase pp.
SymLight-DistillQp=max⁡(Ip,Ppmin⁡)−(Pp−Pˉp)Q_p=\max(I_p,P_p^{\min})-(P_p-\bar P_p)Pp/Pˉp/Ppmin⁡P_p/\bar P_p/P_p^{\min}: total/mean/minimum pressure over movements served by phase pp.

PPL-TSC prioritizes higher-pressure phases, while a small bonus for the active phase avoids unnecessary switching when pressures are similar. π-Light-Distill reverses the bias: an inactive phase receives +1 and may win despite lower pressure. In GPLight+-Distill, nonnegative mean and maximum pressures make the pressure terms cancel (Qp=IpQ_p=I_p), potentially ignoring demand. SymLight-Distill can lower utility as total pressure rises, violating the expected urgency–priority relation. Thus, PPL-TSC has the most direct traffic-control interpretation.

Q3: Diagnosing and Refining EcoLight and TinyLight

In the in-domain setting, PPL-TSC students distilled from EcoLight (native) and TinyLight underperform their teachers. We diagnose them with controlled refinements on 35 tasks (7 scenarios × 5 flows). We report average behavioral fidelity (ABF), where higher values indicate closer teacher-action matching, and ATT improvement, where positive values indicate lower student ATT.

EcoLight. The main issue is action-interface mismatch. The teacher chooses keep/switch from joint green- and red-side demand, but the original student scored phases from separate local inputs. We replace only this representation; all other settings remain fixed.

EcoLight input representationAverage ABF ↑Average ATT improvement ↑
Separate phase-local inputs0.84-18.05%
Aligned keep/switch inputs0.94+2.71%

ABF rises from 0.84 to 0.94, while ATT improvement shifts from -18.05% to +2.71%, indicating action-interface mismatch as the main cause.

TinyLight. The main issue is insufficient search. Its phase-level and incoming-lane features enlarge the search space. We increase only population size and generations from (5, 5) to (10, 10); all other settings remain fixed.

TinyLight search budgetAverage ABF ↑Average ATT improvement ↑
(5, 5)0.64-8.43%
(10, 10)0.71+1.51%

ABF rises from 0.64 to 0.71, while ATT improvement shifts from -8.43% to +1.51%, showing that the original search was insufficient for its richer inputs.

Overall, effective use of PPL-TSC across teacher families requires aligning action semantics and scaling the search budget to input complexity.

Q4: LLM Dependence

Main experiments use Gemini 3.1 Flash at temperature 0.8; top-pp and output length use API defaults, and responses contain 407–779 tokens. Fig. A.2 provides all prompts. Fig. A.3 reports 54 runs across six backbones, showing backbone-dependent search quality, with Gemini 3.1 Flash best overall.

For seed sensitivity, we run 5 seeds × 5 teachers × 7 scenarios (175 searches). Within each of 35 teacher–scenario pairs, we compute final joint-score coefficient of variation (CV; SD/mean); its mean is 2.08%, indicating low average sensitivity. Other entries are means over 175 searches.

MetricMean
Final joint-score CV2.08%
Token usage per search67.1K
Generation cost per searchUSD 0.0353
LLM API latency per search104.2 s

LLM dependence is confined to discovery: reruns require the same model/API configuration and may vary with provider sampling. Exported policies run as deterministic Python code and require no LLM for inference or deployment.

Q5: Readability Assessment

We show learned control rules across five teacher families and both EcoLight interfaces, with interpretations, ABF, and teacher/student ATT.

Teacher / scenarioControl ruleTraffic-control interpretationABF ↑Teacher ATT ↓Student ATT ↓
CoLight (Atlanta / flow 3)Qp=Vp+0.2IpVp2Q_p=V_p+0.2I_pV_p^2Prioritizes demand; a quadratic bonus retains a busy phase.0.94339.20317.90
EcoLight (phase-selection; Hangzhou2 / flow 2)Qp=0.7Vp+0.3Vpmax⁡+0.15IpQ_p=0.7V_p+0.3V_p^{\max}+0.15I_pCombines total/peak demand; a stay bonus limits switching.0.94135.93134.13
EcoLight (native, action-aligned; Hangzhou2 / flow 2)Qkeep=gg+1,Qswitch=rlog⁡(1+r)g+1Q_{\mathrm{keep}}=\frac{g}{\sqrt{g+1}},\quad Q_{\mathrm{switch}}=\frac{r\log(1+r)}{g+1}Keeps green for served demand; switches as red demand grows.0.99135.93135.05
FRAP (Hangzhou1 / flow 4)Qp=Vp+0.1Ip+0.2(1−Ip)(Vp−1)Q_p=V_p+0.1I_p+0.2(1-I_p)(V_p-1)Adds switch incentive above an inactive-phase demand threshold.0.88111.09106.53
MPLight (Hangzhou3 / flow 4)Qp=PpΣ+Ppmax⁡+0.15IpQ_p=P_p^{\Sigma}+P_p^{\max}+0.15I_pUses Max-Pressure [Varaiya, 2013] with bottleneck and stay terms.0.9386.0184.04
TinyLight (Hangzhou3 / flow 1)Qp=PpΣ+0.5log⁡(1+Wp)+0.2Np+0.5IpQ_p=P_p^{\Sigma}+0.5\log(1+W_p)+0.2N_p+0.5I_pPrioritizes pressure, queues, and waiting; retains the phase.0.8680.7780.63

Here, pp is a candidate phase and IpI_p its active indicator. The QQ terms are control-rule utilities. VpV_p/Vpmax⁡V_p^{\max} denote total/peak demand; PpΣP_p^{\Sigma}/Ppmax⁡P_p^{\max} the sum/maximum normalized directional pressure (raw: upstream minus downstream queue); NpN_p/WpW_p queued vehicles/accumulated waiting time; and gg/rr green- and red-side demand. ABF is teacher-action match rate; ATT is average travel time.

The rules expose demand/pressure priority, bottleneck/waiting protection, and switching hysteresis, supporting inspection and validation by traffic engineers against TSC principles.

Reference: Varaiya. Max Pressure Control of a Network of Signalized Intersections. Transp. Res. Part C, 2013.

Reviewer_st4BOpenReview ↗
Rating
4
Clarity
4
Confidence
4
Originality
2
Quality
3
Significance
2
Read review
Summary

The authors propose PPL-TSC, a traffic signal control (TSC) framework that learns compact and interpretable TSC policies from arbitrary deep reinforcement learning (DRL) teacher models. The framework leverages rollout data generated by the DRL teacher and formulates policy learning as an evolutionary search over phase utility functions (PUFs). Experimental results demonstrate that PPL-TSC produces lightweight policies that achieve performance comparable to the teacher while improving generalization and reducing computational overhead.

Strengths and weaknesses

Strengths:

  1. The paper is well written and logically organized, making it easy to understand the proposed methodology.

  2. The experimental evaluation is comprehensive and examines the proposed method from multiple perspectives.

  3. The reported results appear to be sound and provide evidence supporting the effectiveness of the proposed approach.

Weaknesses:

  1. The motivation for learning compact TSC policies, i.e., to enable deployment on resource-constrained traffic signal controllers is not entirely convincing. Modern traffic signal controllers are often equipped with ARM or x86-based embedded processors (which are cheap and energy efficient) that are capable of executing inference for many DRL-based TSC models in real time. The authors should better justify the practical need for policy compression.

  2. The novelty of the proposed framework is somewhat limited. At a high level, the proposed framework follows a standard teacher-student distillation paradigm, i.e., the rollout data generated by a DRL teacher are used to train a lightweight student policy. The authors should better articulate, beyond the use of phase utility functions (PUFs), the key technical innovations that distinguish the proposed framework from existing policy distillation and imitation learning methods

  3. The proposed framework relies on rollout data collected from the DRL teacher, and the data only covers states encountered by the teacher during interaction with the environment. Therefore, it is possible that the learned policy may struggle to generalize to unseen traffic conditions, such as accidents or congestion. The authors should evaluate the robustness of the learned policy under out-of-distribution scenarios.

  4. The proposed framework learns a static policy from a fixed DRL teacher using offline rollout data. However, traffic patterns evolve over time due to factors such as road construction, newly developed commercial areas, seasonal demand, and special events. Therefore, the learned policy may become suboptimal after deployment and require periodic retraining. The authors should discuss the “adaptability” of the proposed framework.

  5. The paper emphasizes the computational benefits of learning compact policies. However, reducing the model size may not improve safety, robustness, or trustworthiness. Since the distilled policy is learned by mimicking the DRL teacher, it is unclear why it should be considered more reliable or easier to deploy than the original teacher policy.

Questions

Please see my comments above.

Limitations

Yes.

Paper formatting concerns

None

Final justification

The authors will revise the paper to clarify that the reduction in computational and storage costs is an additional practical benefit of the proposed representation, rather than the primary motivation of the work.

1 comment

Dear Reviewer st4B,

Thank you for your careful and constructive review, which helped us improve the manuscript. We respond point by point below.

Q1. Compact TSC Policies

We agree that some modern ARM- or x86-based traffic signal controllers can execute deep reinforcement learning (DRL) policies in real time. The central goal of PPL-TSC is to use teacher-guided programmatic distillation to extract an explicit phase utility function (PUF) from an opaque DRL controller. The PUF scores candidate phases from phase-level traffic features and activates the highest-scoring phase. Relative to its neural teacher, the resulting student differs in three aspects:

AspectDRL control policy [Gu et al., 2024]PPL-TSC student policy
Decision logicBlack-box neural mappingExplicit traffic control rule
Generalization under distribution shiftsOften degrades in our transfer settingsMore stable in the same settings
Storage and inference costsHigherLower

Notably, Sections 4.2–4.5 of the main paper show that the learned PUFs are broadly comparable to their teachers in-domain, transfer more effectively under traffic-flow and cross-scenario shifts, expose readable traffic-control logic, and require less computation and storage.

Reference: Gu et al. π-Light: Programmatic Interpretable Reinforcement Learning for Resource-Limited Traffic Signal Control. AAAI, 2024.

Q2. Distinction from Standard Policy Distillation

Compared with standard policy distillation [Rusu et al., 2015] and imitation learning [Osa et al., 2018], PPL-TSC differs as follows:

Technical aspectPolicy distillationImitation learningPPL-TSC innovation
Student representationTypically a neural networkTypically a neural networkAn explicit symbolic control policy
Policy learningLearns from teacher output distributionsLearns from expert state–action demonstrationsFormulates student-policy learning as a programmatic policy-search problem
Policy validationNot inherent to the standard formulationNot inherent to the standard formulationReview and repair for syntactic correctness, mathematical validity, and traffic-control semantics
Policy calibrationNot inherent to the standard formulationNot inherent to the standard formulationLightweight calibration adapts the policy to different scenarios while preserving the same traffic control rule
Policy evaluationPrimarily teacher-output matchingPrimarily expert-action matchingJoint evaluation of teacher fidelity and traffic-control performance

Overall, we address the underexplored problem of distilling explicit, executable symbolic control policies from neural TSC teachers through a teacher-guided generate–review–calibrate–evaluate loop.

References: Rusu et al. Policy Distillation. arXiv:1511.06295, 2015; Osa et al. An Algorithmic Perspective on Imitation Learning. Foundations and Trends in Robotics, 2018.

Q3. Out-of-Distribution Robustness

Thank you for raising this important concern. Section 4.3 of the main paper already compares DRL teachers and PPL-TSC students under two distribution shifts across 140 same-scenario/different-flow cases per teacher and 1,050 cross-scenario/different-flow cases per applicable teacher. The students remain broadly comparable to their teachers under same-scenario flow shifts and transfer more favorably in applicable cross-scenario settings.

Following your helpful suggestion, we further evaluated PPL-TSC under two targeted out-of-distribution (OOD) disturbances representing severe congestion and an accident:

  • Severe congestion: Traffic demand increases to 1.5× its original level during 40%–60% of the episode.
  • Accident: We simulate an accident by closing all entry lanes of the highest-demand approach during 40%–60% of the episode.

This targeted OOD study comprises 350 matched teacher–student evaluations: 5 teachers × 7 scenarios × 5 traffic flows × 2 disturbances. All policies remain frozen, and each matched pair uses the same network, flow, seed, disturbance, and simulation horizon.

The table reports results for the targeted OOD and cross-scenario evaluations. Average travel time (ATT) improvement is measured relative to the corresponding teacher; a positive value indicates lower student ATT.

TeacherTargeted OOD ATT improvement ↑ATT wins ↑Cross-scenario ATT improvement ↑ATT wins ↑
CoLight+0.66%35/70N/AN/A
EcoLight+2.66%48/70+35.52%977/1050
FRAP+1.26%38/70+55.26%936/1050
MPLight+1.19%40/70+44.72%924/1050
TinyLight-0.15%32/70N/AN/A

Across the 350 targeted OOD cases, four of five teacher families show positive mean ATT improvement; overall, PPL-TSC achieves +1.12% mean improvement and 193/350 wins (55.1%), remaining broadly comparable to its teachers within a fixed road-network topology. In the cross-scenario setting, the three applicable student families achieve +45.17% mean improvement and 2,837/3,150 wins (90.1%). CoLight and TinyLight are not applicable to cross-scenario evaluation because their action dimensions vary across scenarios. Overall, PPL-TSC remains competitive under unseen disturbances and transfers more reliably when both traffic flow and topology change, whereas DRL teachers may degrade or face action-space mismatches.

Q4. Adaptability to Evolving Traffic Conditions

PPL-TSC learns each PUF offline, but its decomposition supports efficient periodic updates. A PUF combines a shared symbolic control rule ff with intersection- and phase-specific biases βp(i)\beta_p^{(i)}. For candidate phase pp, Up,t(i)=f(xp,t(i))+βp(i)U_{p,t}^{(i)}=f(x_{p,t}^{(i)})+\beta_p^{(i)}; the student activates the highest-utility phase. Here, xp,t(i)x_{p,t}^{(i)} contains phase-level features.

The transfer results in Q3 and Section 4.3 show that ff can remain effective beyond its source setting when feature and action semantics are aligned. Biases can be recalibrated on recent rollouts for local demand changes; topology changes may also require updated feature mappings. Changes to the action interface or control objective, such as transit priority, may require a new PUF search.

We next quantify the cost of updating PPL-TSC in the Jinan / flow 0 setting:

Scenario / flowDRL training + evaluation wall time (s)Bias-only calibration (s)Full PUF search (s)
Jinan / flow 05,666.15 ± 3,803.162.067 ± 1.203418.03 ± 263.97

DRL and bias-only values are mean ± SD over five teachers; the full-search value is mean ± SD over 25 runs (five teachers × five seeds). Bias-only calibration is approximately 202× faster than full PUF search and 2,741× faster than DRL training + evaluation.

We also evaluate simulation-based, ATT-oriented bias recalibration for the MPLight-derived student under Jinan / accident-lane-closure / flow 0:

PolicyATT (s)
Student before bias recalibration323.897
Student after bias recalibration315.345

The complete recalibration takes 76.45 s, including simulation, and reduces ATT by 2.64%.

Thus, the rule–bias decomposition enables efficient periodic updates, with full search available for larger semantic changes.

Q5. Safety, Robustness, and Trustworthiness

For safety and trustworthiness, the relevant property of PPL-TSC is its explicit policy representation, not computational efficiency. By distilling an opaque neural teacher into a PUF, it exposes how phase-level traffic features determine signal decisions and allows traffic engineers to inspect and test the learned logic before deployment, supporting safety assessment. Robustness is evaluated separately in Q3 and Section 4.3, where PPL-TSC remains competitive under traffic-flow and cross-scenario shifts, severe congestion, and road closures.

Below are representative control rules within the learned PUFs across teacher families, with their traffic-control interpretations, average behavioral fidelity (ABF), and teacher/student ATT:

Teacher / scenarioControl ruleTraffic-control interpretationABF ↑Teacher ATT ↓Student ATT↓
CoLight (Atlanta / flow 3)Qp=Vp+0.2IpVp2Q_p=V_p+0.2I_pV_p^2Prioritizes demand; a quadratic bonus retains a busy phase.0.94339.20317.90
EcoLight (phase-selection; Hangzhou2 / flow 2)Qp=0.7Vp+0.3Vpmax⁡+0.15IpQ_p=0.7V_p+0.3V_p^{\max}+0.15I_pCombines total/peak demand; a stay bonus limits switching.0.94135.93134.13
EcoLight (native, action-aligned; Hangzhou2 / flow 2)Qk=gg+1Q_k=\frac{g}{\sqrt{g+1}}; Qs=rlog⁡(1+r)g+1Q_s=\frac{r\log(1+r)}{g+1}Keeps green for served demand; switches as red demand grows.0.99135.93135.05
FRAP (Hangzhou1 / flow 4)Qp=Vp+0.1Ip+0.2(1−Ip)(Vp−1)Q_p=V_p+0.1I_p+0.2(1-I_p)(V_p-1)Adds switch incentive above an inactive-phase demand threshold.0.88111.09106.53
MPLight (Hangzhou3 / flow 4)Qp=PpΣ+Ppmax⁡+0.15IpQ_p=P_p^{\Sigma}+P_p^{\max}+0.15I_pUses Max-Pressure [Varaiya, 2013] with bottleneck and stay terms.0.9386.0184.04
TinyLight (Hangzhou3 / flow 1)Qp=PpΣ+0.5log⁡(1+Wp)+0.2Np+0.5IpQ_p=P_p^{\Sigma}+0.5\log(1+W_p)+0.2N_p+0.5I_pPrioritizes pressure, queues, and waiting; retains the phase.0.8680.7780.63

Here, QpQ_p is phase utility; QkQ_k/QsQ_s are keep/switch utilities, and the largest is selected. pp is a candidate phase; IpI_p its active indicator. VpV_p/Vpmax⁡V_p^{\max} are total/peak demand; PpΣP_p^{\Sigma}/Ppmax⁡P_p^{\max} are the sum/maximum of normalized directional pressures, whose raw values are upstream queue minus downstream queue; NpN_p/WpW_p queue/waiting; and gg/rr green-/red-side demand.

Reference: Varaiya. Max Pressure Control of a Network of Signalized Intersections. Transp. Res. Part C, 2013.

Comments on the paper

1 comment
Meta-review

This work proposes PPL-TSC, an LLM-assisted programmatic policy distillation framework for traffic signal control (TSC). It addresses the poor interpretability, high inference cost and weak transferability of mainstream DRL-based TSC models by distilling compact, explainable symbolic phase utility functions (PUFs) from pre-trained DRL teacher policies. The framework adopts a four-stage evolutionary pipeline including LLM-based PUF generation, domain-consistency review and repair, teacher-behavior calibration, and joint-metric evaluation. Evaluated on multiple real-world traffic networks and diverse DRL teachers, PPL-TSC yields lightweight policies that attain competitive or better control performance than DRL teachers, while substantially reducing computational and storage overhead.

Strengths: (1)The paper addresses a critical real-world pain point of DRL-based traffic signal control, namely the lack of interpretability and high deployment overhead, by designing an LLM-assisted programmatic policy distillation paradigm. (2)The method introduces a domain-constrained program synthesis pipeline with review and repair mechanisms, which effectively improves the practicability and rationality of generated symbolic policies compared with generic evolutionary methods. (3)It supports stable distillation across multiple traffic scenarios and diverse DRL teachers, achieving competitive or even better control performance with significantly reduced computation and storage costs, backed by comprehensive experiments.

Weaknesses: (1)Insufficient practical motivation: the necessity of lightweight policy compression is not well justified. As suggested by Reviewer st4B, modern traffic controllers would have sufficient computing power to do inference for DRL algorithms.

(2)Limited technical novelty: the work follows a standard teacher-student distillation framework and lacks rigorous SOTA comparison with existing programmatic TSC methods, as suggested by reviewer 3Hty.

(3)Evalulatioin: the ABF fidelity metric and equal-weight joint scoring design lack theoretical justification, and imitating potentially suboptimal DRL teachers may harm control performance. In addition, the student policy’s counterintuitive superior ATT performance over teachers is uninterpreted; results suffer from large variance without significance verification, and distillation fails on partial DRL teachers.

(4)Reproducibility & generalization: the core LLM settings, cost and sensitivity are undisclosed, and the limited expressiveness of fixed PUF structures causes inherent model defects. The method relies entirely on teacher offline data, lacking out-of-distribution robustness and long-term traffic dynamic adaptation capability.

The authors are suggested to respond to comments from the reviewers, in particular the issues summarized above, and provide stronger evidence to support the contribution claims.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.