Year: 2025
Type: other
Abstract: Detecting anomalies in large sets of observations is crucial across many fields, such as disease surveillance, genetic expression studies, and process monitoring. We cast anomaly detection as a hypothesis testing problem, wherein the null hypothesis models the setting where no anomalies are present; rejection of that null corresponds to the detection of anomalies. We are interested in the detection of sparse and weak anomalous behavior — i.e. within a small fraction of the observations, and as weak deviations from the non-anomalous behavior — which leads to nuanced and highly challenging statistical inference problems. Provided one is willing to make restrictive modeling assumptions, these testing problems can be successfully tackled with scan statistics and related methods. There are, however, many situations where making such strong modeling and distributional assumptions is undesirable. We therefore take a different stance; in the first part of this thesis we propose methodologies which are instead distribution-free. In Chapters 2 and 3 we propose novel methodologies based on permutations and ranks — requiring no parametric assumptions for exact calibration guarantees. It is natural to question whether the flexibility of such distribution-free methodologies comes at a price, in the form of reduced detection power. We answer that question comprehensively. Through a first-order minimax lens, the difficulty of the statistical testing problems we consider has an intricate characterization in the form of a fundamental detection boundary. This boundary separates anomalies which are detectable from those undetectable by any test. It is highly relevant to ascertain to what extent the detection boundary of a candidate test matches the fundamental limits of detection. In the case of a match, a test is referred to as optimal — indicative of a test that effectively leverages evidence in the data. Perhaps surprisingly, through this minimax lens, we establish that the permutation test of Chapter 2 is an optimal test. Permutation tests are computationally demanding, and rank-based approaches mitigate some of these computational hurdles at the expense of a small loss of information. Although this implies the proposed rank-based test of Chapter 3 is not optimal, we comprehensively characterize its detection boundary and show it nearly coincides with the optimal boundary in many settings of interest. Chapter 4 closes the first part of this thesis, where we broaden the scope of the testing problems considered in Chapters 2 and 3 — in the form of anomaly detection across time series. Due to the presence of dependencies, designing well-calibrated distribution-free tests in this setting is far from straightforward. Nevertheless, for time series with a Markovian dependency structure, we propose a novel bootstrap procedure with a heuristic justification. An empirical study highlights the methodology is reasonably well-calibrated, and powerful against sparse alternatives. In the second part of this thesis, we discuss questions that arise when employing our proposed methodologies in practice. Although permutation and rank based tests (such as those we propose) are defined in terms of complete permutation distributions, it is nearly universal practice to execute these through a subsample of permutations, leading to a test that is calibrated by Monte Carlo sampling. While it is understood the number of Monte Carlo samples should not be too small, there are no clear practical guidelines on how to choose an adequate number of samples. We address this in Chapter 5. First, we connect existing disparate literature, which has proposed inconsistent notions of "validity" of a test calibrated by Monte Carlo simulation. This survey highlights a lack of existing methodology that adequately addresses a common and relevant setting in statistical practice. We fill this important gap, and propose novel methodology that is flexible, simple, and easy to understand, based on martingale constructions from sequential testing. The proposed methodology requires no prior commitment in terms of number of Monte Carlo samples, and can be sequentially updated while retaining practically relevant validity guarantees at any updating time. The chapter concludes with a set of recommendations for statistical practice. A different practical question is addressed in Chapter 6, relating to the sampling of the observations themselves. Focusing on a specific anomaly detection problem — disease surveillance — we discuss how existing stratifications in the subpopulation may be leveraged to increase the sampling efficiency of the methodology used, which ultimately may lead to disease outbreaks being detected earlier. Specifically, we show that, under some assumptions, samples from subpopulations with high baseline risk of contracting the studied disease may exhibit more pronounced evidence under outbreak scenarios — representing the proverbial "canaries in the coalmine".
Source: TU/e Research Portal
Author: Stoepker, Ivo Vincentius
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7111617930
