arXiv:2610.27534stat.MLOct 2026

Manuscript Offprint

arXiv:2610.27534

What Moved the Alarm Score? Causal Attribution with Exact Computation and Scarce-Incident Estimation

Masaaki Takada, Ryusei Shingaki

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Alarms in industrial systems and scientific instruments often demand immediate diagnosis despite scarce incident data. To guide intervention, an explanation must trace how changes in the data-generating process propagate through the causal structure to alter the alarm score, rather than merely flagging shifts that may be downstream effects. Yet exact attribution across interacting causal components appears combinatorial, while existing methods often either assume an unchanged causal model or require enough incident data to estimate the changed system reliably. We address this setting by formulating the alarm-score change as a Shapley game over hybrid structural causal model (SCM) states. Treating structural functions and exogenous laws as distinct players yields a finer-grained, function/law-resolved report of how each type of change propagates to the alarm score. The same framework defines realized-event and population reports, with an event–population coherence identity linking their attributions. For ordered linear SCMs and quadratic scores, a causal first- and second-moment recursion combined with quadrature computes the full Shapley vector exactly in polynomial time, eliminating combinatorial computation. To estimate this target from scarce incident data, we adapt a well-observed reference SCM to the incident regime using cross-fitted estimates of mechanism changes and residual moments, and derive attribution-error bounds and top-k recovery guarantees. Experiments on controlled and measured shifts illustrate the diagnoses and assess scaling to hundreds of variables and estimation from small incident samples.

1 Introduction

Alarms in industrial and scientific systems demand decisions before their causes are clear. Immediately after an alarm, incident data are scarce and causal mechanisms may have changed. Ranking variables by observed shift is unreliable: a large shift may be downstream or have little effect on the alarm score, whereas a modest upstream shift may propagate through the system and strongly affect the score.

The diagnostic question is therefore how changes in the data-generating process propagated through the system to move a supplied alarm score, rather than merely which variables shifted. We seek an additive allocation of this contrast to structural-function and exogenous-law changes. Producing it soon enough to guide intervention requires three coupled capabilities. First, the report must accommodate a changing SCM and resolve parent-dependent mechanisms from exogenous inputs; otherwise opposing effects at one node can cancel and obscure which kind of repair could help. Second, to compute the report quickly, its Shapley allocation must avoid factorial permutation averaging and exponential coalition enumeration. Third, to work from few incident samples, it must leverage the reference regime before enough incident data accumulate to relearn the SCM. Resolution, computation, and estimation thus jointly determine whether attribution can guide intervention immediately after an alarm.

Existing methods solve only subsets of this immediate-diagnosis problem. Feature-attribution methods explain a fixed score map through observed inputs (Lundberg and Lee 2017); event-level causal attribution explains an individual prediction or outlier within one model (Heskes et al. 2020; Budhathoki et al. 2022b; Nguyen et al. 2024); node-wise population attribution replaces a whole causal conditional (Budhathoki et al. 2021; Zhang et al. 2023; Quintas-Martinez et al. 2024); and shift discovery locates changed components (Huang et al. 2020; Chen et al. 2023; Seo et al. 2026). The first two hold generating mechanisms fixed. Node-wise population reports compare regimes, but they can require substantial target-regime data to estimate conditional changes or hybrid values and can merge opposing function/law effects. Shift discovery stops before allocating a supplied score contrast after propagation. Locating where the system changed and determining what moved the alarm score are therefore distinct tasks; none of these approaches provides the resolved, tractable, and scarce-data attribution needed here.

Our starting point is a unified Shapley game over hybrid SCM states, indexed by source, target, player granularity, and score. Each coalition takes selected components from the incident regime and the rest from the reference regime, then evaluates the score after causal propagation. The primary population report uses structural functions and exogenous laws as separate players, so their propagated contributions remain visible. The same framework defines realized-event reports, with an event–population coherence identity linking their expected attributions to the population report. Because the allocation is relative to aligned endpoint SCMs, physical interpretation still requires system-specific semantics.

To make this estimand available in the short incident window, we specialize to ordered linear SCMs and quadratic scores. Every hybrid expectation then depends only on causally propagated first and second moments. This includes common PCA- and ICA-based monitoring scores, quadratic scores formed from Mahalanobis or graphical-lasso precision matrices, and squared z-scores (Qin 2003; Lee et al. 2004; Mahalanobis 1936; Friedman et al. 2008). This second-order closure resolves both remaining bottlenecks: a causal-order moment recursion, shared backward-sensitivity sweep, and exact quadrature compute the full Shapley vector exactly up to roundoff in polynomial time, while a well-observed reference SCM anchors cross-fitted estimates of incident mechanism deviations and residual moments. The resulting player-specific error bounds yield a uniform rate, sign recovery, and top-k recovery under stated conditions. Thus the same specialization makes the resolved report both exactly computable and estimable from scarce incident data.

The resulting method is S4S^{4}-RCA: Sample-efficient, SCM-grounded, Shapley-consistent, and Shift-aware Root Cause Analysis. Our contributions are:

• Function/law-resolved causal score attribution. We introduce a source–target–player–score framework whose primary population game separates structural functions from exogenous laws and connects to realized-event attribution through event–population coherence.

• Exact polynomial-time computation. The moment program computes the full function/law vector, up to roundoff, in O(d4)O(d^{4}) time and O(d2)O(d^{2}) memory without enumerating orders or coalitions.

• Scarce-incident estimation. Reference-anchored cross-fitting yields player-specific error bounds and guarantees for sign and top-k recovery. Controlled and measured shifts assess resolution, scaling, recovery, and model-relative diagnosis.

References (33)