Beyond GAN Critics: Embedding-Based Attack Routing and Novelty Detection on NSL-KDD
Felix Olmo
12/10/2026
Network intrusion detection systems must do more than flag that an attack occurred; a useful system also says what kind of attack it is, so the response can be matched to the mechanism. This paper studies that second step, which we call attack routing: given a network connection record already identified as an attack, assign it to one of six attack surfaces: Connection Flood, Resource Exhaustion, Fragmentation, Reconnaissance, ICMP, and a Catch-all; attacks which group attacks by the mechanism they exploit rather than by the dataset's intent labels.
Generative Adversarial Networks (GANs) are widely used in intrusion detection as data augmenters, but their critics are rarely evaluated as standalone discriminators. This paper is a diagnostic study of one specific proposal: train one WGAN-GP critic per attack type and route each attack record to whichever critic scores it highest. On NSL-KDD, this architecture reached 43.0% surface-routing accuracy against 82.1% for a Random Forest trained on the same data. Repairs, per-critic score calibration, MMD-guided critic merging, and embedding-restricted competition, raised it to at most 47.0% and never above the critic-free baseline.
The diagnosis isolates two failure modes and separates them. Independently trained critics carry no common scale, which calibration partly repairs; and some critics rank other attacks above their own, which no monotone rescaling can repair. Both are properties of the one-class training objective rather than of undertraining: each critic individually reached 0.91–1.00 validation AUC against matched negatives at its kept checkpoint.
The diagnostic process also isolated a useful secondary component: a 32-dimensional attack-signature embedding, trained with plain cross-entropy over the eleven attack types with sufficient training data. It routes the evaluated artifact at 78.4% (75.0 ± 2.0 across ten retraining seeds) and supplies an open-set novelty signal from its distance geometry at ROC AUC 0.853, with no separate novelty-detection model. Once the tree baseline is retrained on exactly the attack types the embedding sees, its routing accuracy falls from 81.9 ± 0.1% to 77.3 ± 0.6%, indicating that the published gap between the two reflects a difference in training information rather than in representational quality.
The conclusion is scoped deliberately: for this critic formulation (independently trained per-attack WGAN-GP critics combined by score argmax), competitive routing fails for reasons traceable to the training objective, while a simple discriminative embedding provides both closed-set routing and an open-set signal from one representation.
