arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.01728cs.LGcs.AI
收藏

Time-LLM:通过重编程大语言模型实现时间序列预测

Time-LLM: Time Series Forecasting by Reprogramming Large Language Models

Monash University(莫纳什大学);Ant Group(蚂蚁集团);IBM Research(IBM研究院);Griffith University(格里菲斯大学);Alibaba Group(阿里巴巴集团);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Ming Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu, James Y. Zhang, Xiaoming Shi, Pin-Yu Chen, Yuxuan Liang, Yuan-Fang Li, Shirui Pan, Qingsong Wen

AI总结:

针对时间序列领域基础模型发展受数据稀疏制约、模态对齐难的问题,提出Time-LLM重编程框架,通过文本原型重编程与PaP机制复用冻结LLM,在通用时间序列预测及少、零样本场景下均超越专用SOTA模型。

摘要:

时间序列预测在诸多现实世界动态系统中具有重要意义,且已得到广泛研究。在自然语言处理(NLP)和计算机视觉(CV)领域,单个大模型即可应对多种任务,但时间序列预测模型通常是专用的,需要针对不同任务和应用进行差异化设计。尽管预训练基础模型已在NLP和CV领域取得显著进展,但受限于数据稀疏性,其在时间序列领域的发展一直受到制约。近期研究表明,大语言模型(LLM)在处理复杂token序列时具备强大的模式识别与推理能力。然而,如何有效对齐时间序列数据与自然语言的模态以利用这些能力,仍是一大挑战。本文提出Time-LLM——一种在保持主干语言模型完整的前提下,将LLM改造用于通用时间序列预测的重编程框架。我们首先利用文本原型对输入时间序列进行重编程,再将其输入冻结的LLM,以对齐两种模态。为增强LLM对时间序列数据的推理能力,我们提出“提示即前缀(Prompt-as-Prefix, PaP)”机制,该机制可丰富输入上下文,并引导重编程后的输入块的转换过程。最终,将LLM输出的转换后时间序列块进行投影,得到预测结果。我们的全面评估表明,Time-LLM是一种性能强大的时间序列学习器,表现优于当前最先进的专用预测模型。此外,Time-LLM在少样本和零样本学习场景下均表现出色。

英文摘要:

Time series forecasting holds significant importance in many real-world dynamic systems and has been extensively studied. Unlike natural language process (NLP) and computer vision (CV), where a single large model can tackle multiple tasks, models for time series forecasting are often specialized, necessitating distinct designs for different tasks and applications. While pre-trained foundation models have made impressive strides in NLP and CV, their development in time series domains has been constrained by data sparsity. Recent studies have revealed that large language models (LLMs) possess robust pattern recognition and reasoning abilities over complex sequences of tokens. However, the challenge remains in effectively aligning the modalities of time series data and natural language to leverage these capabilities. In this work, we present Time-LLM, a reprogramming framework to repurpose LLMs for general time series forecasting with the backbone language models kept intact. We begin by reprogramming the input time series with text prototypes before feeding it into the frozen LLM to align the two modalities. To augment the LLM's ability to reason with time series data, we propose Prompt-as-Prefix (PaP), which enriches the input context and directs the transformation of reprogrammed input patches. The transformed time series patches from the LLM are finally projected to obtain the forecasts. Our comprehensive evaluations demonstrate that Time-LLM is a powerful time series learner that outperforms state-of-the-art, specialized forecasting models. Moreover, Time-LLM excels in both few-shot and zero-shot learning scenarios.

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

↑