TimeCAP: Learning to Contextualize, Augment, and Predict Time Series Events with Large Language Model Agents

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lee, Geon, Yu, Wenchao, Shin, Kijung, Cheng, Wei, Chen, Haifeng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909532292120576
author Lee, Geon
Yu, Wenchao
Shin, Kijung
Cheng, Wei
Chen, Haifeng
author_facet Lee, Geon
Yu, Wenchao
Shin, Kijung
Cheng, Wei
Chen, Haifeng
contents Time series data is essential in various applications, including climate modeling, healthcare monitoring, and financial analytics. Understanding the contextual information associated with real-world time series data is often essential for accurate and reliable event predictions. In this paper, we introduce TimeCAP, a time-series processing framework that creatively employs Large Language Models (LLMs) as contextualizers of time series data, extending their typical usage as predictors. TimeCAP incorporates two independent LLM agents: one generates a textual summary capturing the context of the time series, while the other uses this enriched summary to make more informed predictions. In addition, TimeCAP employs a multi-modal encoder that synergizes with the LLM agents, enhancing predictive performance through mutual augmentation of inputs with in-context examples. Experimental results on real-world datasets demonstrate that TimeCAP outperforms state-of-the-art methods for time series event prediction, including those utilizing LLMs as predictors, achieving an average improvement of 28.75% in F1 score.
format Preprint
id arxiv_https___arxiv_org_abs_2502_11418
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TimeCAP: Learning to Contextualize, Augment, and Predict Time Series Events with Large Language Model Agents
Lee, Geon
Yu, Wenchao
Shin, Kijung
Cheng, Wei
Chen, Haifeng
Artificial Intelligence
Machine Learning
Time series data is essential in various applications, including climate modeling, healthcare monitoring, and financial analytics. Understanding the contextual information associated with real-world time series data is often essential for accurate and reliable event predictions. In this paper, we introduce TimeCAP, a time-series processing framework that creatively employs Large Language Models (LLMs) as contextualizers of time series data, extending their typical usage as predictors. TimeCAP incorporates two independent LLM agents: one generates a textual summary capturing the context of the time series, while the other uses this enriched summary to make more informed predictions. In addition, TimeCAP employs a multi-modal encoder that synergizes with the LLM agents, enhancing predictive performance through mutual augmentation of inputs with in-context examples. Experimental results on real-world datasets demonstrate that TimeCAP outperforms state-of-the-art methods for time series event prediction, including those utilizing LLMs as predictors, achieving an average improvement of 28.75% in F1 score.
title TimeCAP: Learning to Contextualize, Augment, and Predict Time Series Events with Large Language Model Agents
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2502.11418