[Paper Review] Anomaly detection using surprisals
The paper introduces a unified surprisal-based framework for anomaly detection that converts multivariate problems into univariate tail estimation, using empirical tail probabilities or a Generalized Pareto Distribution to identify anomalies under possibly misspecified models. It demonstrates robustness and applicability via simulations and real data (French mortality and Test cricket) with practical guidance on when to use each tail-estimation method.
Anomaly detection methods are widely used but often rely on ad hoc rules or strong assumptions, and they often focus on tail events, missing ``inlier'' anomalies that occur in low-density gaps between modes. We propose a unified framework that defines an anomaly as an observation with unusually low probability under a (possibly misspecified) model. For each observation we compute its surprisal (the negative log generalized density) and define an anomaly score as the probability of a surprisal at least as large as that observed. This reduces anomaly detection for complex univariate or multivariate data to estimating the upper tail of a univariate surprisal distribution. We develop two model-robust estimators of these tail probabilities: an empirical estimator based on the observed surprisal distribution and an extreme-value estimator that fits a Generalized Pareto Distribution above a high threshold. For the empirical method we give conditions under which tail ordering is preserved and derive finite-sample confidence guarantees via the Dvoretzky--Kiefer--Wolfowitz inequality. For the GPD method we establish broad tail conditions ensuring classical extreme-value behavior. Simulations and applications to French mortality and Test-cricket data show the approach remains effective under substantial model misspecification.
Motivation & Objective
- Define anomalies as observations with unusually low probability under a specified model.
- Develop a unified surprisal framework that converts multivariate to univariate tail estimation.
- Propose two model-robust tail-estimation methods: empirical surprisal probabilities and Generalized Pareto Distribution fits.
- Provide theoretical guarantees for tail probability estimation under misspecification and demonstrate practical applications.
Proposed method
- Compute surprisal s_i = -log f(y_i) for each observation using a specified (possibly misspecified) distribution F.
- Define anomaly scores p_i = Pr(S ≥ s_i) = 1 - G(s_i^-), where G is the surprisal distribution under F.
- Estimate tail probabilities via (i) empirical distribution of surprisals; (ii) fitting a Generalized Pareto Distribution to the largest surprisal values.
- Prove conditions (Assumption 2.1) under which empirical tail probabilities accurately reflect true tails.
- Establish extreme-value theory results showing maximal surprisal follows a generalized extreme value distribution under broad tail conditions (Assumptions 3.1–3.3).
- Extend to conditional distributions and discuss practical thresholding and model-misspecification considerations.
Experimental results
Research questions
- RQ1How can anomalies be defined as low-probability observations under a chosen model using surprisal?
- RQ2Under model misspecification, when do empirical tail estimates of surprisal probabilities correctly approximate true tail probabilities?
- RQ3Can extreme-value theory justify using a Generalized Pareto Distribution to estimate surprisal tail probabilities across diverse distributions?
- RQ4How can the surprisal framework be applied to conditional models and real-world data?
Key findings
- A unified surprisal-based framework converts anomaly detection to univariate tail estimation of surprisal distributions.
- Empirical tail probabilities provide finite-sample uniform error control under a monotone tail transformation (Assumption 2.1).
- A Generalized Pareto Distribution can approximate the tail of the surprisal distribution under broad conditions (sub-Gaussian, sub-exponential, or polynomial tails).
- The approach remains effective under substantial model misspecification, as demonstrated in simulations and applications to French mortality and Test cricket data.
- In practice, the empirical and GPD methods offer complementary strengths depending on sample size and desired significance, and both can be used for robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.