How Can Large Language Models Understand Spatial-Temporal Data?

Lei Liu, Shuo Yu, Runze Wang, Zhenxun Ma, Yanming Shen
1/25/2024
cs.LGcs.CL

No confident code implementation found for this paper. 10 possible matches can be shown below.

Abstract

While Large Language Models (LLMs) dominate tasks like natural language processing and computer vision, harnessing their power for spatial-temporal forecasting remains challenging. The disparity between sequential text and complex spatial-temporal data hinders this application. To address this issue, this paper introduces STG-LLM, an innovative approach empowering LLMs for spatial-temporal forecasting. We tackle the data mismatch by proposing: 1) STG-Tokenizer: This spatial-temporal graph tokenizer transforms intricate graph data into concise tokens capturing both spatial and temporal relationships; 2) STG-Adapter: This minimalistic adapter, consisting of linear encoding and decoding layers, bridges the gap between tokenized data and LLM comprehension. By fine-tuning only a small set of parameters, it can effectively grasp the semantics of tokens generated by STG-Tokenizer, while preserving the original natural language understanding capabilities of LLMs. Extensive experiments on diverse spatial-temporal benchmark datasets show that STG-LLM successfully unlocks LLM potential for spatial-temporal forecasting. Remarkably, our approach achieves competitive performance on par with dedicated SOTA methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 10 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2024large,
  title  = {How Can Large Language Models Understand Spatial-Temporal Data?},
  author = {Lei Liu and Shuo Yu and Runze Wang and Zhenxun Ma and Yanming Shen},
  year   = {2024},
  eprint = {2401.14192},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.14192v2}
}

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/2401.14192.svg)](https://codeofpaper.com/paper/2401.14192)

Discussion