REARL: A Closed-loop Autonomous Driving Simulation Enhancement Framework with Real Traffic Data and Large Language Models
Xiaojun Bi, Jun Jiang, Yiwen Sun, Quanyi Ou, Yizhi Ma, Ke Cheng, Mingjie Bi, Yexin Li, Bowen Du
Abstract
Accurate simulation is crucial for autonomous driving development, yet capturing real-world traffic complexity remains challenging. Existing simulators that rely on predefined rules or static data playback struggle with dynamic traffic. CRITICAL uses real traffic data and a large language model (LLM) to adjust the initial simulation configuration, but the simulated distribution still diverges from real traffic as the rollout evolves. We propose REARL, a closed-loop simulation enhancement framework that integrates real traffic data with LLMs. Real traffic data are clustered, and each cluster center is used as a representative scenario that provides typical real-world traffic patterns for the LLM. A timed sliding-window detector then monitors discrepancies in vehicle speed distribution and mean spacing between pairs of vehicles. If a metric exceeds a threshold, the LLM adjusts vehicle decision-making; otherwise the existing controller is kept. The LLM also selects a matching real vehicle from a traffic snapshot and modulates the simulated vehicle with reference to that real action. In a controlled HighD highway setting, compared with the CRITICAL baseline and a PPO-based learning baseline, REARL reduces the Hellinger distance for speed distributions to 0.3067 and the MAPE for mean spacing to 0.8371, while achieving a time headway (THW) of 22.8575 and a lane change rate of 0.0708.
Create a lesson
Metadata
- Comments
- 14 pages, 8 figures, 3 tables. Corresponding author: Yiwen Sun. This work was supported by the National Natural Science Foundation of China (Grant No. 62503015)
Related papers
ReAgent: Closed-Loop Self-Healing for Open-Weight Tool-Calling Agents, from Structural Hallucinations to Decision Errors
Shared title terminologycs.LGCharlie Galvin, Katie Kitchen, Chiara Picardi
Detecting Pretraining Data in Large Language Models from a Free-Energy Perspective
Shared title terminologycs.LGChenye Ke, Zirui Liu, Qi Liu et al.
Electrode-level artifact simulation and corruption-aware gated reconstruction of the 12-lead ECG, with real-noise and paper-ECG external validation
Shared title terminologycs.LGSanjoy Das Joy, Arfatul Islam Asif, Unayes Ahmed Khan et al.
QuadML: A General-Purpose, Open-Source Executable Machine Learning Framework for Tabular Data
Shared title terminologycs.LGHamed Mirzakhani, Giovanni Baj, Pooya Mohammadi Kazaj et al.
WaveFront Decoding: Parallelized Self-Speculative Decoding for Looped Language Models
Shared title terminologycs.LGHyeongju Ha, Jae-Joon Kim
SWE-Proof: Can Language Models Resolve Real-World Issues with Machine-Checked Proofs?
Shared title terminologycs.LGGeorge Ma, Benjamin Mikek, Haoyu Li et al.