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

语言模型在时间序列零样本推理方面仍然困难重重

Language Models Still Struggle to Zero-shot Reason about Time Series

University of Washington(华盛顿大学);University of Virginia(弗吉尼亚大学)

Mike A. Merrill, Mingtian Tan, Vinayak Gupta, Tom Hartvigsen, Tim Althoff

AI总结:

本研究提出首个时间序列推理评估框架,发现语言模型在病因学推理和问答任务上仅略优于随机,比人类差30个百分点,表明其时间序列推理能力严重不足。

摘要:

时间序列对于金融和医疗等领域的决策至关重要。其重要性推动了近期大量将时间序列输入语言模型的研究工作,并在某些数据集上取得了非平凡的预测结果。但尚不清楚非平凡的预测是否意味着语言模型能够对时间序列进行推理。为填补这一空白,我们生成了首个用于时间序列推理的评估框架,包括形式化任务以及一个涵盖十个领域、与文本描述配对的多尺度时间序列数据集。利用这些数据,我们探究语言模型是否实现了三种推理形式:(1)病因学推理——给定输入时间序列,语言模型能否识别出最可能产生该序列的情境?(2)问答——语言模型能否回答关于时间序列的事实性问题?(3)上下文辅助预测——高度相关的文本上下文能否改善语言模型的时间序列预测?我们发现,原本能力很强的语言模型在时间序列推理方面表现出令人惊讶的局限性:它们在病因学和问答任务上的得分仅略高于随机水平(比人类差多达30个百分点),并且在利用上下文改进预测方面仅取得有限成功。这些弱点表明,时间序列推理是语言模型研究中一个具有影响力但发展严重不足的方向。我们还公开了数据集和代码,以支持该方向的进一步研究,网址为 https://github.com/behavioral-data/TSandLanguage。

英文摘要:

Time series are critical for decision-making in fields like finance and healthcare. Their importance has driven a recent influx of works passing time series into language models, leading to non-trivial forecasting on some datasets. But it remains unknown whether non-trivial forecasting implies that language models can reason about time series. To address this gap, we generate a first-of-its-kind evaluation framework for time series reasoning, including formal tasks and a corresponding dataset of multi-scale time series paired with text captions across ten domains. Using these data, we probe whether language models achieve three forms of reasoning: (1) Etiological Reasoning - given an input time series, can the language model identify the scenario that most likely created it? (2) Question Answering - can a language model answer factual questions about time series? (3) Context-Aided Forecasting - does highly relevant textual context improve a language model's time series forecasts? We find that otherwise highly-capable language models demonstrate surprisingly limited time series reasoning: they score marginally above random on etiological and question answering tasks (up to 30 percentage points worse than humans) and show modest success in using context to improve forecasting. These weakness showcase that time series reasoning is an impactful, yet deeply underdeveloped direction for language model research. We also make our datasets and code public at to support further research in this direction at https://github.com/behavioral-data/TSandLanguage

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

↑