[Paper Review] Credit Card Fraud Detection in e-Commerce: An Outlier Detection Approach
This paper proposes an ensemble clustering-based outlier detection method that assigns a consistency score to each data point using multiple k-means runs, leveraging the hypothesis that legitimate behavior remains spatially consistent over time. The approach outperforms baselines on real-world and UCI datasets, with AUPRC shown to be a superior evaluation metric over AUROC due to class imbalance in fraud detection.
Often the challenge associated with tasks like fraud and spam detection is the lack of all likely patterns needed to train suitable supervised learning models. This problem accentuates when the fraudulent patterns are not only scarce, they also change over time. Change in fraudulent pattern is because fraudsters continue to innovate novel ways to circumvent measures put in place to prevent fraud. Limited data and continuously changing patterns makes learning significantly difficult. We hypothesize that good behavior does not change with time and data points representing good behavior have consistent spatial signature under different groupings. Based on this hypothesis we are proposing an approach that detects outliers in large data sets by assigning a consistency score to each data point using an ensemble of clustering methods. Our main contribution is proposing a novel method that can detect outliers in large datasets and is robust to changing patterns. We also argue that area under the ROC curve, although a commonly used metric to evaluate outlier detection methods is not the right metric. Since outlier detection problems have a skewed distribution of classes, precision-recall curves are better suited because precision compares false positives to true positives (outliers) rather than true negatives (inliers) and therefore is not affected by the problem of class imbalance. We show empirically that area under the precision-recall curve is a better than ROC as an evaluation metric. The proposed approach is tested on the modified version of the Landsat satellite dataset, the modified version of the ann-thyroid dataset and a large real world credit card fraud detection dataset available through Kaggle where we show significant improvement over the baseline methods.
Motivation & Objective
- To address the challenge of detecting evolving credit card fraud patterns with limited labeled data and high class imbalance.
- To develop a robust, scalable outlier detection method that does not require prior knowledge of outliers or inliers.
- To demonstrate that consistency in spatial clustering patterns across multiple runs can identify legitimate (inlier) behavior.
- To argue that precision-recall curves and AUPRC are more appropriate evaluation metrics than ROC/AUROC for imbalanced outlier detection tasks.
- To validate the method on real-world and benchmark datasets, showing significant improvement over baseline approaches.
Proposed method
- The method uses an ensemble of k-means clustering with varying k-values to generate multiple cluster assignments for each data point.
- Each data point is assigned a consistency score based on the weighted average of its distances to the centroids from each clustering run, with weights proportional to cluster size.
- The consistency score reflects how stable a data point's position is across different clustering groupings, with low scores indicating potential outliers.
- The approach is general and can be adapted to other clustering algorithms beyond k-means, as long as each point is assigned to a cluster represented as a vector in feature space.
- The method is designed to be scalable and distributable, suitable for large-scale e-commerce fraud detection systems.
- The paper advocates using AUPRC (area under the precision-recall curve) instead of AUROC for evaluation, arguing it better reflects performance on imbalanced data.
Experimental results
Research questions
- RQ1Can consistent spatial clustering patterns across multiple runs reliably identify legitimate (inlier) behavior in high-dimensional, time-evolving data?
- RQ2How does the proposed ensemble clustering-based consistency scoring method compare to traditional outlier detection baselines on real-world and benchmark datasets?
- RQ3Is AUPRC a more appropriate evaluation metric than AUROC for outlier detection in imbalanced fraud detection scenarios?
- RQ4To what extent can the method reduce false positives while maintaining high recall in practical fraud investigation workflows?
- RQ5Can the method effectively isolate high-confidence inliers to form clean training sets for one-class novelty detection models?
Key findings
- On the Kaggle credit card fraud dataset, the method achieved a recall of 0.4 at a precision of 0.1 when using a threshold of 0.5, enabling detection of 40% of fraud cases by examining only 2,000 high-priority samples out of 284,807 total.
- The method identified 139,220 true negatives (legitimate transactions) with a consistency threshold of 0.5, with only 29 false positives, demonstrating high precision in identifying inliers.
- The proposed method significantly outperformed baseline methods on the modified Landsat and ann-thyroid datasets, as well as the real-world credit card fraud dataset.
- The study empirically demonstrated that AUPRC is a better evaluation metric than AUROC for outlier detection due to its insensitivity to class imbalance, particularly in high-precision use cases.
- The method successfully isolated high-consistency data points, which were predominantly true negatives, enabling the creation of clean training sets for novelty detection systems.
- The approach is scalable and generalizable, as it can be implemented in a distributed manner and adapted to various clustering algorithms beyond k-means.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.