Skip to main content
QUICK REVIEW

[Paper Review] Comparison of Outlier Detection Techniques for Structured Data

Amulya Agarwal, Nitin Gupta|arXiv (Cornell University)|Jun 16, 2021
Anomaly Detection Techniques and ApplicationsComputer Science35 references6 citations
TL;DR

This paper compares 15 outlier detection techniques across proximity, linear models, ensemble, and probabilistic categories on structured tabular data. It evaluates their impact on machine learning model performance using precision, recall, and classification accuracy across 14 datasets, finding no universally optimal method but identifying ABOD and OCSVM as most consistently beneficial for model improvement after outlier removal.

ABSTRACT

An outlier is an observation or a data point that is far from rest of the data points in a given dataset or we can be said that an outlier is away from the center of mass of observations. Presence of outliers can skew statistical measures and data distributions which can lead to misleading representation of the underlying data and relationships. It is seen that the removal of outliers from the training dataset before modeling can give better predictions. With the advancement of machine learning, the outlier detection models are also advancing at a good pace. The goal of this work is to highlight and compare some of the existing outlier detection techniques for the data scientists to use that information for outlier algorithm selection while building a machine learning model.

Motivation & Objective

  • To provide a comprehensive comparison of 15 outlier detection techniques for structured tabular datasets.
  • To evaluate how removing outliers detected by each method affects downstream machine learning model performance.
  • To guide data scientists in selecting appropriate outlier detection algorithms based on empirical performance across diverse datasets.
  • To identify which outlier detection techniques consistently improve model accuracy and robustness across multiple classifiers and datasets.

Proposed method

  • Evaluated 15 outlier detection algorithms: LOF, KNN, CBLOF, ABOD, HBOS, MCD, OCSVM, COF, PCA, F.Bagging, Isolation Forest, SOD, LODA, LSCP, CPOD.
  • Applied each outlier detection method to 14 benchmark datasets, then removed detected outliers from training data before retraining models.
  • Used precision and recall as primary evaluation metrics for outlier detection performance on each dataset.
  • Trained and evaluated multiple classifiers (e.g., Logistic Regression, Random Forest, Decision Tree) on original and outlier-removed datasets to measure performance shifts.
  • Computed average precision and recall across all datasets to rank overall outlier detection performance.
  • Conducted ablation analysis to determine which outlier detection techniques most improved model accuracy on average.

Experimental results

Research questions

  • RQ1Which outlier detection technique achieves the highest average precision and recall across diverse structured datasets?
  • RQ2How does removing outliers detected by each method affect the performance of downstream machine learning models?
  • RQ3Are there specific outlier detection techniques that consistently improve model accuracy across multiple classifiers and datasets?
  • RQ4Which outlier detection method shows the most robust performance across different data distributions and feature spaces?
  • RQ5Is there a single universally optimal outlier detection approach, or does performance vary significantly by dataset and model type?

Key findings

  • ABOD and OCSVM were the most effective outlier detection techniques in improving downstream model performance, with ABOD showing the highest average improvement across classifiers.
  • CBLOF achieved the highest average precision (0.46) and recall (0.34), outperforming other methods in outlier detection capability on average.
  • Out of 14 datasets, all 15 outlier detection techniques improved model performance on at least two datasets, indicating broad utility.
  • For Random Forest, ABOD, HBOS, OCSVM, PCA, and LODA showed the most consistent improvements in model accuracy.
  • For Decision Tree, ABOD, CBLOF, HBOS, OCSVM, LSCP, and LODA outperformed other techniques in enhancing model performance.
  • For Logistic Regression, ABOD, OCSVM, KNN, Avg KNN, and SOD yielded the best performance gains after outlier removal.

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.