Modern Intrusion Detection Systems (IDS) increasingly employ ensemble learning to capture heterogeneous attack behaviors. However, conventional Mixture-of-Experts (MoE) architectures can overfit when the gating network is trained on the same samples used to fit the experts, leading to in-sample shortcutting and brittle routing. We introduce Validation-Gated MoE (VG-MoE), a simple training-protocol change in which experts are learned on the training split. At the same time, the gate is fitted only on out-of-sample predictions computed over a held-out validation set. This decoupling mitigates information leakage, promotes genuine expert specialization, and yields more stable routing at test time. We evaluated VG-MoE on two widely used cybersecurity benchmarks, NSL-KDD and CICIDS17, under standard class-imbalance settings. Across both datasets, VG-MoE improves overall detection accuracy relative to the strongest individual experts (base learners). Using common metrics (MacroF1, WeightedF1, and Overall Accuracy (OA)), our results indicate that separating gate training from expert fitting enhances sensitivity to rare attacks while maintaining competitive inference cost, since gating operates on low-dimensional expert logits rather than raw features. Overall, VG-MoE provides a practical, architecture-agnostic enhancement to IDS that improves accuracy without adding substantive complexity.
A Practical Enhancement for Intrusion Detection Systems With Validation-Gated Mixture-of-Experts (VG-MoE) / Al-Essa, M., Ali, W.A., Roccotelli, M., Fanti, M.P.. - (2026), pp. 7-12. (4th IEEE Conference on Artificial Intelligence, CAI 2026 Escuela Tecnica Superior de Ingenieria de Caminos, Canales y Puertos (University of Granada), esp 2026) [10.1109/cai68641.2026.11536604].
A Practical Enhancement for Intrusion Detection Systems With Validation-Gated Mixture-of-Experts (VG-MoE)
Ali, Wasim A.;Roccotelli, Michele
;Fanti, Maria Pia
2026
Abstract
Modern Intrusion Detection Systems (IDS) increasingly employ ensemble learning to capture heterogeneous attack behaviors. However, conventional Mixture-of-Experts (MoE) architectures can overfit when the gating network is trained on the same samples used to fit the experts, leading to in-sample shortcutting and brittle routing. We introduce Validation-Gated MoE (VG-MoE), a simple training-protocol change in which experts are learned on the training split. At the same time, the gate is fitted only on out-of-sample predictions computed over a held-out validation set. This decoupling mitigates information leakage, promotes genuine expert specialization, and yields more stable routing at test time. We evaluated VG-MoE on two widely used cybersecurity benchmarks, NSL-KDD and CICIDS17, under standard class-imbalance settings. Across both datasets, VG-MoE improves overall detection accuracy relative to the strongest individual experts (base learners). Using common metrics (MacroF1, WeightedF1, and Overall Accuracy (OA)), our results indicate that separating gate training from expert fitting enhances sensitivity to rare attacks while maintaining competitive inference cost, since gating operates on low-dimensional expert logits rather than raw features. Overall, VG-MoE provides a practical, architecture-agnostic enhancement to IDS that improves accuracy without adding substantive complexity.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


