English

Conversational Code Generation: a Case Study of Designing a Dialogue System for Generating Driving Scenarios for Testing Autonomous Vehicles

Computation and Language 2025-09-09 v3 Information Retrieval Robotics

Abstract

Cyber-physical systems like autonomous vehicles are tested in simulation before deployment, using domain-specific programs for scenario specification. To aid the testing of autonomous vehicles in simulation, we design a natural language interface, using an instruction-following large language model, to assist a non-coding domain expert in synthesising the desired scenarios and vehicle behaviours. We show that using it to convert utterances to the symbolic program is feasible, despite the very small training dataset. Human experiments show that dialogue is critical to successful simulation generation, leading to a 4.5 times higher success rate than a generation without engaging in extended conversation.

Keywords

Cite

@article{arxiv.2410.09829,
  title  = {Conversational Code Generation: a Case Study of Designing a Dialogue System for Generating Driving Scenarios for Testing Autonomous Vehicles},
  author = {Rimvydas Rubavicius and Antonio Valerio Miceli-Barone and Alex Lascarides and Subramanian Ramamoorthy},
  journal= {arXiv preprint arXiv:2410.09829},
  year   = {2025}
}

Comments

In Proceedings of GeCoIn 2025: Generative Code Intelligence Workshop, co-located with ECAI-2025

R2 v1 2026-06-28T19:19:29.810Z