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

一图胜千数:通过可视化使大语言模型能够推理时间序列

A Picture is Worth A Thousand Numbers: Enabling LLMs Reason about Time Series via Visualization

Georgia Institute of Technology(佐治亚理工学院);Salesforce Research Asia(Salesforce亚洲研究院)

Haoxin Liu, Chenghao Liu, B. Aditya Prakash

AI总结:

本文提出TimerBed测试平台评估大语言模型时间序列推理能力,并针对数值建模缺陷提出可视化方案VL-Time,显著提升性能并降低令牌成本。

摘要:

大语言模型(LLMs)在多个领域展现出推理能力,但在时间序列推理(TsR)方面尚未得到充分探索,而时间序列推理在现实世界中无处不在。在这项工作中,我们提出了TimerBed,这是首个用于评估LLMs时间序列推理性能的综合测试平台。具体而言,TimerBed包含具有真实世界任务的分层推理模式、LLMs与推理策略的全面组合,以及各种监督模型作为比较锚点。我们使用TimerBed进行了大量实验,测试了多种现有观点,并验证了LLMs在时间序列推理中的初始失败,这通过零样本(ZST)的无效性和少样本上下文学习(ICL)的性能退化得到证明。此外,我们确定了一个可能的根本原因:数据的数值建模。为了解决这个问题,我们提出了一种基于提示的解决方案VL-Time,使用可视化建模的数据和语言引导的推理。实验结果表明,VL-Time使多模态LLMs成为非平凡的时间序列零样本推理器和强大的少样本上下文学习推理器,实现了约140%的平均性能提升和99%的平均令牌成本降低。

英文摘要:

Large language models (LLMs), with demonstrated reasoning abilities across multiple domains, are largely underexplored for time-series reasoning (TsR), which is ubiquitous in the real world. In this work, we propose TimerBed, the first comprehensive testbed for evaluating LLMs' TsR performance. Specifically, TimerBed includes stratified reasoning patterns with real-world tasks, comprehensive combinations of LLMs and reasoning strategies, and various supervised models as comparison anchors. We perform extensive experiments with TimerBed, test multiple current beliefs, and verify the initial failures of LLMs in TsR, evidenced by the ineffectiveness of zero shot (ZST) and performance degradation of few shot in-context learning (ICL). Further, we identify one possible root cause: the numerical modeling of data. To address this, we propose a prompt-based solution VL-Time, using visualization-modeled data and language-guided reasoning. Experimental results demonstrate that Vl-Time enables multimodal LLMs to be non-trivial ZST and powerful ICL reasoners for time series, achieving about 140% average performance improvement and 99% average token costs reduction.

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

↑