A Multi-task Mixture of Experts Framework for Malware Classification, Packing Detection, and Family Attribution
On the map: Mixture-of-experts → Expert routing strategies
Abstract (arXiv)
Malware classification remains a challenging problem due to its inherent heterogeneity, the presence of packed binaries, and the diverse distribution of malware families. Traditional single-model detection mechanisms often fail to generalize across such diverse data, leading to degraded performance, particularly on obfuscated and rare malware samples. In this work, we propose a unified multi-task malware analysis framework based on Mixture of Experts (MoE) architectures. The proposed system evaluates performance across two different input representations, i.e., high-dimensional EMBER feature sets and raw 1D byte arrays extracted from Portable Executable files. It simultaneously performs three critical tasks: malware family classification, packed versus unpacked detection, and malware versus benign identification. By decomposing the problem into specialized expert networks and employing adaptive gating mechanisms, the model enables effective task-specific learning while maintaining overall scalability. We investigate multiple architectural variants, including Homogeneous MoE, Heterogeneous MoE, and Multi-Gate MoE (MMoE). Performance is evaluated in both standard and adversarial settings using original and mutated samples. The obtained results demonstrate that the Multi-Gate MoE model achieves the best performance, reaching a combined detection rate of 0.9744 with only 2.56% failure rate. Moreover, this configuration exhibits improved robustness under mutation-induced distribution shifts. Our findings highlight the effectiveness of expert specialization and task-specific routing in handling complex malware distributions, making the proposed framework a promising direction for scalable and resilient malware detection systems.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 8 of its 35 references that are in the map. First posted on arXiv 29 Jun 2026.
Builds on
8 of 35 references.
Closest ancestors · 1
Same direction, newest first
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity11 Jan
Other references · 7
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2017Malware Detection by Eating a Whole EXEcited by 115
- 2024Multi-Head Mixture-of-Expertscited by 31
- 2025EMBER2024 -- A Benchmark Dataset for Holistic Evaluation of Malware Classifierscited by 19
- 2024Assessing the Impact of Packing on Machine Learning-Based Malware Detection and Classification Systemscited by 5
- 2025Security through the Eyes of AI: How Visualization is Shaping Malware Detectioncited by 1
- 2025Adaptive Malware Detection using Sequential Feature Selection: A Dueling Double Deep Q-Network (D3QN) Framework for Intelligent Classificationcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Routing-Aware Explanations for Mixture of Experts Graph Models in Malware Detection
- 2026Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Models
- 2026Building an Adversarial Malware Dataset by Family and Type: Generation, Evasion, and Poisoning Evaluation
- 2022ADMoE: Anomaly Detection with Mixture-of-Experts from Noisy Labels
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG
- 2024MalMixer: Few-Shot Malware Classification with Retrieval-Augmented Semi-Supervised Learning
- 2026AsmRAG: LLM-Driven Malware Detection by Retrieving Functionally Similar Assembly Code
- 2022Multi-feature Dataset for Windows PE Malware Classification ↗