mlsanityData to 14 Oct 2026

An Ensemble of Pre-trained Transformer Models For Imbalanced Multiclass Malware Classification

arXiv 2112.13236 ↗First posted 25 Dec 2021cs.CR cs.AI cs.LGcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 505
  4. 2021A Survey of Transformerscited by 401
  5. 2021Pre-Trained Models: Past, Present and Futurecited by 319
  6. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
  7. 2020Deep Learning Based Text Classification: A Comprehensive Reviewcited by 141
  8. 2020Compressing Large-Scale Transformer-Based Models: A Case Study on BERTcited by 96
  9. 2020CharacterBERT: Reconciling ELMo and BERT for Word-Level Open-Vocabulary Representations From Characterscited by 87
  10. 2020Large-scale Robust Deep AUC Maximization: A New Surrogate Loss and Empirical Studies on Medical Image Classificationcited by 86
  11. 2017Survey of Machine Learning Techniques for Malware Analysiscited by 31
  12. 2019Neurlux: Dynamic Malware Analysis Without Feature Engineeringcited by 12
2 more
  1. 2019Random CapsNet Forest Model for Imbalanced Malware Type Classification Taskcited by 4
  2. 2019A Benchmark API Call Dataset for Windows PE Malware Classificationcited by 3

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 1; 2025: 1.

5 papers.