By encoding time series as a string of numerical digits, we can frame time series forecasting as next-token prediction in text. Developing this approach, we find that large language models (LLMs) such as GPT-3 and LLaMA-2 can surprisingly zero-shot extrapolate time series at a level comparable to or exceeding the performance of purpose-built time series models trained on the downstream tasks. To facilitate this performance, we propose procedures for effectively tokenizing time series data and converting discrete distributions over tokens into highly flexible densities over continuous values. We argue the success of LLMs for time series stems from their ability to naturally represent multimodal distributions, in conjunction with biases for simplicity, and repetition, which align with the salient features in many time series, such as repeated seasonal trends. We also show how LLMs can naturally handle missing data without imputation through non-numerical text, accommodate textual side information, and answer questions to help explain predictions. While we find that increasing model size generally improves performance on time series, we show GPT-4 can perform worse than GPT-3 because of how it tokenizes numbers, and poor uncertainty calibration, which is likely the result of alignment interventions such as RLHF.
GTS_Forecaster: a novel deep learning based geodetic time series forecasting toolbox with python
School of Transportation Engineering, East China Jiao Tong University(东华交通大学交通运输工程学院);Jiangxi Provincial Key Laboratory of Water Ecological Conservation in Headwater Regions(江西省头水地区水生态保育重点实验室);Division of Geodetic Science, School of Earth Sciences, The Ohio State University(地球科学学院地质科学系,俄亥俄州立大学);Institute Dom Luiz, University of Beira Interior(贝拉内里亚大学多姆路易斯研究所);Institute of Meteorology and Climatology, Leibniz University Hannover(汉诺威莱比锡大学气象与气候研究所);Key Laboratory of Poyang Lake Wetland and Watershed Research, Ministry of Education, Jiangxi Normal University(江西省鄱阳湖湿地与流域研究重点实验室,江西省教育厅,江西师范大学)
TS-RAG: Retrieval-Augmented Generation based Time Series Foundation Models are Stronger Zero-Shot Forecaster
School of Computing, University of Connecticut(康奈尔大学计算机学院);Department of Machine Learning Research, Morgan Stanley(摩根士丹利机器学习研究部);Ant Group(蚂蚁集团);TWG Global(TWG全球)
LLM4TS: Aligning Pre-Trained LLMs as Data-Efficient Time-Series Forecasters
Institute for Clarity in Documentation(文献清晰研究所);The Thørväld Group(索沃尔德集团);Inria(法国国家信息与自动化研究所);Rajiv Gandhi University(拉吉夫·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕尔默研究实验室);The Kumquat Consortium(柑橘联盟)
SVTime: Small Time Series Forecasting Models Informed by "Physics" of Large Vision Model Forecasters
University of Houston(德克萨斯大学休斯顿分校);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Connecticut(康涅狄格大学);Florida International University(佛罗里达国际大学);Squirrel Ai Learning(squirrel ai 学习)
ROAR: Retrieval Opportunity-Aware Refinement for Zero-Shot Time Series Forecasting
College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算机与数据科学学院);City St George’s, University of London(伦敦大学城圣乔治学院);Systems Research Institute, Polish Academy of Sciences(波兰科学院系统研究所)
DisenTS: Disentangled Channel Evolving Pattern Modeling for Multivariate Time Series Forecasting
State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(中国科学技术大学认知智能国家重点实验室);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院)
vLinear: A Powerful Linear Model for Multivariate Time Series Forecasting
State Key Laboratory of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(人工智能通用基础理论国家重点实验室,智能科学与技术学院,北京大学)
Continuous Evolution Pool: Taming Recurring Concept Drift in Online Time Series Forecasting
University of Electronic Science and Technology of China(电子科技大学);Griffith University(格里菲斯大学);Peking University(北京大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
OLinear: A Linear Model for Time Series Forecasting in Orthogonally Transformed Domain
State Key Laboratory of General AI Peking University(人工智能通用基础研究国家重点实验室,北京大学);School of Software, BNRist Tsinghua University(清华大学软件学院,北京人工智能研究院);Center for Data Science Peking University(北京大学数据科学中心);Department of Control Science and Engineering Zhejiang University(浙江大学控制科学与工程学院)
TimeSeriesScientist: A General-Purpose AI Agent for Time Series Analysis
Stony Brook University(石溪大学);University of California, San Diego(加州大学圣地亚哥分校);University of British Columbia(不列颠哥伦比亚大学);Zhejiang University(浙江大学);University of California, Los Angeles(加州大学洛杉矶分校);Case Western Reserve University(凯斯西储大学);Fudan University(复旦大学)
MetaCaster: Meta-Harness-Optimized Agent for End-to-End Few-Shot Learning of Lightweight Time Series Forecasters
University of Houston(休斯顿大学);NEC Labs(NEC实验室);University of Waterloo(滑铁卢大学);University of Connecticut(康涅狄格大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Singapore Management University(新加坡管理大学)
HTMformer: Hybrid Time and Multivariate Transformer for Time Series Forecasting
Northwestern Polytechnical University(北华理工大学);MoE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University(人工智能教育部重点实验室,上海交通大学AI研究院);Ningbo Institute of Digital Twin, Eastern Institute of Technology(宁波数字孪生研究所,东部技术研究所);Ningbo Key Laboratory of Spatial Intelligence and Digital Derivative(宁波空间智能与数字衍生关键实验室)