Research on Illegal Transaction Detection in Ethereum Network Based on Machine Learning
Abstract
The fast development and growth of blockchain technology and cryptocurrencies, but most importantly, the fast diffusion of Ethereum, opened new chances for financial innovation but aggravated the risks of illegal activities such as money laundering. This paper discusses using machine learning techniques to detect illegal transactions over the Ethereum network. The dataset used is from Kaggle and includes a record of transaction features between Ethereum accounts; it has a high degree of class imbalance. Three machine learning models were used to classify transaction legality: Logistic Regression, Random Forest, and Extreme Gradient Boosting; this is referred to as XGBoost. Class balancing and data preprocessing are ways to improve model performance. The evaluation metrics were chosen as Accuracy and Area Under the Receiver Operating Characteristic Curve (ROC AUC). Experimental results show that the best performance of the XGBoost model was 98.52% in accuracy, while Random Forest was the best on ROC AUC, showing very strong classification capabilities. This work has shown the potentiality of machine learning in the improvement of blockchain security and provided useful lessons that might be applied to the development of scalable AML systems.
References
- Liu, J., Zhang, W., & Wang, X. (2022). LGBM: A machine learning method for Ethereum fraud detection. Springer Nature Computer Science. \
- Nguyen, T., Chen, J., & Li, H. (2023). Enhanced anti-money laundering system integrating blockchain and machine learning. In Proceedings of the IEEE International Conference on Blockchain and Cryptocurrency (pp. 1–7).
- Zhang, Y., Li, F., & Liu, P. (2023). GTN2vec: Graph embedding for Ethereum money laundering detection. ACM Transactions on Knowledge Discovery from Data, 17(4), 1–18.
- Lin, C., & Wei, H. (2022). Understanding cryptocurrency money laundering through Ethereum heist asset flow. International Journal of Financial Studies, 10(4), 105.
- Smith, A., & Lee, C. (2021). Machine learning application in anti-money laundering for blockchain technologies. IEEE Transactions on Cybernetics, 51(5), 2341–2350. \
- Wang, Y., & Zhang, Z. (2023). LaundroGraph: Self-supervised graph representation learning for anti-money laundering. In Neural Information Processing Systems (NeurIPS). https://doi.org/10.48550/arXiv.2210.14360
- Zhao, K., & Li, T. (2023). GraphALM: Active learning model for money laundering transaction detection on blockchain networks. IEEE Access, 11, 3176780–3176791.
- Chen, R., Li, Y., & Liu, Z. (2022). Applying traditional anti-money laundering algorithms to new scenarios on Ethereum. In ACM Symposium on Blockchain and Smart Contracts (pp. 1–8).
- Liu, F., & Zhao, H. (2022). A machine learning-based anti-money laundering system and method. China Patent CN2022028748.
- Zhang, M., Liu, P., & Wang, Y. (2023). Application and development of machine learning in anti-money laundering. Journal of Financial Regulation and Compliance Research, 7(2), 103–110.
- Wang, Y., & Zhang, Z. (2023). LaundroGraph: Self-supervised graph representation learning for anti-money laundering. In Neural Information Processing Systems (NeurIPS). https://doi.org/10.48550/arXiv.2210.14360
- Zhao, K., & Li, T. (2023). GraphALM: Active learning model for money laundering transaction detection on blockchain networks. IEEE Access, 11, 3176780–3176791. https://doi.org/10.1109/ACCESS.2023.3176780
- Chen, R., Li, Y., & Liu, Z. (2022). Application of traditional anti-money laundering algorithms in new scenarios on Ethereum. In ACM Symposium on Blockchain and Smart Contracts (pp. 1–8). https://doi.org/10.1145/3511234