构建可控仿真框架,评估大模型在时序根因分析中的表现
TraceBench: Controlled Evaluation of LLM Agents for Time-Series Root-Cause Attribution

- 通过仿真机械系统生成可控的根因分析任务
- 模型依赖领域上下文,主要通过数值输出分析数据
- 写Python脚本比直接预测准确率更低,适合研究系统诊断
大语言模型(LLM)正被用于从真实系统采集的时序观测中进行异常检测和根因分析,但其在这些任务上的表现尚未在受控条件下系统评估。我们提出TraceBench,一个基于仿真的框架,用于生成可控的根因归因任务。每个任务中,代理接收由物理动力系统模拟生成的时序观测,需判断系统参数是否被更改,并识别具体是哪个参数。我们利用TraceBench从三个可解释的机械系统生成任务,系统性地评估四种LLM代理在受控实验条件下的表现,揭示了这些代理如何分析动力系统时序数据。结果显示,模型显著受益于领域上下文,主要通过数值控制台输出而非可视化进行探索;当要求生成将每个时间序列样本映射到根因标签的Python脚本时,模型表现普遍更差。我们已公开数据集、代理轨迹、实验结果及排行榜,详见tracebench.github.io。
原文摘要 · Abstract (English)
LLM agents are increasingly applied to anomaly detection and root-cause analysis in time-series observations collected from real-world systems; however, their performance on these tasks has not been systematically evaluated under controlled conditions. We introduce TraceBench, a simulation-based framework for generating controlled root-cause attribution tasks. In each generated task, an agent receives time-series observations produced by simulating a physical dynamical system and must determine whether a system parameter was altered during the simulation and, if so, which one. Using TraceBench, we generate tasks from three interpretable mechanical systems and systematically evaluate four LLM agents across controlled experimental conditions, yielding new insights into how these agents analyze time-series observations from dynamical systems. Our results show that agents benefit substantially from domain context and explore data primarily through numerical console output rather than visualizations. We also find that agents generally perform worse when required to produce a Python script that maps each time-series sample to a predicted root-cause label than when they submit predictions directly. We release our datasets, agent trajectories, experimental results, and a leaderboard on our website, tracebench.github.io.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。