Conditional Attribution for Root Cause Analysis in Time-Series Anomaly Detection

Shashank Mishra (✉), Karan Patil, Cedric Schockaert, Didier Stricker, Jason Rambach · 2026

Read Conditional Attribution for Root Cause Analysis in Time-Series Anomaly Detection by Shashank Mishra (✉), Karan Patil, Cedric Schockaert, Didier Stricker, Jason Rambach (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-17616.txt.

Introduction

Mishra and four colleagues propose conditional attribution for root-cause analysis of time-series anomalies. Old explanation methods lean on unrealistic feature changes and ignore time and cross-feature links, giving wrong answers. Their method explains anomalies against similar normal states, fetching typical normal cases matched to the odd observation. Fetching runs in learned compact spaces from autoencoder latents and UMAP embeddings, with no fake cases slipping in. Tests on SWaT and MSDS show steady gains in root-cause hits, timing, and toughness.

Catalog record

CREATORShashank Mishra (✉), Karan Patil, Cedric Schockaert, Didier Stricker, Jason Rambach
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE59431
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2604.17616

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Conditional Attribution for Root Cause Analysis in Time-Series Anomaly Detection Shashank Mishra (✉), Karan Patil, Cedric Schockaert, Didier Stricker, Jason Rambach Abstract Root cause analysis (RCA) for time-series anomaly detection is critical for the reliable operation of complex real-world systems. Existing explanation methods often rely on unrealistic feature perturbations and ignore temporal and cross-feature dependencies, leading to unreliable attributions. We propose a conditional attribution framework that explains anomalies relative to contextually similar normal system states. Instead of using marginal or randomly sampled baselines, our method retrieves representative normal instances conditioned on the anomalous observation, enabling dependency-preserving and operationally meaningful explanations. To support high-dimensional time-series data, contextual retrieval is performed in learned low-dimensional representations using both variational autoencoder latent spaces and UMAP manifold embeddings. By grounding the retrieval process in the system’s learned manifold, this strategy avoids out-of-distribution artifacts and ensures attribution fidelity while maintaining computational efficiency. We further introduce confidence-aware and temporal evaluation metrics for assessing explanation reliability and responsiveness. Experiments on the SWaT and MSDS benchmarks demonstrate that the proposed approach consistently improves root-cause identification accuracy, temporal localization, and robustness across multiple anomaly detection models. These results highlight the practical utility of conditional attribution for explainable anomaly diagnosis in complex time-series systems. Code and models will be publicly released. 1 Introduction Modern anomaly detection systems are increasingly deployed in safety-critical and large-scale environments such as industrial control systems, cyber-physical infrastructure, and cloud platforms [ 12 , 25 , 1 ] . While recent advances in deep learning have significantly improved anomaly detection accuracy, practical deployment requires more than detection alone: operators must understand why an anomaly occurred in order to diagnose faults, take corrective action, and prevent recurrence. This has positioned root cause analysis (RCA) as a central challenge in multivariate time-series monitoring. Existing RCA methods often adapt feature attribution techniques [ 16 , 21 ] that assume feature independence. In multivariate time-series, strong temporal and cross-sensor correlations cause these methods to rely on unrealistic, out-of-distribution (OOD) perturbations [ 22 ] . Recent attempts to address these limitations through structured or group-wise attributions [ 10 , 3 ] still rely on fixed background datasets or heuristic sampling strategies, which fail to preserve the conditional structure of complex physical processes, scale poorly in high-dimensional settings, and offer limited guarantees regarding the fidelity of the explanations. Consequently, current explanations are often operationally implausible, creating a gap between detection and actionable diagnostic insight. In this work, we bridge this gap with a conditional attribution framework that explains anomalies relative to contextually similar normal system states. To handle high-dimensionality and noise, we perform contextual retrieval in learned manifold representations using both Variational Autoencoders (VAE) [ 11 ] and UMAP [ 6 ] . By grounding attribution in representative normal instances that reflect realistic operating conditions, our framework preserves structural dependencies and ensures that explanations are both model-agnostic and physically consistent. Beyond feature-level identification, we address the critical need for temporal localization and principled evaluation in time-series RCA. Our framework enables precise onset localization within long-sequence anomalies by performing attribution over structured temporal windows, capturing the evolution of abnormal behavior. To bridge the gap between heuristic rankings and operational utility, we introduce two novel metrics: (i) CW-RCS , a confidence-aware measure that incorporates attribution strength to penalize diffuse explanations, and (ii) TemporalHM , which quantifies the responsiveness and stability of root-cause identification following anomaly onset. Together, these contributions provide a more rigorous assessment of explanation fidelity and diagnostic reliability than standard retrieval-based measures. We evaluate our framework on the SWaT [ 25 ] industrial benchmark and the high-dimensional MSDS [ 17 ] dataset, alongside a real-world case study on industrial blast furnace monitoring data. Our results demonstrate superior localization accuracy and operational utility in complex, dependent systems. Our contributions are threefold: 1. Conditional Attribution Framework: A novel RCA approach that explains anomalies relative to contextually similar normal states, preserving temporal and cross-feature dependencies to avoid out-of-distribution artifacts. 2. Manifold-Guided Contextual Retrieval: A scalable, model-agnostic strategy using VAE and UMAP embeddings to retrieve representative baselines in high-dimensional latent spaces. 3. Rigorous Evaluation Metrics: We introduce CW-RCS (Confidence-Weighted Root Cause Score) and TemporalHM to quantify explanation reliability and temporal responsiveness, bridging the gap between detection and actionable diagnosis. This work provides a principled foundation for high-fidelity, dependency-preserving explanations in complex time-series systems. 2 Related Work 2.1 Root Cause Analysis (RCA) in Multivariate Time-Series Existing RCA paradigms generally fall into three categories: (i) Statistical methods (e.g., EXstream [ 28 ] , SHAP [ 16 , 10 ] ) which rank features by deviation intensity but often fall into the "symptom-as-cause" trap; (ii) Causal Discovery (e.g., MicroRCA [ 24 ] , CloudRanger [ 23 ] ) which utilize dependency graphs but struggle with the high-dimensionality and non-linearity of industrial data; and (iii) Reconstruction-based methods (e.g., OmniAnomaly [ 20 ] , Interfusion [ 14 ] ) which use generative models to identify root causes via reconstruction error or counterfactuals . Despite their utility, these methods frequently rely on marginal perturbations or static backgrounds that fail to preserve the complex conditional dependencies inherent in time-series systems. 2.2 Feature Attribution and Explainability Feature attribution methods aim to quantify the contribution of individual input variables to model predictions. Model-agnostic approaches such as LIME [ 18 ] and SHAP [ 16 ] approximate local decision boundaries or decompose predictions into additive feature contributions. Gradient-based techniques, including Integrated Gradients [ 21 ] , extend attribution to deep neural networks. While these methods have been widely adopted for tabular and vision tasks, their direct application to multivariate time-series anomaly detection remains challenging. In particular, many attribution techniques rely on marginal perturbations or independence assumptions that fail to preserve temporal and cross-feature dependencies, limiting their reliability for root cause analysis in complex monitoring systems. 3 Problem Formulation We study root cause analysis (RCA) for anomalies in multivariate time-series. The key challenge is to produce explanations that are faithful to the anomaly detector while respecting the strong temporal and cross-sensor dependencies present in real systems. 3.1 Multivariate Time-Series Anomaly Detection Let \mathbf{x}_{t}\in\mathbb{R}^{d} denote the d -dimensional sensor measurement at time t\in\{1,\dots,T\} , and let \mathbf{X}=(\mathbf{x}_{1},\dots,\mathbf{x}_{T}) denote the full multivariate time-series. We define the sliding window of length w starting at time t as \mathbf{W}_{t}:=(\mathbf{x}_{t},\mathbf{x}_{t+1},\dots,\mathbf{x}_{t+w-1})\in\mathbb{R}^{w\times d}. (1) An anomaly detector is a function f:\mathbb{R}^{w\times d}\rightarrow\mathbb{R} , which maps a window \mathbf{W}_{t} to an anomaly score s_{t}:=f(\mathbf{W}_{t}) . 3.2 Root Cause Attribution Objective The objective of RCA is to estimate an attribution tensor \boldsymbol{\Phi}_{t}\in\mathbb{R}^{w\times d} , where each element \Phi_{t}(\tau,j) quantifies the contribution of sensor j at relative time \tau . The total sensor-level attribution, which we denote as \phi_{t,j} to differentiate it from the local attribution values, is obtained by aggregating over the window: \phi_{t,j}=\sum_{\tau=1}^{w}\Phi_{t}(\tau,j). (2) 3.3 Conditional Attribution Formulation Let \mathbf{W}_{t}^{(-j)} denote the window context excluding the j -th sensor’s trajectory. To quantify the contribution of sensor j relative to normal system behavior, let p(\cdot) denote the distribution of normal (non-anomalous) system windows. We define the marginal attribution and the conditional attribution as: \phi_{t,j}^{\text{marg}}=\mathbb{E}_{\mathbf{W}^{\prime}_{j}\sim p(\mathbf{W}_{j})}\left[f(\mathbf{W}_{t})-f(\mathbf{W}_{t}^{(-j)},\mathbf{W}^{\prime}_{j})\right] (3) \phi_{t,j}^{\text{cond}}=\mathbb{E}_{\mathbf{W}^{\prime}_{j}\sim p(\mathbf{W}_{j}\mid\mathbf{W}_{t}^{(-j)})}\left[f(\mathbf{W}_{t})-f(\mathbf{W}_{t}^{(-j)},\mathbf{W}^{\prime}_{j})\right]. (4) In practice, direct sampling from the conditional distribution of normal behavior is intractable. We approximate it using a contextual neighborhood \mathcal{N}(\mathbf{W}_{t}) , defined as the set of K

Read the complete text