An Ensemble of Pre-trained Transformer Models For Imbalanced Multiclass Malware Classification
Not on the map. Why?
Abstract (arXiv)
Classification of malware families is crucial for a comprehensive understanding of how they can infect devices, computers, or systems. Thus, malware identification enables security researchers and incident responders to take precautions against malware and accelerate mitigation. API call sequences made by malware are widely utilized features by machine and deep learning models for malware classification as these sequences represent the behavior of malware. However, traditional machine and deep learning models remain incapable of capturing sequence relationships between API calls. On the other hand, the transformer-based models process sequences as a whole and learn relationships between API calls due to multi-head attention mechanisms and positional embeddings. Our experiments demonstrate that the transformer model with one transformer block layer surpassed the widely used base architecture, LSTM. Moreover, BERT or CANINE, pre-trained transformer models, outperformed in classifying highly imbalanced malware families according to evaluation metrics, F1-score, and AUC score. Furthermore, the proposed bagging-based random transformer forest (RTF), an ensemble of BERT or CANINE, has reached the state-of-the-art evaluation scores on three out of four datasets, particularly state-of-the-art F1-score of 0.6149 on one of the commonly used benchmark dataset.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 14 of its 58 references that are in the map. First posted on arXiv 25 Dec 2021.
Builds on
14 of 58 references.
References · 14
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 505
- 2021A Survey of Transformerscited by 401
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
- 2020Deep Learning Based Text Classification: A Comprehensive Reviewcited by 141
- 2020Compressing Large-Scale Transformer-Based Models: A Case Study on BERTcited by 96
- 2020CharacterBERT: Reconciling ELMo and BERT for Word-Level Open-Vocabulary Representations From Characterscited by 87
- 2020Large-scale Robust Deep AUC Maximization: A New Surrogate Loss and Empirical Studies on Medical Image Classificationcited by 86
- 2017Survey of Machine Learning Techniques for Malware Analysiscited by 31
- 2019Neurlux: Dynamic Malware Analysis Without Feature Engineeringcited by 12
Built on by
Citing papers per year: 2023: 3; 2024: 1; 2025: 1.
5 papers.
- 2023A review of ensemble learning and data augmentation models for class imbalanced problems: combination, implementation and evaluationcited by 25
- 2023Nebula: Self-Attention for Dynamic Malware Analysiscited by 8
- 2023Prompt Engineering-assisted Malware Dynamic Analysis Using GPT-4cited by 7
- 2024Unlocking Real-Time Fluorescence Lifetime Imaging: Multi-Pixel Parallelism for FPGA-Accelerated Processingcited by 2
- 2025Ensemble BERT for Medication Event Classification on Electronic Health Records (EHRs)cited by 0
- 2025Ensemble BERT for Medication Event Classification on Electronic Health Records (EHRs)29 Jun 2025
- 2024Unlocking Real-Time Fluorescence Lifetime Imaging: Multi-Pixel Parallelism for FPGA-Accelerated Processing9 Oct 2024
- 2023Prompt Engineering-assisted Malware Dynamic Analysis Using GPT-413 Dec 2023
- 2023Nebula: Self-Attention for Dynamic Malware Analysis19 Sep 2023
- 2023A review of ensemble learning and data augmentation models for class imbalanced problems: combination, implementation and evaluation6 Apr 2023