Skip to main navigation Skip to search Skip to main content

Generating Plausible Counterfactual Instances for Anomaly Interpretation with Generative Adversarial Networks

Research output: Contribution to journal › Article › peer-review

Abstract

Anomaly interpretation plays a critical role in understanding abnormal behaviors within high-stakes decision systems. Counterfactual Explanation (CE), an emerging technique, offers promise by generating hypothetical scenarios that transition anomalies to normal states through minimal perturbations. However, when applied specifically to anomaly interpretation, existing CE methods suffer from three critical limitations: (i) Distance-minimizing CE methods produce counterfactual instances clustered near anomalies, failing to reach core normal regions; (ii) Gradient-based CE methods suffer geometric instability near complex boundaries where anomalies reside; (iii) CE methods trained solely on normal instances generate out-of-distribution counterfactual instances from anomalies. To address these issues, we propose GLEAN ( G enerating p L ausible count E rfactual instances for A nomaly i N terpretation with generative adversarial networks), a novel framework leveraging generative adversarial networks to generate plausible and in-distribution counterfactual explanations specifically for anomaly interpretation. Technically, GLEAN employs adversarial perturbation to transform anomalies into plausible counterfactual instances within the normal instance distribution, guided by normal instance prototypes to ensure interpretability and reduce sensitivity to the decision boundary. The framework establishes an adversarial equilibrium where a generator minimizes feature perturbations, the distance between generated counterfactual instances and query anomalies, and the similarity between generated counterfactual instances and inlier prototypes, while a density-based discriminator to ensure that generated counterfactual instances adhere to the normal data distribution. GLEAN outputs the most plausible and in-distribution counterfactual instances as explanations for the anomalies identified. Empirical results show that GLEAN achieves state-of-the-art performance across four key metrics of Density, Distance, Proximity and Sparsity, outperforming 15 baseline methods on ten real-world datasets. Our datasets and source code are publicly available at https://github.com/KDDElab/GLEAN.
Original languageEnglish
Article number104310
Pages (from-to)1-33
Number of pages33
JournalInformation Fusion
Volume133
Early online date26 Mar 2026
DOIs
Publication statusPublished (in print/issue) - 30 Sept 2026

Bibliographical note

©2026Published by Elsevier B.V.

Data Availability Statement

can be found at the links provided in the manuscript.

Funding

This work was supported in part by NSFC 62472294. Furthermore, we would like to specifically thank Dr. Xian Wang of the Institute of Atomic and Molecular Physics, Sichuan University, for providing the real-world dataset on slip ferroelectric materials, which was instrumental to the experimental case study in this work.

FundersFunder number
Sichuan University
National Natural Science Foundation of China62472294

    Keywords

    • Counterfactual explanation
    • generative adversarial networks
    • anomaly interpretation
    • Anomaly interpretation,
    • Generative adversarial networks

    Fingerprint

    Dive into the research topics of 'Generating Plausible Counterfactual Instances for Anomaly Interpretation with Generative Adversarial Networks'. Together they form a unique fingerprint.

    Cite this