arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.03104cs.AI
收藏

通过合成数据对齐时间序列,利用大语言模型进行增强的理解与推理

ChatTS: Aligning Time Series with LLMs via Synthetic Data for Enhanced Understanding and Reasoning

Tsinghua University(清华大学)

Zhe Xie, Zeyan Li, Xiao He, Longlong Xu, Xidao Wen, Tieying Zhang, Jianjun Chen, Rui Shi, Dan Pei

AI总结:

ChatTS通过合成数据生成方法,首次实现了多变量时间序列的多模态大语言模型,显著提升了时间序列的理解与推理性能。

摘要:

理解时间序列对于其在现实世界中的应用至关重要。近年来,大语言模型(LLMs)已被越来越多地应用于时间序列任务,利用其强大的语言能力来增强各种应用。然而,针对多模态大语言模型(MLLMs)进行时间序列理解和推理的研究仍有限,主要原因是高质量对齐时间序列与文本信息的数据稀缺。本文介绍了ChatTS,一种新型的MLLM,专门用于时间序列分析。ChatTS将时间序列视为一种模态,类似于视觉MLLMs处理图像的方式,使其能够对时间序列进行理解和推理。为了解决训练数据稀缺的问题,我们提出了一种基于属性的方法,生成带有详细属性描述的合成时间序列。我们进一步引入了时间序列Evol-Instruct,一种新的方法,生成多样化的時間序列问答,增强模型的推理能力。据我们所知,ChatTS是首个以多变量时间序列为输入进行理解和推理的TS-MLLM,该模型仅在合成数据集上进行微调。我们使用基准数据集与现实数据评估其性能,包括六个对齐任务和四个推理任务。我们的结果表明,ChatTS在现有基于视觉的MLLMs(例如GPT-4o)和基于文本/代理的LLMs上显著优于现有方法,在对齐任务中实现了46.0%的提升,在推理任务中实现了25.8%的提升。我们已开源源代码、模型检查点和数据集,网址为https://github.com/NetManAIOps/ChatTS。

英文摘要:

Understanding time series is crucial for its application in real-world scenarios. Recently, large language models (LLMs) have been increasingly applied to time series tasks, leveraging their strong language capabilities to enhance various applications. However, research on multimodal LLMs (MLLMs) for time series understanding and reasoning remains limited, primarily due to the scarcity of high-quality datasets that align time series with textual information. This paper introduces ChatTS, a novel MLLM designed for time series analysis. ChatTS treats time series as a modality, similar to how vision MLLMs process images, enabling it to perform both understanding and reasoning with time series. To address the scarcity of training data, we propose an attribute-based method for generating synthetic time series with detailed attribute descriptions. We further introduce Time Series Evol-Instruct, a novel approach that generates diverse time series Q&As, enhancing the model's reasoning capabilities. To the best of our knowledge, ChatTS is the first TS-MLLM that takes multivariate time series as input for understanding and reasoning, which is fine-tuned exclusively on synthetic datasets. We evaluate its performance using benchmark datasets with real-world data, including six alignment tasks and four reasoning tasks. Our results show that ChatTS significantly outperforms existing vision-based MLLMs (e.g., GPT-4o) and text/agent-based LLMs, achieving a 46.0% improvement in alignment tasks and a 25.8% improvement in reasoning tasks. We have open-sourced the source code, model checkpoint and datasets at https://github.com/NetManAIOps/ChatTS.

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

↑