MDRC: A Deployable State-Recovery Defense for Traffic Signal Control under Sensor CorruptionMDRC: A Deployable State-Recovery Defense for Traffic Signal Control under Sensor Corruption
The authors propose MDRC, which inserts a diffusion-based state recovery layer between perception and control in traffic signal control, and the authors claim an average ATT reduction of 6.77% (random and policy-aware attacks) and 12.75% (sensor missingness) on seven CityFlow benchmarks.
The attacker targets the observation vector st that the perception layer outputs to the controller, injecting perturbations through sensor corruption, communication interruption, or partial sensor failure, with the goal of increasing congestion or travel time; perturbations are constrained by intensity k or an ℓ∞ ball. It considers random attacks that do not use controller internal information, as well as policy-aware black-box attacks that can query the policy and observe actions or value estimates but have no access to parameters or gradients. The defense assumes that an upstream anomaly detection module has flagged suspicious observations, and MDRC is responsible for post-detection state recovery, without assuming any oracle clean state or attack labels.
- Traffic signal control (TSC) relies on real-time perception, and adversarial perturbations or sensor failures directly degrade control decisions along the perception-to-control chain. The authors argue that existing robust RL methods (such as RobustLight) have limited cross-city generalization, high inference latency, and weak recovery under partial observability, and are robust learning methods rather than explicit defense mechanisms.
- MDRC is a post-detection state recovery layer inserted between perception and control: it uses Reptile to meta-learn a transferable recovery model initialization on source cities, uses DDIM to quickly reconstruct corrupted states at inference time, and then uses Repaint to complete missing channels, with the recovered state handed to an unmodified downstream controller.
- On seven CityFlow benchmarks, MDRC reduces ATT by an average of 6.77% under random and policy-aware attacks, and improves by an average of 12.75% relative to RobustLight under sensor missingness; denoising and de-masking latency are reduced by 87.9% and 91.9%, respectively; the HIL run has 99.79% decision availability over 9.16 hours. Under NewYork1 Mask zero-shot transfer, MDRC is worse than RobustLight.
- The authors state that future directions are joint detection-recovery pipelines and real-world deployment feedback under multi-intersection coordination. The experiments cover seven CityFlow datasets, SUMO Cologne8, a segment of real roadside trajectories, and a HIL testbed; the detector sensitivity analysis only varies recall with precision fixed at 100%, and does not evaluate false-alarm triggering.
- Evaluated models
- MDRCAdvanced-CoLightAdvanced-MplightAdvanced-Maxpressureπ-LightFuzzyLight
- Benchmarks
- CityFlow(JiNan1/2/3、HangZhou1/2、NewYork1/2 共 7 个真实路网数据集)SUMO Cologne8真实路侧检测器轨迹(3,600 秒)硬件在环(HIL)交通信号测试床
- Metrics
- Average Travel Time (ATT)AWTThroughputWaitingPSNRMAE推理时延(ms)Decision availability
MDRC is a state-recovery defense between perception and control, using DDIM and Reptile meta-learning to reconstruct trustworthy traffic states under adversarial attacks and sensor failures. On seven CityFlow benchmarks, random and policy-aware attacks and structural sensor missingness reduced average travel time by 6.77% and 12.75%, respectively. In 32,389 perception/control cycles in hardware-in-the-loop, the decision availability rate was 99.79%, requiring about 38 ms per 1-second control interval.
Paper analysis
What problem does this paper attempt to solve?
Addresses the problem of post-detection state recovery after TSC perception is contaminated, so that unmodified controllers can still work under attacks and sensor failures.
Core problem: after the perception layer of traffic signal control (TSC) is contaminated by adversarial perturbations or sensor failures, how to recover a trustworthy traffic state before control decisions.
- Scenario and importance: TSC is a safety-critical cyber-physical system that relies on cameras, loop detectors and radar to estimate queue lengths and occupancy; the authors argue that noisy measurements, sensor outages or observation-layer adversarial perturbations translate directly into wrong signal phase decisions, amplifying congestion.
- Shortcomings of existing methods: the authors state that robust RL methods represented by RobustLight have three shortcomings: they are trained per city and hard to deploy across cities; inference and adaptation overhead is high, making them hard to insert into real-time control loops; and they are essentially robust learning methods rather than explicit security mechanisms for the perception-to-control interface.
- Core observation: the authors argue that real deployments usually already have anomaly detection or sensor health monitoring modules, and the key problem is how to mitigate contamination after detection flags something suspicious but before the controller acts; this post-detection recovery problem is largely independent of attack detection itself.
- What the paper proposes: MDRC (Meta-Diffusion-based framework for Resilient traffic signal Control), a post-detection state recovery defense inserted between perception and control, combining Reptile meta-learning with fast DDIM sampling, and provides an optimization-perspective explanation of DDIM recovery dynamics and a recovery error bound.
- Threat model (Section IV):
- Goal: increase congestion or travel time by contaminating observations.
- Knowledge: random attacks do not use controller internal information; policy-aware black-box attacks can query the deployed policy and observe actions or value estimates, but have no access to parameters or gradients.
- Capability: perturbations are bounded by strength k or an ℓ∞ ball; they can cause sensor contamination, communication outages or partial failures; attacks on controller logic, model parameters, rewards, training data or execution hardware are not considered.
- Victim system: the perception-to-control interface of a deployed TSC system; the defense assumes an upstream detector has flagged suspicious observations, and does not assume an oracle clean state or attack labels.
What related research exists?
Related work covers TSC control methods, meta-learning, diffusion models and cyber-physical recovery; the authors position MDRC as a post-detection recovery layer.
TSC control methods
- Rule-based and adaptive methods: FixedTime [9], SCOOT [10], SCATS [11], RHODES [12] dynamically reduce delay; cybernetic methods Max Pressure [13], Efficient Pressure [14] provide robustness but rely on simplified assumptions (as stated in the paper).
- RL methods: IntelliLight [16], PressLight [17], CoLight, MetaLight [6], etc. have become mainstream; recent work explores multi-agent coordination [18] and multimodal or hierarchical representations [19–22], and the paper states that most still rely on fixed handcrafted state features.
Meta-learning and cross-city TSC
- Meta-learning methods: latent embedding optimization [25], differentiable convex optimization [26], implicit gradients [27, 28], sparsity-aware adaptation [29]; MetaDiff [31] proposes a task-conditioned diffusion framework.
- Meta-learning in TSC: MetaLight [6] and CrossLight [32] use meta-learning for fast adaptation and cross-scenario generalization, and the paper points out that they neglect safety issues in TSC.
Diffusion models
- Generative modeling and training stability improvements [7, 33–36]; recently diffusion has been extended to robust decision-making: DiffLight [37] handles missing data in TSC, RobustLight [3] performs policy robustness, and DMBP [38] performs offline RL under noisy states. The paper points out that these algorithms have slow inference speed, are difficult to deploy in practice, and their reconstruction performance is still unsatisfactory.
Cyber-physical system recovery
- Recovery methods for UAVs and robotic vehicles [39, 40] usually recover the state or control actions of a single mobile platform; forged connected-vehicle data can manipulate signal decisions [41, 42], and traffic data anomaly detection [43] provides complementary upstream capability.
- Baselines and benchmarks: the comparison methods are FixedTime, Advanced-Maxpressure, Advanced-CoLight, Advanced-Mplight (based on FRAP) and RobustLight; MDRC is evaluated as a recovery layer attached to these controllers; the benchmarks are 7 datasets in total on CityFlow—JiNan, HangZhou, NewYork—plus SUMO Cologne8.
The authors distinguish MDRC from these works: it focuses on post-detection recovery in network infrastructure systems, before the controller is modified; compared with classical model estimators such as Kalman filtering [44], the authors state that MDRC targets nonlinear cross-city distributions, heterogeneous contamination and structured channel missingness, and does not require calibrating a dynamics model separately for each city.
How does the paper address this problem?
MDRC uses Reptile to meta-learn a cross-city initialization in parameter space, uses DDIM to perform inference-time recovery in state space, and then uses Repaint to complete missing channels.
Overall idea: treat each city as a task; the MDRC outer loop aggregates a shared initialization over source cities, and the inner loop performs a small amount of fine-tuning on the target city; at deployment, the trained diffusion recovery model acts as a plugin layer to reconstruct the state and then hand it to the original controller.
Problem setting
- Source cities provide offline perception and control trajectories; the target city is deployed zero-shot or provides a small number of measured state sequences for few-shot adaptation; the goal is to transfer a shared recovery model that reconstructs trustworthy states under corrupted or missing observations.
- MDRC does not transfer, retrain, or replace the downstream TSC policy; at runtime, after the upstream detector flags suspicious observations, MDRC reconstructs ŝt from the corrupted observation s̃t and forwards it to the original controller, compatible with both RL and rule-based controllers.
Connection between DDIM recovery dynamics and Reptile
- The authors rewrite the DDIM sampling step as xt−1 = xt − ηϵθ(t)(xt) + (γ − 1)xt + ξϵ, i.e., noise-conditioned, time-varying gradient-like descent: ϵθ gives the gradient-like recovery direction, (γ−1)xt introduces momentum, and ξϵ controls randomness.
- The authors emphasize that this connection is interpretive rather than an equivalence: γ and ξ are derived analytically from the diffusion schedule and are not Reptile-style learned parameters; Reptile handles cross-city meta-training in parameter space, and DDIM handles inference-time recovery in state space.
- Theorem 1 gives the recovery error bound W2(p0, q0) ≤ Cscore√(Ldiff(θ)) + CdiscΔ t + CinitW2(pT, qT), separating three terms: score estimation error, numerical discretization error, and initialization mismatch; Reptile does not appear separately in the bound, and its role is to indirectly reduce the first term through meta-training (proof in Appendix A).
Meta-learning pipeline (Algorithm 1)
- Collect trajectories from each training city and aggregate them into a global offline corpus Dmeta, minimize the diffusion loss Ldiff (Eq. 7), and penalize the mismatch between predicted noise and true noise over windows of length N+M, conditioned on the previous action and state trajectory.
- In each outer loop, run k inner-loop update steps for each of the N source tasks to obtain ϕ, then use meta learning rate µ to update the shared initialization θ toward the average task-adapted parameters; meta-training uses only offline data with no environment interaction, and is frozen for deployment after convergence.
- Key hyperparameters (Appendix B, Table XI): diffusion time steps 100, non-Markovian steps 6, meta learning rate µ=0.1, diffusion training learning rate 0.0003 (Adam), meta/single epochs 25/90.
Inference-time recovery: denoising and Repaint (Algorithm 2)
- Denoising: at each diffusion time step j, the network receives the current noisy observation, the previous estimated state ct−1, and j, and iteratively reconstructs the state from j=T to 1 according to the DDIM rule (Eq. 10).
- Repaint: for missing sensors, a binary mask m distinguishes known from unknown channels; the known part is sampled via forward diffusion (Eq. 11), the unknown part is updated via conditional reverse updates (Eq. 12), and after merging, the full state is iteratively reconstructed; the algorithm includes K iterations, each with U inner steps.
- The downstream controller remains unchanged in both modes.
Success criteria and evaluation method
- The main metric is Average Travel Time (ATT) over 60-minute simulations, supplemented by AWT, throughput, average waiting vehicles, PSNR/MAE (recovery fidelity), and inference latency; unless noted otherwise, results are averages of 10 independent runs.
What experiments did the paper conduct?
On seven CityFlow benchmarks plus real roadside trajectories and a HIL testbed, attack robustness, transfer, latency and recovery fidelity are evaluated around six RQs.
Experimental Setup
- Controllers under test: FixedTime, Advanced-Maxpressure, Advanced-CoLight, Advanced-Mplight (based on FRAP); FuzzyLight in HIL; π-Light in the supplementary recovery fidelity experiment. MDRC is attached as a recovery layer and does not modify the controllers' internal logic.
- Baselines: the undefended base of each controller, and RobustLight (robust RL defense).
- Datasets: 7 real road network datasets on CityFlow—JiNan1/2/3 (12 intersections, 3×4), HangZhou1/2 (16 intersections, 4×4), NewYork1/2 (192 intersections, 28×7); SUMO Cologne8 for transfer experiments; plus 3,600 seconds of real roadside detector trajectories and a HIL testbed.
- Attacks: random attacks (Gaussian, U-rand, strength 3.5/4.0), policy-aware adaptive attacks (MAD, MinQ), sensor availability attacks (Mask 25% corresponding to sensorW failure, 50% corresponding to simultaneous failure of sensorW and sensorE).
- Metrics and repetitions: ATT (60-minute simulation) is primary; unless noted, results are averages of 10 independent runs, and Table VI and Table VIII are averages of 5 runs.
- Hardware: both training and inference require only a single RTX 4090.
Main Results
Excerpt from Table II (JiNan1/JiNan3/HangZhou2, ATT, lower is better):
Swipe horizontally to read the table
Dataset Attack Advanced-CoLight base RobustLight MDRC JiNan1 Gaussian 3.5 316.96±4.63 328.38±3.90 282.26±1.35 JiNan1 MinQ 4.0 520.99±115.29 387.87±62.70 286.29±2.57 JiNan3 U-rand 4.0 490.09±44.06 344.34±14.80 288.89±3.16 HangZhou2 MAD 4.0 528.74±28.18 339.41±8.00 344.82±2.94 - The authors report that MDRC reduces ATT by an average of 6.77% under random and adaptive attacks, with a maximum single improvement of 26.18% (JiNan1, Advanced-CoLight, MinQ attack); Tables III and IV show the improvement holds for both rule-based and RL controllers.
- The improvement is not universal: e.g., under HangZhou2 MAD 4.0, MDRC (344.82) is worse than RobustLight (339.41, Table II); under JiNan1 U-rand 4.0, Advanced-Maxpressure+MDRC (334.73) is worse than its base (321.26, Table III).
- On this basis the authors call MDRC a state-recovery defense rather than a heuristic targeting specific noise.
Sensor Missing (RQ2)
- Table V: under Mask attacks, MDRC improves on RobustLight by an average of 12.75%; in the worst setting, HangZhou1 with 50% corruption, the improvement reaches 52.13%.
- Counterexamples: under JiNan2 50% masking, Advanced-Maxpressure+MDRC (912.18) is worse than RobustLight (755.51, Table V); under JiNan1 25% masking, MDRC (315.25) is worse than RobustLight (296.50).
- The authors state that MDRC is most valuable in the more severe 50% masking regime, improving worst-case behavior.
Cross-City Transfer (RQ3)
- Table VI (average of 5 runs): for transfer between JiNan/HangZhou, zero-shot MDRC outperforms RobustLight in several heavy-noise settings (especially MAD and Mask), and the few-shot version with 100 target samples is generally best, which the authors say often recovers or exceeds clean-data performance.
- Table VIII: meta-trained on JiNan/HangZhou, with zero-shot and 50-sample few-shot adaptation on Cologne8, few-shot consistently outperforms zero-shot under Gaussian and U-rand (both EMV and REV vehicle types).
- Failure cases: Figure 6 shows MDRC worse than RobustLight under NewYork1 Mask; in Table XIII, few-shot MDRC (1130.83) under NewYork1 Mask-25% is also worse than RobustLight (1098.55). The authors believe transfer under structured severe missingness still depends on target-domain similarity, and speculate it may relate to graph-centralized controllers propagating local errors.
Ablation, Latency and Recovery Fidelity (RQ4–RQ6)
- Ablation (Figure 8): compares four variants—DDIM+online training, DDPM+offline (DMBP), MDRC+DDPM, and full MDRC; the authors state both meta-learning and DDIM are necessary—the former improves recovery quality, the latter ensures speed. Figure 9: in few-shot transfer, a meta learning rate of 0.1 and 100 diffusion steps give the best trade-off.
- Latency (Table IX): relative to RobustLight, denoising latency drops 87.9% and unmasking latency drops 91.9% (e.g., JiNan1 Gaussian from 131.52 ms to 33.40 ms); Table X shows training wall-clock time grows approximately linearly with the number of cities and diffusion steps, with stable peak memory (163.06 MiB).
- Recovery fidelity (RQ6): average improvement of 10.57% under Kriging Missing and Random Missing (both 12.5%) (Figure 10); Figure 11 shows PSNR/MAE better than RobustLight in most settings; Figure 12 shows consistent improvement on π-Light under Gaussian and U-rand as well.
Other Ablations and Analyses
- HIL (Table I): 9.16 hours, 32,389 perception/control cycles, decision availability 99.79%, valid recommendations 32,319/32,388, unplanned recommendations 0; MDRC inference is about 28 ms, combined latency about 38 ms (3.8% of the one-second cycle).
- Real trajectories (Figure 5): under 50% controlled channel missingness, both zero-shot and few-shot MDRC reconstruct more temporal structure than unrecovered input, and few-shot further lowers MAE.
- Detector sensitivity (Appendix C, Table XII): under 50% missingness, precision 100%, recall 60%/80%, at JiNan1 recall 80% ATT drops 45.2% and throughput rises 37.8%; at HangZhou1 few-shot recall 80% ATT drops 19.7%; improvement remains at recall 60% (3 paired trials).
- NewYork at scale (Table XIII): under Gaussian and U-rand on NewYork1/2, few-shot MDRC outperforms RobustLight; Mask-25% fails on NewYork1 and improves on NewYork2.
What are some points that can be further explored?
The authors plan to explore joint detection-recovery pipelines and multi-intersection coordinated deployment; experiments cover simulation, real trajectories, and HIL, but the detector analysis only tests missed detections.
Limitations and future directions noted by the authors
- Future work will explore a joint detection-and-recovery pipeline (Section VIII Conclusion).
- Future work will explore real-world deployment feedback under multi-intersection coordination (Section VIII Conclusion).
- The authors note that NewYork1 Mask zero-shot transfer is a failure case, and argue that transfer under severe structured missingness still depends on target-domain similarity, "helping to delineate the current boundaries of defense" (RQ3 and Appendix D).
- The authors note that the detector sensitivity analysis only varies recall with precision fixed at 100%, so it evaluates missed detections rather than recovery triggered by false alarms (Appendix D).
Scope of experimental coverage
- The controllers tested are four types: FixedTime, Advanced-Maxpressure, Advanced-CoLight, and Advanced-Mplight (FuzzyLight in HIL, π-Light in the fidelity supplementary experiment); the only baseline defense is RobustLight.
- Attacks cover random (Gaussian, U-rand, two intensity levels), adaptive (MAD, MinQ), and Mask missingness (25%/50%); the threat model explicitly does not cover attacks on controller logic, model parameters, rewards, training data, or execution hardware (Section IV).
- Simulation results are averages of 10 independent runs (Table VI and VIII are 5 runs); the detector sensitivity experiment uses 3 paired trials.
- Real-data validation consists of a 3,600-second morning-peak trajectory at a single anonymous intersection (12 movement-level channels, controlled 50% missingness) and a HIL testbed at the same location (9.16 hours).
- The paper does not report the joint impact of the upstream anomaly detector's own detection rate or false-positive rate on the end-to-end system (in the experiments, MDRC acts directly on the attacked observations to isolate recovery robustness).
Summarize the main content of the paper
MDRC inserts a diffusion-based state recovery layer between perception and control, recovering trustworthy states under attacks and sensor failures while maintaining real-time performance.
A defense paper for traffic signal control (TSC): addressing adversarial perturbations and sensor failures at the observation layer, it proposes a post-detection state recovery mechanism, MDRC.
- Problem: The perception-to-control chain in TSC is an attack surface, and corrupted observations directly degrade phase decisions; the authors argue that robust RL methods such as RobustLight have limited cross-city generalization, high latency, and are not explicit interface defenses.
- Method: MDRC is inserted between perception and an unmodified controller, using Reptile to meta-learn a transferable initialization on source cities, DDIM to quickly reconstruct states at inference time, and Repaint to complete missing channels; the authors provide a gradient-like descent interpretation of DDIM sampling and a recovery error bound that separates three types of error.
- Main results:
- On seven CityFlow benchmarks, average ATT drops by 6.77% under random and policy-aware attacks, with a maximum single improvement of 26.18% (JiNan1, Advanced-CoLight, MinQ).
- Under sensor missingness, average improvement relative to RobustLight is 12.75%, reaching 52.13% under 50% corruption on HangZhou1; however, some individual settings such as JiNan2 50% masking are worse than RobustLight.
- Denoising and de-masking inference latency are reduced by 87.9% and 91.9%, respectively; on the HIL testbed over 9.16 hours and 32,389 cycles, decision availability is 99.79%, unplanned suggestions are 0, and combined latency is about 38 ms.
- Cross-city transfer is generally effective, but under NewYork1 Mask zero-shot it is worse than RobustLight, which the authors list as a failure case.
- Authors' conclusion: MDRC turns diffusion from an ML robustness technique into a deployable defense layer and is a practical plugin-style defense; future directions are joint detection-recovery pipelines and real-world deployment feedback under multi-intersection coordination.