Auditing Latent-Space Monitors End-to-End Driving Functions

  • Subject:Automated Driving, Artificial Intelligence
  • Type:Masterarbeit
  • Date:Nach Absprache
  • Tutor:

    Anian Scheibel, M.Sc.

Master's Thesis

AI-generated

Thesis Topic

How can you tell that an end-to-end driving function is about to make a mistake? Does a monitor have to look inside the neural network for that – or does what the function outputs already reveal enough?

These questions are at the centre of the thesis on latent-space monitoring. You investigate whether monitors that evaluate the internal representations of an end-to-end planner predict failures more reliably than monitors that use only the outputs and the vehicle state. You compare both approaches in closed loop in simulation and under deliberately changed environmental conditions.

Depending on your interests and prior knowledge, the investigation can be extended to the planner's explicit intermediate representations, such as map vectors or forecasts of other road users, as a third source of information.

Background and Motivation

An end-to-end driving function maps camera images directly to a trajectory. In many situations this works impressively well. When it fails, however, there are hardly any intermediate steps at which the error could be detected early. Runtime monitors are meant to close this gap during operation: they check the planned trajectory before it is executed.

A monitor can work at different points: on the function's outputs, on its intermediate representations, or on the network's internal activations. Looking inside the network is costly, though. It requires access to the weights and ties the monitor to every model version – at the boundary between supplier and vehicle manufacturer, a real negotiation question. Recent work also shows that, in open loop, internal features bring no demonstrable advantage over outputs and vehicle state. Whether this also holds in closed loop and under changed conditions is open.

This makes the topic a source of exciting questions at the interface of artificial intelligence, vehicle architecture and reliable automated systems: What information does a monitor really need? When is access to the network's internals worth it? And how can you judge whether a monitor warns in time and without too many false alarms?

Objective of the Thesis

The goal is to robustly quantify the added value of access to internal representations for runtime monitoring of end-to-end driving functions in closed loop.

Building on an existing simulation environment, you develop and compare monitors and make visible

  • what is monitored, for example outputs and vehicle state, intermediate representations or latent features,
  • what triggers failures, for example weather, occlusion, traffic density or conditions outside the training distribution,
  • how the monitor decides, for example density-based or through supervised classifiers,
  • which goal is pursued, for example early warning of unsafe trajectories with as few false alarms as possible,
  • and how the benefit is assessed, in particular through a paired comparison with and without latent features in terms of detection rate, warning time and false-alarm rate.

The results show whether, and under which conditions, looking inside the network pays off for runtime monitoring.

Tasks

  • Reviewing current research on runtime monitoring of end-to-end driving functions
  • Distinguishing related concepts such as out-of-distribution detection, uncertainty estimation and trajectory-level monitoring
  • Familiarisation with the CARLA simulation environment and end-to-end planners
  • Implementing latent monitors and a strong baseline of outputs and vehicle state
  • Running experiment series under systematically varied environmental conditions
  • Statistical evaluation of detection rate, warning time and false-alarm rate
  • Scientific write-up in German or English
  • The exact scope and focus are agreed together and adapted to your interests and prior knowledge.

Qualifications

  • Studies in mechanical engineering, mechatronics, computer science, electrical engineering, industrial engineering or a comparable field
  • Interest in autonomous driving, artificial intelligence and the safety of AI-based systems
  • Analytical and structured way of working
  • Willingness to work your way into scientific publications and technical concepts
  • Good English skills, as most of the literature is available in English
  • Basic knowledge of machine learning and statistics is an advantage
  • Good programming skills in Python are required. Experience with a deep-learning framework such as PyTorch or with driving simulators such as CARLA is an advantage.

What We Offer

  • A current research topic at the interface of AI, runtime monitoring and automated driving
  • Close technical and methodological supervision
  • Room to choose focus areas and application scenarios
  • An introduction to the structured analysis and assessment of scientific approaches
  • The opportunity to build in-depth knowledge of runtime monitoring and its role in automated driving systems
  • For a Master's thesis, the opportunity to try out a selected approach in practice
  • The option to make further use of the results, for example in a journal or conference paper or in follow-up scientific work, depending on quality and interest

Starting date: By arrangement

Interested? Please contact anian scheibel ∂does-not-exist.kit edu and include your current transcript of records and CV.

 

Starter-Literature: 

Keywords: Runtime monitoring, artificial intelligence, automated driving, autonomous driving, end-to-end driving, machine learning, deep learning, latent space, failure prediction, out-of-distribution detection, SOTIF, intelligent vehicles