Causal Characterization of Measurement and Mechanistic Anomalies
Hendrik Suhr, David Kaltenpoth, Jilles Vreeken
TL;DR
This work tackles explainable anomaly detection by distinguishing measurement errors from genuine mechanistic shifts within a causal framework over latent and observed variables $\mathbf{X}^*$ and $\mathbf{X}$. It introduces a latent interventional model with hard interventions on latent nodes and on observed measurements, proves structural identifiability in the infinite-sample limit, and develops Cali, a latent maximum-likelihood estimator that marginalizes over unobserved clean values via Monte Carlo and leverages robust ANM-based causal mechanisms under Sparse Mechanism Shifts. Cali localizes root causes and classifies anomaly types, achieving state-of-the-art performance in synthetic and real datasets (Sachs, Causal Chambers) and providing interpretable case studies such as a NYC Taxi dataset. The method remains robust to unknown DAGs by combining causal discovery with the latent-MLE framework, offering a practical tool for RCA in noisy data and enabling actionable distinctions between measurement corrections and genuine process changes.
Abstract
Root cause analysis of anomalies aims to identify those features that cause the deviation from the normal process. Existing methods ignore, however, that anomalies can arise through two fundamentally different processes: measurement errors, where data was generated normally but one or more values were recorded incorrectly, and mechanism shifts, where the causal process generating the data changed. While measurement errors can often be safely corrected, mechanistic anomalies require careful consideration. We define a causal model that explicitly captures both types by treating outliers as latent interventions on latent ("true") and observed ("measured") variables. We show that they are identifiable, and propose a maximum likelihood estimation approach to put this to practice. Experiments show that our method matches state-of-the-art performance in root cause localization, while it additionally enables accurate classification of anomaly types, and remains robust even when the causal DAG is unknown.
