Introduction
Deep Reinforcement Learning (DRL) has significantly advanced autonomous driving capabilities. However, these systems often operate as "black boxes" vulnerable to adversarial attacks. Researchers from the University of Cagliari and Huawei have addressed this safety gap by developing a failsafe anomaly detector that monitors internal neural activations to identify adversarial threats in real-time.
The Vulnerability of DRL in Autonomous Driving
Adversarial attacks involve applying "minimal perturbations"—noise so subtle it may be mistaken for sensor interference—to input data such as camera or LIDAR readings. These perturbations can hijack an agent's decision-making process, forcing dangerous behaviors like sudden braking or erratic lane changes. Existing defenses often struggle with "zero-day" attacks or require fully-observable environments, which are impractical for real-world driving.
Proposed Methodology: Semi-Supervised Novelty Detection
The authors propose a Semi-Supervised Novelty Detection (SSND) framework designed to define "normal" behavior and flag deviations as potential threats.
- Agent Training: A driving agent was trained using Proximal Policy Optimization (PPO) within a highway simulator.
- Feature Extraction: Rather than monitoring raw inputs, the detector analyzes the internal activations of the neural network's hidden layers. These activations capture the agent's underlying logic, which becomes irregular under attack even if the input appears normal.
- Anomaly Detection: Eleven different algorithms (e.g., One-Class SVM, KNN, Isolation Forests) were evaluated for their ability to score these activations.
- Failsafe Mechanism: If an anomaly score exceeds a predefined threshold, the system triggers a failsafe action, such as moving the vehicle to an emergency lane and stopping.
Experimental Setup
The study utilized the highway-env simulator. The training set consisted of 1,500 episodes of "clean" driving. Testing involved 1,000 normal episodes and 1,000 attacked episodes for three specific attack types: Brake (forced stopping), Speed (maximum acceleration), and Lane-changing (erratic zig-zagging).
Key Results and Analysis
The proposed detection framework demonstrated exceptional performance across various attack scenarios.
Detection Performance
Most algorithms, including One-Class SVM (OCSVM), KNN, and PCA, achieved a perfect Area Under the Curve (AUC) of 1.00 at higher perturbation strengths. Even simpler statistical methods like Histogram-based Outlier Detection (HBOS) maintained AUCs above 0.90, indicating that adversarial manipulation creates distinct signatures within the network's hidden layers.
Safety Impact
The practical benefit of the detector is most evident in crash prevention. In the "Speed" attack scenario, an undefended agent's crash rate approached 100% as perturbation strength increased. Implementing the OCSVM detector (at a 10% False Positive Rate) effectively neutralized the threat, reducing the crash rate to near zero.
Conclusion and Future Directions
This research highlights that internal neural activations are a rich source of information for detecting adversarial manipulation. By training only on safe driving data, the SSND framework remains robust against unseen attack strategies with minimal computational overhead.
Future work will explore "adversarial policies" (malicious behavior by other vehicles), the integration of temporal features to detect long-term subtle attacks, and the development of more sophisticated failsafe maneuvers for high-speed traffic environments.
Summary updated