NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Solve fraud detection problem by using graph based learning methods

Loc Tran, Tuan Tran, Linh Tran, An MaiarXiv 2019

Abstract

Credit card fraud detection is characterized by extreme class imbalance, making traditional supervised learning challenging. This paper explores a semi-supervised learning (SSL) approach using the un-normalized graph p-Laplacian operator. By generalizing the standard graph Laplacian ($p=2$), we demonstrate that values of $p$ in the range $[1, 1.9]$ provide superior accuracy in identifying fraudulent transactions. Our methodology combines k-nearest neighbor graph construction with Cluster Centroids under-sampling to effectively propagate labels across transaction manifolds.

Introduction

The detection of fraudulent credit card transactions is a critical task for financial institutions. The primary difficulty lies in the "needle in a haystack" nature of the data; fraudulent transactions typically constitute less than 0.2% of total volume. This severe class imbalance often leads to models that are biased towards the majority "normal" class. While unsupervised clustering and fully supervised neural networks are common, semi-supervised learning (SSL) offers a compelling middle ground. SSL leverages the underlying geometric structure of the data to propagate labels from a small set of known instances to unlabeled ones. This paper investigates the efficacy of the graph p-Laplacian, a flexible mathematical framework, for this purpose.

Methodology

The proposed approach centers on the un-normalized graph p-Laplacian operator. The process begins with Graph Construction, where transactions are represented as nodes. We employ a k-nearest neighbor (k-NN) strategy ($k=5$) to establish edges between transactions based on feature similarity.

The core of the model is the p-Laplacian Operator. Traditional graph-based SSL typically relies on the standard Laplacian ($p=2$), which assumes a degree of smoothness in the label function across the graph. By generalizing this to the p-Laplacian, we introduce a tunable parameter $p$. As $p$ approaches 1, the model becomes more adept at handling sharp transitions, preventing the "blurring" of boundaries between fraudulent and legitimate transaction clusters.

We formulate the classification as a Regularization Framework optimization problem. The objective function balances two competing goals: smoothness (ensuring predicted labels change gradually across the graph) and fitting (ensuring predictions remain consistent with known initial labels). Given that the p-Laplacian is non-linear for $p \neq 2$, we utilize an Iterative Solver to reach convergence. To address the inherent class imbalance, we apply the Cluster Centroids under-sampling technique, adjusting the fraud-to-normal ratio to 0.4 before graph construction.

Experimental Setup

The study utilizes a standard real-world transaction dataset from Kaggle/ULB, containing 284,807 transactions with 30 features. The initial fraud rate is a mere 0.173%. Following the Cluster Centroids under-sampling, a refined dataset of 1,722 transactions was produced. This subset was split into 1,208 training samples and 514 test samples to evaluate the model's performance.

Results and Discussion

The experimental results indicate that the generalized p-Laplacian framework offers a performance advantage over the conventional $p=2$ method. As shown in the table below, the accuracy remained consistent at 88.52% for all tested values of $p$ between 1 and 1.9.

Accuracy performance measures (%) for varying values of p.

When $p=2$, the accuracy dropped slightly to 88.33%. While the numerical improvement of 0.19% is modest, it demonstrates that the p-Laplacian is a more robust and flexible tool for capturing the non-linear structures inherent in transaction data. The success of this method is also attributed to the pre-processing step; without balancing the classes via under-sampling, the graph structure would likely be overwhelmed by the majority class, obscuring the fraud signal.

Conclusion

This research demonstrates that graph-based semi-supervised learning, specifically using the p-Laplacian operator, is an effective strategy for credit card fraud detection. By treating $p$ as a hyperparameter, we can better model the transitions between different transaction types. Future work will focus on improving the scalability of these methods to handle millions of transactions and exploring hypergraph representations to capture more complex, multi-party fraudulent relationships.

Summary updated

Abstract

The credit cards' fraud transactions detection is the important problem in machine learning field. To detect the credit cards's fraud transactions help reduce the significant loss of the credit cards' holders and the banks. To detect the credit cards' fraud transactions, data scientists normally employ the unsupervised learning techniques and supervised learning techniques. In this paper, we employ the graph p-Laplacian based semi-supervised learning methods combined with the undersampling techniques such as Cluster Centroids to solve the credit cards' fraud transactions detection problem. Experimental results show that the graph p-Laplacian semi-supervised learning methods outperform the current state of the art graph Laplacian based semi-supervised learning method (p=2).

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Credit-card fraud transaction dataset [9]Un-normalized graph p-Laplacian semi-supervised learning (p=1)Classification accuracy88.52%Fraud Detection · split: test · semi-supervised · p=1 · mu=1 · graph=5-nearest neighbors; Gaussian similarity, t=0.1 · subset=1,722 transactions after Cluster Centroids undersampling · train-test-size=1,208/514
Source quote
L226: 88.52 p=1.1
Credit-card fraud transaction dataset [9]Un-normalized graph Laplacian-based semi-supervised learning (p=2)Classification accuracy88.33%Fraud Detection · split: test · semi-supervised · p=2 · mu=1 · graph=5-nearest neighbors; Gaussian similarity, t=0.1 · subset=1,722 transactions after Cluster Centroids undersampling · train-test-size=1,208/514
Source quote
L236: 88.33
BibTeX
@misc{tran2019solve,
  author = {Loc Tran and Tuan Tran and Linh Tran and An Mai},
  title = {{Solve fraud detection problem by using graph based learning methods}},
  year = {2019},
  eprint = {1908.11708},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.11708},
}
Figure