STBench: Assessing the Ability of Large Language Models in Spatio-Temporal Analysis

Wenbin Li, Di Yao, Ruibo Zhao, Wenjie Chen, Zijie Xu +5 more
6/27/2024
cs.CL

Official code: LwbXc/STBench (25 stars, MIT, last commit 2025-09-10).

Abstract

The rapid evolution of large language models (LLMs) holds promise for reforming the methodology of spatio-temporal data mining. However, current works for evaluating the spatio-temporal understanding capability of LLMs are somewhat limited and biased. These works either fail to incorporate the latest language models or only focus on assessing the memorized spatio-temporal knowledge. To address this gap, this paper dissects LLMs' capability of spatio-temporal data into four distinct dimensions: knowledge comprehension, spatio-temporal reasoning, accurate computation, and downstream applications. We curate several natural language question-answer tasks for each category and build the benchmark dataset, namely STBench, containing 13 distinct tasks and over 60,000 QA pairs. Moreover, we have assessed the capabilities of 13 LLMs, such as GPT-4o, Gemma and Mistral. Experimental results reveal that existing LLMs show remarkable performance on knowledge comprehension and spatio-temporal reasoning tasks, with potential for further enhancement on other tasks through in-context learning, chain-of-though prompting, and fine-tuning. The code and datasets of STBench are released on https://github.com/LwbXc/STBench.

View on arXivView PDF

Code Implementations(1)

LwbXc/STBenchOfficial100%
MIT
254PythonJun 5, 20241 years agoMIT

Similar Papers

Cite this paper

@article{li2024stbench,
  title  = {STBench: Assessing the Ability of Large Language Models in Spatio-Temporal Analysis},
  author = {Wenbin Li and Di Yao and Ruibo Zhao and Wenjie Chen and Zijie Xu and Chengxue Luo and Chang Gong and Quanliang Jing and Haining Tan and Jingping Bi},
  year   = {2024},
  eprint = {2406.19065},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.19065v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.19065.svg)](https://codeofpaper.com/paper/2406.19065)

Discussion