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

TsLLM:增强大语言模型以实现通用时间序列理解和预测

TsLLM: Augmenting LLMs for General Time Series Understanding and Prediction

Felix Parker, Nimeesha Chan, Chi Zhang, Kimia Ghobadi

AI总结:

TsLLM通过引入基于补丁的编码器-解码器架构,增强了大语言模型对时间序列数据的理解与预测能力,能够整合时间序列分析与自然语言处理,展现强大的零样本和少样本学习能力。

摘要:

时间序列数据在医疗、金融、电力系统和物流等多个领域中至关重要。然而,正确分析此类数据往往需要整合非结构化上下文信息、回答领域特定问题并生成自然语言解释,而传统时间序列模型缺乏这些能力。尽管大型语言模型(LLMs)在上下文推理和知识整合方面表现出色,但它们在处理数值时间序列时存在困难,因为基于文本的表示效率低下且预训练阶段对数值数据的接触有限。我们通过引入专门的时间序列感知模块,增强LLM,构建了时间序列增强的大语言模型(TsLLM)。该模型在超过250亿个交错的时间序列和文本数据上进行训练,涵盖预测、问答、异常检测、分类、报告生成等任务,统一为下一个token预测。这种训练使TsLLM能够利用其语言理解和新获得的时间推理能力。虽然TsLLM并非旨在在传统基准上超越专门化模型,但其在需要整合时间序列分析与自然语言的任务上表现强劲,而现有方法无法提供此类能力。此外,它在零样本和少样本学习任务中也表现出色,表明其能够适应新数据而无需额外训练。

英文摘要:

Time series data is fundamental to decision-making across many domains including healthcare, finance, power systems, and logistics. However, analyzing this data correctly often requires incorporating unstructured contextual information, answering domain-specific questions, and generating natural language explanations - capabilities that traditional time series models lack. While Large Language Models (LLMs) excel at contextual reasoning and knowledge integration, they struggle with numerical time series due to inefficient text-based representations and limited exposure to numerical data during pretraining. We address this gap by augmenting an LLM with specialized time series perception through a patch-based encoder-decoder architecture. We train this Time Series augmented LLM (TsLLM) on a large corpus of over 25 billion tokens of interleaved time series and text spanning diverse tasks: forecasting with contextual information, question-answering, anomaly detection, classification, report generation, and more, all unified as next token prediction. This training enables TsLLM to leverage both its language understanding and newly acquired temporal reasoning capabilities. While not designed to surpass specialized models on traditional benchmarks, TsLLM demonstrates strong performance on tasks requiring the integration of time series analysis with natural language - capabilities that existing approaches cannot provide. It also exhibits strong zero-shot and few-shot performance, showing it can adapt to new data without additional training.

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

↑