Proceedings

Empowering Time Series Analysis with Large Language Models: A Survey

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Survey Track. Pages 8095-8103.

https://doi.org/10.24963/ijcai.2024/895

Abstract

Recently, remarkable progress has been made over large language models (LLMs), demonstrating their unprecedented capability in varieties of natural language tasks. However, completely training a large general-purpose model from the scratch is challenging for time series analysis, due to the large volumes and varieties of time series data, as well as the non-stationarity that leads to concept drift impeding continuous model adaptation and re-training. Recent advances have shown that pre-trained LLMs can be exploited to capture complex dependencies in time series data and facilitate various applications. In this survey, we provide a systematic overview of existing methods that leverage LLMs for time series analysis. Specifically, we first state the challenges and motivations of applying language models in the context of time series as well as brief preliminaries of LLMs. Next, we summarize the general pipeline for LLM-based time series analysis, categorize existing methods into different groups (\textit{i.e.}, direct query, tokenization, prompt design, fine-tune, and model integration), and highlight the key ideas within each group. We also discuss the applications of LLMs for both general and spatial-temporal time series data, tailored to specific domains. Finally, we thoroughly discuss future research opportunities to empower time series analysis with LLMs.

  1. [Achiam and et al., 2023] OpenAI Josh Achiam and Steven Adler et al. GPT-4 Technical Report. 2023.
  2. [Ansari et al., 2024] Abdul Fatir Ansari, Lorenzo Stella, Caner Turkmen, Xiyuan Zhang, Pedro Mercado, et al. Chronos: Learn- ing the language of time series. arXiv:2403.07815, 2024.
  3. [Arisoy et al., 2012] Ebru Arisoy, Tara N Sainath, Brian Kingsbury, and Bhuvana Ramabhadran. Deep Neural Network Language Models. In NAACL-HLT 2012 Workshop, 2012.
  4. [Bian et al., 2024] Yuxuan Bian, Xuan Ju, Jiangtong Li, Zhi- jian Xu, Dawei Cheng, and Qiang Xu. Multi-Patch Predic- tion: Adapting LLMs for Time Series Representation Learning. arXiv:2402.04852, 2024.
  5. [Brown et al., 2020] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, et al. Lan- guage Models are Few-Shot Learners. In NeurIPS, 2020.
  6. [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 Fore- casting. In ICLR, 2024.
  7. [Chang et al., 2023] Ching Chang, Wen-Chih Peng, and Tien-Fu Chen. LLM4TS: Aligning Pre-Trained LLMs as Data-Efficient Time-Series Forecasters. arXiv:2308.08469, 2023.
  8. [Chen et al., 2023a] Yakun Chen, Xianzhi Wang, and Guan- dong Xu. GATGPT: A Pre-trained Large Language Model with Graph Attention Network for Spatiotemporal Imputation. arXiv:2311.14332, 2023.
  9. [Chen et al., 2023b] Zihan Chen, Lei Nico Zheng, Cheng Lu, Jialu Yuan, and Di Zhu. ChatGPT Informed Graph Neural Network for Stock Movement Prediction. KDD 2023 Workshop, 2023.
  10. [Chowdhery et al., 2023] Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, et al. PaLM: Scaling Language Modeling with Pathways. JMLR, 2023.
  11. [Chung et al., 2022] Hyung Won Chung, Le Hou, Shayne Long- pre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, et al. Scaling Instruction-Finetuned Language Models. arXiv:2210.11416, 2022.
  12. [Cleveland et al., 1990] Robert B Cleveland, William S Cleveland, Jean E McRae, and Irma Terpenning. STL: A Seasonal-Trend Decomposition Procedure Based on Loess. J. Off. Stat, 6(1):3- 73, 1990.
  13. [Computer, 2023] Together Computer. RedPajama-Data: An Open Source Recipe to Reproduce LLaMA training dataset. 2023.
  14. [Deldari et al., 2022] Shohreh Deldari, Hao Xue, Aaqib Saeed, Ji- ayuan He, Daniel V Smith, and Flora D Salim. Beyond Just Vi- sion: A Review on Self-Supervised Representation Learning on Multimodal and Temporal Data. arXiv:2206.02353, 2022.
  15. [Devlin et al., 2018] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina N Toutanova. BERT: Pre-training of Deep Bidirec- tional Transformers for Language Understanding. In ICLR, 2018.
  16. [Du et al., 2022] Zhengxiao Du, Yujie Qian, Xiao Liu, Ming Ding, Jiezhong Qiu, Zhilin Yang, et al. GLM: General Language Model Pretraining with Autoregressive Blank Infilling. In ACL, 2022.
  17. [Garza and Mergenthaler-Canseco, 2023] Azul Garza and Max Mergenthaler-Canseco. TimeGPT-1. arXiv:2310.03589, 2023.
  18. [Geng and Liu, 2023] Xinyang Geng and Hao Liu. OpenLLaMA: An Open Reproduction of LLaMA. 2023. [Gruver et al., 2023] Nate Gruver, Marc Finzi, Shikai Qiu, and An- drew Gordon Wilson. Large Language Models Are Zero Shot Time Series Forecasters. In NeurIPS, 2023.
  19. [Gunjal and Durrett, 2023] Anisha Gunjal and Greg Durrett. Draft- ing Event Schemas using Language Models. arXiv:2305.14847, 2023.
  20. [Houlsby et al., 2019] Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter- Efficient Transfer Learning for NLP. In ICML, 2019.
  21. [Hu et al., 2021] Edward J Hu, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, et al. LoRA: Low-Rank Adaptation of Large Language Models. In ICLR, 2021.
  22. [Huang et al., 2020] Kexin Huang, Jaan Altosaar, and Rajesh Ran- ganath. ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmission. CHIL-2020 Workshop, 2020.
  23. [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 AAAI, 2024.
  24. [Jiang et al., 2023] Lavender Yao Jiang, Xujin Chris Liu, Nima Pour Nejatian, Mustafa Nasir-Moin, Duo Wang, Anas Abidin, et al. Health system-scale language models are all-purpose prediction engines. Nature, pages 1-6, 2023.
  25. [Jin et al., 2023] Ming Jin, Qingsong Wen, Yuxuan Liang, Chaoli Zhang, Siqiao Xue, Xue Wang, James Zhang, Yi Wang, Haifeng Chen, Xiaoli Li, et al. Large Models for Time Series and Spatio- Temporal Data: A Survey and Outlook. arXiv:2310.10196, 2023.
  26. [Jin et al., 2024] Ming Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu, James Y Zhang, Xiaoming Shi, Pin-Yu Chen, et al. Time- LLM: Time Series Forecasting by Reprogramming Large Lan- guage Models. In ICLR, 2024.
  27. [Kim et al., 2021] Taesung Kim, Jinhee Kim, Yunwon Tae, Cheon- bok Park, Jang-Ho Choi, and Jaegul Choo. Reversible Instance Normalization for Accurate Time-Series Forecasting against Dis- tribution Shift. In ICLR, 2021.
  28. [Lester et al., 2021] Brian Lester, Rami Al-Rfou, and Noah Con- stant. The Power of Scale for Parameter-Efficient Prompt Tuning. arXiv:2104.08691, 2021.
  29. [Li et al., 2023] Jun Li, Che Liu, Sibo Cheng, Rossella Arcucci, and Shenda Hong. Frozen Language Model Helps ECG Zero- Shot Learning. In MIDL, 2023.
  30. [Lightman et al., 2023] Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let's Verify Step by Step. arXiv:2305.20050, 2023.
  31. [Liu et al., 2019] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A Robustly Op- timized BERT Pretraining Approach. 2019.
  32. [Liu et al., 2023a] Xin Liu, Daniel McDuff, Geza Kovacs, Isaac Galatzer-Levy, Jacob Sunshine, et al. Large Language Models are Few-Shot Health Learners. arXiv:2305.15525, 2023.
  33. [Liu et al., 2023b] Xu Liu, Junfeng Hu, Yuan Li, Shizhe Diao, Yux- uan Liang, Bryan Hooi, and Roger Zimmermann. UniTime: A Language-Empowered Unified Model for Cross-Domain Time Series Forecasting. arXiv:2310.09751, 2023.
  34. [Liu et al., 2024] Chenxi Liu, Sun Yang, Qianxiong Xu, Zhishuai Li, Cheng Long, Ziyue Li, and Rui Zhao. Spatial-Temporal Large Language Model for Traffic Prediction, 2024.
  35. [Lopez-Lira and Tang, 2023] Alejandro Lopez-Lira and Yuehua Tang. Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models. arXiv:2304.07619, 2023.
  36. [Lu et al., 2022] Kevin Lu, Aditya Grover, Pieter Abbeel, and Igor Mordatch. Pretrained Transformers as Universal Computation Engines. In AAAI, 2022.
  37. [Ma et al., 2023] Qianli Ma, Zhen Liu, Zhenjing Zheng, Ziyang Huang, Siying Zhu, Zhongzhong Yu, et al. A Survey on Time- Series Pre-Trained Models. arXiv:2305.10716, 2023.
  38. [Mai et al., 2023a] C Mai, Y Chang, C Chen, and Z Zheng. En- hanced Scalable Graph Neural Network via Knowledge Distilla- tion. IEEE TNNLS, 2023.
  39. [Mai et al., 2023b] Gengchen Mai, Weiming Huang, Jin Sun, Suhang Song, Deepak Mishra, Ninghao Liu, Song Gao, et al. On the Opportunities and Challenges of Foundation Models for Geospatial Artificial Intelligence. arXiv:2304.06798, 2023.
  40. [Nie et al., 2023] Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A Time Series is Worth 64 Words: Long-term Forecasting with Transformers. In ICLR, 2023.
  41. [Pan et al., 2024] Zijie Pan, Yushan Jiang, Sahil Garg, Anderson Schneider, Yuriy Nevmyvaka, and Dongjin Song. S 2 IP-LLM: Semantic Space Informed Prompt Learning with LLM for Time Series Forecasting. arXiv:2403.05798, 2024.
  42. [Radford et al., 2019] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language Mod- els are Unsupervised Multitask Learners. OpenAI blog, 2019.
  43. [Raffel et al., 2020] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the Limits of Transfer Learn- ing with a Unified Text-to-text Transformer. JMLR, 2020.
  44. [Rasul et al., 2023] Kashif Rasul, Arjun Ashok, Andrew Robert Williams, Arian Khorasani, George Adamopoulos, Rishika Bhagwatkar, et al. Lag-Llama: Towards Foundation Models for Time Series Forecasting, 2023.
  45. [Shi et al., 2023] Xiaoming Shi, Siqiao Xue, Kangrui Wang, Fan Zhou, James Y Zhang, Jun Zhou, Chenhao Tan, and Hongyuan Mei. Language Models Can Improve Event Prediction by Few- Shot Abductive Reasoning. In NeurIPS, 2023.
  46. [Spathis and Kawsar, 2023] Dimitris Spathis and Fahim Kawsar. The first step is the hardest: Pitfalls of Representing and Tokenizing Temporal Data for Large Language Models. arXiv:2309.06236, 2023.
  47. [Sun et al., 2024] Chenxi Sun, Yaliang Li, Hongyan Li, and Shenda Hong. TEST: Text Prototype Aligned Embedding to Activate LLM's Ability for Time Series. In ICLR, 2024.
  48. [Touvron et al., 2023a] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, et al. LLaMA: Open and Efficient Foundation Language Models. arXiv:2302.13971, 2023.
  49. [Touvron et al., 2023b] Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, et al. Llama 2: Open Foundation and Fine-Tuned Chat Models. arXiv:2307.09288, 2023.
  50. [Wang et al., 2022] Zifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang, Ruoxi Sun, Xiaoqi Ren, Guolong Su, Vincent Perot, et al. Learning to Prompt for Continual Learning. In CVPR, 2022.
  51. [Wang et al., 2023] Xinglei Wang, Meng Fang, Zichao Zeng, and Tao Cheng. Where Would I Go Next? Large Language Models as Human Mobility Predictors, 2023.
  52. [Wei et al., 2022] Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, et al. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. In NeurIPS, 2022.
  53. [Wu et al., 2022] Haixu Wu, Tengge Hu, Yong Liu, Hang Zhou, Jianmin Wang, et al. TimesNet: Temporal 2D-Variation Mod- eling for General Time Series Analysis. In ICLR, 2022.
  54. [Wu et al., 2023] Shijie Wu, Ozan Irsoy, Steven Lu, Vadim Dabravolski, Mark Dredze, Sebastian Gehrmann, Prab- hanjan Kambadur, David Rosenberg, and Gideon Mann. BloombergGPT: A Large Language Model for Finance. 2023.
  55. [Xie et al., 2023] Qianqian Xie, Weiguang Han, Yanzhao Lai, Min Peng, and Jimin Huang. The Wall Street Neophyte: A Zero- Shot Analysis of ChatGPT Over MultiModal Stock Movement Prediction Challenges. arXiv:2304.05351, 2023.
  56. [Xu et al., 2023] Haojun Xu, Yan Gao, Zheng Hui, Jie Li, and Xinbo Gao. Language Knowledge-Assisted Repre- sentation Learning for Skeleton-Based Action Recognition. arXiv:2305.12398, 2023.
  57. [Xue and Salim, 2023] Hao Xue and Flora D Salim. PromptCast: A New Prompt-based Learning Paradigm for Time Series Fore- casting. IEEE TKDE, 2023.
  58. [Xue et al., 2022a] Hao Xue, Bhanu Prakash Voutharoja, and Flora D Salim. Leveraging Language Foundation Models for Hu- man Mobility Forecasting. In SIGSPATIAL, 2022.
  59. [Xue et al., 2022b] Siqiao Xue, Xiaoming Shi, James Zhang, and Hongyuan Mei. HYPRO: A Hybridly Normalized Probabilis- tic Model for Long-Horizon Prediction of Event Sequences. NeurIPS, 2022.
  60. [Xue et al., 2023] Siqiao Xue, Fan Zhou, Yi Xu, Hongyu Zhao, Shuo Xie, et al. WeaverBird: Empowering Financial Decision- Making with Large Language Model, Knowledge Base, and Search Engine. arXiv:2308.05361, 2023.
  61. [Yang et al., 2019] Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. XLNet: Gen- eralized Autoregressive Pretraining for Language Understanding. In NeurIPS, 2019.
  62. [Yang et al., 2022] Xi Yang, Aokun Chen, Nima PourNejatian, Hoo Chang Shin, et al. A large language model for electronic health records. NPJ Digital Medicine, 5(1):194, 2022.
  63. [Yin et al., 2023] Shukang Yin, Chaoyou Fu, Sirui Zhao, Ke Li, Xing Sun, Tong Xu, and Enhong Chen. A Survey on Multimodal Large Language Models. arXiv:2306.13549, 2023.
  64. [Yu et al., 2023] Xinli Yu, Zheng Chen, Yuan Ling, Shujing Dong, Zongyi Liu, and Yanbin Lu. Temporal Data Meets LLM-Explainable Financial Time Series Forecasting. arXiv:2306.11025, 2023.
  65. [Zhang et al., 2023a] Boyu Zhang, Hongyang Yang, and Xiao- Yang Liu. Instruct-FinGPT: Financial Sentiment Analysis by Instruction Tuning of General-Purpose Large Language Models. arXiv:2306.12659, 2023.
  66. [Zhang et al., 2023b] Zhuosheng Zhang, Aston Zhang, Mu Li, Hai Zhao, George Karypis, et al. Multimodal Chain-of-Thought Rea- soning in Language Models. arXiv:2302.00923, 2023.
  67. [Zhao et al., 2023] Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, et al. A Survey of Large Lan- guage Models. arXiv:2303.18223, 2023.
  68. [Zhou et al., 2023] Tian Zhou, PeiSong Niu, Xue Wang, Liang Sun, and Rong Jin. One Fits All: Power General Time Series Analysis by Pretrained LM. In NeurIPS, 2023.

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

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