Introduction
Machine Learning (ML) has become a cornerstone of modern cybersecurity, powering antivirus and endpoint detection systems. However, these models are susceptible to adversarial attacks, particularly "poisoning" where training data is intentionally corrupted to degrade performance or create backdoors. This paper, presented at the 2021 Hawaii International Conference on System Sciences (HICSS), investigates the resilience of malware classifiers under such adversarial conditions, proposing a stacked ensemble architecture as a robust defense mechanism.
Methodology: Stacking Ensemble Learning
The researchers employed a Stacking Ensemble approach to enhance robustness. Unlike traditional single-algorithm classifiers, a stacked model utilizes a hierarchical structure to improve predictive stability by aggregating the strengths of multiple models.
The architecture consists of two primary levels:
- Level 1 (Base Models): Ten diverse classifiers—including Random Forest, Support Vector Machines (SVM), Gradient Boosting, and Artificial Neural Networks—are trained on the primary dataset.
- Level 2 (Meta-Learner): A final model (such as an SVM or Gradient Boosting) processes the predictions from all Level 1 models to make the final classification.
To handle the high dimensionality of malware data, which often involves millions of features, Singular Value Decomposition (SVD) was applied to reduce the feature space to the 100 most significant principal components.
Experimental Setup and Datasets
The study utilized a dataset of 12,536 malware samples from the AAAI 2019 Artificial Intelligence for Cyber Security (AICS) challenge, categorized into five classes: Viruses, Worms, Packed Malware, Trojan Horses, and AdWare. To evaluate robustness, three training environments were established:
- $C_1$ (Unperturbed): The clean control set.
- $C_2$ (Feature Perturbation): 20% of input features were stochastically altered to simulate noise or intentional data corruption.
- $C_3$ (Label Perturbation): 20% of training labels were randomly swapped to simulate a "label flipping" poisoning attack.
Results and Analysis
The performance of individual base classifiers varied significantly across the different adversarial scenarios. While Random Forest achieved the highest accuracy on clean data ($C_1$), its performance was surpassed by Bagging under feature perturbation ($C_2$) and by Gradient Boosting under label perturbation ($C_3$).
The vulnerability of individual models is evident in the data; for instance, Quadratic Discriminant Analysis (QDA) saw its accuracy drop from 80.50% to 50.60% when labels were poisoned. In contrast, the stacked ensemble approach demonstrated superior stability. By aggregating the outputs of ten diverse algorithms, the meta-learner effectively "smoothed out" the vulnerabilities of individual models.
The researchers found that using an SVM as the Level 2 meta-learner provided the most consistent results. The full 10-model stack maintained a baseline accuracy of 92.74% on $C_1$, dropping only slightly to 92.64% on $C_2$ and 91.79% on $C_3$. This represents a significant improvement in resilience compared to single-model approaches under attack.
Conclusion
This research highlights that diversity is a critical defense in adversarial ML. By combining multiple algorithms through a stacked ensemble, malware classifiers can remain remarkably resilient even when a significant portion of their training data is compromised. While this study focused on indiscriminate noise, future work will focus on defending against more sophisticated, targeted poisoning attacks and optimizing the computational overhead of multi-model stacks.
Summary updated