arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.08469cs.LG
收藏

LLM4TS:将预训练 LLM 对齐为数据高效的时间序列预测器

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(柑橘联盟)

Ching Chang, Wei-Yao Wang, Wen-Chih Peng, Tien-Fu Chen

AI总结:

本文提出 LLM4TS 框架,通过两阶段微调与两级多尺度聚合对齐预训练 LLM,在 7 个数据集的全样本和少样本时间序列预测中取得领先性能。

摘要:

多变量时间序列预测在经济规划、天气预测等多个领域都至关重要。从头开始训练的深度模型已表现出有效的性能,但需要大量数据,这限制了其在现实世界中的适用性。最近,研究人员利用预训练大语言模型(LLM)在表征学习上的可迁移性,以有效处理有限的非语言数据集。然而,将 LLM 与时间序列数据结合面临两方面挑战:由于时间序列数据与语言数据的构成不同而导致适配受限,以及无法处理多尺度时间信息。为应对这些挑战,我们提出 LLM4TS,这是一个利用预训练 LLM 进行时间序列预测的框架。LLM4TS 包含两阶段微调策略:时间序列对齐阶段用于使 LLM 与时间序列数据的细微特征保持一致,预测微调阶段则面向下游时间序列预测任务。此外,我们的框架采用一种新颖的两级聚合方法,将多尺度时间数据整合到预训练 LLM 中,增强其解释特定时间信息的能力。在跨越 7 个时间序列预测数据集的实验中,LLM4TS 在全样本场景下优于现有最先进方法以及从头训练的模型,并在少样本场景中取得最高排名。此外,与不同无监督表征学习方法的比较评估凸显了 LLM4TS 在预测任务中进行表征学习的有效性。消融研究进一步验证了每个组件对 LLM4TS 的贡献,并强调利用 LLM 预训练权重对于获得最佳性能的关键作用。代码可在 https://github.com/blacksnail789521/LLM4TS 获取。

英文摘要:

Multivariate time-series forecasting is vital in various domains, e.g., economic planning and weather prediction. Deep train-from-scratch models have exhibited effective performance yet require large amounts of data, which limits real-world applicability. Recently, researchers have leveraged the representation learning transferability of pre-trained Large Language Models (LLMs) to handle limited non-linguistic datasets effectively. However, incorporating LLMs with time-series data presents challenges of limited adaptation due to different compositions between time-series and linguistic data, and the inability to process multi-scale temporal information. To tackle these challenges, we propose LLM4TS, a framework for time-series forecasting with pre-trained LLMs. LLM4TS consists of a two-stage fine-tuning strategy: the time-series alignment stage to align LLMs with the nuances of time-series data, and the forecasting fine-tuning stage for downstream time-series forecasting tasks. Furthermore, our framework features a novel two-level aggregation method that integrates multi-scale temporal data within pre-trained LLMs, enhancing their ability to interpret time-specific information. In experiments across 7 time-series forecasting datasets, LLM4TS is superior to existing state-of-the-art methods compared with trained-from-scratch models in full-shot scenarios, and also achieves the highest rank in few-shot scenarios. In addition, evaluations compared with different unsupervised representation learning approaches highlight LLM4TS's effectiveness with representation learning in forecasting tasks. Ablation studies further validate each component's contribution to LLM4TS and underscore the essential role of utilizing LLM's pre-trained weights for optimal performance. The code is available at https://github.com/blacksnail789521/LLM4TS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑