PRISM: Asymmetric Precision-Recall Optimization for Million-Scale Root Cause Analysis
Wei Zhang ⋅ Rongyao Cai ⋅ Xiaosheng Li ⋅ Hang Yu ⋅ Rui Wang
Abstract
Multi-dimensional Root Cause Analysis (RCA) requires searching an exponential $\mathcal{O}(2^{M})$ attribute-subset space over millions of records within seconds to isolate the root-cause combination. Existing methods fail at this industrial scale because heuristic-search approaches scan and score the massive normal-dominated dataset symmetrically ($\mathcal{O}(|\mathcal{U}| \cdot M)$ with $\mathcal{O}(2^{M})$ search), while pairwise optimization methods incur prohibitive $\mathcal{O}(|\mathcal{U}|^{2})$ normal-normal comparisons. To overcome both bottlenecks, we propose \textbf{PRISM} (\underline{P}recision-\underline{R}ecall \underline{I}nformed \underline{S}ubspace \underline{M}ining), which reformulates RCA as an asymmetric Precision-Recall optimization. Precision is defined over anomaly-normal pairs and Recall over anomaly-anomaly pairs, eliminating uninformative normal-normal comparisons entirely. Coupled with one-pass tensor compression and a two-stage solver---combining Bernoulli straight-through subspace pruning with exact combinatorial verification---PRISM reduces iterative pairwise complexity to an anomaly-bounded $\mathcal{O}(|\mathcal{P}|^{2} \cdot M)$ and exact search to $\mathcal{O}(2^{m})$ ($m \leq 5$). Evaluations on four public benchmarks and a new 5.13M-record industrial dataset show that PRISM achieves the highest public-benchmark average F1 (0.92 vs.\ 0.91 for RiskLoc and 0.81 for PSqueeze), outperforms all baselines on a tractable 20K-record production control (0.82 vs.\ 0.53 F1), and is the only method sustaining high accuracy (0.82 F1) and sub-second latency (0.29\,s) across a $2^{110}$ attribute-value combination space at full 5.13M-record scale. We publicly release our code and this dataset as \textbf{NFC}, establishing a production-sourced, million-scale benchmark for multi-dimensional RCA. \href{https://github.com/goaheand/PRISM}{[Code]} \quad \href{https://huggingface.co/datasets/Ysqq/NFC}{[Dataset]}
Successful Page Load