Skip to main content
QUICK REVIEW

[Paper Review] MSD-Kmeans: A Novel Algorithm for Efficient Detection of Global and Local Outliers

Yuanyuan Wei, Julian Jang‐Jaccard|arXiv (Cornell University)|Oct 15, 2019
Anomaly Detection Techniques and ApplicationsComputer Science30 references8 citations
TL;DR

This paper proposes MSD-Kmeans, a hybrid outlier detection algorithm that first applies Mean and Standard Deviation (MSD) to filter noisy data, then uses K-means clustering to detect global and local outliers. Evaluated on NYC taxi fare data, MSD-Kmeans achieved the highest precision (98.6%), accuracy (97.4%), and F-measure (98.6%), outperforming standalone MSD, K-means, Z-score, MIQR, and LOF in detecting fare fraud with lower false positive rates.

ABSTRACT

Outlier detection is a technique in data mining that aims to detect unusual or unexpected records in the dataset. Existing outlier detection algorithms have different pros and cons and exhibit different sensitivity to noisy data such as extreme values. In this paper, we propose a novel cluster-based outlier detection algorithm named MSD-Kmeans that combines the statistical method of Mean and Standard Deviation (MSD) and the machine learning clustering algorithm K-means to detect outliers more accurately with the better control of extreme values. There are two phases in this combination method of MSD-Kmeans: (1) applying MSD algorithm to eliminate as many noisy data to minimize the interference on clusters, and (2) applying K-means algorithm to obtain local optimal clusters. We evaluate our algorithm and demonstrate its effectiveness in the context of detecting possible overcharging of taxi fares, as greedy dishonest drivers may attempt to charge high fares by detouring. We compare the performance indicators of MSD-Kmeans with those of other outlier detection algorithms, such as MSD, K-means, Z-score, MIQR and LOF, and prove that the proposed MSD-Kmeans algorithm achieves the highest measure of precision, accuracy, and F-measure. We conclude that MSD-Kmeans can be used for effective and efficient outlier detection on data of varying quality on IoT devices.

Motivation & Objective

  • To address the challenge of detecting fraudulent taxi fare outliers in large, noisy IoT datasets.
  • To improve outlier detection accuracy by reducing the interference of extreme values on clustering algorithms.
  • To develop a hybrid method that combines statistical filtering (MSD) with machine learning clustering (K-means) for robust outlier detection.
  • To evaluate the proposed method on real-world taxi fare data and compare its performance against established outlier detection algorithms.
  • To demonstrate the scalability and efficiency of the MSD-Kmeans algorithm on complex, high-volume datasets.

Proposed method

  • The algorithm applies the Mean and Standard Deviation (MSD) method in a preprocessing phase to identify and remove extreme values before clustering.
  • It uses a two-phase approach: first, MSD filters out noisy data to minimize distortion in cluster formation; second, K-means performs clustering on the cleaned dataset.
  • The K-means clustering phase identifies local optimal clusters based on normalized fare values, enabling detection of both global and local outliers.
  • Performance is evaluated using standard metrics: True Positive Rate (TPR), False Positive Rate (FPR), Precision, Accuracy, Recall, and F-measure.
  • The method is further optimized by parallelizing the K-means stage to improve computational efficiency, especially on multi-core or GPU-enabled IoT devices.
  • The algorithm is tested on the NYC Yellow Taxi dataset (1.71GB, January 2016), focusing on fare amount as the outlier detection feature.

Experimental results

Research questions

  • RQ1Can combining MSD and K-means improve outlier detection accuracy while reducing sensitivity to noisy data?
  • RQ2How does MSD-Kmeans perform compared to standalone MSD, K-means, Z-score, MIQR, and LOF in detecting taxi fare fraud?
  • RQ3To what extent does the two-phase preprocessing and clustering approach reduce false positive rates in outlier detection?
  • RQ4Can parallelization of the K-means phase significantly improve the runtime efficiency of MSD-Kmeans on large-scale IoT datasets?
  • RQ5Is MSD-Kmeans effective for detecting both global and local outliers in univariate fare data, and how scalable is it for multivariate feature detection?

Key findings

  • MSD-Kmeans achieved the highest F-measure of 98.6%, indicating the best balance between precision and recall among all evaluated algorithms.
  • The algorithm recorded the highest precision (98.6%) and accuracy (97.4%), demonstrating superior correctness in identifying true outliers.
  • MSD-Kmeans had the lowest False Positive Rate (11.6%), outperforming all other algorithms in minimizing incorrect outlier detection.
  • Despite a lower True Positive Rate than MSD, Z-score, or K-means alone, MSD-Kmeans maintained superior overall performance due to reduced noise interference.
  • The parallelized version of MSD-Kmeans reduced runtime to 842ms, significantly faster than K-means (1,132ms) and LOF (31,483ms), enhancing computational efficiency.
  • The hybrid approach effectively mitigated the sensitivity of both MSD and K-means to extreme values, proving more robust than individual methods on noisy taxi fare data.

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.