General-purpose LLMs as Models of Human Driver Behavior: The Case of Simplified Merging
Organizations: Department of Transport and Planning, Delft University of Technology · Department of Cognitive Robotics, Delft University of Technology, The Netherlands
Abstract
Human behavior models are essential as behavior references and for simulating human agents in virtual safety assessment of automated vehicles (AVs), yet current models face a trade-off between interpretability and flexibility. General-purpose large language models (LLMs) offer a promising alternative: a single model potentially deployable without parameter fitting across diverse scenarios. However, what LLMs can and cannot capture about human driving behavior remains poorly understood. We address this gap by embedding two general-purpose LLMs (OpenAI o3 and Google Gemini 2.5 Pro) as standalone, closed-loop driver agents in a simplified one-dimensional merging scenario and comparing their behavior against human data using quantitative and qualitative analyses. Both models reproduce human-like intermittent operational control and tactical dependencies on spatial cues. However, neither consistently captures the human response to dynamic velocity cues, and safety performance diverges sharply between models. A systematic prompt ablation study reveals that prompt components act as model-specific inductive biases that do not transfer across LLMs. These findings suggest that general-purpose LLMs could potentially serve as standalone, ready-to-use human behavior models in AV evaluation pipelines, but future research is needed to better understand their failure modes and ensure their validity as models of human driving behavior.
Figures & tables
| Plan horizon | s | Memory window | s |
| Prompt rate | Hz | Temperature | [-] |
| Step | s | Vehicle length | 4.5 m |
| ID | Description (baseline) |
|---|---|
| C0 | Observations and task context (required): road type (merge vs. straight), vehicle length, relative distance/headway, ego and other velocities, and distance-to-merge when applicable. |
| C1 | History ( ): past ego accelerations and past observed other-vehicle velocities. |
| C2 | Previous acceleration plan : acceleration plan returned at the previous prompt, included to encourage plan continuity under re-planning. |
| C3 | Behavioral constraints : collision avoidance, human-likeness, conservative distance keeping, and periodic reassessment. |
| C4 | Tactical plan : explicit merge-first vs. yield choice before generating the continuous control plan (merging scenarios only). |
| C5 | Output schema (required): optional M/Y token, 2–3 sentence rationale, and a length- normalized acceleration array returned in a Python code block (array only). |
| b | SE | Z | p | |
|---|---|---|---|---|
| Intercept - H | -0.30 | 0.135 | -2.26 | 0.024 |
| Intercept - o3 | 0.44 | 0.340 | 1.29 | 0.198 |
| Intercept - G | 0.08 | 0.301 | 0.26 | 0.792 |
| Projected headway - H | 1.11 | 0.075 | 14.89 | |
| Projected headway - o3 | 1.11 | 0.243 | 4.56 | |
| Projected headway - G | 0.50 | 0.125 | 3.97 |
| Est. | SE | t | p | |
|---|---|---|---|---|
| Intercept - H | 3.54 | 0.146 | 24.30 | |
| Intercept - o3 | 8.14 | 0.483 | 16.86 | |
| Intercept - G | 2.73 | 0.335 | 8.16 | |
| Abs. projected headway - H | 0.17 | 0.034 | 5.00 | |
| Abs. projected headway - o3 | 0.46 | 0.114 | 4.03 | |
| Abs. projected headway - G | 0.40 | 0.082 | 4.95 |
| Indicator | H | o3 | Gemini 2.5 Pro |
| Qualitative | |||
| The probability of merging first increases with projected headway advantage. | |||
| The probability of merging first decreases with relative velocity advantage. | X | X | |
| The safety gap size is moderately positively affected by projected headway. | |||
| The safety gap size is not affected by initial relative velocity difference. | |||
| Drivers resolve the merging conflict with intermittent, piecewise-linear velocity profiles. | |||
| o3 | Gemini 2.5 Pro | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Setting | I1 | I2 | I3 | I4 | I5 | S | I1 | I2 | I3 | I4 | I5 | S |
| Baseline | ✓ | X | ✓ | ✓ | ✓ | 4/5 | ✓ | X | ✓ | ✓ | ✓ | 4/5 |
| A1 (-History) | ✓ | X | ✓ | ✓ | ✓ | 4/5 | ✓ | X | X | ✓ | ✓ | 3/5 |
| A2 (-Prev. acc. plan) | ✓ | ✓ | ✓ | ✓ | ✓ | 5/5 | ✓ | X | X | ✓ | X | 2/5 |
| A3 (-Safety) | ✓ | X | ✓ | ✓ | ✓ | 4/5 | ✓ | X | ✓ | ✓ | ✓ | 4/5 |
| A4 (-Human) | ✓ | X | ✓ | ✓ | ✓ | 4/5 | ✓ | X | ✓ | ✓ | ✓ | 4/5 |
| o3 | Gemini 2.5 Pro | |||||||
|---|---|---|---|---|---|---|---|---|
| Setting | Coll. (%) | Gap (m) | RMSE | Joint (%) | Coll. (%) | Gap (m) | RMSE | Joint (%) |
| Baseline | 0.00 | 9.28 | 1.34 | 94.50 | 25.45 | 3.84 | 0.70 | 42.68 |
| A1 (-History) | 2.73 | 9.29 | 1.30 | 95.33 | 38.18 | 4.82 | 0.85 | 76.47 |
| A2 (-Prev. acc. plan) | 2.73 | 10.63 | 1.50 | 100.00 | 16.36 | 5.14 | 0.86 | 47.83 |
| A3 (-Safety) | 3.64 | 9.06 | 1.24 | 98.11 | 30.91 | 3.68 | 0.63 | 47.37 |
| A4 (-Human) | 1.82 | 9.47 | 1.32 | 98.15 | 14.55 | 4.39 | 0.76 | 41.49 |