RankShift: In-Database Detection and Explanation of Categorical Shifts
Not on the map. Why?
Abstract (arXiv)
A login service can receive its usual number of failed sign-ins while one source grows from 2% to 30% of them. The same pattern appears in system logs when a rare event template becomes common while the message rate stays stable. These events change which categories are active without changing how many events occur. RankShift detects such changes inside the analytical database that stores the data. It compares each window's category shares with a benign reference using a Pearson score whose terms identify the categories responsible for the change. The same query returns the score, calibrated alert, and largest increasing contributions. We evaluate RankShift on HDFS, BGL, and Thunderbird. It matches the count-vector autoencoder within 0.001 AUROC on HDFS (0.999 versus 1.000) and leads on Thunderbird (0.983 versus 0.949). In a controlled fixed-volume experiment, RankShift detects rare-category shifts that are invisible to event-count monitoring, reaching 0.787 AUROC compared with 0.771 for the autoencoder. Across all three corpora, observed false-alarm rates track the requested operating levels. RankShift requires no model training or inference service, and the autoencoders deployed state is 137x larger.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 21 references that are in the map. First posted on arXiv 28 Aug 2026.
Builds on
9 of 21 references.
References · 9
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2021Testing for Outliers with Conformal p-valuescited by 133
- 2021LogBERT: Log Anomaly Detection via BERTcited by 114
- 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 68
- 2019MIDAS: Microcluster-Based Detector of Anomalies in Edge Streamscited by 29
- 2021DeepAID: Interpreting and Improving Deep Learning-based Anomaly Detection in Security Applicationscited by 18
- 2020MSTREAM: Fast Anomaly Detection in Multi-Aspect Streamscited by 17
- 2016MacroBase: Prioritizing Attention in Fast Datacited by 15
- 2019ACE -- An Anomaly Contribution Explainer for Cyber-Security Applicationscited by 6
Built on by
Not cited yet.