TraffiCoT-R: A framework for advanced spatio-temporal reasoning in large language models

Spatio-temporal prediction investigates dynamic patterns in urban areas, including traffic flow, population movement, and infrastructure development and change. Most of the existing methods, however, require massive historical labeled data to train domain-specific models for a particular area of interest, which leads to inefficiency and reduced generalizability across different real-world environments. Such constraints call for models with high generalizability across different spatio-temporal applications. In this study, we introduce TraffiCoT-R, a prompt-based method that models the spatio-temporal relationships efficiently with LLMs. TraffiCoT-R integrates Spatio-Temporal Feature Importance Rotation (ST-FIR), a feature selection method, with a Feature Definition Module to enable contextualized reasoning and a multi-step iteration framework to enhance prediction. Such developments enable robust performance in zero-shot and few-shot configurations. Experiments on PeMS, NYCTaxi, NYCBike, and CHITaxi demonstrate that TraffiCoT-R outperforms state-of-the-art baselines on all the above-mentioned datasets in zero-shot configurations. These results show the potential of unifying LLMs with spatio-temporal frameworks for data-efficient, scalable city analysis.

Authors

Institutions

Publication Details

Journal
Alexandria Engineering Journal
Published
2025-06-03
DOI
https://doi.org/10.1016/j.aej.2025.05.027
Primary Topic
Data Management and Algorithms
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TraffiCoT-R: A framework for advanced spatio-temporal reasoning in large language models

Tariq Alsahfi, Kaleem Ullah Qasim
Alexandria Engineering Journal
Data Management and Algorithms
article

TraffiCoT-R: A framework for advanced spatio-temporal reasoning in large language models

Tariq Alsahfi, Kaleem Ullah Qasim
article en

Abstract

Spatio-temporal prediction investigates dynamic patterns in urban areas, including traffic flow, population movement, and infrastructure development and change. Most of the existing methods, however, require massive historical labeled data to train domain-specific models for a particular area of interest, which leads to inefficiency and reduced generalizability across different real-world environments. Such constraints call for models with high generalizability across different spatio-temporal applications. In this study, we introduce TraffiCoT-R, a prompt-based method that models the spatio-temporal relationships efficiently with LLMs. TraffiCoT-R integrates Spatio-Temporal Feature Importance Rotation (ST-FIR), a feature selection method, with a Feature Definition Module to enable contextualized reasoning and a multi-step iteration framework to enhance prediction. Such developments enable robust performance in zero-shot and few-shot configurations. Experiments on PeMS, NYCTaxi, NYCBike, and CHITaxi demonstrate that TraffiCoT-R outperforms state-of-the-art baselines on all the above-mentioned datasets in zero-shot configurations. These results show the potential of unifying LLMs with spatio-temporal frameworks for data-efficient, scalable city analysis.

Alexandria Engineering JournalVol. 128
University of Jeddah (SA), Southwest Jiaotong University (CN)
Ministry of Education – Kingdom of Saudi Arabi
Openalex Percentile: Top 86%
Data Management and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

TraffiCoT-R: A framework for advanced spatio-temporal reasoning in large language models — Tariq Alsahfi, Kaleem Ullah Qasim · Alexandria Engineering Journal (2025) | TGRS Research Map | TGRS