Solving Minimum Enclosing Ball with Outliers: Algorithm, Implementation, and Application

Hu Ding, Mingquan YearXiv 2018

Abstract

Outlier recognition is a fundamental problem in data analysis and has attracted a great deal of attention in the past decades. However, most existing methods still suffer from several issues such as high time and space complexities or unstable performances for different datasets. In this paper, we provide a novel algorithm for outlier recognition in high dimension based on the elegant geometric technique "core-set". The algorithm needs only linear time and space complexities and achieves a solid theoretical quality guarantee. Another advantage over the existing methods is that our algorithm can be naturally extended to handle multi-class inliers. Our experimental results show that our algorithm outperforms existing algorithms on both random and benchmark datasets.

Introduction

Identifying "abnormal" data points in unlabeled datasets is a cornerstone of modern data analysis. However, as dimensionality increases—the "curse of dimensionality"—traditional methods like Local Outlier Factor (LOF) become computationally prohibitive and less effective. Supervised methods are often impractical due to the lack of clean, labeled training data. This paper addresses the unsupervised challenge of finding a dense region of inliers while excluding outliers in high-dimensional environments.

Methodology: MEB with Outliers

The authors model outlier recognition as finding the Minimum Enclosing Ball (MEB) with Outliers. The objective is to determine the smallest ball that covers a specified fraction of the data, effectively "peeling away" the outliers.

The Core-Set Innovation

The core of the proposed solution is the core-set technique. A core-set is a small subset of points that approximates the geometric properties of the entire dataset. The algorithm constructs a randomized tree structure to find this set:

  • Randomized Growth: To avoid being misled by outliers, the algorithm does not simply pick the farthest point. Instead, it samples points that are "far enough" from the current center.
  • Bi-criteria Approximation: The algorithm provides an $(\epsilon, \delta)$-approximation, ensuring the resulting ball is slightly larger than the optimal radius but covers nearly all required inliers.
  • Linear Complexity: The core-set size is independent of the total number of points ($n$) and dimensionality ($d$), leading to an efficient $O(nd)$ runtime.
The randomized tree structure used to build the core-set and approximate the MEB.

Multi-class Extension

For datasets with multiple inlier types (e.g., different object categories), the authors propose a "Greedy Peeling" strategy. The algorithm iteratively identifies one MEB, removes the covered points, and repeats the process to find subsequent clusters.

Experimental Evaluation

The algorithm was tested on synthetic 2D and 100D datasets, the MNIST handwritten digits dataset, and the Caltech-256 image dataset (using VGG-16 features).

Key Results

  • High Accuracy: On high-dimensional random datasets with a 50% outlier ratio, the method achieved an F1 score of 0.898, significantly outperforming OCSVM (0.745) and ABOD (0.419).
  • Efficiency: The algorithm often runs in less than half the time required by competing methods.
  • Robustness: The approach successfully identifies the primary inlier cluster even when outliers form their own dense clusters, a scenario where density-based algorithms typically fail.
Visualization of the MEB algorithm successfully identifying an inlier cluster (blue) despite multiple dense groups of outliers.

Insights and Limitations

A key takeaway is that global geometric boundaries (MEBs) remain robust in high dimensions where local density calculations lose meaning. Furthermore, the dimension-independence of core-set size makes this approach highly scalable.

However, the algorithm currently assumes the outlier ratio is known or can be estimated. Additionally, the MEB model assumes roughly spherical clusters; complex, non-spherical manifolds might require more sophisticated geometric primitives like ellipsoids in future work.

Summary updated

BibTeX
@misc{ding2018solving,
  author = {Hu Ding and Mingquan Ye},
  title = {{Solving Minimum Enclosing Ball with Outliers: Algorithm, Implementation, and Application}},
  year = {2018},
  eprint = {1804.09653},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1804.09653},
}
Figure