Congestion-Aware Distributed Task Offloading in Wireless Multi-Hop Networks Using Graph Neural Networks

Zhongyuan Zhao, Jake B. Perazzone, Gunjan Verma, Santiago Segarra

TL;DR

This paper introduces a distributed, congestion-aware task offloading scheme for wireless multi-hop networks using Graph Neural Networks (GNNs). By encoding network topology and traffic patterns into "intelligent" link weights, the system enables mobile devices to make local offloading decisions that account for global network state, effectively eliminating the massive congestion spikes common in traditional context-agnostic methods.

What Problem Does This Paper Address?

In wireless multi-hop networks (like drone swarms or IoT sensor grids), mobile devices often "offload" heavy computational tasks to nearby servers to save battery and time. However, current distributed methods suffer from a "herd effect."

Imagine two nodes, 1 and 2, both probing the network to find the fastest server. They both see that Server A is currently idle and the path to it is clear. Consequently, both simultaneously dump their heavy tasks onto the same path. This leads to instant congestion at the bottleneck links and the server itself, causing massive delays or even "unstable queues" where data piles up faster than it can be processed.

The "herd effect": independent decisions leading to shared path congestion

Existing solutions usually rely on a central scheduler (a single point of failure) or ignore network congestion entirely. The authors aim to provide a fully distributed solution where nodes can "sense" potential congestion before it happens.

Methods

The authors propose a framework that combines a distributed greedy decision process with a trainable GNN. Their approach involves several clever steps:

  1. Extended Graph Representation: They treat computing resources (servers and edge nodes) as "virtual links." This allows the system to treat communication and computation delays under a unified mathematical umbrella.
  2. Line Graph Transformation: Instead of running the GNN on nodes, they run it on the line graph (where the original links become the new nodes). This is crucial because congestion is a property of the links (the edges), not just the devices.
  3. Distributable GCNN: They use a Graph Convolutional Neural Network (GCNN) that relies only on local message passing between neighboring links. This ensures the system scales well without needing a central controller.
  4. Iterative Latency Estimation ($\phi$): Since wireless links often use contention-based scheduling (like CSMA, where devices "compete" for airtime), link capacity isn't fixed. The authors developed a differentiable iterative algorithm to estimate how much "interference" a link will face from its neighbors based on predicted traffic.
  5. End-to-End Training: The entire pipeline—from GNN prediction to latency estimation—is differentiable. This allows the model to be trained to minimize total network latency directly.

Datasets

The study relies on simulated wireless ad-hoc networks rather than static datasets:

  • Topology: Connectivity graphs were generated using the Barabási–Albert (BA) model, which mimics the "scale-free" nature of many real-world networks.
  • Scale: Networks ranged from 20 to 110 nodes.
  • Traffic: Task parameters (arrival rates, data sizes) were drawn from uniform and Pareto distributions to simulate realistic, bursty traffic.
  • Volume: The authors used 2,000 instances for training and 1,000 for testing, with multiple random task configurations per instance.

Key Insights and Ideas

  • Global Awareness via Local Learning: The GNN acts as a "distributed brain." By training on many network scenarios, the GNN learns to output link weights that implicitly signal, "Don't use this path; others are likely to use it too," even though the nodes aren't communicating their specific intentions to each other.
  • Differentiable Decision Making: One of the biggest hurdles in applying machine learning to networking is that routing decisions (picking Path A vs. Path B) are discrete and non-differentiable. The authors bypassed this by creating a differentiable proxy for the execution latency, allowing standard gradient descent to work.
  • Virtualizing Computation: By treating a server's CPU as just another "link" in the graph, the model naturally balances the trade-off between a fast server with a congested path versus a slower server with a clear path.

Key Results

The GNN-based approach was compared against a "baseline" (offloading to the fastest-looking server without considering others) and "local" computing (no offloading).

  • Congestion Mitigation: The baseline policy suffered from task congestion ratios as high as 14.5% in larger networks. The GNN-based policy successfully reduced this to near 0%, matching the stability of the ultra-conservative "local-only" approach.
  • Latency Improvement: The GNN approach achieved an average execution latency of 18.4 time slots, compared to 20.4 for local computing—a 9.8% improvement. The baseline's latency was an order of magnitude higher (288.7) due to the massive delays caused by unstable queues.
  • Scalability: As shown in the results, the GNN maintains low latency and zero congestion even as the network size increases from 20 to 110 nodes.
Performance metrics showing GNN's ability to maintain low latency and zero congestion across network sizes

Limitations and Future Work

  • Synthetic Data: While the BA model is a standard benchmark, the authors acknowledge the need to test this on real-world wireless traces and hardware.
  • Energy Constraints: The current model focuses primarily on latency. In many edge scenarios, battery life is just as important as speed. The authors suggest incorporating energy performance into the GNN's objective function in future iterations.
  • Training Overhead: While execution is fast and distributed, the initial training of the GNN requires significant computational effort, though the authors note it took only 0.5 hours on a mid-range consumer GPU.

Summary updated

BibTeX
@inproceedings{zhao2024congestion,
  author = {Zhongyuan Zhao and Jake B. Perazzone and Gunjan Verma and Santiago Segarra},
  title = {{Congestion-Aware Distributed Task Offloading in Wireless Multi-Hop Networks Using Graph Neural Networks}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=YahEzAVEvI},
}
Figure