Lightweight IIoT intrusion detectors fail to generalize across networks
Lightweight ML IDS models trained on one IIoT dataset do not maintain performance on unseen IIoT networks
AI/ML arXiv 1 Jul 2026 Measurement Simulation evidence
Published as “Cross-Domain Generalization Failure in Lightweight Intrusion Detection Models for IIoT Networks”
Why it matters
Deployers cannot rely on high in-domain accuracy of lightweight IIoT IDS; cross-network testing under realistic class imbalance is required to assess real-world readiness.
Summary
Lightweight IIoT intrusion detection models that achieve near-perfect in-domain performance (F1 ≈ 0.97) lose most of that ability when applied without retraining to other IIoT networks, dropping to F1 0.18-0.28 on Gotham and 0.09-0.13 on WUSTL-IIoT-2021. The collapse is driven by an over-reliance on coarse port-bucket features that are far less prevalent in attack traffic of the target networks (96- to 435-fold differences). Evaluating under realistic, imbalanced class distributions further reduces apparent performance (fourfold lower F1 on WUSTL-IIoT-2021) and can even reverse which target appears harder. Few-shot fine-tuning can recover performance for some architectures but not others, showing that adaptability is architecture-specific. The evidence is strong: results are consistent across three datasets, multiple random seeds, and statistical significance testing.
What they found 3
- Cross-domain detection performance collapses dramatically
“F1 falls from approximately 0.97 in-domain to between 0.18 and 0.28 on Gotham, and to between 0.09 and 0.13 on WUSTL-IIoT-2021”
- Models rely heavily on a single port-bucket feature that is far less common in target attacks
“dst_port_none, DecisionTree’s top feature by SHAP value, is present in 40.5% of Edge-IIoTset’s attack traffic, but only 0.42% of Gotham’s and 0.09% of WUSTL-IIoT-2021’s, a 96-fold and 435-fold difference respectively.”
- Balanced evaluation overstates performance and can reverse perceived difficulty of target networks
“On WUSTL-IIoT2021, balanced-distribution F1 ranges from 0.39 to 0.53, while natural-distribution F1 for the same models falls to 0.09-0.13, a fourfold reduction.”
Caveats 7
- DecisionTree shows no improvement until 25% of the adaptation pool (14,805 samples), at which point F1 nearly quadruples relative to its zero-shot baseline, from 0.170 to 0.638.
- SmallLSTM improves immediately at 5% (2,961 samples), reaching 0.585, but then declines at 10% and 25%, ending at 0.429, below its own 5% peak.
- SmallLSTM attains the highest cross-domain F1 on Gotham (0.275 natural)
- First, the common feature schema is restricted to fields available across all three datasets; WUSTL-IIoT-2021 in particular contributes no TCP flag information, so its cross-domain results reflect only the port-bucket and protocol portion of the schema.
- Second, Edge-IIoTset’s training traffic is 88.4% TCP and 11.5% ICMP, with effectively no UDP traffic, limiting how much protocol diversity the source domain offers for a model to learn from.
- Third, adversarial robustness is reported from a single 100-sample evaluation per model without repetition across seeds, in contrast to the multi-seed and significance testing applied to the cross-domain results; the relative ordering between models should be read with correspondingly lower confidence than the rest of this paper’s findings.
- Fourth, few-shot recovery is evaluated on Gotham only; Section 5.2 shows that architecture ranking under zero-shot transfer differs between Gotham and WUSTL-IIoT2021, so whether the same architecture-dependent recovery pattern observed here also holds on WUSTL-IIoT-2021 is untested.
What’s new here 4
- Cross-domain (zero-shot) evaluation of lightweight IIoT IDS on two independent target networks
- Analysis of realistic, naturally imbalanced class distributions versus the common balanced protocol
- Explainability-driven identification of a port-bucket shortcut that persists after coarse feature ablation
- Architecture-dependent few-shot adaptation study to assess recoverability of cross-domain performance