Litcius/Paper detail

TE-G-SAGE: Explainable Edge-Aware Graph Neural Networks for Network Intrusion Detection

Riko Luša, Damir Pintar, Mihaela Vranić

2025Modelling—International Open Access Journal of Modelling in Engineering Science6 citationsDOIOpen Access PDF

Abstract

Graph learning is well suited to modeling relationships among communicating entities in network intrusion detection. However, the resulting models are frequently difficult to interpret, in contrast to many classical approaches that offer more transparent reasoning. This work integrates SHapley Additive exPlanations with temporal, edge-aware GNN based on GraphSAGE architecture to deliver an explainable, inductive intrusion detection model for NetFlow data named TE-G-SAGE. Using the NF-UNSW-NB15-v3 dataset, flow data are transformed into temporal communication graphs where flows are directed edges and endpoints are nodes. The model learns relational patterns across two-hop neighborhoods and achieves strong recall under chronological evaluation, outperforming a GCN baseline and recovering more attacks than a tuned XGBoost model. SHAP is adapted to graph inputs through a feature attribution on the two-hop computational subgraph, producing global and local explanations that align with analyst reasoning. The resulting attributions identify key discriminative features while revealing shared indicators that explain cross-class confusion. The research shows that temporal validation, inductive graph modeling, and Shapley-based attribution can be combined into a transparent, reproducible intrusion detection framework suited for operational use.

Topics & Concepts

Computer scienceDiscriminative modelIntrusion detection systemData miningGraphArtificial intelligenceMachine learningNetFlowData modelingFeature (linguistics)Precision and recallKey (lock)Leverage (statistics)Artificial neural networkBaseline (sea)Feature learningAttributionCategorical variableTraining setAnomaly-based intrusion detection systemTheoretical computer scienceComplementarity (molecular biology)Data integrationRecurrent neural networkAdvanced Graph Neural NetworksNetwork Security and Intrusion DetectionComplex Network Analysis Techniques