Argos: Agentic Time-Series Anomaly Detection with Autonomous Rule Generation via Large Language Models
Yile Gu, Yifan Xiong, Jonathan Mace, Yuting Jiang, Yigong Hu, Baris Kasikci, Peng Cheng
TL;DR
Argos tackles the triad of explainability, reproducibility, and autonomy in cloud time-series anomaly detection by training executable anomaly rules generated autonomously by LLMs. It combines an agent-based rule-generation loop (Detection, Repair, Review) with a model-fusion framework to guarantee accuracy, and employs top-$k$ rule selection for efficiency. Across KPI, Yahoo, and a Microsoft internal dataset, Argos outperforms state-of-the-art baselines in $F_1$ while delivering significantly faster inference and modest training costs. The approach offers practical benefits for production reliability by enabling explainable rules with deterministic performance and autonomous adaptation to distribution shifts.
Abstract
Observability in cloud infrastructure is critical for service providers, driving the widespread adoption of anomaly detection systems for monitoring metrics. However, existing systems often struggle to simultaneously achieve explainability, reproducibility, and autonomy, which are three indispensable properties for production use. We introduce Argos, an agentic system for detecting time-series anomalies in cloud infrastructure by leveraging large language models (LLMs). Argos proposes to use explainable and reproducible anomaly rules as intermediate representation and employs LLMs to autonomously generate such rules. The system will efficiently train error-free and accuracy-guaranteed anomaly rules through multiple collaborative agents and deploy the trained rules for low-cost online anomaly detection. Through evaluation results, we demonstrate that Argos outperforms state-of-the-art methods, increasing $F_1$ scores by up to $9.5\%$ and $28.3\%$ on public anomaly detection datasets and an internal dataset collected from Microsoft, respectively.
