The Expected Size of Random Convex Layers and Convex Shells

Zhengyang Guo, Yi Li, Shaoyu Pei

Abstract

This paper investigates the expected size of Tukey layers and convex layers for point sets sampled uniformly at random from a convex polygon. By establishing a fundamental relationship between these two structures—specifically that the first $t$ Tukey layers are contained within the first $t$ convex layers—the authors provide the first rigorous mathematical bounds for Tukey layers and improve existing bounds for convex layers. These results offer a theoretical explanation for the observed efficiency of geometric algorithms for outlier removal, which often perform significantly better in practice than their worst-case complexity suggests.

Introduction

In computational geometry, "onion peeling" is a foundational technique for analyzing the structure of a point set. By iteratively removing the convex hull (the outer "skin"), one can partition a point set into convex layers. A related, more robust concept is the Tukey layer, where points are grouped by their "Tukey depth"—a measure of how centrally a point is located within the cloud.

While the properties of the first convex layer (the standard convex hull) are well-studied, the expected number of points across multiple layers has remained less understood. This gap is significant because many modern algorithms for partial shape fitting—tasks that involve enclosing the majority of data while ignoring outliers—rely on these outer layers. Despite high theoretical worst-case runtimes (e.g., $O(n^2)$ or $O(t^4)$), these algorithms are remarkably efficient in practice. This research provides the theoretical justification for this efficiency by proving that for random data, the number of points on these outer layers is relatively small.

Notation and Definitions

To analyze these structures, the authors define several key terms related to convex hulls and Tukey depth. The following table summarizes the primary notation used in the paper's proofs and results.

Table of symbols and definitions for convex and Tukey layers.

The study focuses on a set $X$ of $n$ points sampled independently and uniformly at random from a convex $k$-gon. The primary goal is to bound the expected number of vertices in the first $t$ layers, denoted as $|V_{[t]}(X)|$ for convex layers and $|U_{[t]}(X)|$ for Tukey layers.

Tukey and Convex Layers

A central contribution of this work is the formalization of the relationship between Tukey layers and convex layers. The authors prove that the first $t$ Tukey layers are always a subset of the first $t$ convex layers ($U_{[t]}(X) \subseteq V_{[t]}(X)$). Furthermore, they demonstrate that every Tukey layer is itself in "convex position," meaning every point in the layer is a vertex of its own convex hull.

Visual representation of the first four Tukey layers $U_1(X)$ through $U_4(X)$ within a point set.

This containment relationship allows the transfer of bounds between the two structures and simplifies the analysis of their expected sizes. It explains why Tukey layers are "tighter" than convex layers, providing a new tool for researchers to bound the complexity of depth-based algorithms.

Methodology

The authors employ techniques from geometric probability and average-case analysis:

  1. Geometric Partitioning: Building on techniques by Har-Peled, they partition a triangle into $n^2$ equal-area cells. By counting the cells intersecting a layer's boundary, they bound the expected area and the number of points.
  2. Affine Invariance: Since convex hull properties are invariant under affine transformations (stretching or tilting), the authors simplify proofs by focusing on standard triangles and generalizing to any convex $k$-gon by partitioning it into $k$ triangles.
  3. Probabilistic Bounds: Multiplicative Chernoff bounds are used to show that points far from the boundary have a very high probability of being "deep" (residing in high-numbered layers).

Key Results

The paper establishes new upper and lower bounds for the expected size of these layers:

  • Tukey Layer Size: The expected number of vertices on the first $t$ Tukey layers is $O(kt \log(n/k))$.
  • Convex Layer Size: The expected number of vertices on the first $t$ convex layers is $O(kt^3 \log(n/(kt^2)))$.
  • Lower Bounds: For triangles ($k=3$) and parallelograms ($k=4$), the authors established a lower bound of $\Omega(t \log n)$, indicating that the upper bounds are reasonably tight with respect to $n$.

These results explain the "gap" between theory and practice: for random points, the number of "outliers" (points on the outer layers) grows logarithmically with $n$ rather than linearly. When applied to existing algorithms, such as those by Atanassov et al. for fitting a parallelogram to $n-t$ points, the expected complexity is shown to be roughly $O(kt^4 n \log(n/k) + n^2 \log n)$, a significant improvement over the worst-case $O(n^2 t^4)$.

Limitations and Future Work

While this work provides significant progress, several open questions remain. There is a discrepancy in the $t$ term for convex layers; while this paper finds an $O(t^3)$ bound, research on specific distributions suggests $O(t^2)$ might be possible. Additionally, the lower bounds have only been proven for $k=3$ and $k=4$, and extending these to general $k$-gons is a logical next step. Finally, this analysis is strictly planar; extending these results to 3D or higher-dimensional "onions" represents a major future challenge for the field.

Summary updated

BibTeX
@article{guo2022expected,
  author = {Zhengyang Guo and Yi Li and Shaoyu Pei},
  title = {{The Expected Size of Random Convex Layers and Convex Shells}},
  journal = {Comput. Geom.},
  year = {2022},
  doi = {10.1016/j.comgeo.2021.101856},
}
Figure