Lune

ICSE2026Top-tier venue

DeFT: Maintaining Determinism and Extracting Unit Tests for Autonomous Driving Planning

Yuqi Huai, Yuntianyi Chen, Ziwen Wan, Qi Alfred Chen, Joshua Garcia

Abstract

An Autonomous Driving System (ADS) is a complex software system often composed of multiple modules, each responsible for its own set of tasks. The ADS planning module is responsible for planning the autonomous vehicle’s future driving trajectories and has historically been the most buggy ADS module. In recent years, many approaches have been proposed to test an ADS in complex virtual scenarios through simulation, and these scenarios have been effective in revealing the ADS’s suboptimal decisions. However, due to the randomness of events that occur during the real-time execution of an ADS, test scenarios tend to produce varying outcomes and, in turn, make ADS testing non-deterministic, flaky, and unpredictable. To address this challenge, we propose and evaluate DeFT, an approach that extracts deterministic test cases for the ADS planning module from non-deterministic system-level scenario tests. DeFT monitors the messages exchanged by ADS modules during the execution of system-level scenario tests and reconstructs inputs to reproduce the planning module’s execution. By using DeFT, we find that planning module tests can (1) more accurately reproduce planning module executions that occurred during system-level scenario tests, (2) be used to deterministically detect the same 658 collision failures revealed by system-level scenario tests, and (3) reduce the time needed to reproduce failures by 43.69% to 77.64%.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Prunario: Testing Autonomous Driving Systems by Pruning Likely Redundant ScenariosMinsu Kim, Sunbeom So, Hakjoo OhOOPSLA 2026
  2. MoDitector: Module-Directed Testing for Autonomous Driving SystemsRenzhi Wang, Mingfei Cheng, Xiaofei Xie, Yuan Zhou et al.ISSTA 2025 · 3 citations
  3. Doppelgänger Test Generation for Revealing Bugs in Autonomous Driving SoftwareYuqi Huai, Yuntianyi Chen, Sumaya Almanee, Tuan Ngo et al.ICSE 2023 · 35 citations
  4. SoVAR: Build Generalizable Scenarios from Accident Reports for Autonomous Driving TestingAn Guo, Yuan Zhou, Haoxiang Tian, Chunrong Fang et al.ASE 2024 · 12 citations
  5. ACAV: A Framework for Automatic Causality Analysis in Autonomous Vehicle Accident RecordingsHuijia Sun, Christopher M. Poskitt, Yang Sun, Jun Sun et al.ICSE 2024 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines