LLM-Assisted Spatio-Temporal Analysis of Traffic Accidents: A Case Study of Trabzon
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.
Authors
- Deniztan ULUTAŞ KARAKOL (ORCID: https://orcid.org/0000-0002-2131-1057)
Institutions
- Karadeniz Technical University (TR)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-11-27
- DOI
- https://doi.org/10.3390/app162311790
- Primary Topic
- Traffic and Road Safety
- Type
- article
- Field-Weighted Citation Impact
- 0.00