Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TsLLM: Augmenting LLMs for General Time Series Understanding and Prediction

About

Time series data is fundamental to decision-making across many domains including healthcare, finance, power systems, and logistics. However, analyzing this data correctly often requires incorporating unstructured contextual information, answering domain-specific questions, and generating natural language explanations - capabilities that traditional time series models lack. While Large Language Models (LLMs) excel at contextual reasoning and knowledge integration, they struggle with numerical time series due to inefficient text-based representations and limited exposure to numerical data during pretraining. We address this gap by augmenting an LLM with specialized time series perception through a patch-based encoder-decoder architecture. We train this Time Series augmented LLM (TsLLM) on a large corpus of over 25 billion tokens of interleaved time series and text spanning diverse tasks: forecasting with contextual information, question-answering, anomaly detection, classification, report generation, and more, all unified as next token prediction. This training enables TsLLM to leverage both its language understanding and newly acquired temporal reasoning capabilities. While not designed to surpass specialized models on traditional benchmarks, TsLLM demonstrates strong performance on tasks requiring the integration of time series analysis with natural language - capabilities that existing approaches cannot provide. It also exhibits strong zero-shot and few-shot performance, showing it can adapt to new data without additional training.

Felix Parker, Nimeesha Chan, Chi Zhang, Kimia Ghobadi• 2025

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionMSL
F173.3
46
Contextual forecastingContext Is Key
SMAPE64.5
20
ForecastingGIFT-Eval Univariate
Relative MAPE0.78
13
ForecastingElectricity 480
Relative MAPE0.73
13
ForecastingElectricity 720
Relative MAPE0.74
13
ForecastingGIFT-Eval L Horizon
Relative MAPE0.96
13
ForecastingGIFT-Eval M Horizon
Relative MAPE0.93
13
ForecastingGIFT-Eval All
Relative MAPE0.87
13
ForecastingGIFT-Eval Multivariate
Relative MAPE0.97
13
ForecastingM4 hourly 48
Relative MAPE0.65
13
Showing 10 of 16 rows

Other info

Follow for update