From CNNs to LLMs: A Unified Review of Deep Learning, Graph Neural Networks, and Federated Learning for Intrusion Detection

Authors

Keywords:

Intrusion detection systems, Network security, Large language models, Federated learning, Internet of Things

Abstract

The digital infrastructure on which modern networks depend is under sustained attack, and Intrusion Detection Systems (IDS) are indispensable to its defense. The literature on IDS has expanded from classical signature-based and statistical anomaly detection to machine learning (ML), deep learning (DL), graph neural networks (GNN), transformers and large language models (LLM), and privacy-preserving federated learning (FL). Individual surveys address these threads separately, and few reveal the methodological shortcomings that recur across studies. This review synthesizes evidence from eighteen recent surveys and systematic reviews published between 2022 and 2026 to provide a shared taxonomy of IDS, to identify the algorithms and architectures with the greatest practical impact, to examine the benchmark datasets that dominate evaluation, and to summarize the open challenges that hinder deployment in real-world settings. Among deep learning methods, convolutional networks, recurrent networks (LSTM and GRU), autoencoders, and CNN–autoencoder hybrids are widely adopted, while ensemble methods such as Random Forest and gradient boosting are the most successful classical approaches. The current frontier comprises edge-feature graph learning (E-GraphSAGE and its derivatives), transformer and LLM detectors (BERT- and GPT-based models), and federated architectures. Three systemic issues recur across the corpus: (i) a dependence on outdated datasets, since KDD Cup'99 and NSL-KDD account for more than half of all evaluations; (ii) the “99% accuracy trap”, in which very high headline accuracy masks poor recall on minority classes and fails under cross-dataset or real-traffic evaluation; and (iii) insufficient attention to adversarial robustness, false-positive cost, concept drift, and computational cost. Progress in intrusion detection therefore depends less on incremental gains in accuracy than on realistic evaluation, standardized reporting of detection delay, memory use, and per-class metrics, and designs that withstand adaptive adversaries and preserve privacy in constrained environments such as IoT, medical, and vehicular systems.

Downloads

Published

2026-11-14

How to Cite

Ali, M. H., & Zolkipli, M. F. (2026). From CNNs to LLMs: A Unified Review of Deep Learning, Graph Neural Networks, and Federated Learning for Intrusion Detection. Journal of Digital Intelligence and Knowledge Discovery, 2026(1), 52–72. Retrieved from http://jdikd.com/index.php/ojs/article/view/4

Issue

Section

Review