Anomaly Detection in Transactions Using Machine Learning

Authors

  • M.Bharath Maneel Department of CSE, Koneru Lakshmaiah Education Foundation, Vaddeswaram, A.P, India Author
  • M. Sri SaiHarsha Department of CSE, Koneru Lakshmaiah Education Foundation, Vaddeswaram, A.P, India Author
  • S. Rahul Sai Department of CSE, Koneru Lakshmaiah Education Foundation, Vaddeswaram, A.P, India Author
  • CH. Vivek Department of CSE, Koneru Lakshmaiah Education Foundation, Vaddeswaram, A.P, India Author
  • M Kavitha Department of CSE, Koneru Lakshmaiah Education Foundation, Vaddeswaram, A.P, India Author
  • Dharmaiah Devarapalli Department of CSE, Koneru Lakshmaiah Education Foundation, Vaddeswaram, A.P, India Author
  • D Mythrayee Department of CSE, Koneru Lakshmaiah Education Foundation, Vaddeswaram, A.P, India Author

DOI:

https://doi.org/10.71459/edutech202521

Keywords:

Anomaly Detection, Fraud Prevention, Machine Learning, Transaction Processing

Abstract

Finding anomalies in financial transactions is a crucial task for spotting odd or perhaps fraudulent activity. This study offers a thorough Transaction Anomaly Detection system that efficiently detects questionable financial transactions by applying Random Forest classification and rule-based analysis. To build a strong detection framework, the suggested method incorporates feature engineering techniques, such as advanced scaling methods and transaction amount difference calculation. With carefully chosen features including transaction amount, transaction frequency, and comparative metrics, the solution makes use of scikit-learns Random Forest Classifier. The system uses a hybrid detection methodology that enables nuanced transaction analysis by fusing predefined anomalous rules with machine learning prediction. Standard Scaler for feature normalization and deliberate train-test splits are important preprocessing techniques that guarantee model generalizability. Transaction amount ratios, frequency thresholds, and comparative statistical analysis are some of the criteria that the detection algorithm uses to assess transactions. Real-time transaction review is made possible via an interactive command-line interface, which gives users comprehensive information about any irregularities and particular justifications for reporting suspicious activity. The model's ability to recognize odd transaction patterns in a range of financial situations is demonstrated by experimental validation. The study highlights the potential of machine learning to improve financial security and fraud prevention systems by offering a versatile, interpretable method of anomaly identification that is readily adaptable to various financial monitoring situations.

References

[1] Dhanawat, Vineet. "Anomaly Detection in Financial Transactions using Machine Learning and Blockchain Technology." International Journal of Business Management and Visuals, ISSN: 3006-2705 5.1 (2022): 34-41.

[2] Parimi, Surya Sairam. "Leveraging Deep Learning for Anomaly Detection in SAP Financial Transactions." Available at SSRN 4934907 (2017).

[3] Gupta, Swati, et al. "Anomaly detection in credit card transactions using machine learning." (2020).

[4] Amarasinghe, Thushara, Achala Aponso, and Naomi Krishnarajah. "Critical analysis of machine learning based approaches for fraud detection in financial transactions." Proceedings of the 2018 International Conference on Machine Learning Technologies. 2018.

[5] Dumitrescu, Bogdan, Andra Băltoiu, and Ştefania Budulan. "Anomaly detection in graphs of bank transactions for anti-money laundering applications." IEEE Access 10 (2022): 47699-47714.

[6] Rezapour, Mahdi. "Anomaly detection using unsupervised methods: credit card fraud case study." International Journal of Advanced Computer Science and Applications 10.11 (2019).

[7] Elliott, Andrew, et al. "Anomaly detection in networks with application to financial transaction networks." arXiv preprint arXiv:1901.00402 (2019).

[8] Hilal, Waleed, S. Andrew Gadsden, and John Yawney. "Financial fraud: a review of anomaly detection techniques and recent advances." Expert systems With applications 193 (2022): 116429.

[9] Dhanawat, Vineet. "Anomaly Detection in Financial Transactions using Machine Learning and Blockchain Technology." International Journal of Business Management and Visuals, ISSN: 3006-2705 5.1 (2022): 34-41.

[10] Jain, Rachna, and Sarthak Deshwal. "Anomaly detection in bank transactions using Machine Learning."

[11] Pourhabibi, Tahereh, et al. "Fraud detection: A systematic literature review of graph-based anomaly detection approaches." Decision Support Systems 133 (2020): 113303.

[12] Maxon, Richard. Anomaly detection in financial wire transactions using unsupervised learning. MS thesis. Utica College, 2021.

[13] Okfie, Mayar Ibrahim Hasan, and Shailendra Mishra. "Anomaly Detection in IIoT Transactions using Machine Learning: A Lightweight Blockchain-based Approach." Engineering, Technology & Applied Science Research 14.3 (2024): 14645-14653.

[14] Bakumenko, Alexander, and Ahmed Elragal. "Detecting anomalies in financial data using machine learning algorithms." Systems 10.5 (2022): 130

[15] Jeribi, Fathe. "A Comprehensive Machine Learning Framework for Anomaly Detection in Credit Card Transactions." International Journal of Advanced Computer Science & Applications 15.6 (2024).

Downloads

Published

2025-04-15

How to Cite

Bharath Maneel , M., Sri SaiHarsha, M., Rahul Sai , S., Vivek, C., Kavitha, M., Devarapalli, D., & Mythrayee, D. (2025). Anomaly Detection in Transactions Using Machine Learning. Edu - Tech Enterprise, 3, 21. https://doi.org/10.71459/edutech202521