Achieving Counterfactual Explanation for Sequence Anomaly Detection (CFDet)

Aug 22, 2024 · 1 min read

CFDet: Counterfactual Explanation for Sequence Anomaly Detection

We propose CFDet, a framework that explains sequence anomaly detection by identifying anomalous entries through a counterfactual perspective. CFDet highlights the minimal changes needed to convert an anomalous sequence into a normal one, offering clear and fine-grained explanations of model decisions. Evaluations on BGL, Thunderbird, and CERT datasets show that CFDet achieves high-fidelity explanations and consistently outperforms attention-based, Shapley value, and gradient-based baselines in detecting anomalous entries.


Citation

@inproceedings{cheng2024achieving,
  title={Achieving Counterfactual Explanation for Sequence Anomaly Detection},
  author={Cheng, He and Xu, Depeng and Yuan, Shuhan and Wu, Xintao},
  booktitle={Joint European Conference on Machine Learning and Knowledge Discovery in Databases},
  pages={19--35},
  year={2024},
  organization={Springer}
}