Skip to content

MaskAug: Architecture-agnostic corruption-aware training for robust network intrusion detection

Sep 2026 · Journal of computing and security · 0 citations · 26 references

TL;DR

Across multilayer perceptron (MLP), one-dimensional convolutional neural network, and Feature Tokenizer + Transformer, MaskAug improves corruption-averaged Macro-F1 and delivers architecture-agnostic, cross-dataset-consistent robustness at zero inference-time cost.

Abstract

Deployed network intrusion detection systems frequently encounter corrupted or missing features due to sensor failures, network disruptions, and resource constraints: conditions that laboratory benchmarks rarely capture. Existing approaches typically assume complete feature availability and couple robustness improvements to specific architectures. We propose mask augmentation ( MaskAug ), a data-level corruption-aware training strategy that simulates deployment-time feature degradation through three complementary operators: random masking, block masking, and proportional noise injection. Because MaskAug operates on the input before the classifier, it integrates with any differentiable neural backbone as a drop-in augmentation, without modifying the inference pipeline. We evaluate MaskAug on leakage-audited benchmarks rebuilt directly from the official UNSW-NB15 and CICIDS2017 corpora, using 10 independent train/evaluation splits with three model seeds each. Across multilayer perceptron (MLP), one-dimensional convolutional neural network, and Feature Tokenizer + Transformer, MaskAug improves corruption-averaged Macro-F1 by + 0.043 / + 0.060 / + 0.072 on UNSW-NB15 and + 0.087 / + 0.150 / + 0.057 on CICIDS2017 over clean-trained baselines, and the gains persist against a budget-matched control trained on replicated clean samples (equalizing optimizer updates): all 12 pre-specified split-level one-sided Wilcoxon comparisons remain significant after Holm correction (adjusted p = 0.012 ), with effect sizes reported via cluster-bootstrap confidence intervals. A lexical term frequency-inverse document frequency baseline remains competitive on UNSW-NB15 yet collapses under masking on CICIDS2017 (Macro-F1 0.33 vs. 0.92 for MLP+MaskAug). Corruption-aware training thus delivers architecture-agnostic, cross-dataset-consistent robustness at zero inference-time cost.

View source

Similar papers

Conference Aug 2026

NetBERT: Transformer-Driven Robust Intrusion Detection Across Multi-Domain Network Traffic

Encrypted communication protocols are increasingly being leveraged to evade traditional Intrusion Detection Systems (IDS), particularly through techniques such as DNS tunneling and DNS over HTTPS (DoH).However, the existing frameworks primarily focused on non-encrypted attack traffic and are operated as a black-box mod...

Rhithika M. Pradeep, Ron Binoy Mechery, Sreerag K et al. · 0 citations
Open access Sep 2026

CLEAR-IDS: Leakage-Free Adaptive Resampling and Diversity-Weighted Explainable Ensemble Learning for Network Intrusion Detection

Reliable network intrusion detection requires more than high aggregate accuracy because data leakage, severe class imbalance, unstable feature selection, redundant ensemble decisions, and poorly calibrated probabilities can produce optimistic yet operationally weak results. This study presents CLEAR-IDS, a cross-fold l...

1Muna Al-Saadi · 0 citations
Open access 2026

Network Intrusion Detection With Contrastive Learning and Transformer

A Transformer-based network intrusion detection system (t-NIDS) that integrates a Transformer encoder with contrastive learning to learn discriminative and robust feature representations for network traffic classification is proposed, suitable for practical deployment in real-world network intrusion detection environme...

Gyu-Bum Han, Byung-Chang Chung · 0 citations
2026

Bridging Training–Deployment Gap in Intrusion Detection With Source-Free Domain Adaptation

Machine learning (ML)–based intrusion detection systems (IDS) frequently degrade when deployed across heterogeneous networks due to domain shifts in traffic composition and monitoring configurations. Conventional domain adaptation (DA) methods mitigate this issue by aligning source and target distributions, but they of...

Didik Sudyana, Wong Yu Xuan, Laurens D’hooge et al. · 0 citations
#machine learning Preprint Sep 2026

Multi-Class, Multi-Tier Network Intrusion Detection: A Comprehensive and Reproducible Benchmark

Machine learning (ML) and deep learning (DL) have dominated Intrusion Detection System (IDS) research in recent years. Unfortunately, many existing studies have produced inflated results and unreliable benchmarks due to critical oversights and mistakes in the ML and DL pipeline, from data collection and labeling to fea...

Yu-Feng Xin, Bryant Goseland, Mohamed Rahouti · 0 citations
Review Open access Sep 2026

DEEP LEARNING-BASED INTRUSION DETECTION SYSTEMS: ARCHITECTURES, IMPLEMENTATIONS, AND CHALLENGES IN MODERN NETWORK ANOMALY DETECTION

The revised framework extends this four-layer pipeline by explicitly integrating Explainable AI (XAI) and edge-oriented deployment as cross-cutting operational requirements by explicitly integrating Explainable AI (XAI) and edge-oriented deployment as cross-cutting operational requirements.

A. Havy, Muhammad Faishol Amrulloh · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.