Assessing Generalisation Capability of Machine Learning Models for Intrusion Detection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Hossain, Md Zakir, Khan, Md Ayshik Rahman, Islam, Md Rafiqul, Islam, Syed Mohammed Shamsul, Gedeon, Tom
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914533649416192
author Hossain, Md Zakir
Khan, Md Ayshik Rahman
Islam, Md Rafiqul
Islam, Syed Mohammed Shamsul
Gedeon, Tom
author_facet Hossain, Md Zakir
Khan, Md Ayshik Rahman
Islam, Md Rafiqul
Islam, Syed Mohammed Shamsul
Gedeon, Tom
contents The growth of networked and IoT systems has intensified cyber-security threats and exposed the limits of traditional signature-based intrusion detection. Although machine-learning-based intrusion detection systems often report strong benchmark performance, high ac- curacy within a single dataset does not necessarily guarantee reliable performance in unseen network environments. This study investigates the generalisation capability of supervised machine learning models for intrusion detection using UNSW-NB15 and TON_IoT. Random Forest, Logistic Regression, and Naive Bayes were evaluated under same-dataset and cross-dataset settings. Random Forest achieved the strongest same dataset performance, with 95.08% accuracy on UNSW-NB15 and 99.79% on TON_IoT, but performance dropped sharply in cross-dataset testing. When trained on UNSW-NB15 and tested on TON_IoT or vice versa, below 40% accuracy. These results reveal a significant generalisation gap in intrusion detection. We connect this challenge to affective computing and human-centric AI, where behavioural signal analysis, anomaly detection, domain shift, and context-sensitive modelling are also central. This framing highlights the need for adaptive, generalisable cyber-security models that can operate across changing network and IoT environments.
format Preprint
id arxiv_https___arxiv_org_abs_2605_04407
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Assessing Generalisation Capability of Machine Learning Models for Intrusion Detection
Hossain, Md Zakir
Khan, Md Ayshik Rahman
Islam, Md Rafiqul
Islam, Syed Mohammed Shamsul
Gedeon, Tom
Cryptography and Security
The growth of networked and IoT systems has intensified cyber-security threats and exposed the limits of traditional signature-based intrusion detection. Although machine-learning-based intrusion detection systems often report strong benchmark performance, high ac- curacy within a single dataset does not necessarily guarantee reliable performance in unseen network environments. This study investigates the generalisation capability of supervised machine learning models for intrusion detection using UNSW-NB15 and TON_IoT. Random Forest, Logistic Regression, and Naive Bayes were evaluated under same-dataset and cross-dataset settings. Random Forest achieved the strongest same dataset performance, with 95.08% accuracy on UNSW-NB15 and 99.79% on TON_IoT, but performance dropped sharply in cross-dataset testing. When trained on UNSW-NB15 and tested on TON_IoT or vice versa, below 40% accuracy. These results reveal a significant generalisation gap in intrusion detection. We connect this challenge to affective computing and human-centric AI, where behavioural signal analysis, anomaly detection, domain shift, and context-sensitive modelling are also central. This framing highlights the need for adaptive, generalisable cyber-security models that can operate across changing network and IoT environments.
title Assessing Generalisation Capability of Machine Learning Models for Intrusion Detection
topic Cryptography and Security
url https://arxiv.org/abs/2605.04407