Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Enhancing Malware Detection with Generative AI: Using Variational Autoencoders to Boost Machine Learning Classifiers' Performance

About

The advancement of malware poses obstacles for cybersecurity, necessitating the development of advanced detection techniques. This paper proposes an approach to enhance malware detection through the use of a generative artificial intelligence model. Specifically, variational autoencoders (VAEs) are used with the random forest, XGBoost and sequential model machine learning classifiers. Generated synthetic malware samples are used to address the critical issue of data scarcity for new or less common malware types. This approach can be used to augment datasets to improve classifier robustness. The proposed methodology uses VAEs to create high-quality diverse synthetic datasets that closely mimic real-world malware data. The effectiveness of these augmented datasets is evaluated by comparing the performance of the machine learning classifiers when they are trained with the original data and when they are trained with the synthetic data-augmented datasets. The results demonstrate a notable improvement in the accuracy, precision, recall and F1-scores of the classifiers, when they are trained using the augmented datasets. The enhanced performance for detecting various malware classes shows the potential of this approach to facilitate adaptation to evolving malware threats effectively. This work demonstrates the utility of generative AI for cybersecurity. It also provides a foundation for future research aimed at developing more resilient and adaptive malware detection systems.

Mohammad Alharbi, Jeremy Straub• 2026

Related benchmarks

TaskDatasetResultRank
Malware ClassificationCICMalDroid 2020
Accuracy97.47
60
Malware ClassificationCICMalDroid 2020 (test)
Adware Accuracy94.33
8
Malware ClassificationCICMalDroid 2020
Weighted Recall95.6
5
Malware ClassificationCCCS-CIC-AndMal 2020
Accuracy86
2
Showing 4 of 4 rows

Other info

Follow for update