← Lab /AI/ML

Adversarial robustness overestimates zero-day detection, gaps up to 72 percentage points

Robustness scores for NIDS do not reliably predict zero-day detection performance

AI/ML arXiv 31 Oct 2026 Measurement Prototype evidence Threat model

Published as “Adversarial Robustness Is Not Zero-Day Generalization: A Controlled Evaluation of Flow-Based Intrusion Detectors on Corrected CIC-IDS2017”

Why it matters

Practitioners should not cite perturbation robustness as evidence of zero-day detection capability; instead they need held-out family evaluation at realistic false-positive rates.

Summary

Robustness to feature-space perturbations overstates a detector's ability to catch unseen attack families by 24 to 72 percentage points. The authors evaluate four flow-based NIDS (RF, XGBoost, 1D-CNN, FT-Transformer) on corrected CIC-IDS2017 and CSE-CIC-IDS2018, measuring both adversarial robustness and detection of held-out families at a fixed 1% false-positive rate. While all models achieve near-perfect detection on known attacks, robustness scores remain high (≈99%+) but unseen-family detection ranges from 22% to 76%, showing a large gap. The evidence is strong, based on multiple seeds, two datasets, and both black-box and exact MILP attacks, though the study is limited to feature-space attacks and modest model capacities.

What they found 3

  1. Robustness overstates unseen-family detection by 24 to 72 percentage points for every model.

    “robustness overstates unseen-family detection by 24 to 72 percentage points for every model”

  2. All detectors achieve near-ceiling detection on known attacks at a 1% false-positive operating point.

    “On held-out flows of the six known families, every detector reaches near-ceiling performance at the 1% operating point: detection rates of 100.0% (RF), 100.0% (XGBoost), 99.9% (1D-CNN), 99.9% (FT-Transformer)”

  3. Tree ensembles remain highly robust to black-box SimBA perturbations even at high epsilon values.

    “under the black-box SimBA attack, which queries the target directly, RF and XGBoost still detect 99.8% and 99.3% of perturbed attack flows even at ε = 0.5”

Caveats 5

  • What both measures do agree on is that the tree ensembles sit above the neural models.
  • Our perturbations are feature-space. Enforcing the eight derived-feature identities (Section V-E) removes the most obvious inconsistencies, but it still does not guarantee that a real packet sequence exists for each perturbed flow [21]; problem-space attack generation would be the stronger test.
  • The attacker-controllable set also includes flow-level aggregates, such as packet-length statistics and Flow Bytes/s, that depend partly on the victim’s responses; an attacker can move them only through its own packets.
  • WebAttack and Botnet test sets are small (32 and 221 flows per seed) and their LOAO results vary strongly between seeds, so we do not draw family-level conclusions from them.
  • We did not evaluate defences: adversarial training could raise the robustness side of the comparison, and domain-adaptation or open-set methods could raise the LOAO side.

What’s new here 4

  • A controlled evaluation protocol that jointly measures perturbation robustness and held-out family detection on the same detectors and data splits.
  • A threat model that limits perturbations to attacker-controllable features, projects them back to feasible ranges, and includes a tree-aware coordinate-search attack for ensembles.
  • Empirical quantification of how much robustness overstates zero-day detection (24-72 pp gap) across multiple models and datasets.
  • Release of a cleaned, duplicate-free version of CIC-IDS2017 and accompanying experiment scripts.

Threat model stated by the source

AdversaryAttacker who can modify any of the 42 attacker-controllable flow features within a bounded l∞ box (ε ≤ 0.5).
CapabilityBlack-box score queries (continuous detection scores), white-box gradient access for neural models, and tree-aware coordinate-search for ensemble models.
AssumesPerturbations are projected back to the feasible feature range.; Feature-identity audits enforce eight derived-feature relationships.; Attacker cannot modify non-controllable (backward-direction, flag, protocol) features.