Learning Patterns for Detection with Multiscale Scan Statistics

James Sharpnack

Introduction

Detecting a specific pattern within noisy data—the classic "needle in a haystack" problem—is a fundamental challenge in fields ranging from medical imaging to remote sensing. The primary difficulty arises when the signal's location, scale, and shape are unknown. Standard statistical detection often asks if any signal exists, while classification identifies a specific known signal. The gap between these tasks involves searching for an anomaly of unknown proportions. Searching too broadly across these parameters often leads to the "multiple comparisons problem," where false positives become inevitable as noise peaks are mistaken for signals.

This research introduces the Pattern Adapted Multiscale Scan Statistic (PAMSS), a rigorous statistical framework designed to simultaneously learn and detect anomalous patterns in images or tensors. By establishing that these statistics follow subexponential distributions, the work provides the first finite-sample error bounds for detecting unknown, smooth patterns across multiple scales and locations.

Methodology: The PAMSS Framework

The core of the approach involves "scanning" data by convolving it with a dictionary of potential patterns at various scales. This allows the system to identify the best-fitting pattern without requiring prior knowledge of the signal's exact form.

Scale Correction and Standardization

A significant hurdle in multiscale analysis is that smaller scales naturally produce higher noise peaks. If the maximum value is taken across all scales without adjustment, the results are dominated by fine-scale noise. The PAMSS framework employs a standardization technique to ensure that every scale is evaluated fairly, preventing the "multiple comparisons" issue from biasing the results toward smaller, noisier windows.

Generic Chaining and Subexponentiality

To provide tight probability bounds, the author utilizes "generic chaining." This sophisticated mathematical technique proves that the standardized supremum of these random fields is a subexponential random variable. Unlike simpler bounds that assume signals are strictly bounded, subexponentiality allows for the application of Bernstein-type inequalities. This is the "secret sauce" that enables the prediction of system behavior with finite data samples, rather than relying solely on infinite-sample asymptotics.

Computational Efficiency via ε-nets

To make the continuous search space computationally tractable, the paper constructs a discrete grid, or ε-net, of locations and scales. This approximation preserves accuracy while allowing the multiscale scan to be implemented through a hierarchy of convolution and downsampling layers. This structure mirrors the architecture of modern Convolutional Neural Networks (CNNs), suggesting a bridge between classical statistics and deep learning.

Simulated Data and Empirical Illustration

As a primarily theoretical and methodological paper, the evaluation focuses on rigorous proofs and controlled simulations. The method was tested on simulated 2D data representing chemical plumes and 1D time series containing sinusoidal signals.

Simulated 2D anomaly, such as a chemical plume, embedded in a noisy multispectral image.

These simulations demonstrate the statistic's ability to isolate faint patterns from high-background noise. In the 1D case, the red line represents the underlying signal that the PAMSS framework aims to detect amidst the blue noise dots.

Simulated 1D time series showing a sinusoidal signal (red line) obscured by noise (blue dots).

Key Results and Insights

  • Learning and Detection Synergy: The research proves that knowing the pattern a priori is unnecessary. As long as the dictionary of smooth patterns does not grow exponentially faster than the sample size, reliable detection is possible.
  • Error Control: The paper provides a concrete formula (Theorem 5) for setting detection thresholds that guarantee a maximum false-alarm rate (Type 1 error). Furthermore, the method is shown to be "asymptotically powerful," meaning the probability of missing a real signal (Type 2 error) vanishes as the sample size increases.
  • The Log-Log Factor: The detection threshold depends on $\log \log L$ (where $L$ is the domain size). This is related to the "Law of the Iterated Logarithm" and provides a much tighter bound than previous polynomial estimates, allowing for more sensitive detection without increasing false positives.

Conclusion and Future Directions

While the current theory assumes a finite dictionary of smooth patterns, it lays the groundwork for more complex applications. The author notes that while PAMSS resembles a CNN, it remains a purely statistical tool. A promising future direction is the integration of these statistical guarantees into the training of deep learning models, potentially making them more robust at detecting faint signals in high-noise environments where traditional models might struggle with reliability.

Summary updated

BibTeX
@inproceedings{sharpnack2018learning,
  author = {James Sharpnack},
  title = {{Learning Patterns for Detection with Multiscale Scan Statistics}},
  booktitle = {Conference on Learning Theory},
  year = {2018},
}
Figure