TimeCAP: Learning to Contextualize, Augment, and Predict Time Series Events with Large Language Model Agents
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SciTS: Scientific Time Series Understanding and Generation with LLMs cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- SciTS: Scientific Time Series Understanding and Generation with LLMs cites iTransformer: Inverted Transformers Are Effective for Time Series Forecasting
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting cites Language Models are Few-Shot Learners
- Large Language Models are Zero-Shot Reasoners cites Language Models are Few-Shot Learners
- Reasoning on Time-Series for Financial Technical Analysis cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- Reasoning on Time-Series for Financial Technical Analysis cites One Fits All: Power General Time Series Analysis by Pretrained LM
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites Language Models are Few-Shot Learners
- TRACE: Grounding Time Series in Context for Multimodal Embedding and Retrieval cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- TRACE: Grounding Time Series in Context for Multimodal Embedding and Retrieval cites iTransformer: Inverted Transformers Are Effective for Time Series Forecasting
- TRACE: Grounding Time Series in Context for Multimodal Embedding and Retrieval cites One Fits All: Power General Time Series Analysis by Pretrained LM
- One Fits All: Power General Time Series Analysis by Pretrained LM cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- One Fits All: Power General Time Series Analysis by Pretrained LM cites Language Models are Few-Shot Learners
Cited by top-tier papers9
- SciTS: Scientific Time Series Understanding and Generation with LLMsWen Wu, Ziyang Zhang, Liwei Liu, Xuenan Xu et al.ICLR 2026 · 11 citations
- TRACE: Grounding Time Series in Context for Multimodal Embedding and RetrievalJialin Chen, Ziyu Zhao, Gaukhar Nurbek, Aosong Feng et al.NeurIPS 2025 · 8 citations
- HEARTS: Benchmarking LLM Reasoning on Health Time SeriesSirui Li, Shuhan Xiao, Mihir Joshi, Ahmed Metwally et al.ICML 2026 · 7 citations
- LLMs as World Models: Data-Driven and Human-Centered Pre-Event Simulation for Disaster Impact AssessmentLingyao Li, Dawei Li, Zhenhui Ou, Xiaoran Xu et al.EMNLP 2025 · 5 citations
- Reasoning on Time-Series for Financial Technical AnalysisKelvin J. L. Koa, Jan Chen, Yunshan Ma, Huanhuan Zheng et al.ICLR 2026 · 5 citations
Builds on23
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series ForecastingHaixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng LongNeurIPS 2021 · 5,824 citations
- iTransformer: Inverted Transformers Are Effective for Time Series ForecastingYong Liu, Tengge Hu, Haoran Zhang, Haixu Wu et al.ICLR 2024 · 1,703 citations
- One Fits All: Power General Time Series Analysis by Pretrained LMTian Zhou, Peisong Niu, Xue Wang, Liang Sun et al.NeurIPS 2023 · 1,178 citations
Related papers
- TimeXL: Explainable Multi-modal Time Series Prediction with LLM-in-the-LoopYushan Jiang, Wenchao Yu, Geon Lee, Dongjin Song et al.NeurIPS 2025 · 2 citations
- TsLLM: Augmenting LLMs for General Time Series Understanding and PredictionFelix Parker, Nimeesha Chan, Chi Zhang, Kimia GhobadiICML 2026 · 3 citations
- ExoTimer: Leveraging Large Language Models for Time Series Forecasting with Exogenous VariablesLan Wu, Xuebin Wang, Chenglong Ge, Ruijuan Chu et al.AAAI 2026
- DualSG: A Dual-Stream Explicit Semantic-Guided Multivariate Time Series Forecasting FrameworkKuiye Ding, Fanda Fan, Yao Wang, Ruijie Jian et al.ACM MM 2025 · 6 citations
- ChatTime: A Unified Multimodal Time Series Foundation Model Bridging Numerical and Textual DataChengsen Wang, Qi Qi, Jingyu Wang, Haifeng Sun et al.AAAI 2025 · 109 citations
