Abstract
This paper reinterprets the statistical concept of "data depth"—traditionally used to identify the center of a distribution—through the lens of supervised classification risk. By defining depth as the minimum loss of a classifier attempting to separate a point from a distribution, the authors introduce a "Loss Depth" framework. This approach enables the use of modern machine learning tools like SVMs and Logistic Regression to create depth functions that are computationally efficient in high dimensions and robust to complex, multimodal data structures.
Introduction
In classical statistics, data depth measures the centrality of a point relative to a dataset. It is a powerful tool for anomaly detection, where points with low depth are flagged as outliers. However, traditional measures like Tukey’s Halfspace Depth face significant hurdles: the "curse of dimensionality" makes them computationally prohibitive in high-dimensional spaces, and they often assume a single convex "center," failing on multimodal datasets with multiple clusters.
The Loss Depth Framework
The core innovation of this work is the Loss Depth framework, which bridges the gap between statistical depth and supervised learning. The process of calculating the depth of a point $z$ relative to a distribution $Q$ is transformed into a synthetic classification task:
- Labeling: The point $z$ is assigned a label of -1, while samples from $Q$ are labeled +1.
- Optimization: A classifier is trained to separate $z$ from $Q$ by minimizing a specific loss function $l$ (e.g., Hinge or Logistic loss).
- Risk as Depth: The resulting minimum loss (risk) defines the depth. A point deep within the distribution is difficult to separate, leading to high loss (high depth), whereas an outlier is easily separated, resulting in low loss (low depth).
The authors explore several variants, including Logistic Regression Depth (LRD) and Support Vector Machine Depth (SVMD). By incorporating $L_2$ regularization, they prevent the model from overfitting to the single point $z$, ensuring stable and meaningful depth values.
Key Insights and Theoretical Advantages
The "Loss Depth" perspective offers several theoretical and practical advantages:
- Dimension-Independent Convergence: The authors prove that Loss Depths converge at a rate of $O(n^{-1/2})$, independent of the data's dimensionality. This makes them theoretically superior to traditional depth measures in high-dimensional settings.
- Interpretability: In linear models like LRD, the classifier's weights provide a direct explanation for why a point is considered an outlier.
- Robustness: Unlike One-Class SVMs, which can be sensitive to outliers in the training set, Loss Depth performs a fresh optimization for every test point, enhancing its natural robustness to noise.
Experimental Results
The framework was evaluated on synthetic and real-world benchmarks, including the ODDS outlier detection datasets and high-dimensional vision tasks like MNIST and Fashion-MNIST.
A key result is the handling of multimodal distributions. While traditional methods struggle with non-convex shapes, Kernel-based SVMD accurately identifies the centers of multiple distinct clusters. Furthermore, on high-dimensional datasets, simple LRD (essentially a single neuron) achieved AUC-ROC scores between 0.92 and 0.97, rivaling or exceeding the performance of complex deep learning models like Deep SVDD.
Conclusion and Future Work
By reframing data depth as a classification risk, this paper provides a scalable and flexible methodology for anomaly detection. While the per-point optimization can be computationally intensive, the process is highly parallelizable. Future research may explore deeper neural architectures as classifiers and further investigate the information-theoretic connections between loss functions and Bayesian posterior probabilities.
Summary updated