Leveraging VAE-Derived Latent Spaces for Enhanced Malware Detection with Machine Learning Classifiers

Bamidele Ajayi, Basel Barakat, Ken McGarry
3/24/2025
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

This paper assesses the performance of five machine learning classifiers: Decision Tree, Naive Bayes, LightGBM, Logistic Regression, and Random Forest using latent representations learned by a Variational Autoencoder from malware datasets. Results from the experiments conducted on different training-test splits with different random seeds reveal that all the models perform well in detecting malware with ensemble methods (LightGBM and Random Forest) performing slightly better than the rest. In addition, the use of latent features reduces the computational cost of the model and the need for extensive hyperparameter tuning for improved efficiency of the model for deployment. Statistical tests show that these improvements are significant, and thus, the practical relevance of integrating latent space representation with traditional classifiers for effective malware detection in cybersecurity is established.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ajayi2025leveraging,
  title  = {Leveraging VAE-Derived Latent Spaces for Enhanced Malware Detection with Machine Learning Classifiers},
  author = {Bamidele Ajayi and Basel Barakat and Ken McGarry},
  year   = {2025},
  eprint = {2503.20803},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.20803v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.20803.svg)](https://codeofpaper.com/paper/2503.20803)

Discussion