Empowering Large Language Models for Time Series Forecasting with Patterns and Semantics

Jialiang Tang, Shuo Chen, Chen Gong, Jing Zhang, Dacheng Tao2025

Abstract

Time Series Forecasting (TSF) is critical in many real-world domains like financial planning and health mon-itoring. Recent studies have revealed that Large Language Models (LLMs), with their powerful in-contextual modeling capabilities, hold significant potential for TSF. However, existing LLM-based methods usually perform suboptimally because they neglect the inherent characteristics of time series data. Unlike the textual data used in LLM pre-training, the time series data is semantically sparse and comprises distinctive tempo-ral patterns. To address this problem, we propose LLM-PS to empower the LLM for TSF by learning the fundamental Patterns and meaningful Semantics from time series data. Our LLM-PS incorporates a new multi-scale convolutional neural network adept at capturing both short-term fluctuations and long-term trends within the time series. Meanwhile, we introduce a time-to-text module for extracting valuable semantics across continuous time intervals rather than isolated time points. By integrating these patterns and semantics, LLM - PS effectively models temporal dependencies, enabling a deep comprehension of time series and delivering accurate forecasts. Intensive exper-imental results demonstrate that LLM-PS achieves state-of-the-art performance in both short- and long-term forecasting tasks, as well as in few- and zero-shot settings. Code is available at https://github.com/tangjialiang97ILLMPS.
BibTeX
@misc{tang2025empowering,
  author = {Jialiang Tang and Shuo Chen and Chen Gong and Jing Zhang and Dacheng Tao},
  title = {{Empowering Large Language Models for Time Series Forecasting with Patterns and Semantics}},
  year = {2025},
  doi = {10.1109/icdm65498.2025.00081},
}
Figure