Abstract
This paper introduces Maximally Divergent Intervals (MDI), an unsupervised framework for detecting collective anomalies in spatio-temporal data. By identifying regions where the local data distribution deviates most from the global background, MDI moves beyond traditional point-wise detection. The method utilizes a novel unbiased Kullback-Leibler divergence and efficient tensor-based computations to achieve high accuracy and scalability across diverse domains, including climate science and video surveillance.
Introduction
Traditional anomaly detection often focuses on individual outliers. However, many critical phenomena—such as extreme weather events or specific video activities—manifest as collective anomalies: contiguous regions that appear unusual only when viewed as a coherent block. Existing methods for detecting these intervals often struggle with multivariate data, varying window sizes, and the high computational cost of searching high-dimensional tensors. MDI addresses these challenges by framing anomaly detection as a search for regions of maximal statistical divergence.
Methodology
The core objective of MDI is to find a sub-block $I$ such that the probability distribution $p_I$ is maximally divergent from the distribution of the remaining data $p_\Omega$.
To address the mathematical bias of standard KL divergence toward smaller intervals, the authors derived an unbiased version ($D_{U-KL}$) that is invariant to interval length. For distribution modeling, the framework employs Multivariate Gaussian models augmented with time-delay and spatial-neighbor embeddings to capture complex correlations efficiently. Computational efficiency is achieved through Cumulative Sum Tensors, allowing $O(1)$ estimation of mean and covariance for any arbitrary sub-block after a pre-computation step.
Evaluation and Results
MDI was evaluated on synthetic benchmarks, 50 years of North Sea climate data, text corpora, and video surveillance footage. On synthetic data, MDI improved Average Precision (AP) by 286% over point-wise baselines. The use of interval proposals—filtering the search space using cheap point-wise scores—yielded a 40x speedup, reducing processing time from 216 seconds to 5.2 seconds on benchmark sets.
In real-world applications, the method successfully identified 28 of the top 50 detections as well-known historical storms in climate datasets. In text forensics, it correctly flagged stylistic shifts, such as long genealogies within the Book of Genesis.
Conclusion
MDI provides a robust, scalable solution for region-based anomaly detection. While powerful, future work remains to address the curse of dimensionality in high-density estimation and to automate parameter selection for embeddings. Additionally, developing attribution schemes to explain which specific variables drive the detected divergence would enhance the framework's interpretability for domain experts.
Summary updated