# Leakage-free evaluation of residual graph convolutional networks for network intrusion detection

DevFeed: [Leakage-free evaluation of residual graph convolutional networks for network intrusion detection](<https://devfeed.tech/articles/leakage-free-evaluation-of-residual-graph-convolutional-networks-for-network-intrusion-detection-116967.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.04660>)

Author: Zahid Iqbal

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [network security](<https://devfeed.tech/topics/network-security.md>), [mlp](<https://devfeed.tech/topics/mlp.md>), [graph theory](<https://devfeed.tech/topics/graph-theory.md>), [Graph Mining](<https://devfeed.tech/topics/graph-mining.md>), [Dataset development](<https://devfeed.tech/topics/dataset-development.md>)

Tags: [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [graph-neural-networks](<https://devfeed.tech/tags/graph-neural-networks.md>), [intrusion-detection](<https://devfeed.tech/tags/intrusion-detection.md>), [noise](<https://devfeed.tech/tags/noise.md>), [robustness](<https://devfeed.tech/tags/robustness.md>)

## AI overview

With leakage controlled, the two-layer residual graph network showed no measurable F1 gain over a non-graph perceptron, while tree ensembles performed better overall. The study removed exact duplicates, built nearest-neighbour graphs from training flows only, attached validation and test flows at prediction time, and repeated splits across three seeds on CICIDS2017 and NF-UNSW-NB15-v2. The residual network's binary F1 was 98.11% on CICIDS2017 and 90.57% on NF-UNSW-NB15-v2, similar to the perceptron and other graph networks. Tree ensembles scored 1.48-1.57 F1 points higher on CICIDS2017 and led in precision-recall area on both datasets; their CICIDS2017 multiclass macro-F1 was 93.08% versus 64.51%, chiefly because the residual network misassigned benign flows to small attack classes. Ablations, including transductive graph construction, did not shift F1 beyond seed variation. Under Gaussian feature noise (SD 0.5), the residual network retained 96.16% F1 while XGBoost fell to 0.67%, suggesting noise robustness as the graph model's reported advantage.

## Source excerpt

arXiv:2611.04660v1 Announce Type: new Abstract: Graph neural networks are increasingly proposed for network intrusion detection, yet many reported results come from protocols in which test flows shape the graph used for training, duplicated flows sit on both sides of the split, or a single split is reported. This study measures what a residual graph convolutional network gains over simpler models once these sources of optimism are removed. CICIDS2017 and NF-UNSW-NB15-v2 were cleaned with label-aware removal of exact duplicates, removing 69% of NF-UNSW-NB15-v2 flows. Flows were linked in a nearest-neighbour graph built from training flows only, and validation and test flows were attached to their nearest training flows at prediction time. A two-layer residual network was compared with eight models under the same settings, including a nearest-neighbour vote over the same graph, gradient-boosted trees and a random forest, over three seeds that each draw a new split, with ablations, leave-one-family-out and feature-noise tests. On CICIDS2017 the residual network reached a binary F1 of 98.11% (SD 0.18) and on NF-UNSW-NB15-v2 90.57% (0.38), indistinguishable from a multilayer perceptron without the graph and from other graph networks. Tree ensembles were 1.48 to 1.57 F1 points higher on CICIDS2017 and led on the area under the precision-recall curve on both datasets; their CICIDS2017 multiclass macro-F1 reached 93.08% against 64.51%, a gap mainly from benign flows the residual network assigned to small attack classes. No ablation, including transductive graph construction, changed F1 beyond seed variation. Under Gaussian feature noise (SD 0.5), the residual network kept an F1 of 96.16%, while XGBoost fell to 0.67%. Under a leakage-controlled protocol, message passing over flow graphs adds no measurable accuracy over a perceptron, and tree ensembles remain stronger on both; the advantage of graph models lies in robustness to feature noise.