Metraipolis › archive › dc_9bace1d7dc9f

A Three-Axis Stress Test of LLM vs Classical ML for Network Intrusion Detection under Distribution Shift and Adversarial Evasion — arXiv:2609.13511

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.13511
License (as archived)
CC0-1.0
Archived
2026-10-15T22:48:32.250Z
SHA-256 of the archived text
89999ecd20165c680f60a143323a1d090bc5d74bb045de0939b84f81dd3d70b0
Stable URL of this page
https://metraipolis.com/documento/dc_9bace1d7dc9f

How to cite

A Three-Axis Stress Test of LLM vs Classical ML for Network Intrusion Detection under Distribution Shift and Adversarial Evasion — arXiv:2609.13511 — arXiv (en), https://arxiv.org/abs/2609.13511 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_9bace1d7dc9f (Metraipolis archive dc_9bace1d7dc9f, sha256 89999ecd20165c680f60a143323a1d090bc5d74bb045de0939b84f81dd3d70b0)
BibTeX
@misc{dc9bace1d7dc9f,
  title = {A Three-Axis Stress Test of LLM vs Classical ML for Network Intrusion Detection under Distribution Shift and Adversarial Evasion — arXiv:2609.13511},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.13511},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_9bace1d7dc9f; sha256 89999ecd20165c680f60a143323a1d090bc5d74bb045de0939b84f81dd3d70b0},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.13511. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models are increasingly benchmarked against classical machine learning for network intrusion detection (NIDS), almost always using same-dataset evaluation, and that protocol turns out to be incomplete. Evaluating XGBoost and RoBERTa-LoRA on two independently collected NetFlow v2 networks across three axes (same-dataset performance, cross-dataset transfer, and adversarial evasion) reveals no universal winner. The two models are statistically tied same-dataset. XGBoost wins decisively under cross-dataset distribution shift, by 15 points of F1 and 25 points of balanced accuracy; on the target network RoBERTa-LoRA's false positive rate reaches 0.78, leaving it barely above chance despite a superficially moderate F1. RoBERTa-LoRA wins decisively under adversarial evasion, by roughly 17 points of F1 at a representative mid-range perturbation strength, while both models hold false positive rates below 0.01 throughout. The model an evaluator would recommend therefore depends entirely on which axis is tested, not on same-dataset accuracy alone. A staged feature-leakage ablation improves cross-dataset transfer non-monotonically, indicating the leakage signal is distributed across the feature representation rather than confined to a few columns, and cross-dataset transfer between our two networks is strongly directional. These results argue for evaluating NIDS models along multiple independent robustness axes, and with more than one metric per axis.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-15 in cs.AI).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI); Cryptography and Security (cs.CR).
Pagina del lavoro: https://arxiv.org/abs/2609.13511 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T22:29:03.502Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-15?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).