arXiv:2509.12650cs.LGcs.AI2025-09被引 1

利用时间序列模型中间层表示检测异常,提升精度与适应性。

Leveraging Intermediate Representations of Time Series Foundation Models for Anomaly Detection

  • 用中间层特征距离计算异常得分,而非仅依赖最终输出
  • 在250个单变量时间序列上优于多种先进方法
  • 支持概念漂移自适应,适合长期运行系统监控

时间序列异常检测对保障实际系统稳定运行至关重要。近期的时间序列基础模型(TSFMs)在该任务中表现强劲,但现有方法多依赖模型最终层的表示,通过特定头模块计算重构或预测误差作为异常分数。本文提出新方法TimeRep,利用TSFM中间层的表示,以特征距离衡量异常程度。给定预训练的TSFM,TimeRep选择最具信息量的中间层及补丁-令牌位置,构建训练数据的参考表示集合,并采用核心集策略压缩集合规模,同时保持分布覆盖。推理时,通过计算输入数据与集合中表示的距离来生成异常分数。为应对概念漂移,TimeRep在推理阶段仅以非冗余方式将新数据的中间表示加入集合。我们在包含250个单变量时间序列的UCR Anomaly Archive上进行了大量实验,结果表明TimeRep持续优于多种主流基线方法,涵盖非深度学习、深度学习和基于基础模型的方法。

原文摘要 · Abstract (English)

Detecting anomalies in time series data is essential for the reliable operation of many real-world systems. Recently, time series foundation models (TSFMs) have emerged as a powerful tool for anomaly detection. However, existing methods typically rely on the final layer's representations of TSFMs, computing the anomaly score as a reconstruction or forecasting error via a task-specific head. Instead, we propose TimeRep, a novel anomaly detection approach that leverages the intermediate layer's representations of TSFMs, computing the anomaly score as the distance between these representations. Given a pre-trained TSFM, TimeRep selects the intermediate layer and patch-token position that yield the most informative representation. TimeRep forms a reference collection of intermediate representations from the training data and applies a core-set strategy to reduce its size while maintaining distributional coverage. During inference, TimeRep computes the anomaly score for incoming data by measuring the distance between its intermediate representations and those of the collection. To address concept drift, TimeRep integrates an adaptation mechanism that, at inference time, augments the collection exclusively with non-redundant intermediate representations from incoming data. We conducted extensive experiments on the UCR Anomaly Archive, which contains 250 univariate time series. TimeRep consistently outperforms a broad spectrum of state-of-the-art baselines, including non-DL, DL, and foundation model-based methods.

异常检测时间序列基础模型特征距离

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。