← Latest papers
🤖 machine learning

DGLight: DQN-Guided GRPO Fine-Tuning of Large Language Models for Traffic Signal Control

The paper introduces DGLight, a novel framework that fine-tunes a pretrained large language model for traffic signal control by leveraging a Deep Q-Network critic to guide Group Relative Policy Optimization, resulting in a system that achieves state-of-the-art performance among LLM-based controllers while providing interpretable reasoning traces.

Original authors: Chenbo Yu

Published 2026-04-29
📖 5 min read🧠 Deep dive

Original authors: Chenbo Yu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a busy city intersection as a chaotic dance floor. Cars are dancers trying to move in and out, but if everyone tries to dance at once, they bump into each other, creating a traffic jam. The "Traffic Signal Controller" is the DJ who decides who gets to dance (go) and who has to wait (stop).

For a long time, DJs used two main methods:

  1. The Metronome DJ (Fixed-Time): They play the same beat every 30 seconds, regardless of how many people are on the floor. It's simple, but if a huge crowd arrives, they can't adapt.
  2. The Experienced Human DJ (Traditional RL): This DJ watches the crowd and learns from mistakes. They get better over time, but they are often "black boxes." You can't ask them why they chose a specific beat, and if you move them to a different club (a different city), they might get confused because they learned the specific vibe of the first club.

Enter DGLight: The "Smart Intern" with a "Veteran Coach"

This paper introduces DGLight, a new way to train a Traffic Signal Controller using a Large Language Model (LLM)—basically, a super-smart AI that is great at writing and reasoning.

Here is how DGLight works, using a simple analogy:

1. The Student (The LLM)

Think of the LLM as a brilliant intern who can write a detailed report explaining why they made a decision. "I see the East lane is clogged, so I'll let East traffic go." This is great because, unlike the "black box" DJ, you can read the intern's notes and understand their logic. However, this intern is new to traffic; they know how to write but don't know how to drive a city.

2. The Coach (The DQN Critic)

To teach the intern, the researchers hired a "Veteran Coach." This coach is a traditional AI (a Deep Q-Network based on a method called CoLight) that has spent years watching traffic in a specific city (Hangzhou). The coach is an expert at knowing exactly which signal phase will reduce congestion right now.

3. The Training Camp (The Two-Stage Process)

The magic of DGLight happens in two stages:

  • Stage 1: The Coach Gets Certified. First, the Veteran Coach is trained on real traffic data until it becomes an expert at predicting which signal choice is best.
  • Stage 2: The Intern Learns from the Coach. Now, the Intern (LLM) starts practicing.
    • The Intern looks at a traffic situation and writes a plan: "I think we should let North traffic go because..."
    • Instead of waiting to see if the traffic actually clears up (which takes a long time and is slow to learn), the Coach immediately looks at the Intern's plan and gives it a score. "Good plan, +10 points!" or "Bad plan, -5 points."
    • The Intern uses these scores to learn. Because the Coach gives a score for every possible move (not just the one that happened), the Intern learns much faster and more deeply.

Why is this special?

1. It Speaks Human (Interpretability)
Most traffic AI just outputs a number (e.g., "Switch to Phase 2"). DGLight outputs a sentence: "I am switching to Phase 2 because the East lane has a long queue." It's like having a traffic controller who explains their reasoning in plain English.

2. It's a Smart Generalist (Transferability)
Usually, if you train a traffic AI in City A, it fails in City B. But because DGLight learns the logic of traffic (how to reason about queues and delays) rather than just memorizing the streets of City A, it works surprisingly well in completely new cities (like Jinan) that the Coach never even saw. It's like an intern who learns the principles of crowd control, so they can manage a party in a new city without needing to relearn everything.

3. It's Better Than the Old Guard
The paper tested DGLight against the old "Metronome" methods and the "Experienced Human DJ" methods.

  • Result: DGLight was the best among all the AI methods that use language.
  • Result: It was just as good as, and sometimes better than, the strongest traditional traffic AI, but with the added bonus of being able to explain its decisions.

What did they not do?

The paper is very careful to say what this is not.

  • It is not a magic wand that solves all traffic forever.
  • It is not being tested on real-world live traffic yet (only in simulations).
  • The "Coach" was trained on one city, but the "Intern" learned to generalize. The paper notes that while the Intern is good at new cities, it's not perfect, and the system still relies on the Coach's initial training.

The Bottom Line

DGLight is a system that teaches a smart, talking AI how to control traffic lights by having it practice under the supervision of a traditional traffic expert. The result is a controller that is as smart as the experts but can also tell you why it made its choices, making it a more trustworthy and adaptable tool for managing city traffic.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →