Optimized XGBoost for Ethereum Fraud Detection: A Cost-Sensitive Approach
- 1 Department of Artificial Intelligence and Machine Learning, B.M.S. College of Engineering, Bengaluru, Karnataka, India
Abstract
In today’s technologically advancing world, many fields from finance to healthcare and education are shifting toward a digital and decentralized format. A significant transformation is underway with the currency of the masses. Blockchain-based cryptocurrencies like Bitcoin and Ethereum allow users to generate fungible tokens anonymously through smart contracts. However, these features also facilitate illicit transactions and cybercrimes like fraud, phishing, and money laundering. The proposed work explores the identification of suspicious transactions on the Ethereum blockchain by leveraging advanced machine-learning techniques. An Extreme Gradient Boosting (XGBoost) classifier is optimized for spotting unauthorized or malicious transactions, exploring features like transaction patterns and value anomalies. Feature scaling and log transformations normalize skewed distributions, while rigorous model training and hyperparameter tuning enhance the system's precision, recall, and overall accuracy. Other aids, such as feature importance rankings, precision-recall curves, and diagnostic statistics, provide useful information on fraud patterns. Evaluation of the model shows that integrating cost-sensitive learning significantly reduces false positives, from 51 to 44, representing a 13.7% decrease, which enhances practical usability by minimizing false alerts and manual verification efforts. Although there was a slight increase in false negatives (from 14 to 15), the overall classification accuracy improved. The model demonstrated strong performance in managing class imbalance which is common in fraud detection contexts.
DOI: https://doi.org/10.3844/jcssp.2025.2802.2815
Copyright: © 2025 Supriya P., Rubah Sheriff, Shreya Padaki, Suchi V. Yadav and Varsha Thaku. This is an open access article distributed under the terms of the
Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
- 102 Views
- 21 Downloads
- 0 Citations
Download
Keywords
- Ethereum
- Fraud Detection
- Blockchain
- XGBoost
- Classification
- Anomaly Detection
- Feature Engineering
- Hyperparameter Tuning
- Evaluation Metrics