Outlier detection in non-elliptical data by kernel MRCD

Joachim Schreurs, Iwein Vranckx, Mia Hubert, Johan A. K. Suykens, Peter J. Rousseeuw

Abstract

Outlier detection in high-dimensional settings often relies on the Minimum Covariance Determinant (MCD) estimator. However, MCD assumes elliptical data distributions and faces computational bottlenecks when the number of variables ($p$) exceeds the number of observations ($n$). This paper introduces Kernel Minimum Regularized Covariance Determinant (KMRCD), a robust estimator that leverages the "kernel trick" to handle non-linear data structures. By shifting computational complexity from $O(p^3)$ to $O(n^3)$, KMRCD provides a scalable solution for high-dimensional problems. Experimental results on synthetic and real-world datasets demonstrate that KMRCD significantly outperforms traditional linear methods in both speed and accuracy, particularly for non-elliptical data.

Introduction

Traditional robust statistics for outlier detection have long been dominated by the Minimum Covariance Determinant (MCD) estimator. MCD identifies a subset of data points that minimizes the determinant of the covariance matrix, effectively finding the "tightest" ellipsoid containing the majority of the data. Despite its popularity, MCD suffers from two critical limitations: it assumes the underlying data is roughly elliptical, and it requires $n > p$ to remain well-defined. While Regularized MCD (MRCD) addressed the dimensionality issue, it remained computationally expensive and restricted to linear boundaries. KMRCD addresses these gaps by integrating kernel methods into the robust covariance framework.

Methodology: The Kernel MRCD Approach

KMRCD implicitly maps input data into a high-dimensional feature space using a kernel function, such as the Radial Basis Function (RBF). This transformation allows the algorithm to find robust elliptical fits in the feature space, which correspond to complex, non-linear decision boundaries in the original data space.

Key Innovations

  • Computational Efficiency: By utilizing the kernel trick, the authors prove that the MRCD objective can be optimized using kernel matrices. This flips the complexity from $O(p^3)$ to $O(n^3)$, making the method ideal for datasets where $p \gg n$, such as in genomics or spectroscopy.
  • Robust Initialization: To ensure convergence to a global minimum, the algorithm employs four kernelized robust initial estimators: Spatial Median, Stahel-Donoho outlyingness, Spatial Ranks, and Spatial Sign Covariance.
  • Kernel C-Steps: The algorithm uses an iterative refinement process known as "concentration steps" (C-steps) adapted for centered kernel matrices to converge on a robust solution.
Comparison of KMRCD performance on elliptical (left) and non-elliptical 'banana-shaped' (right) data distributions.

Experimental Results

Synthetic Benchmarks

In simulations with $p=400$ and $n=200$, KMRCD demonstrated a massive speed advantage, running approximately 1000 times faster than standard MRCD. Furthermore, KMRCD maintained high accuracy (low Kullback–Leibler divergence) even under 30% contamination, whereas linear methods failed to capture the structure of non-elliptical "banana-shaped" datasets.

Real-World Applications

  • Food Quality Control: On a dataset of organic sultana raisins, KMRCD successfully identified contaminants like wood and stems. Because the "clean" raisin data followed a non-elliptical, triangular distribution, traditional linear methods produced high false-positive rates that KMRCD avoided.
  • MNIST Image Denoising: The algorithm was applied to a denoising task using the MNIST digits dataset ($p=784$). By identifying noise-corrupted images as outliers, KMRCD-based Kernel PCA captured the true digit structure more effectively than classical methods, resulting in significantly lower reconstruction errors.

Conclusion

KMRCD represents a significant advancement in robust statistics, providing a fast and flexible tool for outlier detection in complex, high-dimensional data. By moving beyond the elliptical assumption, it opens the door for more reliable anomaly detection in fields ranging from food safety to computer vision. Future work may extend this kernelized robust framework to other areas, such as discriminant analysis and support vector machines.

Summary updated

BibTeX
@article{schreurs2021outlier,
  author = {Joachim Schreurs and Iwein Vranckx and Mia Hubert and Johan A. K. Suykens and Peter J. Rousseeuw},
  title = {{Outlier detection in non-elliptical data by kernel MRCD}},
  journal = {Stat. Comput.},
  year = {2021},
  doi = {10.1007/s11222-021-10041-7},
}
Figure