Command Palette
Search for a command to run...
不正銀行取引認識への人工知能の応用
不正銀行取引認識への人工知能の応用
Bohdan Mytnyk Oleksandr Tkachyk Nataliya Shakhovska Solomiia Fedushko Yuriy Syerov
概要
本研究は、銀行詐欺を認識するための人工知能の応用という課題を扱う。近年、COVID-19パンデミックの影響により、多くの業務がオンラインプラットフォームへ大規模に移行し、犯罪者がユーザーを欺くために悪用し得る多数の慈善基金が創設されたことで、銀行詐欺はさらに一般的になっている。本稿は、オンラインバンキング取引の分析と認識に適したツールとして、機械学習アルゴリズムに焦点を当てる。本研究の学術的新規性は、不正な銀行取引を識別するための機械学習モデルの開発と、その後の比較および最良の結果の選定のための銀行データの前処理技法にある。また、本論文では、極度に不均衡なデータセットの取り扱い、特徴量変換、特徴量エンジニアリングといった、検出精度を向上させるための様々な手法についても詳述する。提案モデルは人工ニューラルネットワークに基づいており、不正取引検出の精度を効果的に向上させる。異なるアルゴリズムの結果が可視化され、ロジスティック回帰アルゴリズムがAUC値約0.946を達成し、最良の性能を示した。スタッキング汎化は、より優れたAUC値0.954を示した。人工知能アルゴリズムを用いた銀行詐欺の認識は、現代のデジタル社会における喫緊の課題である。
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.