用三类提示增强大模型,让时间序列异常检测既准又可解释。
AXIS: Explainable Time Series Anomaly Detection with Large Language Models
- 通过数值、动态、任务三类提示,让大模型更好理解时间序列。
- 在多格式问答评测中,解释质量显著优于现有方法。
- 适合需要透明决策过程的工业监控与金融风控场景。
时间序列异常检测日益需要解释,不仅说明异常发生,还需揭示其模式和原因。尽管大语言模型(LLM)具备强大解释能力,但直接将时间序列转为文本会因模态不匹配导致上下文脱节。为此,我们提出AXIS框架,通过三种互补提示增强冻结的LLM:(i) 数值符号提示提供数值基础,(ii) 来自预训练时序编码器的步骤对齐提示捕捉细粒度动态,(iii) 任务先验提示编码全局异常特征。此外,我们构建了一个新基准,包含多格式问题与理由,用于监督上下文对齐与模式语义。大量实验(含基于LLM与人工评估)表明,AXIS生成的解释质量显著提升,且检测准确率媲美通用与专用时序大模型。
原文摘要 · Abstract (English)
Time-series anomaly detection (TSAD) increasingly demands explanations that articulate not only if an anomaly occurred, but also what pattern it exhibits and why it is anomalous. Leveraging the impressive explanatory capabilities of Large Language Models (LLMs), recent works have attempted to treat time series as text for explainable TSAD. However, this approach faces a fundamental challenge: LLMs operate on discrete tokens and struggle to directly process long, continuous signals. Consequently, naive time-to-text serialization suffers from a lack of contextual grounding and representation alignment between the two modalities. To address this gap, we introduce AXIS, a framework that conditions a frozen LLM for nuanced time-series understanding. Instead of direct serialization, AXIS enriches the LLM's input with three complementary hints derived from the series: (i) a symbolic numeric hint for numerical grounding, (ii) a context-integrated, step-aligned hint distilled from a pretrained time-series encoder to capture fine-grained dynamics, and (iii) a task-prior hint that encodes global anomaly characteristics. Furthermore, to facilitate robust evaluation of explainability, we introduce a new benchmark featuring multi-format questions and rationales that supervise contextual grounding and pattern-level semantics. Extensive experiments, including both LLM-based and human evaluations, demonstrate that AXIS yields explanations of significantly higher quality and achieves competitive detection accuracy compared to general-purpose LLMs, specialized time-series LLMs, and time-series Vision Language Models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。