Applied Sciences

LLM-Assisted Spatio-Temporal Analysis of Traffic Accidents: A Case Study of Trabzon

Deniztan Ulutaş Karakol

Key points

From the paper's conclusion
  • This study integrates spatial statistics, interpretable machine learning, and evidence-constrained large language model (LLM) interpretation to examine police-recorded traffic crashes in Trabzon, Türkiye (2023–2024).

Abstract

This study integrates spatial statistics, interpretable machine learning, and evidence-constrained large language model (LLM) interpretation to examine police-recorded traffic crashes in Trabzon, Türkiye (2023–2024). From 3486 reported records, 3478 geographically validated observations were retained for spatial analyses. Kernel density estimation (KDE), density-based spatial clustering of applications with noise (DBSCAN), Moran’s I, and Getis–Ord Gi* characterized crash concentrations and spatial dependence. A 35-feature geographic information system (GIS)-enhanced CatBoost classifier was compared with a 27-feature baseline for recorded crash-type classification, with Shapley additive explanations (SHAP) used for interpretability. GPT-6 synthesized 46 source-linked evidence statements; the response underwent 57 claim-level checks and evaluation by one independent, non-blinded GIS specialist. KDE used a cross-validated 250 m bandwidth, while DBSCAN identified 121 clusters at 50 m and MinPts = 5. Global Moran’s I was 0.447 (p = 0.001); false-discovery-rate-adjusted analyses identified 134 High–High cells and 150 Gi* hot-spot cells. CatBoost macro F1 increased from 0.581 to 0.620 on a previously examined random test split, whereas temporal evaluation yielded 0.571. The specialist rated the LLM response 271/300 (4.52/5). The framework enables traceable synthesis and conditional safety screening without establishing exposure-adjusted crash risk, causal effects, or generalizable LLM accuracy.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

LLM-Assisted Spatio-Temporal Analysis of Traffic Accidents: A Case Study of Trabzon — Science Skim