Investigating Planning Attacks against End-to-End Autonomous Driving
Abstract
End-to-end autonomous driving systems (E2E ADSs) achieve state-of-the-art driving performance and increasingly replace conventional modular driving pipelines. These systems optimize multiple transformer modules (e.g., MapFormer and MotionFormer) jointly through a shared latent space to process sensor data and output planning trajectories. This shared architecture fundamentally changes the attack surface compared to conventional ADSs. However, it remains largely unexplored how manipulation of raw sensor inputs propagates through the latent space to induce unsafe trajectories, and whether decoded observable outputs provide reliable anomaly signals for attack detection. In this paper, we introduce JANUS, an adversarial framework that abstracts recent E2E ADSs into a unified model, investigates how attacks can manipulate shared latent representations to induce unsafe planning, and examines whether decoded observable outputs can support consistency-based detection. To achieve these goals, we first formulate a joint objective function that generates input perturbations or patches to force planning failures. We then introduce constraints within this function to maintain the decoded outputs close to their clean states. Lastly, we adapt principles from existing consistency-based defenses for E2E ADSs to assess whether they can detect attacks generated with and without these constraints. We use the JANUS framework to evaluate three recent E2E ADSs (GenAD, VAD, and UniAD) on the nuScenes dataset. JANUS forces severe planning failures: it increases the baseline collision rate by a factor of 15 (up to 49.8%) and the off-road rate by a factor of 90 (up to 13.8%). Crucially, it achieves these failures while limiting the relative degradation in detection and map scores to below 20%, substantially weakening the observable signals used by consistency-based defenses. Through this effort, we provide a framework for systematically analyzing shared-latent vulnerabilities in E2E ADSs and informing the design of more robust defenses.