Skip to main content
QUICK REVIEW

[论文解读] Nominality Score Conditioned Time Series Anomaly Detection by Point/Sequential Reconstruction

Chih-Yu Lai, Fan-Keng Sun|arXiv (Cornell University)|Oct 24, 2023
Anomaly Detection Techniques and ApplicationsComputer Science被引用 11
一句话总结

本文提出 NPSR,一种将基于点的重建与基于序列的重建相结合的框架,用于在时间序列中检测点异常与上下文异常,并使用名义性分数来条件化并引导出改进的异常分数。

ABSTRACT

Time series anomaly detection is challenging due to the complexity and variety of patterns that can occur. One major difficulty arises from modeling time-dependent relationships to find contextual anomalies while maintaining detection accuracy for point anomalies. In this paper, we propose a framework for unsupervised time series anomaly detection that utilizes point-based and sequence-based reconstruction models. The point-based model attempts to quantify point anomalies, and the sequence-based model attempts to quantify both point and contextual anomalies. Under the formulation that the observed time point is a two-stage deviated value from a nominal time point, we introduce a nominality score calculated from the ratio of a combined value of the reconstruction errors. We derive an induced anomaly score by further integrating the nominality score and anomaly score, then theoretically prove the superiority of the induced anomaly score over the original anomaly score under certain conditions. Extensive studies conducted on several public datasets show that the proposed framework outperforms most state-of-the-art baselines for time series anomaly detection.

研究动机与目标

  • 推动无监督时间序列异常检测,能够同时处理点异常与上下文异常。
  • 开发名义性分数以区分时间序列中的标称偏差与异常偏差。
  • 提出一个诱导型异常分数,将基于点的和基于序列的洞见融合以实现更好的检测。
  • 证明在某些条件下,诱导型异常分数可以优于原始异常分数。
  • 在多样的真实世界和合成数据集上对比最先进基线,实证验证 NPSR。

提出的方法

  • 定义一个名义时间序列框架,其中观测数据是来自名义过程的偏差,并将偏差分解为在分布内(上下文)和分布外(点)成分。
  • 将名义性分数 N(t) 计算为在分布内偏差的平方范数与总偏差的平方范数之比,N(t) = ||Δx^c_t||^2 / ||Δx^0_t||^2。
  • 使用基于 Performer 的简单自编码器 M_pt 来估计基于点的重建,得到 x̂^c_t,并计算点异常 A(t) = ||x̂^c_t − x^0_t||^2。
  • 使用基于 Performer 的堆叠编码器 M_seq 来估计序列基的名义行为,得到 x̂^*_, 并将其与名义轨迹 X^*._ 相关联。
  • 通过在时间窗(诱导长度 d)内对 A 进行平滑和带权门控,利用基于名义性的门 g_{N}(N) 来定义诱导型异常分数 ÊA,从而得到 ÊA(t) = Στ A(t;τ),其中 A(t;τ) = A(τ) ∏ g_N(N(k))。
  • 给出理论结果,表明在软门控和硬门控条件下,以及当 N 有信息量时,诱导分数可以达到甚至超过原始分数。

实验结果

研究问题

  • RQ1名义性分数是否能有效将时间序列中的标称上下文与真实异常分离?
  • RQ2通过名义性条件 inductions 将基于点的和基于序列的重建整合,是否能提升异常检测性能?
  • RQ3在何种条件下诱导型异常分数优于原始异常分数或简单平滑?
  • RQ4与单实体和多实体时间序列数据集相比,NPSR 相对于最先进基线的表现如何?

主要发现

  • NPSR 在若干公开数据集上持续优于大多数最先进基线,对点异常和上下文异常均有强表现。
  • 一个简单的基于点的模型(M_pt)也可达到具有竞争力的性能,通过诱导分数将序列基重建(M_seq)引入后,提升了上下文异常检测而不牺牲点异常检测。
  • 基于名义性分数(N)的软门控和硬门控变体可提升 F1* 和鲁棒性,N 的第 98.5 百分位阈值在各数据集上表现良好。
  • 对原始异常分数 A(t) 的平滑处理(等价于诱导分数 ÊA 的一个特殊情况)在许多数据集上也提升了 AUC 与 F1*。
  • 理论分析将重建建模为将异常点固定以揭示标称时间点,并证明在给定条件下 ÊA 不劣于 A。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。