Skip to main content
QUICK REVIEW

[Paper Review] Robust Kernel Density Estimation

JooSeuk Kim, Clayton Scott|arXiv (Cornell University)|Jul 15, 2011
Anomaly Detection Techniques and ApplicationsComputer Science30 references175 citations
TL;DR

This paper proposes a Robust Kernel Density Estimator (RKDE) that combines kernel density estimation with M-estimation to reduce sensitivity to outliers in contaminated training data. By interpreting the KDE as a sample mean in a reproducing kernel Hilbert space and applying robust M-estimation, the RKDE achieves improved performance in density estimation and anomaly detection under contamination, with convergence guarantees via a kernelized IRWLS algorithm.

ABSTRACT

We propose a method for nonparametric density estimation that exhibits robustness to contamination of the training sample. This method achieves robustness by combining a traditional kernel density estimator (KDE) with ideas from classical $M$-estimation. We interpret the KDE based on a radial, positive semi-definite kernel as a sample mean in the associated reproducing kernel Hilbert space. Since the sample mean is sensitive to outliers, we estimate it robustly via $M$-estimation, yielding a robust kernel density estimator (RKDE). An RKDE can be computed efficiently via a kernelized iteratively re-weighted least squares (IRWLS) algorithm. Necessary and sufficient conditions are given for kernelized IRWLS to converge to the global minimizer of the $M$-estimator objective function. The robustness of the RKDE is demonstrated with a representer theorem, the influence function, and experimental results for density estimation and anomaly detection.

Motivation & Objective

  • To address the lack of robustness in traditional kernel density estimators (KDEs) under data contamination.
  • To develop a nonparametric density estimator that remains accurate when a minority of training data are outliers.
  • To ensure the estimator is computationally efficient and converges reliably to a global solution.
  • To provide theoretical justification for robustness through influence function analysis and a representer theorem.
  • To demonstrate superior performance in density estimation and anomaly detection on contaminated benchmark datasets.

Proposed method

  • The KDE is reinterpreted as a sample mean in a reproducing kernel Hilbert space (RKHS) associated with a radial, positive semi-definite kernel.
  • Robustness is achieved by replacing the sample mean with an M-estimator in the RKHS, minimizing a robust loss function.
  • A kernelized iteratively re-weighted least squares (KIRWLS) algorithm is developed to compute the RKDE efficiently.
  • Convergence of KIRWLS to the global minimizer is guaranteed under necessary and sufficient conditions on the kernel and loss function.
  • The RKDE is shown to be a weighted KDE where outlier points receive smaller weights, as formalized by a representer theorem.
  • The influence function is derived in closed form to quantify sensitivity to contamination, showing reduced impact compared to standard KDE.

Experimental results

Research questions

  • RQ1Can a nonparametric density estimator be made robust to contamination without parametric assumptions on nominal or contaminating distributions?
  • RQ2How can the sensitivity of the KDE to outliers be reduced while preserving its nonparametric flexibility?
  • RQ3What conditions ensure convergence of the kernelized IRWLS algorithm to the global solution of the M-estimator objective?
  • RQ4To what extent does the RKDE outperform standard KDE and variable bandwidth KDE in density estimation under contamination?
  • RQ5How does the RKDE perform in anomaly detection tasks when training data contain outliers?

Key findings

  • The RKDE is shown to be a weighted KDE where weights are smaller for more outlying data points, as proven by a representer theorem.
  • The influence function of the RKDE is bounded and significantly smaller than that of the KDE, confirming its robustness to contamination.
  • The kernelized IRWLS algorithm converges to the global minimizer of the M-estimator objective under specific conditions on the kernel and loss function.
  • Empirical results show the RKDE outperforms standard KDE and variable bandwidth KDE in density estimation on contaminated benchmark datasets.
  • In anomaly detection tasks, the RKDE achieves higher detection accuracy and better area under the ROC curve compared to baseline methods.
  • The RKDE maintains consistent performance across different contamination levels and kernel types, demonstrating general robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.