Skip to content

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

2026 · IEEE Transactions on Network and Service Management · Vol 23, pp. 6982-6996 · 0 citations · 49 references

Abstract

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 often rely on retaining source-domain data at deployment—an impractical requirement that undermines operational scalability and reusability. To address this gap, we propose TRANSFA-IDS (Transformer Source-Free Adaptation for IDS), a lightweight source-free adaptation framework that recalibrates a source-trained IDS using only target traffic data. TRANSFA-IDS converts tabular flow records into structured RGB image embeddings and employs a compact Vision Transformer with a Deep Support Vector Data Description (Deep-SVDD) head to learn transferable normal representations. At deployment, adaptation is performed by fine-tuning only the last transformer block on a small target buffer, realigning target representations without retraining or access to source data. Experiments on cross-dataset transfer between CIC-IDS-2018 and UNSW-NB15 show that TRANSFA-IDS achieves AUROC of 0.9177 and 0.9071 in the two transfer directions, reduces target-domain benign false positives by over 60% relative to the same source-pretrained model deployed without source-free adaptation, and adapts substantially faster than supervised and unsupervised DA baselines while using at most 20% of the target-domain data. These results indicate that source-free adaptation can achieve both strong detection performance and a practical deployment-oriented design, with cross-benchmark evidence of scalable adaptation across heterogeneous network environments.

View source

Similar papers

Open access Jul 2026

SmartVille: A Framework for Realistic Deep Learning-Based Online Network Intrusion Detection

SmartVille is introduced, a framework for formulating and studying deep learning-based NID under online, open-world, and multi-modal assumptions, and providing a principled way to design, train, and benchmark adaptive NID models under realistic assumptions while separating the theoretical contribution from its open-sou...

J. F. C. Moreno, A. Rizzardi, S. Sicari et al. · 0 citations
Preprint Aug 2026

Adaptive Intrusion Detection System using Transformer-Based Neural Networks and Continual Learning Approach with Adversarial Investigation

This work presents an adaptive IDS framework coupling a tabular transformer encoder with a class balanced experience replay buffer that replays benign traffic at every update to stabilize decision boundaries, and investigates the buffer with overt label flipping and stealthy backdoor poisoning attacks.

Azizi Ariffin, A. Haris, F. Zaki et al. · 0 citations
2026

ShallowNet: A Lightweight Neural Network Approach for Efficient Flow-Level DDoS Detection

Distributed Denial-of-Service (DDoS) attacks across cloud, edge, and Internet-of-Things infrastructures have intensified the need for detectors that are accurate, computationally efficient, and deployable at resource-constrained monitoring points. Much of the intrusion-detection literature implicitly links detection qu...

Ali Alfatemi, Mohamed Rahouti, A. Chehri et al. · 0 citations
Open access Aug 2026

Detection of DDoS Attacks in Networks Using Deep Learning Based on Long Short-Term Memory (LSTM)

Reconstructed HTTP traffic from the UNSW-NB15 dataset was processed through proxy labeling, data cleaning, feature normalization, and sliding-window transformation to convert flow-level records into temporal sequences, and temporal representation improves detection of bursty HTTP Flood behavior.

Dicky Surya Dwi Putra, Nomsa Ramaphosa · 0 citations
Open access Jul 2026

Prototype-Based Transferability Analysis for Few-Shot Domain Adaptation in Cross-Domain Intrusion Detection

This study investigates how prototype-based transferability can be used to characterize source–target compatibility prior to adaptation and distinguishes between intra-domain separability, which characterizes the internal class structure of a domain, and cross-domain transferability, which reflects how effectively sour...

Kangseok Kim · 0 citations

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