RobustLight is a novel, plug-and-play framework that leverages diffusion models to shield Reinforcement Learning (RL) traffic controllers from sensor noise, physical damage, and adversarial attacks. By restoring corrupted traffic data in real-time, it enables existing traffic signal control (TSC) algorithms to maintain high efficiency—improving travel times by up to 50.43%—without requiring any alterations to the underlying control logic.
The Vulnerability of Smart Intersections
Modern Traffic Signal Control (TSC) is rapidly shifting from static timers to intelligent systems powered by Reinforcement Learning. These RL agents rely heavily on real-time data from cameras and radar to make optimal light-switching decisions. However, real-world deployments face significant challenges:
- Environmental Noise: Adverse weather conditions can blur or distort sensor data.
- Physical Damage: Hardware failures can lead to missing data, such as a completely "dead" lane sensor.
- Adversarial Attacks: Malicious actors can inject targeted noise (e.g., MAD or MinQ attacks) designed to trick the RL agent into making poor decisions, artificially inducing gridlock.
Existing solutions are often limited to offline data predictions (unable to adapt to live traffic changes) or are too brittle, defending against only one specific type of anomaly. There is a critical need for a real-time, general-purpose defense layer capable of handling both noise and missing data simultaneously.
The RobustLight Framework
To address these vulnerabilities, researchers introduce RobustLight, which acts as a protective pre-processor for any TSC algorithm.
Its core components include:
- Dynamic State Infilling (DSI) Agent: Utilizing an improved diffusion model based on a U-Net architecture, this agent learns the underlying distribution of "clean" traffic states. It is trained online alongside the traffic controller.
- Denoise Algorithm: When sensors are compromised by adversarial noise (such as Gaussian or Uniform noise), the DSI agent employs a reverse diffusion process to strip away the noise and recover the true traffic state.
- Repaint Algorithm: Inspired by image inpainting techniques, this handles missing data from damaged sensors. The algorithm uses the remaining known sensor data as a condition to "hallucinate" the missing values based on learned traffic patterns.
- Non-Markovian Loss Function: To ensure the restored data is part of a logical sequence rather than an isolated snapshot, the framework uses a loss function that balances current state recovery with future state predictions.
Crucially, RobustLight is designed to be plug-and-play. It sits seamlessly between the environment and the TSC agent, allowing city planners to harden existing algorithms like CoLight or MaxPressure without rewriting their core logic.
Evaluation and Key Insights
The researchers evaluated RobustLight using the CityFlow simulator on real-world road topologies and traffic flow data from JiNan and HangZhou in China, as well as a massive 192-intersection grid in New York, USA.
Key Findings
- Diffusion as a Universal Filter: While diffusion models are widely known for generating art, this research treats attacked data as a "noisy image." By reversing the noise process, the model successfully isolates the clean signal, regardless of whether the corruption was accidental or a sophisticated hack.
- Cross-City Generalization: A surprising finding was that a DSI model trained on JiNan's traffic could effectively protect a controller in New York. This suggests the model learns fundamental "traffic physics" rather than just memorizing a specific city map.
- Efficiency Recovery: In scenarios with heavy sensor interference, RobustLight improved Average Travel Time (ATT) by up to 50.43% compared to undefended baselines.
- Superiority over Baselines: RobustLight significantly outperformed traditional methods (like LSTMs) and standard Diffusion-QL in recovering from complex adversarial attacks like Maximum Action Difference (MAD) and Minimum Q-value (MinQ).
Limitations and Future Directions
While highly effective, the framework does face computational challenges. Diffusion models are iterative, requiring multiple steps to clean data. As noise levels increase, more steps are needed, which could introduce inference latency in a real-time system. Furthermore, running a U-Net-based diffusion model for every intersection in a large city requires significant GPU resources.
Future work will explore Denoising Diffusion Implicit Models (DDIM) to reduce the number of required inference steps, as well as investigate sub-region modeling to parallelize the workload for massive urban deployments.
Summary updated