arXiv:2609.02469cs.CRSep 2026

Manuscript Offprint

arXiv:2609.02469

Evaluating ML-based Intrusion Detection Systems: The Illusion of Model Efficacy

Achilleas Spanos, Ioanna Kantzavelou

Achilleas Spanos¹ and Ioanna Kantzavelou¹[0000-0001-5976-7837]

University of West Attica, Egaleo, Greece

Abstract. Intrusion Detection has been revolutionized due to the integration of Machine Learning (ML). Improved detection rate, reduced false alarms, and optimized algorithms contribute to the perception of improved systems with optimal accuracy and near-perfect performance, the illusion of model efficacy. However, the value of this effectiveness diminishes when confronted with unseen attacks. In this paper, we go beyond solely algorithmic enhancements and metric adjustments in ML-based Network Intrusion Detection Systems. We design an experiment to test the generalization capabilities of certain classifiers on unseen attacks. Our approach examines the dimensionality parameter's impact through two experimental methodologies, which are applied in two distinct settings. The experimental findings reveal how effectively the models could identify even a fraction of unseen attacks and underscore structural weaknesses in ML-based IDS research and evaluation techniques. Finally, seven evaluation criteria are outlined to address these challenges.

Keywords: Network Intrusion Detection · Asymmetric Generalization-Evaluation Methodology· Explainable AI.

1 Introduction

In the absence of effective security mechanisms that promptly restrict synchronous attacks, the area of Intrusion Detection has eventually stabilized a crucial role within Cybersecurity [29]. In recent years, it is Machine Learning that has revolutionized Intrusion Detection even more. In such ML-based studies, most researchers aim to enhance the accuracy of a detection engine [30], improve scalability [31] and interpretability [27], optimize rule generalization [32], increase zero-day attack detection [33], and strengthen its resilience to adversary techniques [35]. Only a small fraction of these research works attempt to address challenges that bridge research with real-world deployments.

Many distinct frameworks and methodologies that have been proposed prioritize different models, preprocessing techniques [34], dimensionality reduction techniques [36], and data types [26]. However, only a handful of research studies focus on the real challenges in Network Intrusion Detection Systems (NIDS) that expand beyond slightly algorithmic improvements and evaluation metrics. In particular, high accuracy against attacks within the training distribution is

A. Spanos et al.

not an indication of strong detection performance, and although it can be improved, it is already well developed.

Current literature is shifting beyond the prominent problems in network intrusion detection. Instead of focusing on zero-day robustness, interpretability, attack patterns, and relations, adversarial robustness and multimodal techniques, more and more research works propose frameworks that are evaluated on in-training-distribution data and known attacks, aiming at slight algorithmic and metric improvements.

The proposed research work attempts to address real-world problems of ML-based Network Intrusion Detection Systems. We argue that an explainable and generalized IDS would outperform any "optimal" presented IDS despite the potential tradeoffs in overall accuracy. To address this, and considering the extensive amount of research work as a motive, we design a simple yet meaningful experiment to test the generalization capabilities of classifiers, while assessing all the underlying and hidden risks it may exhibit. Additionally, we consolidate a set of evaluation criteria for ML-based NIDS, reframing the research gap around security necessities rather than benchmark metrics.

Contributions: The contributions of this paper are pointed out in the sequel:

  • We delve into zero-day robustness, instead of evaluating on in-training-distribution data and known attacks.

  • We design a simple and meaningful experiment to test the generalization capabilities of certain classifiers.

  • We assess what the experiment reveals as underlying and hidden risks that might exist in an "ideal" ML-based network IDS.

  • We explore a proposed attack-based intra-dataset generalization evaluation, providing a high-level model's generalization evaluation without introducing domain shifts.

  • We employ three feature selection approaches to examine the dimensionality parameter in the generalization behavior of classifiers, design two experimental methodologies, and apply them in two experimental settings.

  • We consolidate a set of evaluation criteria for ML-based NIDS, reframing the research gap around security necessities rather than benchmark metrics.

The remainder of this paper is organized as follows: Section 2 presents the existing work in the literature with respect to both the experimental study and the evaluation criteria for a NIDS. Section 3 demonstrates the two experimental setups, methodologies, configurations and scopes. Section 4 concerns a metric-score comparison of the selected components and parameters. In Section 5 the experimental findings are translated into actionable concerns and blind spots that exist in the literature. Systematic evaluation criteria are presented in Section 6, extending towards the enhancement of generalized intrusion detection and continual research.

References (36)