Abstract
Determining the representativeness of a point within a data cloud has recently become a desirable task in multivariate analysis. The concept of statistical depth function, which reflects centrality of an arbitrary point, appears to be useful and has been studied intensively during the last decades. Here the issue of exact computation of the classical Tukey data depth is addressed. The paper suggests an algorithm that exploits connection between the Tukey depth and linear separability and is based on iterative application of linear programming. The algorithm further develops the idea of the cone segmentation of the Euclidean space and allows for efficient implementation due to the special search structure. The presentation is complemented by relationship to similar concepts and examples of application.
Introduction
In multivariate statistics, determining the "centrality" of a point within a data cloud is a fundamental challenge. The Tukey depth (or halfspace depth) serves as a robust measure for this purpose, defined as the minimum number of data points contained in any closed halfspace that includes the target point. While mathematically elegant and affine invariant, Tukey depth is computationally intensive. As dimensionality $d$ increases, the problem becomes NP-complete, often forcing a choice between slow exact methods or imprecise approximations.
This paper introduces a novel algorithm for exact computation by framing the problem as a search through segmented cones in Euclidean space. By leveraging linear programming and binary coding, the proposed method navigates the complex geometry of data clouds more efficiently than previous approaches.
Methods: Conic Segmentation and Linear Programming
The core of the algorithm lies in the conic segmentation of $\mathbb{R}^d$. The space is divided into polyhedral "direction cones" where the set of data points on either side of a hyperplane passing through the target point remains constant.
The algorithm proceeds through several key steps:
- Space Partitioning: The space is divided into cones. Within each cone, the halfspace depth is invariant.
- Breadth-First Search (BFS): Starting from an initial cone, the algorithm systematically explores neighboring cones.
- Linear Programming (LP) for Facet Detection: Identifying the boundaries (facets) of a cone is proven to be equivalent to a linear separability problem. This allows the use of the Simplex algorithm to find adjacent cones.
- Binary Coding: Each cone is uniquely identified by a binary sequence representing the position of data points relative to the hyperplanes. This discrete representation minimizes numerical precision errors and memory usage.
- Symmetry and Caching: The algorithm exploits the central symmetry of the problem and caches LP results to optimize the search process.
Results and Applications
The algorithm was validated using synthetic datasets, including Gaussian and heavy-tailed Student-$t_1$ (Cauchy) distributions. The latter is particularly challenging for standard statistical tools due to extreme outliers.
- Robust PCA: In tests with Cauchy-distributed data, standard Singular Value Decomposition (SVD) failed to capture the data structure. In contrast, the Tukey depth-based PCA remained highly accurate, outperforming specialized robust methods like ROBPCA.
- Classification: Utilizing the $DD\alpha$-classifier, Tukey depth achieved superior accuracy for non-Gaussian data compared to traditional methods like K-Nearest Neighbors (KNN) or Quadratic Discriminant Analysis (QDA).
- Exactness: The method provides a guaranteed exact value for Tukey depth, serving as a vital benchmark for heuristic approximation algorithms.
Conclusion and Future Work
While the algorithm significantly improves exact computation, the "curse of dimensionality" remains a hurdle as the number of cones grows exponentially with $d$. Future research directions include applying this binary coding logic to other depth measures, such as regression depth, and refining caching mechanisms to handle larger datasets. The integration of this solver into functional data analysis also presents a promising avenue for robust multivariate analysis.
Summary updated