Command Palette
Search for a command to run...
Anwendung künstlicher Intelligenz zur Erkennung betrügerischer Bankgeschäfte
Anwendung künstlicher Intelligenz zur Erkennung betrügerischer Bankgeschäfte
Bohdan Mytnyk Oleksandr Tkachyk Nataliya Shakhovska Solomiia Fedushko Yuriy Syerov
Zusammenfassung
Diese Studie befasst sich mit der Aufgabe, künstliche Intelligenz zur Erkennung von Bankbetrug einzusetzen. In den letzten Jahren hat Bankbetrug aufgrund der COVID-19-Pandemie weiter zugenommen, was auf die massive Verlagerung vieler Vorgänge auf Online-Plattformen und die Gründung zahlreicher Wohltätigkeitsfonds zurückzuführen ist, die Kriminelle zur Täuschung von Nutzern missbrauchen können. Die vorliegende Arbeit konzentriert sich auf maschinelle Lernalgorithmen als ein Werkzeug, das sich gut für die Analyse und Erkennung von Online-Banktransaktionen eignet. Die wissenschaftliche Neuheit der Studie besteht in der Entwicklung von Modellen des maschinellen Lernens zur Identifizierung betrügerischer Banktransaktionen sowie von Techniken zur Vorverarbeitung von Bankdaten für den anschließenden Vergleich und die Auswahl der besten Ergebnisse. Darüber hinaus werden verschiedene Methoden zur Verbesserung der Erkennungsgenauigkeit detailliert beschrieben, darunter der Umgang mit stark unausgewogenen Datensätzen, Merkmalstransformation und Feature Engineering. Das vorgeschlagene Modell, das auf einem künstlichen neuronalen Netz basiert, verbessert die Genauigkeit der Erkennung betrügerischer Transaktionen effektiv. Die Ergebnisse der verschiedenen Algorithmen werden visualisiert, wobei der logistische Regressionsalgorithmus mit einem AUC-Wert von etwa 0,946 am besten abschneidet. Die gestapelte Generalisierung zeigt einen noch besseren AUC-Wert von 0,954. Die Erkennung von Bankbetrug mittels Algorithmen der künstlichen Intelligenz ist ein hochaktuelles Thema in unserer digitalen Gesellschaft.
One-sentence Summary
Researchers from Lviv Polytechnic National University and Comenius University in Bratislava propose machine learning models for fraudulent banking transaction recognition, employing feature engineering and stacked generalization to handle imbalanced data and achieving an AUC of 0.954, thereby demonstrating improved detection accuracy in digital banking.
Key Contributions
- The paper introduces preprocessing techniques including data balancing, feature transformation, and feature engineering to handle highly imbalanced bank transaction data for fraud detection.
- A neural network-based model is proposed that effectively improves the accuracy of fraudulent transaction identification.
- Comparative experiments demonstrate that logistic regression yields an AUC of 0.946, and a stacked generalization model with output deformation further lifts the AUC to 0.954.
Introduction
The rapid shift to online banking, accelerated by the COVID‑19 pandemic and wartime fundraising in Ukraine, has made automated fraud detection essential for protecting customers and financial institutions from losses due to wire fraud, identity theft, account takeovers, and money laundering. Prior machine‑learning approaches for transaction classification often struggle with model transparency, data imbalance, and privacy concerns, and many studies do not address the unique challenges of real‑time online fraud during periods of elevated digital activity. In this work, the authors develop and compare multiple classification algorithms combined with preprocessing techniques to recognize fraudulent banking transactions. They further propose a stacked generalization method that deforms weak‑classifier outputs, yielding a slight AUC improvement over the best individual model, with logistic regression achieving the highest single‑model AUC of approximately 0.946.
Dataset
The authors use the Credit Card Fraud Detection dataset from Kaggle (mlgulb/creditcardfraud). It contains 284,807 transactions made by European cardholders over two days, where only 492 are fraudulent—a highly imbalanced distribution.
- Features: Most variables are PCA-transformed to protect user privacy; only Time (seconds since first transaction) and Amount (transaction value) remain in their original form.
- Preprocessing:
- Standardization: The Time and Amount columns are standardized to zero mean and unit variance (z-score).
- Undersampling: Random undersampling reduces the majority class until the dataset is balanced, addressing the severe class imbalance.
- Usage: The balanced, standardized dataset is used to train and evaluate seven classification algorithms: random forest, k-nearest neighbors, logistic regression, linear discriminant analysis, decision tree, naïve Bayes, and support vector machine. Performance is assessed via ROC curves and AUC scores.
- Comparison: Over 4,050 notebooks have been built on this dataset, allowing the authors to benchmark their results against existing methods.
Method
The authors leverage a supervised machine learning framework to address the credit card fraud detection problem. The overall workflow is structured as a sequential pipeline that transforms raw transaction data into a robust predictive model.
As shown in the figure below:
The process begins with dataset loading, where the authors utilize the Credit Card Fraud Detection dataset. Since most features are anonymized via Principal Component Analysis, the authors focus on standardizing the unencrypted time and amount variables. Standardization centers the variables around the mean with a unit standard deviation, expressed as:
X′=σX−μwhere μ is the mathematical expectation and σ is the standard deviation.
Following standardization, the authors apply random undersampling to the training set. This technique randomly removes examples from the majority class to balance the class distribution, ensuring the model does not become biased toward the dominant class.
Once the data is preprocessed, the authors proceed to model fitting. They evaluate a diverse set of candidate algorithms, including Random Forest, K-Nearest Neighbors, Logistic Regression, Stochastic Gradient Descent, Decision Tree, Naïve Bayes, and Support Vector Machine. For each model, hyperparameter tuning is performed using cross-validation to identify the optimal configuration.
To further enhance predictive accuracy, the authors explore stacked generalization. This method integrates multiple low-level models to improve a high-level meta-model. The authors generate K cross-sectional datasets from the original data to train K independent weak classifiers f1(⋅),…,fk(⋅). The results are then combined using a meta-model m:
res=m(f1(⋅)×f2(⋅)×⋯×fk(⋅))where the transformed features are combined with the training dataset to improve generalizability.
Finally, the pipeline concludes with model testing and outputting the best model. The authors evaluate the models using the Receiver Operating Characteristic curve and the Area Under the Curve metric. The curve plots the True Positive Rate against the False Positive Rate at varying classification thresholds. The True Positive Rate is defined as:
TPR=TP+FNTPand the False Positive Rate is defined as:
FPR=FP+TNFPwhere TP represents true positives, FN represents false negatives, FP represents false positives, and TN represents true negatives. The model achieving the highest metric on the testing data is selected as the final output.
Experiment
The study evaluated multiple classifiers on a highly imbalanced credit card fraud dataset, applying standardization and random undersampling for preprocessing. Among the individual models, logistic regression achieved the highest AUC of 0.946, but the ROC curves indicated that all algorithms performed similarly. A stacked generalization ensemble model further improved the results, reaching an F1 score of 0.96 and outperforming the single best classifier.