Finsformer: A Novel Approach to Detecting Financial Attacks Using Transformer and Cluster-Attention
Source abstract
Abstract
This paper aims to address the increasingly severe security threats in financial systems by proposing a novel financial attack detection model, Finsformer. This model integrates the advanced Transformer architecture with the innovative cluster-attention mechanism, dedicated to enhancing the accuracy of financial attack behavior detection to counter complex and varied attack strategies. A key innovation of the Finsformer model lies in its effective capture of key information and patterns within financial transaction data. Comparative experiments with traditional deep learning models such as RNN, LSTM, Transformer, and BERT have demonstrated that Finsformer excels in key metrics such as precision, recall, and accuracy, achieving scores of 0.97, 0.94, and 0.95, respectively. Moreover, ablation studies on different feature extractors further confirm the effectiveness of the Transformer feature extractor in processing complex financial data. Additionally, it was found that the model’s performance heavily depends on the quality and scale of data and may face challenges in computational resources and efficiency in practical applications. Future research will focus on optimizing the Finsformer model, including enhancing computational efficiency, expanding application scenarios, and exploring its application on larger and more diversified datasets.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Blockchain Technology Applications and Security · Anomaly Detection Techniques and Applications · Stock Market Forecasting Methods
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
China Agricultural University, Beijing 100083, China
Funding
National Natural Science Foundation of China
References (47)
Show source-provided references
1. Huo, H., Guo, J., Yang, X., Lu, X., Wu, X., Li, Z., Li, M., and Ren, J. (2023). An Accelerated Method for Protecting Data Privacy in Financial Scenarios Based on Linear Operation. Appl. Sci., 13.10.3390/app13031764 ↗
2. Yang, X., Zhang, C., Sun, Y., Pang, K., Jing, L., Wa, S., and Lv, C. (2023). FinChain-BERT: A High-Accuracy Automatic Fraud Detection Model Based on NLP Methods for Financial Scenarios. Information, 14.10.3390/info14090499 ↗
3. Zhang, L., Wang, R., Li, Z., Li, J., Ge, Y., Wa, S., Huang, S., and Lv, C. (2023). Time-Series Neural Network: A High-Accuracy Time-Series Forecasting Method Based on Kernel Filter and Time Attention. Information, 14.10.3390/info14090500 ↗
4. Diaz-Verdejo, J., Munoz-Calle, J., Estepa Alonso, A., Estepa Alonso, R., and Madinabeitia, G. (2022). On the Detection Capabilities of Signature-Based Intrusion Detection Systems in the Context of Web Attacks. Appl. Sci., 12.10.3390/app12020852 ↗
5. Clustere d fe derate d learning architecture for network anomaly detection in large scale heterogeneous IoT networks10.1016/j.cose.2023.103299 ↗
6. A systematic literature review for network intrusion detection system (IDS)10.1007/s10207-023-00682-2 ↗
7. Effective Anomaly Detection Model Training with only Unlabeled Data by Weakly Supervised Learning Techniques
8. Yang, S., Ding, Y., Xie, B., Guo, Y., Bai, X., Qian, J., Gao, Y., Wang, W., and Ren, J. (2023). Advancing Financial Forecasts: A Deep Dive into Memory Attention and Long-Distance Loss in Stock Price Predictions. Appl. Sci., 13.10.3390/app132212160 ↗
9. Replay Attack Detection in Smart Cities Using Deep Learning10.1109/ACCESS.2020.3012411 ↗
10. Malware Detection in Android IoT Systems Using Deep Learning
11. Sandouka, S.B., Bazi, Y., and Al Rahhal, M.M. (2020, January 24–26). EfficientNet Combined with Generative Adversarial Networks for Presentation Attack Detection. Proceedings of the 2020 International Conference on Artificial Intelligence & Modern Assistive Technology (ICAIMAT), Riyadh, Saudi Arabia.10.1109/ICAIMAT51101.2020.9308017 ↗
12. Alshingiti, Z., Alaqel, R., Al-Muhtadi, J., Haq, Q.E.U., Saleem, K., and Faheem, M.H. (2023). A Deep Learning-Based Phishing Detection System Using CNN, LSTM, and LSTM-CNN. Electronics, 12.10.3390/electronics12010232 ↗
13. A hybrid DNN-LSTM model for detecting phishing URLs10.1007/s00521-021-06401-z ↗
14. URLdeepDetect: A Deep Learning Approach for Detecting Malicious URLs Using Semantic Vector Models10.1007/s10922-021-09587-8 ↗
15. Detection of Encrypted Cryptomining Malware Connections With Machine and Deep Learning10.1109/ACCESS.2020.3019658 ↗
16. Wang, B., Yuan, X., Duan, L., Ma, H., Su, C., and Wang, W. (2022). DeFiScanner: Spotting DeFi Attacks Exploiting Logic Vulnerabilities on Blockchain. IEEE Trans. Comput. Soc. Syst.10.1109/TCSS.2022.3228122 ↗
17. Alkhatib, I.K., Al-Aiad, I.A., Almahmoud, M.H., and Elayan, O.N. (2021, January 24–26). Credit Card Fraud Detection Based on Deep Neural Network Approach. Proceedings of the 2021 12th International Conference on Information and Communication Systems (ICICS), Valencia, Spain.10.1109/ICICS52457.2021.9464555 ↗
18. Fursov, I., Morozov, M., Kaploukhaya, N., Kovtun, E., Rivera-Castro, R., Gusev, G., Babaev, D., Kireev, I., Zaytsev, A., and Burnaev, E. (2021, January 14–18). Adversarial Attacks on Deep Models for Financial Transaction Records. Proceedings of the KDD ’21: 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, Virtual.10.1145/3447548.3467145 ↗
19. Advanced security testing using a cyber-attack forecasting model: A case study of financial institutions10.1002/smr.2489 ↗
20. Iftikhar, S., Asim, M., Zhang, Z., Muthanna, A., Chen, J., El-Affendi, M., Sedik, A., and Abd El-Latif, A.A. (2023). Target Detection and Recognition for Traffic Congestion in Smart Cities Using Deep Learning-Enabled UAVs: A Review and Analysis. Appl. Sci., 13.10.3390/app13063995 ↗
21. Identifying the attack surface for IoT network10.1016/j.iot.2020.100162 ↗
22. Cyber risk and the US financial system: A pre-mortem analysis10.1016/j.jfineco.2021.10.007 ↗
23. Security, privacy and risks within smart cities: Literature review and development of a smart city interaction framework10.1007/s10796-020-10044-1 ↗
24. Cyber-resilient smart cities: Detection of malicious attacks in smart grids10.1016/j.scs.2021.103116 ↗
25. Financial risk evaluation Z-score model for intelligent IoT-based enterprises10.1016/j.ipm.2021.102692 ↗
26. Phishing attacks: A recent comprehensive study and a new anatomy10.3389/fcomp.2021.563060 ↗
27. Intelligent cyber-phishing detection for online10.1016/j.cose.2020.102123 ↗
28. Cyber Attacks Detection Through Machine Learning in Banking
29. Sagduyu, Y.E., Shi, Y., and Erpek, T. (2019, January 10–13). IoT network security from the perspective of adversarial deep learning. Proceedings of the 2019 16th Annual IEEE International Conference on Sensing, Communication, and Networking (SECON), Boston, MA, USA.10.1109/SAHCN.2019.8824956 ↗
30. Research on K-value selection method of K-means clustering algorithm
31. Unsupervised K-means clustering algorithm10.1109/ACCESS.2020.2988796 ↗
32. K-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data10.1016/j.ins.2022.11.139 ↗
33. A new method for automatic determining of the DBSCAN parameters10.2478/jaiscr-2020-0014 ↗
34. dbscan: Fast density-based clustering with R10.18637/jss.v091.i01 ↗
35. Deng, D. (2020, January 25–27). DBSCAN clustering algorithm based on density. Proceedings of the 2020 7th International Forum on Electrical Engineering and Automation (IFEEA), Hefei, China.10.1109/IFEEA51475.2020.00199 ↗
36. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
37. Simonyan, K., and Zisserman, A. (2015, January 7–9). Very Deep Convolutional Networks for Large-Scale Image Recognition. Proceedings of the International Conference on Learning Representations, San Diego, CA, USA.
38. Design of a corporate financial crisis prediction model based on improved ABC-RNN+ Bi-LSTM algorithm in the context of sustainable development10.7717/peerj-cs.1287 ↗
39. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017, January 4–9). Attention is all you need. Proceedings of the Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, Long Beach, CA, USA.
40. Binoy, S.J., and Jos, J. (2022, January 28–29). Financial Market Forecasting using Macro-Economic Variables and RNN. Proceedings of the 2022 2nd International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE), Greater Noida, India.10.1109/ICACITE53722.2022.9823905 ↗
41. SOC estimation for lithium-ion battery using the LSTM-RNN with extended input and constrained output10.1016/j.energy.2022.125375 ↗
42. Pirani, M., Thakkar, P., Jivrani, P., Bohara, M.H., and Garg, D. (2022, January 23–24). A comparative analysis of ARIMA, GRU, LSTM and BiLSTM on financial time series forecasting. Proceedings of the 2022 IEEE International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE), Ballari, India.10.1109/ICDCECE53908.2022.9793213 ↗
43. Optimized stacked autoencoder for IoT enabled financial crisis prediction model
44. Koch, K.R., and Koch, K.R. (1990). Bayesian Inference with Geodetic Applications, Springer.10.1007/BFb0048699 ↗
45. Kingma, D.P., and Ba, J. (2014). Adam: A method for stochastic optimization. arXiv.
46. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
47. A comprehensive comparative study of artificial neural network (ANN) and support vector machines (SVM) on stock forecasting10.1007/s40745-021-00344-x ↗