cs.ROOct 9, 2025

Injecting Hallucinations in Autonomous Vehicles: A Component-Agnostic Safety Evaluation Framework

Authors: Alexandre Moreira Nascimento, Gabriel Kenji Godoy Shimanuki, Lúcio Flavio Vismari, João Batista Camargo, Jorge Rady de Almeida, Paulo Sergio Cugnasca, Anna Carolina Muller Queiroz, Jeremy Noah Bailenson

Organizations: Escola Politécnica da Universidade de São Paulo, São Paulo 05508-010, Brazil · Center for Design Research, Department of Mechanical Engineering, Stanford, CA 94305 USA · Department of Communication, University of Miami, Coral Gables, FL 33124 USA · Department of Communication, Stanford University, Stanford, CA 94305 USA

Abstract

Perception failures in autonomous vehicles (AV) remain a major safety concern because they can directly compromise decision-making and contribute to unsafe behavior. To study how these failures affect safety, researchers typically inject artificial faults into real-world or simulated components and observe the resulting outcomes. However, existing fault injection (FI) studies often target a single sensor within the machine perception (MP) module, resulting in siloed frameworks that are difficult to generalize or integrate into unified simulation environments. This work addresses that limitation by reframing perception failures as hallucinations, that is, false perceptions that distort an AV's situational awareness and may trigger unsafe control actions. Building on this concept, we propose a configurable, component-agnostic hallucination injection framework that induces six plausible hallucination types in an open-source simulation environment. A total of 18,356 simulations (8,695 baseline and 9,661 with hallucinations injected) were executed while AVs crossed an unsignalized intersection with transversal traffic. The results statistically validate the framework and quantify the impact of each hallucination type on collisions and on the minimum distance between the AV and the nearest vehicle, used as a continuous proxy for the safety margin. Certain hallucinations, especially missed detection, blind region, angular drift, phantom perception, and latency, significantly increase the odds of collision, while linear drift significantly reduces minimum distances without producing a statistically significant increase in collision odds in the evaluated scenario. The proposed framework provides a scalable and statistically grounded method for evaluating AV safety under perception distortions and supports future research on fault tolerance and resilient AV design.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. A Causal Probabilistic Framework for Perception-Informed Closed-Loop Simulation of Autonomous Driving

    Jun 5, 2026Zhennan Fei, Rickard Johansson, Mikael Andersson +12Autonomous Driving PerceptionAutonomous Driving Simulation

  2. A Mixed-Reality Testbed for Autonomous Vehicles

    Jun 17, 2026H. M. Sabbir Ahmad, Ehsan Sabouni, Emrullah Celik +4Autonomous Driving PlanningAutonomous Driving Simulation

  3. CRASH: Cognitive Reasoning Agent for Safety Hazards in Autonomous Driving

    Mar 16, 2026Erick Silva, Rehana Yasmin, Ali ShokerAutonomous Driving Safety EvaluationAgent Failure Analysis