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

AnomaMind:基于工具增强推理的智能体时间序列异常检测

AnomaMind: Coarse-to-Fine Agentic Diagnosis via Hybrid Inference for Time Series Anomaly Detection

University of California, Berkeley(加州大学伯克利分校)

Xiaoyu Tao, Yuchong Wu, Mingyue Cheng, Ze Guo, Min Wu

AI总结:

提出AnomaMind框架,将时间序列异常检测重构为顺序决策过程,通过粗到细的工作流(定位可疑区间、工具交互构建诊断证据、自我反思细化决策)结合知识记忆与数值诊断工具包,并采用混合推理机制,显著提升域内和跨域异常检测性能与泛化能力。

摘要:

时间序列异常检测在许多实际应用中至关重要,有效的解决方案必须定位异常区域并在复杂设置下支持可靠的决策。然而,现有大多数方法将异常检测视为具有固定特征表示的纯判别预测任务,而非基于证据的诊断过程。因此,当异常表现出强上下文依赖性、多样化模式或跨数据集领域偏移时,它们往往难以应对。为应对这些挑战,我们提出AnomaMind,一个智能体时间序列异常检测框架,将异常检测重构为顺序决策过程。AnomaMind通过粗到细的工作流运行:首先定位可疑区间,然后通过工具交互构建诊断证据,最后通过自我反思细化异常决策。该工作流由一个结合知识记忆和数值诊断的工具箱支持:从训练数据中挖掘的视觉异常模式和领域知识提供上下文指导,而统计、基于值、基于变化和区域级别的算子提供可测量的验证证据。AnomaMind进一步采用混合推理机制,其中通用模型处理灵活推理、工具调用和细化,而检测特定策略通过基于规则的奖励进行优化,以实现可解析输出、F1分数对齐和假阳性控制。在域内和跨域设置下的广泛实验表明,AnomaMind持续改善异常检测性能并增强跨异质异常模式的泛化能力,验证了工具增强推理在异常检测中的有效性。代码可在以下网址获取:https://this URL。

英文摘要:

Time series anomaly detection (TSAD) supports the analysis of web service key performance indicators (KPIs) by identifying anomalous intervals. Recent large language model (LLM)-based agentic approaches have achieved promising results through reasoning and tool use. Despite their effectiveness, precise anomaly localization remains challenging, as diverse anomaly patterns demand targeted numerical evidence and iterative refinement to accurately determine anomaly boundaries. In this work, we propose AnomaMind, a coarse-to-fine agentic diagnosis framework for TSAD. AnomaMind first identifies suspicious regions from time-series visualizations, then adaptively acquires targeted numerical evidence through multi-turn tool interactions, and finally refines anomaly decisions through self-reflection. This process is supported by a tool engine that integrates knowledge memory and numerical analysis. To coordinate this diagnostic process, we design a hybrid inference strategy that employs frozen general-purpose LLMs for initial localization, tool orchestration, and evaluation, alongside a specialized LLM detector for evidence-grounded interval prediction. We optimize only the specialized detector through supervised fine-tuning (SFT) on diagnostic trajectories and reinforcement learning (RL) with verifiable detection rewards. Experiments on four benchmarks spanning web traffic, service KPIs, and system-monitoring signals, under both in-domain and multi-domain training settings, demonstrate competitive performance and support the effectiveness of coarse-to-fine adaptive diagnosis through targeted evidence acquisition and self-reflective refinement.The code is available at https://github.com/Xiaoyu-Tao/AnomaMind-TS.

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

↑