Lune

ISSTA2024Top-tier venue

DiaVio: LLM-Empowered Diagnosis of Safety Violations in ADS Simulation Testing

You Lu, Yifan Tian, Yuyang Bi, Bihuan Chen, Xin Peng

Abstract

Simulation testing has been widely adopted by leading companies to ensure the safety of autonomous driving systems (ADSs). A number of scenario-based testing approaches have been developed to generate diverse driving scenarios for simulation testing, and demonstrated to be capable of finding safety violations. However, there is no automated way to diagnose whether these violations are caused by the ADS under test and which category these violations belong to. As a result, great effort is required to manually diagnose violations.

To bridge this gap, we propose DiaVio to automatically diagnose safety violations in simulation testing by leveraging large language models (LLMs). It is built on top of a new domain specific language (DSL) of crash to align real-world accident reports described in natural language and violation scenarios in simulation testing. DiaVio fine-tunes a base LLM with real-world accident reports to learn diagnosis capability, and uses the fine-tuned LLM to diagnose violation scenarios in simulation testing. Our evaluation has demonstrated the effectiveness and efficiency of DiaVio in violation diagnosis.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Decictor: Towards Evaluating the Robustness of Decision-Making in Autonomous Driving Systems cites DriveFuzz: Discovering Autonomous Driving Bugs through Driving Quality-Guided Fuzzing
  • Decictor: Towards Evaluating the Robustness of Decision-Making in Autonomous Driving Systems cites MOSAT: finding safety violations of autonomous driving systems using multi-objective genetic algorithm
  • Decictor: Towards Evaluating the Robustness of Decision-Making in Autonomous Driving Systems cites Testing of autonomous driving systems: where are we and where should we go?
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Decictor: Towards Evaluating the Robustness of Decision-Making in Autonomous Driving SystemsMingfei Cheng, Xiaofei Xie, Yuan Zhou, Junjie Wang et al.ICSE 2025 · 4 citations
  2. E-Test: E'er-Improving Test SuitesKetai Qiu, Luca Di Grazia, Leonardo Mariani, Mauro PezzèICSE 2026
  3. Argus: Resilience-Oriented Safety Assurance Framework for End-to-End ADSsDingji Wang, You Lu, Bihuan Chen, Shuo Hao et al.ASE 2025

Builds on14

  1. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  2. BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger et al.ICLR 2020 · 8,443 citations
  3. Testing of autonomous driving systems: where are we and where should we go?Guannan Lou, Yao Deng, Xi Zheng, Mengshi Zhang et al.FSE 2022 · 85 citations
  4. 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
  5. DriveFuzz: Discovering Autonomous Driving Bugs through Driving Quality-Guided FuzzingSeulbae Kim, Major Liu, Junghwan John Rhee, Yuseok Jeon et al.CCS 2022 · 65 citations

Related papers

  1. SAFE: Harnessing LLM for Scenario-Driven ADS Testing from Multimodal Crash DataSiwei Luo, Yang Zhang, Yao Deng, Linfeng Liang et al.ICSE 2026
  2. Poirot: Automatic Root Cause Analysis of Safety Violations in ADS Simulation Testing via Hypothetical ReasoningYou Lu, Dingji Wang, Kun Zhang, Bihuan Chen et al.ISSTA 2026
  3. LeGEND: A Top-Down Approach to Scenario Generation of Autonomous Driving Systems Assisted by Large Language ModelsShuncheng Tang, Zhenya Zhang, Jixiang Zhou, Lei Lei et al.ASE 2024 · 17 citations
  4. Simulation-Based Validation for Autonomous Driving SystemsChangwen Li, Joseph Sifakis, Qiang Wang, Rongjie Yan et al.ISSTA 2023 · 17 citations
  5. Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and Many-Objective OptimizationFitash Ul Haq, Donghwan Shin, Lionel C. BriandICSE 2022 · 77 citations
Dusk over the sea between two cliffs drawn in fine vertical lines