Proceedings

From Values to Tokens: An LLM-Driven Framework for Context-Aware Time Series Forecasting via Symbolic Discretization

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 3043-3051.

https://doi.org/10.24963/ijcai.2026/338

Abstract

Time series forecasting plays a vital role in supporting decision-making across a wide range of critical applications, including energy, healthcare, and finance. Despite recent advances, forecasting accuracy remains limited due to the challenge of integrating historical numerical sequences with contextual features, which often comprise unstructured textual data. To address this challenge, we propose TokenCast, a large language model (LLM) driven framework that leverages language-based symbolic representations as a unified intermediary for context-aware time series forecasting. Specifically, TokenCast employs a discrete tokenizer to transform continuous numerical sequences into temporal tokens, enabling structural alignment with language-based inputs. To effectively bridge the semantic gap between modalities, both temporal and contextual tokens are embedded into a shared representation space via a pre-trained LLM, further optimized with generative objectives. Building upon this unified semantic space, the aligned LLM is subsequently fine-tuned in a supervised manner to predict future temporal tokens, which are then decoded back into the original numerical space. Extensive experiments on real-world datasets demonstrate the effectiveness of our framework and highlight its potential as a generative framework for context-aware time series forecasting. The code is available at https://github.com/Xiaoyu-Tao/TokenCast.

  1. [Cao et al., 2024] Defu Cao, Furong Jia, Sercan O Arik, Tomas Pfister, Yixiang Zheng, Wen Ye, and Yan Liu. Tempo: Prompt-based generative pre-trained transformer for time series forecasting. In The Twelfth International Conference on Learning Representations, 2024.
  2. [Chang et al., 2025] Ching Chang, Wei-Yao Wang, Wen- Chih Peng, and Tien-Fu Chen. Llm4ts: Aligning pre-trained llms as data-efficient time-series forecasters. ACM Transactions on Intelligent Systems and Technology, 16(3):1-20, 2025.
  3. [Chen and Guestrin, 2016] Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowl- edge discovery and data mining, pages 785-794, 2016.
  4. [Cheng and others, 2025a] Mingyue Cheng et al. A compre- hensive survey of time series forecasting: Concepts, chal- lenges, and future directions, 2025. TechRxiv preprint. Cheng and others, 2025b] Mingyue Cheng et al. Instruc- time: Advancing time series classification with multi- modal language modeling. In Proceedings of the Eigh- teenth ACM International Conference on Web Search and Data Mining, pages 792-800, 2025.
  5. [Cheng et al., 2025a] Mingyue Cheng, Xiaoyu Tao, Qi Liu, Hao Zhang, Yiheng Chen, and Defu Lian. Cross-domain pre-training with language models for transferable time series representations. In Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining, pages 175-183, 2025.
  6. [Cheng et al., 2025b] Mingyue Cheng, Jiqian Yang, Tingyue Pan, Qi Liu, Zhi Li, and Shijin Wang. Convtimenet: A deep hierarchical fully convolutional model for multivari- ate time series analysis. In Companion Proceedings of the ACM on Web Conference 2025, pages 171-180, 2025.
  7. [Dong et al., 2023] Jiaxiang Dong, Haixu Wu, Haoran Zhang, Li Zhang, Jianmin Wang, and Mingsheng Long. Simmtm: A simple pre-training framework for masked time-series modeling. Advances in Neural Information Processing Systems, 36:29996-30025, 2023.
  8. [Feng et al., 2019] Fuli Feng, Xiangnan He, Xiang Wang, Cheng Luo, Yiqun Liu, and Tat-Seng Chua. Temporal re- lational ranking for stock prediction. ACM Transactions on Information Systems (TOIS), 37(2):1-30, 2019.
  9. [Gasthaus et al., 2019] Jan Gasthaus, Konstantinos Benidis, Yuyang Wang, Syama Sundar Rangapuram, David Sali- nas, Valentin Flunkert, and Tim Januschowski. Probabilis- tic forecasting with spline quantile function rnns. In The 22nd international conference on artificial intelligence and statistics, pages 1901-1910. PMLR, 2019.
  10. [Holt, 2004] Charles C Holt. Forecasting seasonals and trends by exponentially weighted moving averages. In- ternational journal of forecasting, 20(1):5-10, 2004.
  11. [Hu et al., 2025] Yuxiao Hu, Qian Li, Dongxiao Zhang, Jinyue Yan, and Yuntian Chen. Context-alignment: Ac- tivating and enhancing llms capabilities in time series. In The Thirteenth International Conference on Learning Rep- resentations, 2025.
  12. [Hyndman and Khandakar, 2008] Rob J Hyndman and Yeas- min Khandakar. Automatic time series forecasting: the forecast package for r. Journal of statistical software, 27:1-22, 2008.
  13. [Jia et al., 2024] Furong Jia, Kevin Wang, Yixiang Zheng, Defu Cao, and Yan Liu. Gpt4mts: Prompt-based large language model for multimodal time-series forecasting. In Proceedings of the AAAI Conference on Artificial Intelli- gence, volume 38, pages 23343-23351, 2024.
  14. [Jiang et al., 2025] Yushan Jiang, Kanghui Ning, Zijie Pan, Xuyang Shen, Jingchao Ni, Wenchao Yu, Anderson Schneider, Haifeng Chen, Yuriy Nevmyvaka, and Dongjin Song. Multi-modal time series analysis: A tutorial and survey. In Proceedings of the 31st ACM SIGKDD Con- ference on Knowledge Discovery and Data Mining V. 2, pages 6043-6053, 2025.
  15. [Jin et al., 2024] Ming Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu, James Zhang, Xiaoming Shi, Pin-Yu Chen, Yuxuan Liang, Yuan-Fang Li, Shirui Pan, et al. Time-llm: Time se- ries forecasting by reprogramming large language models. In International conference on learning representations, volume 2024, pages 23857-23880, 2024.
  16. [Kalekar and others, 2004] Prajakta S Kalekar et al. Time series forecasting using holt-winters exponential smooth- ing. Kanwal Rekhi school of information Technology, 4329008(13):1-13, 2004.
  17. [Kim et al., 2021] Taesung Kim, Jinhee Kim, Yunwon Tae, Cheonbok Park, Jang-Ho Choi, and Jaegul Choo. Re- versible instance normalization for accurate time-series forecasting against distribution shift. In International con- ference on learning representations, 2021.
  18. [Lai et al., 2018] Guokun Lai, Wei-Cheng Chang, Yiming Yang, and Hanxiao Liu. Modeling long-and short-term temporal patterns with deep neural networks. In The 41st international ACM SIGIR conference on research & devel- opment in information retrieval, pages 95-104, 2018.
  19. [Lim et al., 2021] Bryan Lim, Sercan Ö Arık, Nicolas Lo- eff, and Tomas Pfister. Temporal fusion transformers for interpretable multi-horizon time series forecasting. Inter- national journal of forecasting, 37(4):1748-1764, 2021.
  20. [Lin et al., 2007] Jessica Lin, Eamonn Keogh, Li Wei, and Stefano Lonardi. Experiencing sax: a novel symbolic rep- resentation of time series. Data Mining and knowledge discovery, 15(2):107-144, 2007.
  21. [Liu et al., 2024] Haoxin Liu, Zhiyuan Zhao, Jindong Wang, Harshavardhan Kamarthi, and B Aditya Prakash. Lst- prompt: Large language models as zero-shot time series forecasters by long-short-term prompting. arXiv preprint arXiv:2402.16132, 2024.
  22. [McCracken and Ng, 2016] Michael W McCracken and Ser- ena Ng. Fred-md: A monthly database for macroeco- nomic research. Journal of Business & Economic Statis- tics, 34(4):574-589, 2016.
  23. [Panagopoulos et al., 2021] George Panagopoulos, Giannis Nikolentzos, and Michalis Vazirgiannis. Transfer graph neural networks for pandemic forecasting. In Proceed- ings of the AAAI Conference on Artificial Intelligence, vol- ume 35, pages 4838-4845, 2021.
  24. [Poyatos et al., 2020] Rafael Poyatos, Víctor Granda, Víctor Flo, Mark A Adams, Balázs Adorján, David Aguadé, Marcos PM Aidar, Scott Allen, M Susana Alvarado- Barrientos, Kristina J Anderson-Teixeira, et al. Global transpiration data from sap flow measurements: the sapfluxnet database. Earth System Science Data Discus- sions, 2020:1-57, 2020.
  25. [Qiu et al., 2024] Xiangfei Qiu, Jilin Hu, Lekui Zhou, Xingjian Wu, Junyang Du, Buang Zhang, Chenjuan Guo, Aoying Zhou, Christian S Jensen, Zhenli Sheng, et al. Tfb: Towards comprehensive and fair benchmarking of time se- ries forecasting methods. Proceedings of the VLDB En- dowment, 17(9):2363-2377, 2024.
  26. [Salinas et al., 2020] David Salinas, Valentin Flunkert, Jan Gasthaus, and Tim Januschowski. Deepar: Probabilistic forecasting with autoregressive recurrent networks. Inter- national journal of forecasting, 36(3):1181-1191, 2020.
  27. [Shi et al., 2025] Xiaoming Shi, Shiyu Wang, Yuqi Nie, Di- anqi Li, Zhou Ye, Qingsong Wen, and Ming Jin. Time- moe: Billion-scale time series foundation models with mixture of experts. In International Conference on Learn- ing Representations, volume 2025, pages 34635-34667, 2025.
  28. [Sun et al., 2024] Chenxi Sun, Hongyan Li, Yaliang Li, and Shenda Hong. Test: Text prototype aligned embedding to activate llm's ability for time series. In International Con- ference on Learning Representations, volume 2024, pages 37854-37881, 2024.
  29. [Wang et al., 2019] Yuyang Wang, Alex Smola, Danielle Maddix, Jan Gasthaus, Dean Foster, and Tim Januschowski. Deep factors for forecasting. In In- ternational conference on machine learning, pages 6607-6617. PMLR, 2019.
  30. [Wang et al., 2023] Huiqiang Wang, Jian Peng, Feihu Huang, Jince Wang, Junhui Chen, and Yifei Xiao. Micn: Multi-scale local and global context modeling for long- term series forecasting. In The eleventh international con- ference on learning representations, 2023.
  31. [Wang et al., 2024] Shiyu Wang, Haixu Wu, Xiaoming Shi, Tengge Hu, Huakun Luo, Lintao Ma, James Zhang, and Jun Zhou. Timemixer: Decomposable multiscale mixing for time series forecasting. In International conference on learning representations, volume 2024, pages 38626- 38652, 2024.
  32. [Wang et al., 2025] Daoyu Wang, Mingyue Cheng, Zhiding Liu, and Qi Liu. Timedart: A diffusion autoregressive transformer for self-supervised time series representation. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Ma- chine Learning Research, pages 62627-62651. PMLR, 2025.
  33. [Williams et al., 2025] Andrew Robert Williams, Arjun Ashok, Étienne Marcotte, Valentina Zantedeschi, Jithen- daraa Subramanian, Roland Riachi, James Requeima, Alexandre Lacoste, Irina Rish, Nicolas Chapados, and Alexandre Drouin. Context is key: A benchmark for fore- casting with essential textual information. In Forty-second International Conference on Machine Learning, 2025.
  34. [Winters, 1960] Peter R Winters. Forecasting sales by ex- ponentially weighted moving averages. Management sci- ence, 6(3):324-342, 1960.
  35. [Wu et al., 2021] Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transform- ers with auto-correlation for long-term series forecast- ing. Advances in neural information processing systems, 34:22419-22430, 2021.
  36. [Xue and Salim, 2023] Hao Xue and Flora D Salim. Prompt- cast: A new prompt-based learning paradigm for time se- ries forecasting. IEEE Transactions on Knowledge and Data Engineering, 36(11):6851-6864, 2023.
  37. [Zeng et al., 2023] Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series fore- casting? In Proceedings of the AAAI conference on artifi- cial intelligence, volume 37, pages 11121-11128, 2023.
  38. [Zhang and Yan, 2023] Yunhao Zhang and Junchi Yan. Crossformer: Transformer utilizing cross-dimension de- pendency for multivariate time series forecasting. In The eleventh international conference on learning representa- tions, 2023.
  39. [Zhao et al., 2023] Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, et al. A survey of large language models. arXiv preprint arXiv:2303.18223, 1(2), 2023.
  40. [Zhou et al., 2022] Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. Fedformer: Fre- quency enhanced decomposed transformer for long-term series forecasting. In International conference on machine learning, pages 27268-27286. PMLR, 2022.
  41. [Zhou et al., 2023] Tian Zhou, Peisong Niu, Liang Sun, Rong Jin, et al. One fits all: Power general time series analysis by pretrained lm. Advances in neural information processing systems, 36:43322-43355, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards