[论文解读] Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series
该论文提出 GANF,一种图增强的归一化流模型,通过贝叶斯网络建模多个时间序列之间的相互依赖关系,以提升无监督异常检测性能。通过联合学习有向无环图(DAG)和流参数,GANF 在真实电网数据集上实现了密度估计和异常检测的最先进性能,同时通过动态演化的图结构揭示了分布漂移现象。
Anomaly detection in multivariate timeseries is used in various domains, such as finance, IT, or aerospace, to identify irregular behavior in the used applications. Prior research in anomaly detection has focused on estimating the joint probability of all variables. Then, anomalies are scored based on the probability they receive. Thereby, the variables' dependencies are only considered implicitly. This work follows recent work in anomaly detection that integrates information about the causal relations between the variables in the timeseries into the detection mechanism. The causal mechanisms of the variables are then used to identify anomalies. An observation is identified as anomalous if at least one of the variables it contains deviates from its regular causal mechanism. These regular causal mechanisms are estimated via the conditional distribution of a variable given its causal parent variables, i.e., the variables having a causal influence on a variable. We further develop previous work by gathering information about the causal parents of the variables by applying causal discovery algorithms adapted to the timeseries setting. We apply Conditional Kernel Density Estimation and Conditional Variational Autoencoders to estimate the conditional probabilities. With this causal approach, we outperform methods that rely on the joint probability of the variables in our synthetically generated datasets and the C-MAPPS dataset, which provides simulation data of turbofan engines. Moreover, we investigate the causal approach’s inferred scores on the C-MAPPS dataset to gather insights into the measurements responsible for the prediction of anomalies. Furthermore, we investigate the influence of deviations from the true causal graph on the anomaly detection performance using synthetic data.
研究动机与目标
- 解决高维、相互依赖的多时间序列中无监督异常检测的挑战。
- 利用概率图模型对构成时间序列之间的复杂依赖关系进行建模。
- 联合学习贝叶斯网络(DAG)结构与归一化流参数,以提升密度估计性能。
- 通过分析随时间演化的学习图结构,检测分布漂移。
- 提供一种可扩展、可微分的框架,将关系结构学习整合到时间序列数据的归一化流中。
提出的方法
- 提出 GANF 框架,通过贝叶斯网络增强归一化流,以建模时间序列之间的条件依赖关系。
- 利用有向无环图(DAG)结构将多时间序列的联合密度分解为条件密度的乘积。
- 通过可微分的连续松弛方法(如 NOTEARS 方法)对 DAG 约束进行松弛,以支持端到端训练。
- 采用基于图的依赖编码器,将每个时间序列的父节点信息汇总并融入流架构中。
- 使用可微分的目标函数,联合优化 DAG 邻接矩阵与归一化流参数。
- 应用归一化流(如 MAF 或 RealNVP)在具有结构化依赖关系的归一化流设置中建模条件密度。
实验结果
研究问题
- RQ1如何有效将贝叶斯网络结构整合到归一化流中,以建模多时间序列之间的相互依赖?
- RQ2与基线方法相比,联合学习 DAG 结构与流参数是否能提升异常检测性能?
- RQ3在长期时间序列数据中,学习到的图结构是否能揭示有意义的分布漂移?
- RQ4在真实世界时间序列常见的标签稀缺与高维性条件下,该模型表现如何?
- RQ5演化中的图结构能否为系统动态与季节性模式提供可解释的洞察?
主要发现
- GANF 在 PMU-B 数据集上取得 0.678 的最高 AUC-ROC,在 PMU-C 数据集上达到 0.705,优于所有消融实验变体与基线方法。
- GANF 的对数密度能有效分离正常与异常实例,对数密度阈值约为 16 可用于识别异常。
- GANF 发现了先前未被标注系统识别出的低密度异常时间步,揭示了潜在异常。
- 学习到的 DAG 随时间演化,边权重呈现出与电力消耗周期相关的季节性模式。
- 消融实验表明,DAG 与流参数的联合训练至关重要,单独训练或假设独立性会导致性能下降。
- DAG 结构的演化揭示了分布漂移现象,边的出现与消失呈现季节性聚集特征,表明条件依赖关系发生了变化。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。