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

一种融合大语言模型、预训练时间序列模型与知识图谱的时间序列多任务框架

A Time Series Multitask Framework Integrating a Large Language Model, Pre-Trained Time Series Model, and Knowledge Graph

Shule Hao, Junpeng Bao, Chuncheng Lu

AI总结:

本文提出时间序列多任务框架LTM,融合预训练时间序列模型、大语言模型与知识图谱,通过提示增强和特征融合,以少量可训练参数在预测、插补和异常检测任务上显著优于现有方法。

摘要:

时间序列分析在金融、交通和工业等领域至关重要。然而,传统模型往往只关注时间特征,限制了其捕捉潜在信息的能力。本文提出了一种新颖的时间序列多任务框架,称为LTM,它将时间特征与文本描述相结合,以增强分析和预测能力。LTM结合了预训练时间序列模型、大语言模型(LLM)和知识图谱来处理时间序列任务,包括预测、插补和异常检测。LTM以少量可训练参数实现了性能提升,非常高效且实用。LTM将时间序列数据编码为补丁(patch),并利用知识图谱丰富用户提供的提示,以生成增强提示。一种新颖的特征融合方法将提示嵌入到每个补丁编码中,由冻结的LLM处理,随后经过特征增强模块和时间解码器模块。在微调阶段,提示与时间补丁之间的余弦相似度被整合到损失函数中以提升性能。在基准数据集上的实验表明,LTM显著优于现有方法,为时间序列任务提供了一种稳健且通用的解决方案。

英文摘要:

Time series analysis is crucial in fields like finance, transportation, and industry. However, traditional models often focus solely on temporal features, limiting their ability to capture underlying information. This paper proposes a novel time series multitask framework, called LTM, which integrates temporal features with textual descriptions to enhance analytical and predictive capabilities. LTM combines pre-trained time series model, large language model (LLM), and knowledge graph to tackle time series tasks, including forecasting, imputation, and anomaly detection. LTM achieves improved performance with a few trainable parameters. It is very efficient and practical. LTM encodes time series data into patches and enriches user-provided prompts using knowledge graphs to generate enhanced prompts. A novel feature fusion method embeds prompts into each patch encoding, which is processed by a frozen LLM, followed by a feature enhancement module and a time decoder module. During fine-tuning stage, cosine similarity between prompts and temporal patches is integrated into the loss function to boost performance. Experiments on benchmark datasets show that LTM significantly outperforms existing methods. It provides a robust and versatile solution for time series tasks.

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

↑