Counterfactual explanations for anomaly detection aim to identify changes that make an anomalous instance acceptable to a detector. However, crossing the decision boundary does not necessarily produce a counterfactual consistent with normal data. To this end, we propose Normal-Anchored Chart Reconstruction for Explanations (NACRE), a model-agnostic framework that incorporates local normal-data geometry into counterfactual generation. NACRE constructs overlapping, bounded local charts from normal observations and reconstructs search proposals through these charts before evaluating their validity and quality. Experiments on 20 datasets with three anomaly detectors and eight baselines show that NACRE achieves full validity on all evaluated datasets and the best overall scores for Density, Distance, RMS, and Normality. The ablation results indicate that chart-based candidate generation and neighborhood locality account for the main gains. The held-out results suggest that NACRE generates counterfactuals that better reflect the local structure of unseen normal observations.
翻译:暂无翻译