Scaling and Validating a Distributed Training and Retraining Pipeline for Network Intrusion Detection

Network intrusion detectors must train at scale and be retrained as traffic drifts, which stresses pipeline reproducibility and distributed execution. We validate a batch training and retraining pipeline with distributed model fitting, a step towards end-to-end machine-learning operations (MLOps) rather than a complete MLOps implementation. It uses gradient-boosted decision trees with XGBoost-on-Spark on a bare-metal high-performance computing cluster; serving, a model registry, and drift monitoring are outside its scope. We evaluate it on two benchmarks, NSL-KDD and CIC-IDS2017, mapped to five traffic superclasses, along four axes: detection quality, class rebalancing, strong scaling from 1 to 16 nodes, and retraining time. Under a connection-grouped split, Macro-F1 reached 0.90 on CIC-IDS2017 (the more conservative of the evaluated splits), compared with 0.95 under a record-level split, while the ordering of rebalancing paradigms differed by dataset. On the ×512 replica (110 GB), model fitting achieved a 10.64-fold speedup at 16 nodes (95% CI 10.50–10.77), and parallel efficiency increased with data volume. Replacing 25 Gb/s Ethernet with 200 Gb/s InfiniBand over IPoIB left the model-fitting time statistically equivalent within a ±5% margin from 2 to 16 nodes (two one-sided tests over 30 repetitions per point). A complete retraining cycle took under half a per cent of an eight-hour maintenance window. We release the pipeline, curated results, and figure code as a reproducible package.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-09-09
DOI
https://doi.org/10.3390/electronics15184074
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Scaling and Validating a Distributed Training and Retraining Pipeline for Network Intrusion Detection

José Miguel Franco-Valiente, Juan M. Haut, Jesús Calle-Cancho, Asier Serrano-Martín
Electronics
Network Security and Intrusion Detection
article

Scaling and Validating a Distributed Training and Retraining Pipeline for Network Intrusion Detection

José Miguel Franco-Valiente, Juan M. Haut, Jesús Calle-Cancho, Asier Serrano-Martín
article en

Abstract

Network intrusion detectors must train at scale and be retrained as traffic drifts, which stresses pipeline reproducibility and distributed execution. We validate a batch training and retraining pipeline with distributed model fitting, a step towards end-to-end machine-learning operations (MLOps) rather than a complete MLOps implementation. It uses gradient-boosted decision trees with XGBoost-on-Spark on a bare-metal high-performance computing cluster; serving, a model registry, and drift monitoring are outside its scope. We evaluate it on two benchmarks, NSL-KDD and CIC-IDS2017, mapped to five traffic superclasses, along four axes: detection quality, class rebalancing, strong scaling from 1 to 16 nodes, and retraining time. Under a connection-grouped split, Macro-F1 reached 0.90 on CIC-IDS2017 (the more conservative of the evaluated splits), compared with 0.95 under a record-level split, while the ordering of rebalancing paradigms differed by dataset. On the ×512 replica (110 GB), model fitting achieved a 10.64-fold speedup at 16 nodes (95% CI 10.50–10.77), and parallel efficiency increased with data volume. Replacing 25 Gb/s Ethernet with 200 Gb/s InfiniBand over IPoIB left the model-fitting time statistically equivalent within a ±5% margin from 2 to 16 nodes (two one-sided tests over 30 repetitions per point). A complete retraining cycle took under half a per cent of an eight-hour maintenance window. We release the pipeline, curated results, and figure code as a reproducible package.

ElectronicsVol. 15(18)
Foundation for Transport and Energy Research and Development (ES), Universidad de Extremadura (ES)
Openalex Percentile: Top 8%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.