Layered Sampling for Robust Optimization Problems

Hu Ding, Zixiu Wang

Introduction

In real-world applications, datasets are rarely pristine; they are frequently peppered with anomalies and outliers. Standard optimization algorithms, such as $k$-means clustering, are notoriously sensitive to these outliers. While "robust" variants like $k$-means with outliers or Least Trimmed Squares (LTS) regression exist, they are computationally expensive, often scaling quadratically or cubically with the number of data points.

To address this scaling issue, researchers often turn to coresets—small, weighted subsets of the original dataset that act as a proxy. Running an algorithm on a coreset should theoretically yield nearly the same result as running it on the full dataset. However, traditional coreset construction, which relies on "sensitivity" (importance) sampling, struggles with outliers. In robust optimization, whether a point is considered an "inlier" or an "outlier" can flip depending on the specific solution being tested, making it incredibly difficult to determine a point's importance ahead of time.

This paper introduces Layered Sampling, a novel coreset technique designed specifically to overcome these challenges in robust optimization problems.

Layered Sampling Methodology

The authors introduce a framework that shifts the paradigm from global to local approximation. Instead of attempting to build a coreset that works for every possible solution in the entire space, they construct one guaranteed to be accurate within a local range $\mathcal{L}$ around an initial "guess" solution $\tilde{C}$.

Illustration of the local range $\mathcal{L}$ around an initial solution $\tilde{C}$ within the broader solution space.

The layered sampling algorithm proceeds in four key steps:

  1. Partitioning into Layers: Given an initial solution $\tilde{C}$, the algorithm divides the dataset into $N$ concentric "layers" (shells or slabs) based on their distance to $\tilde{C}$.
  2. Sampling Strategy: For the inner layers (points relatively close to the initial solution), the algorithm performs random sampling. Crucially, for the outermost layer—the "tail" of the distribution where outliers likely reside—the algorithm keeps all points.
  3. Weighting: Sampled points are assigned weights to ensure the total "mass" of each layer is preserved.
  4. Local Guarantee: The authors prove that for any solution $C$ falling within a distance $L$ of the initial guess $\tilde{C}$, the objective value calculated on the coreset $S$ will closely approximate the objective value on the full dataset $P$.

This approach is particularly powerful for iterative algorithms (like the Lloyd-style $k$-means-- algorithm) that start with a guess and refine it locally.

Key Insights and Theoretical Results

The "aha moment" of this research is the realization that a coreset doesn't need to be globally perfect to be highly useful. Because most practical robust algorithms are iterative and improve solutions locally, a coreset that is accurate within a local neighborhood is sufficient to drastically speed up those iterations.

By preserving the entire outermost layer, the authors elegantly solve the "outlier flip" problem. If a point in the tail was an outlier for the initial guess but becomes an inlier for a nearby improved solution, it remains present in the coreset to be properly accounted for.

The construction is highly efficient. For $k$-median/means, the coreset can be built in $O(knd)$ time, which is linear with respect to the number of points $n$. The authors achieve a coreset size of approximately $\tilde{O}(\frac{1}{\epsilon^2}kd) + (1+\frac{1}{\epsilon})z$, where $k$ is the number of centers, $d$ is the dimension, $z$ is the number of outliers, and $\epsilon$ is the error parameter.

Formal proofs demonstrate that the cost on the coreset $S$ is within a $(1 \pm \epsilon)$ factor of the cost on the full dataset $P$, plus an additive error term related to the initial objective value and the range size $L$. The framework is versatile, shown to work for both $k$-median/means clustering with outliers and linear regression with outliers (LTS).

Limitations and Future Work

While powerful, the layered sampling approach has limitations:

  • Dependency on Initial Guess: The quality of the coreset heavily depends on the initial solution $\tilde{C}$. If the initial guess is extremely far from the global optimum, the local coreset might not be helpful for finding the true best solution.
  • Additive Error: The approximation includes an additive error term. While the authors show this error is manageable, it represents a necessary trade-off for the local nature of the coreset.

The authors suggest extending this layered sampling framework to other robust problems in the future, such as logistic regression with outliers and Gaussian Mixture Models (GMMs) with outliers.

Summary updated

BibTeX
@inproceedings{ding2020layered,
  author = {Hu Ding and Zixiu Wang},
  title = {{Layered Sampling for Robust Optimization Problems}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=qymgimFKzWO},
}
Figure