arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.11103cs.LGstat.ML
收藏

时间序列异常检测的多种反事实推理

Diverse Counterfactual Explanations for Anomaly Detection in Time Series

University of Oxford(牛津大学);Amazon Web Services(亚马逊云科技);Zalando Research(Zalando研究院);Santa Clara University(圣克拉拉大学);Fiddler AI

Deborah Sulem, Michele Donini, Muhammad Bilal Zafar, Francois-Xavier Aubet, Jan Gasthaus, Tim Januschowski, Sanjiv Das, Krishnaram Kenthapadi, Cedric Archambeau

摘要:

在实践中,检测时间序列数据中异常的数据驱动方法无处不在,但它们通常无法为它们所做的预测提供有用的解释。在这项工作中,我们提出了一个模型不可知的算法,产生反事实的合奏解释的时间序列异常检测模型。我们的方法生成了一组不同的反事实的例子,即,多个扰动版本的原始时间序列不被认为是异常的检测模型。由于扰动的幅度是有限的,这些反事实代表了与模型认为正常的原始时间序列相似的输入集合。我们的算法适用于任何可微的异常检测模型。我们研究了我们的方法在单变量和多变量真实世界数据集以及两个基于深度学习的异常检测模型上的价值,以及之前在其他数据领域提出的几个可解释性标准,如有效性,可信性,接近性和多样性。我们表明,我们的算法可以产生符合这些标准的反事实的例子,并感谢一种新型的可视化,可以传达一个模型的内部机制比现有的方法更丰富的解释。此外,我们设计了一个稀疏的变体,我们的方法,以提高高维时间序列异常的反事实解释的可解释性。在这种情况下,我们的解释只局限于几个维度,因此可以更有效地与模型的用户进行沟通。

英文摘要:

Data-driven methods that detect anomalies in times series data are ubiquitous in practice, but they are in general unable to provide helpful explanations for the predictions they make. In this work we propose a model-agnostic algorithm that generates counterfactual ensemble explanations for time series anomaly detection models. Our method generates a set of diverse counterfactual examples, i.e, multiple perturbed versions of the original time series that are not considered anomalous by the detection model. Since the magnitude of the perturbations is limited, these counterfactuals represent an ensemble of inputs similar to the original time series that the model would deem normal. Our algorithm is applicable to any differentiable anomaly detection model. We investigate the value of our method on univariate and multivariate real-world datasets and two deep-learning-based anomaly detection models, under several explainability criteria previously proposed in other data domains such as Validity, Plausibility, Closeness and Diversity. We show that our algorithm can produce ensembles of counterfactual examples that satisfy these criteria and thanks to a novel type of visualisation, can convey a richer interpretation of a model's internal mechanism than existing methods. Moreover, we design a sparse variant of our method to improve the interpretability of counterfactual explanations for high-dimensional time series anomalies. In this setting, our explanation is localised on only a few dimensions and can therefore be communicated more efficiently to the model's user.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑