Illegal Miner Detection based on Dynamic Mode Decomposition and Unsupervised Machine Learning Algorithms

Document Type : Research article

Authors

1 Department of Electrical Engineering, Faculty of Engineering, Arak University, Arak, 38156-8-8349, Iran.‎

2 Department of Computer Engineering, Faculty of Engineering, Arak University, Arak, 38156-8-8349, Iran.‎

Abstract
Since the most important issue in the production of digital currencies is energy consumption, the ‎use of illegal electricity in mining farms has become very popular. Illegal mining is particularly ‎important in countries such as Iran where the price of electrical energy is extremely low. This issue ‎has caused numerous problems such as frequent blackouts, large losses for industries and even ‎daily power cuts in several large cities. Previous machine learning approaches for miner detection ‎are mostly supervised methods which rely on labeled data. Due to the fact that the number of ‎labeled data is very limited in reality, we propose unsupervised methods in this paper. A real data ‎set from Markazi Province Distribution Company in Iran has been employed to produce the results. ‎The classification process consists of two stages: in the first stage, Dynamic Mode Decomposition ‎‎(DMD) has been used to extract new features which compose the set of features along with certain ‎factors from the Advanced Metering Infrastructure (AMI). These features are selected for 58 ‎subscribers with positive and negative labels. In the second stage, a number of unsupervised models ‎are built from the results of the first stage. The highest accuracy of classification obtained is 74% ‎from unsupervised algorithms and 85% for supervised algorithms, which is very significant ‎considering the fact that unsupervised algorithms do not need labeled data‎.‎

Graphical Abstract

Illegal Miner Detection based on Dynamic Mode Decomposition and Unsupervised Machine Learning Algorithms

Highlights

 

Employing a real data set from Markazi Province Distribution Company to detect illegal miners.
Dynamic Mode Decomposition (DMD) has been used to extract new features.
Obtaining high accuracy of classification using unsupervised algorithms.

Keywords


Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. The ethical issues, including plagiarism, informed consent, misconduct, data fabrication and/or falsification, double publication and/or submission, redundancy, have been completely observed by the authors.

 

Credit Authorship Contribution Statement

Alireza Simorgh: Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Validation, Visualization, Roles/Writing - original draft. Khosro Khandani: Conceptualization, Investigation, Project administration, Supervision, Roles/Writingoriginal draft, Writing-review & editing. Maryam Amiri: Conceptualization, Data curation, Project administration, Resources, Writing-review & editing.

 

Bibliography

Alireza Simorgh  was born in 1997 in Boroujerd, Iran. He obtained his Bachelor's and Master's degrees in Electrical Engineering and Electrical Control Engineering, respectively, from Ayatollah Boroujerdi University in Boroujerd, Iran, and Arak University in Arak, Iran, in 2021 and 2024. Currently, he is working as an Industry Liaison Officer at Shoroue Innovation Center. His specialized interests include robotics, multi-agent systems, data science and machine learning, and fuzzy systems

Khosro Khandani received his BS degree in electrical engineering from Sahand University of Technology, Tabriz, Iran, in 2007; MS degree in electrical engineering from Iran University of science and Technology, Tehran, Iran, in 2011; Ph.D. degree in electrical engineering from Tarbiat Modares University, Tehran, Iran, in 2016. He is currently an associate professor in electrical engineering department, faculty of engineering, Arak University, Arak, Iran. His research interests include cooperative control of multi-agent systems, fuzzy systems,
fractional-order systems and machine learning.

Maryam Amiri received the BS degree in computer engineering from Arak University, Arak, Iran, in 2009; the MS degree in computer engineering from the Bu-Ali Sina University, Hamedan, Iran, in 2012; the Ph.D. degree in computer engineering from the University of Tabriz, Tabriz, Iran, in 2018. She is currently an assistant professor in the Department of Computer Engineering, the faculty of engineering, Arak University, Arak, Iran. Her research interests include cloud computing, machine learning, and data mining.

 

Citation

A. Simorgh, K. Khandani, and M. Amiri," Illegal Miner Detection based on Dynamic Mode Decomposition and Unsupervised Machine Learning Algorithms," Journal of Green Energy Research and Innovation, vol. 2, no. 6, pp. 79-88, 2025.

  1. B. Dindar, and Ö. Gül, "The Detection of Illicit Cryptocurrency Mining Farms with Innovative Approaches for the Prevention of Electricity Theft," Energy & Environment, vol. 33, no. 8, pp. 1663-1678, 2022.
  2. C. Chahla, H. Snoussi, L. Merghem, and M. Esseghir, "A Deep Learning Approach for Anomaly Detection and Prediction in Power Consumption Data," Energy Efficiency, vol. 13, no. 8, pp. 1633-1651, 2020.
  3. M. Kardi, T. AlSkaif, B. Tekinerdogan, and J. P. S. Catalao, "Anomaly Detection in Electricity Consumption Data using Deep Learning,"2021 IEEE International Conference on Environment and Electrical Engineering and 2021 IEEE Industrial and Commercial Power Systems Europe, pp. 1-6, 2021.
  4. C. Zhou, Z. Fang, et al., "Using Long Short-Term Memory Networks To Predict Energy Consumption Of Air-Conditioning Systems," Sustainable Cities and Society, vol. 55, 102000, 2020.
  5. M. Li, K. Zhang, J. Liu, H. Gong, and Z. Zhang, "Blockchain-Based Anomaly Detection of Electricity Consumption in Smart Grids," Pattern Recognition Letters, vol. 138, pp. 476-482, 2020.
  6. Z. Ouyang, X. Sun, J. Chen, D. Yue, and T. Zhang, "Multi-View Stacking Ensemble for Power Consumption Anomaly Detection in the Context of Industrial Internet of Things," IEEE Access, vol. 6, pp. 9623-9631, 2018.
  7. P. Nerurkar, "Illegal Activity Detection on Bitcoin Transaction using Deep Learning," Soft Computing, vol. 27, no. 9, pp. 5503-5520, 2023.
  8. S. Wu, Q. Liu, and J. Li, "Research on the Detection of Illegal Transactions in Currency Transactions Based on Blockchain Technology," International Journal of Network Security, vol. 26, no. 1, pp. 19-24, 2024.
  9. K. Kolesnikova, O. Mezentseva, and T. Mukatayev, "Analysis of Bitcoin Transactions to Detect Illegal Transactions using Convolutional Neural Networks," IEEE International Conference on Smart Information Systems and Technologies, pp. 1-6, 2021.
  10. A. Wahrstätter, J. Gomes, S. Khan, and D. Svetinovic, "Improving Cryptocurrency Crime Detection: Coinjoin Community Detection Approach," IEEE Transactions on Dependable and Secure Computing, vol. 20, no. 6, pp. 4946-4956, 2023.
  11. M. Amiri, and H. Askari, "Illegal Miner Detection Based on Pattern Mining: A Practical Approach," Journal of Computing and Security, vol. 9, no. 2, pp. 1-10, 2022.
  12. M. Ahmed, R. Seraj, and S. M. S. Islam, "The K-Means Algorithm: A Comprehensive Survey and Performance Evaluation," Electronics, vol. 9, no. 8, p. 1295, 2020.
  13. J. Qian, Y. Zhou, et al. "MDBSCAN: A Multi-Density DBSCAN Based on Relative Density," Neurocomputing, vol. 576, 127329, 2024.
  14. C. Cariou, S. Le Moan, and K. Chehdi, "A Novel Mean-Shift Algorithm for Data Clustering," IEEE Access, vol. 10, pp. 14575-14585, 2022.
  15. Y. A. Ghassabeh, and F. Rudzicz, "Modified Subspace Constrained Mean Shift Algorithm," Journal of Classification, vol. 38, pp. 27-43, 2021.
  16. X. Ran, Y. Xi, Y. Lu, X. Wang, and Z. Lu, "Comprehensive Survey on Hierarchical Clustering Algorithms and the Recent Developments," Artificial Intelligence Review, vol. 56, no. 8, pp. 8219-8264, 2023.
  17. G. J. Szekely, and M. L. Rizzo, "Hierarchical Clustering via Joint Between-Within Distances: Extending Ward's Minimum Variance Method," Journal of classification, vol. 22, no. 2, pp.151-184, 2005.
  18. M. R. Ackermann, J. Blömer, D. Kuntze, and C. Sohler, "Analysis of Agglomerative Clustering," Algorithmica, vol. 69, pp. 184-215, 2014.
  19. P. J. Schmid, "Dynamic Mode Decomposition and its Variants," Annual Review of Fluid Mechanics, vol. 54, pp. 225-254, 2022.
  20. J. A. Rosenfeld, R. Kamalapurkar, L. F. Gruss, T. T. ND Johnson, "Dynamic Mode Decomposition for Continuous Time Systems with the Liouville Operator," Journal of Nonlinear Science, vol. 32, pp. 1-30, 2022.
  21. K. Khan, S. U. Rehman, K. Aziz, S. Fong, and S. Sarasvady, "DBSCAN: Past, Present and Future," The Fifth International Conference on the Applications of Digital Information and Web Technologies, pp. 232-238, 2014.
Volume 2, Issue 2
Spring 2025
Pages 79-88

  • Receive Date 19 February 2025
  • Revise Date 24 March 2025
  • Accept Date 25 March 2025
  • Publish Date 01 June 2025