Distributionally robust halfspace depth

Jevgeņijs Ivanovs, Pavlo MozharovskyiarXiv 2021 · DOI

Abstract

Tukey's halfspace depth can be seen as a stochastic program and as such it is not guarded against optimizer's curse, so that a limited training sample may easily result in a poor out-of-sample performance. We propose a generalized halfspace depth concept relying on the recent advances in distributionally robust optimization, where every halfspace is examined using the respective worst-case distribution in the Wasserstein ball of radius $\delta \geq 0$ centered at the empirical law. This new depth can be seen as a smoothed and regularized classical halfspace depth which is retrieved as $\delta \downarrow 0$. It inherits most of the main properties of the latter and, additionally, enjoys various new attractive features such as continuity and strict positivity beyond the convex hull of the support. We provide numerical illustrations of the new depth and its advantages, and develop some fundamental theory. In particular, we study the upper level sets and the median region including their breakdown properties.

Introduction

In multivariate statistics, data depth measures how "central" a point is relative to a distribution. The most prominent version, Tukey’s halfspace depth, defines depth as the minimum probability mass found in any closed halfspace containing the point.

However, Tukey’s depth has several practical limitations when applied to finite samples. The primary issue is the "Optimizer’s Curse": when calculated on a finite sample, the minimization over all possible directions tends to overfit. This leads to an "optimistically biased" estimate that consistently underestimates the true population depth. Furthermore, the empirical Tukey depth is discrete and discontinuous, dropping to zero immediately outside the convex hull of the data.

Empirical halfspace depth vs sample size illustrating the optimizer's curse.

Methodology: Distributionally Robust Halfspace Depth

To address these shortcomings, the authors propose a generalized concept called Distributionally Robust Halfspace Depth ($D_\delta$). Instead of evaluating the depth against the empirical distribution ($P_n$) alone, they look at the worst-case distribution within a Wasserstein ball of radius $\delta$ centered at $P_n$.

The Wasserstein distance allows for a "budget" ($\delta$) to move probability mass around. By finding the distribution within this budget that minimizes the mass in a given halfspace, the depth becomes "regularized." This minimax formulation results in a depth function that is continuous and strictly positive everywhere, decaying linearly as points move toward infinity.

Key Insights and Results

The robustified depth provides several advantages over the traditional measure:

  • Smoothing and Continuity: By allowing the distribution to vary slightly, the "staircase" nature of Tukey depth is eliminated.
  • Outlier Ranking: Unlike Tukey depth, which vanishes outside the convex hull, $D_\delta$ maintains a positive value that decays at a rate of $\delta/\|z\|$, allowing for meaningful ranking of distant outliers.
  • Robustness: The median region of $D_\delta$ can withstand significant contamination, often outperforming the classical version in breakdown properties.
Comparison between traditional Tukey depth and the proposed robust version.

Numerical experiments confirm that the robustified depth effectively "debiases" empirical estimates. As the sample size $n \to \infty$ and the robustness radius $\delta \to 0$, $D_\delta$ converges back to the true population Tukey depth, ensuring statistical consistency.

Conclusion

The proposed Distributionally Robust Halfspace Depth addresses the "optimizer's curse" inherent in Tukey's depth. By incorporating a Wasserstein-based robustness budget, the method achieves a smoothed, continuous, and more reliable depth measure that remains informative even in the tails of a distribution. Future work will explore parameter selection strategies for $\delta$ and extensions to non-Euclidean data structures.

Summary updated

BibTeX
@misc{ivanovs2021distributionally,
  author = {Jevgeņijs Ivanovs and Pavlo Mozharovskyi},
  title = {{Distributionally robust halfspace depth}},
  year = {2021},
  eprint = {2101.00726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.00726},
}
Figure