Are We Stuck? Modeling and Detecting Deadlocks in Multi-autonomous Vehicle Systems
Mingfei Cheng, Xiaofei Xie, Lili Quan, Yuan Zhou
Abstract
Autonomous driving system (ADS) testing is essential to ensure the safety and reliability of autonomous vehicles (AVs) prior to deployment. As ADSs are increasingly deployed in multi-AV traffic environments, it becomes crucial to assess their cooperative performance, particularly with respect to deadlock, a fundamental liveness issue in concurrent systems that can lead to traffic congestion and prolonged stalling. However, the analysis and testing of ADSs’ cooperative capabilities with respect to deadlock remain largely underexplored. In this work, we present the first systematic study of deadlock in multi-AV systems. We formalize deadlock in autonomous driving using a time-indexed wait-for relation grounded in vehicles’ planned trajectories and road-region occupancy. Building on this formalization, we propose WaitWatch, a wait-for-oriented testing framework that steers scenario generation via spatio-temporal intersection alignment of executed trajectories to induce circular wait patterns. WaitWatch integrates a Deadlock Judge, Intersection Alignment Feedback, and Intersection Oriented Mutation to efficiently uncover latent deadlock scenarios. We conduct an extensive evaluation on three representative ADSs. Experimental results show that, on average, WaitWatch generates 2.28× as many deadlock scenarios (DLSs) as the best-performing baseline. By shifting the focus from single- AV evaluation to multi-AV cooperation, our approach identifies a range of previously unknown deadlock behaviors, revealing significant limitations in the cooperative and liveness capabilities of current ADSs. Our findings highlight a fundamental safety–liveness trade-off in deadlock resolution and demonstrate the need for systematic deadlock-aware testing in the development and validation of autonomous driving systems.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 7991eafa-985f-4fe3-94da-b5b6977c4e4eRelated papers
- Targeting Requirements Violations of Autonomous Driving Systems by Dynamic Evolutionary SearchYixing Luo, Xiao-Yi Zhang, Paolo Arcaini, Zhi Jin et al.ASE 2021 · 38 citations
- MOSAT: finding safety violations of autonomous driving systems using multi-objective genetic algorithmHaoxiang Tian, Yan Jiang, Guoquan Wu, Jiren Yan et al.FSE 2022 · 74 citations
- Doppelgänger Test Generation for Revealing Bugs in Autonomous Driving SoftwareYuqi Huai, Yuntianyi Chen, Sumaya Almanee, Tuan Ngo et al.ICSE 2023 · 35 citations
- MoDitector: Module-Directed Testing for Autonomous Driving SystemsRenzhi Wang, Mingfei Cheng, Xiaofei Xie, Yuan Zhou et al.ISSTA 2025 · 3 citations
- Misconfiguration Software Testing for Failure Emergence in Autonomous Driving SystemsYuntianyi Chen, Yuqi Huai, Shilong Li, Changnam Hong et al.FSE 2024 · 8 citations
