基於圖神經網路之詐欺金融帳戶異常偵測研究
Fraud Detection on Financial Accounts Using Graph Neural Networks
摘要
隨著數位金融服務普及,詐欺集團透過人頭帳戶進行資金流轉,傳統規則式偵測系統難以有效因應。現有機器學習方法雖已廣泛應用於詐欺偵測,卻無法捕捉帳戶間的網絡關聯,在面對組織性詐欺時存在先天盲點。本研究旨在探索圖神經網路(Graph Neural Network, GNN)技術於金融詐欺帳戶偵測之應用,並針對資料極度不平衡的核心挑戰提出解決方案。
本研究以 DGFraud-TF2 框架為基礎,以 SemiGNN 作為核心基礎模型進行三階段迭代改良,最終提出結合行為專家(MLP)與網絡專家(GNN)之混合雙流架構(Hybrid Expert),並引入 Focal Loss 機制(Alpha=0.95)解決類別不平衡問題。實驗資料集涵蓋 DBLP、YelpChi、Elliptic 比特幣交易資料集,以及本研究自建之模擬玉山銀行資料集(共 10,000 筆,詐欺比例 5%),並與 GraphSAGE、GAT、XGBoost、LightGBM 進行系統性比較,評估指標採用 AUC、召回率、精準度及混淆矩陣。
實驗結果顯示,Hybrid Expert 模型在 Elliptic 資料集上達到 AUC 0.87,誤報數僅 8 筆,顯著優於 GraphSAGE 之 AUC 0.79;在模擬玉山銀行資料集上召回率達 55.77%,AUC 為 0.66,與 XGBoost 表現相當,驗證了 GNN 於金融詐欺偵測之可行性。本研究亦發現特徵品質為模型效能之關鍵瓶頸,特徵鑑別度之影響遠大於模型架構之選擇。本研究之貢獻在於提出混合雙流 GNN 架構、建立可重現之模擬金融資料集實驗流程,並提供不同場景下的模型選擇依據。
本研究以 DGFraud-TF2 框架為基礎,以 SemiGNN 作為核心基礎模型進行三階段迭代改良,最終提出結合行為專家(MLP)與網絡專家(GNN)之混合雙流架構(Hybrid Expert),並引入 Focal Loss 機制(Alpha=0.95)解決類別不平衡問題。實驗資料集涵蓋 DBLP、YelpChi、Elliptic 比特幣交易資料集,以及本研究自建之模擬玉山銀行資料集(共 10,000 筆,詐欺比例 5%),並與 GraphSAGE、GAT、XGBoost、LightGBM 進行系統性比較,評估指標採用 AUC、召回率、精準度及混淆矩陣。
實驗結果顯示,Hybrid Expert 模型在 Elliptic 資料集上達到 AUC 0.87,誤報數僅 8 筆,顯著優於 GraphSAGE 之 AUC 0.79;在模擬玉山銀行資料集上召回率達 55.77%,AUC 為 0.66,與 XGBoost 表現相當,驗證了 GNN 於金融詐欺偵測之可行性。本研究亦發現特徵品質為模型效能之關鍵瓶頸,特徵鑑別度之影響遠大於模型架構之選擇。本研究之貢獻在於提出混合雙流 GNN 架構、建立可重現之模擬金融資料集實驗流程,並提供不同場景下的模型選擇依據。
With the proliferation of digital financial services, fraudulent syndicates exploit shell accounts for illicit fund transfers, rendering traditional rule-based detection systems ineffective. While conventional machine learning methods have been widely adopted for fraud detection, they fail to capture relational structures between accounts, leaving a critical blind spot against organized fraud networks. This study explores the application of Graph Neural Network (GNN) technology for financial fraud account detection, addressing the core challenge of extreme class imbalance in real-world financial datasets.
Based on the DGFraud-TF2 framework with SemiGNN as the baseline model, this study conducts a three-phase iterative improvement, ultimately proposing a Hybrid Expert dual-stream architecture combining a Behavior Expert (MLP) and a Network Expert (GNN), with Focal Loss (Alpha=0.95) incorporated to resolve the class imbalance problem. Experiments are conducted across four datasets: DBLP, YelpChi, the Elliptic Bitcoin transaction dataset, and a self-constructed simulated financial dataset (10,000 accounts, 5% fraud ratio), with systematic comparisons against GraphSAGE, GAT, XGBoost, and LightGBM using AUC, Recall, Precision, and confusion matrix as evaluation metrics.
Results demonstrate that the Hybrid Expert model achieves an AUC of 0.87 on the Elliptic dataset with only 8 false positives, significantly outperforming GraphSAGE (AUC 0.79). On the simulated financial dataset, the model achieves a recall rate of 55.77% and an AUC of 0.66, comparable to XGBoost, validating the feasibility of GNN-based financial fraud detection. This study further identifies feature quality as the critical performance bottleneck, with feature discriminability having a far greater impact than model architecture selection. Contributions include the proposed Hybrid Expert architecture, a reproducible simulated financial dataset pipeline, and systematic cross-model comparison providing practical model selection guidance for different fraud detection scenarios.
Based on the DGFraud-TF2 framework with SemiGNN as the baseline model, this study conducts a three-phase iterative improvement, ultimately proposing a Hybrid Expert dual-stream architecture combining a Behavior Expert (MLP) and a Network Expert (GNN), with Focal Loss (Alpha=0.95) incorporated to resolve the class imbalance problem. Experiments are conducted across four datasets: DBLP, YelpChi, the Elliptic Bitcoin transaction dataset, and a self-constructed simulated financial dataset (10,000 accounts, 5% fraud ratio), with systematic comparisons against GraphSAGE, GAT, XGBoost, and LightGBM using AUC, Recall, Precision, and confusion matrix as evaluation metrics.
Results demonstrate that the Hybrid Expert model achieves an AUC of 0.87 on the Elliptic dataset with only 8 false positives, significantly outperforming GraphSAGE (AUC 0.79). On the simulated financial dataset, the model achieves a recall rate of 55.77% and an AUC of 0.66, comparable to XGBoost, validating the feasibility of GNN-based financial fraud detection. This study further identifies feature quality as the critical performance bottleneck, with feature discriminability having a far greater impact than model architecture selection. Contributions include the proposed Hybrid Expert architecture, a reproducible simulated financial dataset pipeline, and systematic cross-model comparison providing practical model selection guidance for different fraud detection scenarios.