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

LLM 编码智能体能否推理时间序列?

Can LLM Coding Agents Reason About Time Series?

Institute of Formal and Applied Linguistics, Faculty of Mathematics and Physics, Charles University(查尔斯大学数学与物理学院形式与应用语言学研究所)

Filip Rechtorík, Ondřej Dušek, Zdeněk Kasner

AI总结:

研究 LLM 编码智能体在时间序列分析中的能力,发现代码访问可提升性能达 10%,但仍有 22-34% 错误,并分析了推理差距。

摘要:

大型语言模型(LLM)越来越多地用于金融、医疗或环境监测中的自动决策系统。时间序列数据在这些领域中无处不在,但难以自动处理。时间序列能否由 LLM 智能体分析?我们考察了三种方法:向智能体提供原始数值数据、将 LLM 用作编码智能体、或两者结合。在编码智能体设置中,模型使用 Python 代码迭代查询数据。利用两个时间序列理解基准,我们表明具有代码访问权限的智能体可以比处理原始数据的模型性能提升高达 10%。然而,即使性能最好的智能体仍然错误地回答约 22-34% 的问题。为了深入了解模型的策略和推理差距,我们使用强大的 LLM 评判器分析模型输出。我们的分析揭示,编码智能体能够选择适当的统计检验,但常常错过重要的细微差别。同时,具有原始数据访问权限的模型可以通过粗略计算得出正确结论。

英文摘要:

Large language models (LLMs) are increasingly being used for automated decision-making systems in finance, healthcare, or environmental monitoring. Time series data are ubiquitous in these fields, yet hard to process automatically. Can time series be analyzed by LLM agents? We examine three approaches: providing the agent with raw numerical data, using the LLM as a coding agent, or a combination of both. In the coding agent setup, the model iteratively queries the data using Python code. Using two time series understanding benchmarks, we show that agents with code access can outperform models processing raw data by up to 10%. However, even the best performing agent still answers about 22-34% of the questions incorrectly. To get insights into models' strategies and reasoning gaps, we analyze the model outputs with a strong LLM judge. Our analysis reveals that coding agents can select appropriate statistical tests, but often miss important nuances. Meanwhile, models with access to raw data can reach the right conclusions using back-of-the-envelope calculations.

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

↑