[Paper Review] Fast computation of Tukey trimmed regions and median in dimension $p>2$
This paper proposes two novel algorithms for fast computation of Tukey $κ$-trimmed regions and the Tukey median in dimensions $p > 2$, overcoming the long-standing computational bottleneck in multivariate nonparametric statistics. The faster algorithm uses a breadth-first ridge-by-ridge search strategy to drastically reduce memory usage and computation time, while the second algorithm computes the innermost Tukey region and its barycenter (the Tukey median) for the first time in $p > 2$, with empirical validation showing significant speedups over existing methods.
Given data in $\mathbb{R}^{p}$, a Tukey $κ$-trimmed region is the set of all points that have at least Tukey depth $κ$ w.r.t. the data. As they are visual, affine equivariant and robust, Tukey regions are useful tools in nonparametric multivariate analysis. While these regions are easily defined and interpreted, their practical use in applications has been impeded so far by the lack of efficient computational procedures in dimension $p > 2$. We construct two novel algorithms to compute a Tukey $κ$-trimmed region, a naïve one and a more sophisticated one that is much faster than known algorithms. Further, a strict bound on the number of facets of a Tukey region is derived. In a large simulation study the novel fast algorithm is compared with the naïve one, which is slower and by construction exact, yielding in every case the same correct results. Finally, the approach is extended to an algorithm that calculates the innermost Tukey region and its barycenter, the Tukey median.
Motivation & Objective
- To address the lack of efficient computational methods for Tukey depth-based regions in dimensions $p > 2$, which has hindered their practical use in multivariate nonparametric analysis.
- To develop a fast, memory-efficient algorithm for computing Tukey $κ$-trimmed regions that avoids storing large geometric structures.
- To construct the first algorithm capable of computing the innermost Tukey region and its barycenter (the Tukey median) for $p > 2$.
- To provide a computational framework that enables practical use of Tukey depth in applications such as outlier detection, confidence regions, and risk analysis.
- To implement and validate the algorithms in an R package, TukeyRegion, for broader accessibility and reproducibility.
Proposed method
- Proposes Algorithm 1, a breadth-first ridge-by-ridge search strategy that avoids storing direction cones or hyperplane arrangements, reducing memory usage to $\lceil\frac{p-1}{8}\log_2 n\rceil$ bytes per ridge.
- Employs a strict bound on the number of facets of a Tukey region to limit computational complexity and guide search.
- Uses a modified bisection procedure in Algorithm 2 to locate the Tukey median by iteratively evaluating Tukey depth at candidate points.
- Integrates efficient Tukey depth computation via linear programming and post-optimization techniques to accelerate convergence.
- Implements a robustness check by perturbing data to ensure general position, with negligible impact on region shape.
- Validates correctness by comparing results with a naive, exact algorithm and benchmarks against the HPS method.
Experimental results
Research questions
- RQ1Can a computationally efficient algorithm be developed for computing Tukey $κ$-trimmed regions in dimensions $p > 2$ without storing large geometric structures?
- RQ2How can the memory and time complexity of Tukey region computation be reduced while preserving accuracy?
- RQ3Is it feasible to compute the innermost Tukey region and its barycenter (the Tukey median) for $p > 2$ using a novel bisection-based approach?
- RQ4How does the performance of the proposed algorithm compare to existing methods like HPS and naive enumeration in terms of speed and memory usage?
- RQ5To what extent do the number of facets in a Tukey region scale with data size and dimension, and can this be exploited for optimization?
Key findings
- Algorithm 1 achieves a speedup of up to 100x and a memory reduction of up to 1000x compared to previous methods, particularly for $p \geq 5$.
- The number of hyperplanes containing Tukey region facets is significantly smaller than the number of hyperplanes inspected in early algorithm steps, enabling efficient pruning.
- The algorithm correctly computes the Tukey $κ$-trimmed region in all tested cases, with results matching the exact naive algorithm.
- The innermost Tukey region and its barycenter (Tukey median) are computed for the first time in $p > 2$ dimensions using Algorithm 2.
- The simulation study confirms that Algorithm 1 outperforms the HPS method in both speed and memory efficiency, especially for larger sample sizes and higher dimensions.
- The R package TukeyRegion implements all algorithms and includes visualization tools for depth contours and regions in 3D.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.