Achieving Network Resilience Through Graph Neural Network-Enabled Deep Reinforcement Learning

Xuzeng Li, Tao Zhang, Jian Wang, Zhen Han, Jiqiang Liu, Jiawen Kang, Dusit Niyato, Abbas Jamalipour

TL;DR

This paper introduces a framework that combines Graph Neural Networks (GNNs) and Deep Reinforcement Learning (DRL) to build "resilient" communication networks. By using GNNs to "see" the complex, unstructured topology of a network and DRL to "decide" on optimal routing policies, the system can autonomously detect security threats like DDoS attacks and dynamically reroute traffic to maintain performance and safety.

What Problem Does This Paper Address?

Modern communication networks are growing in scale and complexity, moving far beyond simple linear structures. Managing these networks requires balancing Quality of Service (QoS) with robust security.

The authors identify two major gaps in current research:

  1. Structural Blindness: Traditional Deep Reinforcement Learning (DRL) often struggles with network data because it treats network states as flat vectors, ignoring the rich relational information (topology) inherent in a graph.
  2. Security Oversight: Most existing GNN-DRL applications focus purely on performance metrics like latency or throughput, leaving the network vulnerable to malicious actors.

When a network is under attack (e.g., a DDoS or brute-force attack), a standard optimization algorithm might continue sending data through compromised nodes, leading to total system failure. This paper seeks to create a "resilient" network that can perceive attacks and adapt its routing in real-time.

Methods

The authors propose a three-phase framework:

  1. Modeling Phase: The network is represented as an undirected graph $G = (V, E)$. This captures physical topology, routing relationships, and user connections.
  2. Decision Phase: This is the core "brain" of the system.
  3. Perception (GNN): A Graph Convolutional Network (GCN) extracts features from the network's traffic and topology. It specifically identifies "attack features" to classify the security status of nodes.
  4. Policy Generation (DRL): Using the features extracted by the GNN, a Deep Q-Network (DQN) agent learns an optimal routing policy. The reward function is designed to penalize both high communication costs and the use of "attack nodes."
  5. Execution Phase: The generated policies are deployed at the network management layer, and the resulting performance/security data is fed back into the system for continuous learning.

The paper also provides a comprehensive taxonomy of how different GNN architectures (GCN, GraphSAGE, GAT) can be paired with different DRL algorithms (DQN, PPO, DDPG, SAC) to solve specific networking problems.

Datasets

The researchers validated their framework using the CICIoT2022 dataset.

  • Nature of Data: This is a realistic, encrypted traffic dataset collected from real IoT environments.
  • Scenarios: It includes various attack types, such as flooding and brute-force attacks.
  • Topologies: The authors reconstructed two network topologies from this data: one with 20 nodes (25 edges) and another with 50 nodes (59 edges) to test scalability.

Key Insights and Ideas

  • Networks are Graphs, not Vectors: The "aha moment" here is that GNNs are the natural language for networks. By using message-passing mechanisms, GNNs can capture how a bottleneck or attack at one node ripples through its neighbors—something standard neural networks miss.
  • Security as a Routing Constraint: Instead of treating security as a separate "firewall" task, the authors embed security directly into the DRL agent's state representation. The agent doesn't just route for speed; it routes for survival.
  • The Power of the Hybrid: GNNs handle the "unstructured" part of the problem (the messy graph data), while DRL handles the "sequential decision" part (the routing strategy). This division of labor allows for much more stable convergence in dynamic environments.

Key Results

The authors compared their GNN-DRL approach against a baseline method (MPNN-DQN) which optimizes for communication cost but lacks specific attack-detection features.

  • Stability: In the presence of attacks, the baseline method showed "oscillatory behavior," with rewards swinging wildly as it failed to handle compromised nodes. The proposed method achieved stable convergence.
  • Efficiency: The GNN-DRL framework successfully learned to avoid attack nodes while minimizing communication costs.
  • Speed: The GCN component was highly efficient, processing 1,000 encrypted traffic packets in just 0.49 seconds, making it viable for near-real-time network management.
  • Quantitative Gain: In the 50-node scenario, the proposed method reached a significantly higher average reward (approx. -61.2) compared to the attack-blind baseline (approx. -446.9) in the final episodes.

Limitations and Future Work

While promising, the authors acknowledge several hurdles:

  • Scalability: While they tested up to 50 nodes, massive global networks involve thousands or millions of nodes. Multi-agent DRL (MADRL) is suggested as a potential solution to decompose these large problems.
  • Adversarial AI: The GNN-DRL models themselves could be targets. If an attacker knows the network is using a specific GNN, they might craft "adversarial traffic" to trick the model into making poor routing decisions.
  • Resource Constraints: Running complex GNNs on lightweight IoT devices with limited power is difficult. Future work will look into "model pruning" to make these AI models smaller and faster.
  • Dynamic Environments: Networks change rapidly. The framework needs further refinement to handle nodes that join or leave the network (topology churn) in milliseconds.

Summary updated

BibTeX
@article{li2025achieving,
  author = {Xuzeng Li and Tao Zhang and Jian Wang and Zhen Han and Jiqiang Liu and Jiawen Kang and Dusit Niyato and Abbas Jamalipour},
  title = {{Achieving Network Resilience Through Graph Neural Network-Enabled Deep Reinforcement Learning}},
  journal = {IEEE Network},
  year = {2025},
  url = {https://openreview.net/forum?id=y8RB8ZiX0j},
}
Figure