Back to search

Chalmers University of Technology

Enhancing safety in AI-based object detection for autonomous vehicles through out-of-distribution monitoring

Abstract

dc:description.abstract

The advent of Artificial Intelligence (AI) has revolutionized the automotive industry, introducing advanced functionalities such as object detection in autonomous vehicles. However, the inherent weaknesses of AI systems—including prediction uncertainties, limited interpretability, and susceptibility to adversarial attacks—pose significant safety risks. Existing safety standards like ISO 26262 and ISO 21448 are inadequate for addressing the non-deterministic and probabilistic nature of AI systems. This thesis addresses these challenges by developing and implementing a novel monitoring mechanism based on out-of-distribution (OOD) anomaly detection to enhance the reliability and safety of AI-based object detection systems in autonomous driving. A comprehensive simulation platform was developed using the Carla software to generate street scene images, ensuring complete data autonomy and enabling future scenario simulations for robust validation. The methodology compared the direct use of training images with the extraction and analysis of feature values from hidden layers of deep learning models. Through iterative testing and scenario-based clustering, a feature distance method based on hidden layer outputs was identified as an effective metric for implementing the monitoring mechanism. This approach enhances the system’s ability to detect anomalies and distributional shifts in real-time, addressing safety concerns associated with AI unpredictability. Experimental results demonstrate a global negative correlation between model performance and feature distance, effectively identifying outliers—such as irrelevant animal images—that deviate significantly from the operational design domain data. The feature distance method improves the detection rate of out-of-distribution samples, proving its industrial applicability within the simulation environment. While real-world testing was not conducted in this study, future work will focus on validating the proposed mechanism in actual autonomous driving systems. This thesis contributes to the research field by introducing a viable safety strategy for AI-implemented automotive functions, aligning with emerging safety standards tailored for AI systems. The proposed monitoring approach holds potential for patent development and future integration into Advanced Driver-Assistance Systems (ADAS) and Autonomous Driving (AD) products. Future research will extend this mechanism to other AI functionalities and explore its scalability and efficiency in real-world scenarios.

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för elektroteknik
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Chen, Yongzhao
  • Wang, Luming
Advisor dc:contributor.supervisor
  • Ji, Qinglei
Committee member dc:contributor.committeemember
  • Fabian, Martin

Subjects

dc:subject × 6

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
EENX30

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Chen, Yongzhao; Wang, Luming. Enhancing safety in AI-based object detection for autonomous vehicles through out-of-distribution monitoring. H thesis, 2025. https://hdl.handle.net/20.500.12380/309065