Mo Jia, Qixiu Cheng, Chengkun Tao, Yetao Hu, Qi Hong, Wenzhe Cheng, Zhiyuan Liu
{"title":"A physics-informed train on synthetic and test on real method for evaluating large language model-generated safety-critical traffic scenarios","authors":"Mo Jia, Qixiu Cheng, Chengkun Tao, Yetao Hu, Qi Hong, Wenzhe Cheng, Zhiyuan Liu","doi":"10.1111/mice.70071","DOIUrl":null,"url":null,"abstract":"Corner cases, which are rare and high-risk scenarios such as safety-critical behaviors in autonomous vehicle operations, present significant modeling challenges due to their low occurrence probability and limited data availability. Large language models (LLMs) offer new potential for synthesizing such scenarios, but existing evaluation metrics are inadequate because corner case data typically lack one-to-one mapping to real samples and have extremely limited instances. To address this, we propose a two-stage evaluation framework, that is, a physics-informed train on synthetic and test on real (PI-TSTR) framework. Using safety-critical car-following (CF) scenarios as an example, we design a prompting and interpolation strategy to guide LLMs in generating physically feasible synthetic follower trajectories from real leading vehicle inputs. We then evaluate the generated data by training several CF models, that is, extended S-shaped three-parameter (ES3) model, Gipps model, optimal velocity model (OVM), improved full velocity difference model (IFVDM), intelligent driver model (IDM), and testing their performances on real-world data. The CF models trained on LLM-generated trajectories show strong generalization to real scenarios, validating the quality of the synthetic data. This framework provides a physics-grounded approach for evaluating LLM-generated data in safety-critical, data-scarce domains.","PeriodicalId":156,"journal":{"name":"Computer-Aided Civil and Infrastructure Engineering","volume":"316 1","pages":""},"PeriodicalIF":9.1000,"publicationDate":"2025-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer-Aided Civil and Infrastructure Engineering","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1111/mice.70071","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Corner cases, which are rare and high-risk scenarios such as safety-critical behaviors in autonomous vehicle operations, present significant modeling challenges due to their low occurrence probability and limited data availability. Large language models (LLMs) offer new potential for synthesizing such scenarios, but existing evaluation metrics are inadequate because corner case data typically lack one-to-one mapping to real samples and have extremely limited instances. To address this, we propose a two-stage evaluation framework, that is, a physics-informed train on synthetic and test on real (PI-TSTR) framework. Using safety-critical car-following (CF) scenarios as an example, we design a prompting and interpolation strategy to guide LLMs in generating physically feasible synthetic follower trajectories from real leading vehicle inputs. We then evaluate the generated data by training several CF models, that is, extended S-shaped three-parameter (ES3) model, Gipps model, optimal velocity model (OVM), improved full velocity difference model (IFVDM), intelligent driver model (IDM), and testing their performances on real-world data. The CF models trained on LLM-generated trajectories show strong generalization to real scenarios, validating the quality of the synthetic data. This framework provides a physics-grounded approach for evaluating LLM-generated data in safety-critical, data-scarce domains.
期刊介绍:
Computer-Aided Civil and Infrastructure Engineering stands as a scholarly, peer-reviewed archival journal, serving as a vital link between advancements in computer technology and civil and infrastructure engineering. The journal serves as a distinctive platform for the publication of original articles, spotlighting novel computational techniques and inventive applications of computers. Specifically, it concentrates on recent progress in computer and information technologies, fostering the development and application of emerging computing paradigms.
Encompassing a broad scope, the journal addresses bridge, construction, environmental, highway, geotechnical, structural, transportation, and water resources engineering. It extends its reach to the management of infrastructure systems, covering domains such as highways, bridges, pavements, airports, and utilities. The journal delves into areas like artificial intelligence, cognitive modeling, concurrent engineering, database management, distributed computing, evolutionary computing, fuzzy logic, genetic algorithms, geometric modeling, internet-based technologies, knowledge discovery and engineering, machine learning, mobile computing, multimedia technologies, networking, neural network computing, optimization and search, parallel processing, robotics, smart structures, software engineering, virtual reality, and visualization techniques.