Outlier Detection Based on Local Kernel Regression for Instance Selection

Qinmu Peng, Yiu-ming CheungInt. J. Comput. Intell. Syst 2014

Abstract

Instance selection is a fundamental preprocessing task aimed at improving the quality of training data by removing noise and redundant instances. Traditional outlier detection techniques, such as density-based or distance-based methods, often fail to account for the complex local geometric structures of data, particularly in datasets with varying cluster densities. This paper proposes LKROut, an outlier detection algorithm based on Local Kernel Regression (LKR). LKROut identifies outliers by measuring how poorly a data point can be reconstructed from its $k$-nearest neighbors. Experimental results across synthetic and real-world datasets demonstrate that LKROut significantly outperforms state-of-the-art methods like Local Outlier Factor (LOF) and Angle-Based Outlier Detection (ABOD) in both detection accuracy and robustness.

Introduction

In the field of machine learning, the "garbage in, garbage out" principle underscores the importance of data cleaning. Instance selection serves as a critical step to filter out outliers that could otherwise degrade model performance. However, existing methods possess inherent limitations:

  • Statistical methods typically assume a specific underlying data distribution, which is often unknown in practice.
  • Density-based methods (e.g., LOF) struggle when clusters within the same dataset exhibit significantly different densities.
  • Distance-based methods focus solely on proximity, ignoring the structural relationships between a point's neighbors.

To address these challenges, we propose a method centered on "predictability." If a point is a legitimate member of a cluster, its neighbors should be able to accurately predict its features.

Methodology: Local Kernel Regression (LKROut)

The LKROut algorithm leverages the local manifold structure of data through a four-step process:

  1. Local Neighborhood Identification: For each target point, the algorithm identifies its $k$-nearest neighbors.
  2. Kernel Ridge Regression: A local model is constructed using these neighbors to reconstruct the target point. The use of a kernel allows the model to capture complex, non-linear relationships that standard linear regression would miss.
  3. Reconstruction Error ($RE$) Calculation: The $RE$ serves as the outlier score. Points well-integrated into a cluster yield low $RE$, while outliers or boundary points result in high $RE$.
  4. Iterative Refinement: To prevent extreme outliers from biasing the models of nearby points, the algorithm iteratively removes the most significant outliers and recalculates scores for the remaining data.

Experimental Evaluation

The performance of LKROut was evaluated against LOF and ABOD using three distinct data types:

  • Synthetic Data: 2D datasets with varying cluster densities and complex shapes (e.g., an "H" shape) embedded in random noise.
  • Breast Cancer Wisconsin (Original) Data: A UCI repository dataset where malignant records are treated as outliers among benign ones.
  • MPEG-7 Shape Data: A collection of binary images used to identify visually distinct shapes within a set of standard silhouettes.

Results and Discussion

Performance on Multi-Density Clusters

A key advantage of LKROut is its ability to detect outliers in datasets with heterogeneous densities. While density-based methods like LOF often "normalize" for density and miss outliers near dense clusters, LKROut maintains high sensitivity because reconstruction error is independent of local density.

Comparison of outlier detection on multi-density synthetic data. (a) Original data with noise. (b) LOF results. (c) ABOD results. (d) LKROut results.

Real-World Efficacy

On the Breast Cancer Wisconsin dataset, LKROut demonstrated a stark performance advantage. When identifying the top 10 outliers, LKROut achieved a detection rate of 0.88, whereas LOF's performance dropped to 0.06. This suggests that the local structural modeling of LKROut is far more effective for high-stakes medical data cleaning than traditional density metrics.

Detection rates for different methods on the Breast Cancer Wisconsin dataset.

Robustness and Stability

LKROut also exhibits greater stability regarding the neighborhood size ($k$). Unlike LOF, which is highly sensitive to the choice of $k$, LKROut maintains a consistently high detection rate across a wide range of neighborhood sizes, reducing the burden of hyperparameter tuning for the user.

Conclusion

LKROut introduces a robust framework for outlier detection by prioritizing local structural predictability over simple distance or density metrics. By utilizing kernel regression, the method effectively "peels away" noise layers, making it an ideal tool for instance selection in complex datasets. Future research will focus on optimizing the algorithm's computational complexity for large-scale applications and automating the estimation of the expected number of outliers.

Summary updated

BibTeX
@article{peng2014outlier,
  author = {Qinmu Peng and Yiu-ming Cheung},
  title = {{Outlier Detection Based on Local Kernel Regression for Instance Selection}},
  journal = {Int. J. Comput. Intell. Syst.},
  year = {2014},
  doi = {10.1080/18756891.2014.960230},
}
Figure