Semi-supervised Classification of Malware Families Under Extreme Class Imbalance via Hierarchical Non-Negative Matrix Factorization with Automatic Model Selection
Not on the map. Why?
Abstract (arXiv)
Identification of the family to which a malware specimen belongs is essential in understanding the behavior of the malware and developing mitigation strategies. Solutions proposed by prior work, however, are often not practicable due to the lack of realistic evaluation factors. These factors include learning under class imbalance, the ability to identify new malware, and the cost of production-quality labeled data. In practice, deployed models face prominent, rare, and new malware families. At the same time, obtaining a large quantity of up-to-date labeled malware for training a model can be expensive. In this paper, we address these problems and propose a novel hierarchical semi-supervised algorithm, which we call the HNMFk Classifier, that can be used in the early stages of the malware family labeling process. Our method is based on non-negative matrix factorization with automatic model selection, that is, with an estimation of the number of clusters. With HNMFk Classifier, we exploit the hierarchical structure of the malware data together with a semi-supervised setup, which enables us to classify malware families under conditions of extreme class imbalance. Our solution can perform abstaining predictions, or rejection option, which yields promising results in the identification of novel malware families and helps with maintaining the performance of the model when a low quantity of labeled data is used. We perform bulk classification of nearly 2,900 both rare and prominent malware families, through static analysis, using nearly 388,000 samples from the EMBER-2018 corpus. In our experiments, we surpass both supervised and semi-supervised baseline models with an F1 score of 0.80.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Sep 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 6; 2026: 1.
9 papers.
- 2024Binary Bleed: Fast Distributed and Parallel Method for Automatic Model Selectioncited by 2
- 2025Zipf-Gramming: Scaling Byte N-Grams Up to Production Sized Malware Corporacited by 2
- 2025Matrix Factorization for Inferring Associations and Missing Linkscited by 1
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Researchcited by 1
- 2023Electrical Grid Anomaly Detection via Tensor Decompositioncited by 0
- 2025MLRan: A Behavioural Dataset for Ransomware Analysis and Detectioncited by 0
- 2025Topic Modeling and Link-Prediction for Material Property Discoverycited by 0
- 2025Non-Negative Matrix Factorization Using Non-Von Neumann Computerscited by 0
- 2026Detecting Satellites in Radio-Frequency Data via Semi-Supervised Learningcited by 0
- 2026Detecting Satellites in Radio-Frequency Data via Semi-Supervised Learning18 Jun 2026
- 2025Non-Negative Matrix Factorization Using Non-Von Neumann Computers30 Nov 2025
- 2025Zipf-Gramming: Scaling Byte N-Grams Up to Production Sized Malware Corpora17 Nov 2025
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Research17 Nov 2025
- 2025Topic Modeling and Link-Prediction for Material Property Discovery8 Jul 2025
- 2025MLRan: A Behavioural Dataset for Ransomware Analysis and Detection24 May 2025
- 2025Matrix Factorization for Inferring Associations and Missing Links6 Mar 2025
- 2024Binary Bleed: Fast Distributed and Parallel Method for Automatic Model Selection26 Jul 2024
- 2023Electrical Grid Anomaly Detection via Tensor Decomposition12 Oct 2023