Result and Congestion Aware Optimal Routing and Partial Offloading in Collaborative Edge Computing

Jinkun Zhang, Yuezhou Liu, Edmund YeharXiv 2022

TL;DR

This paper tackles the challenge of efficiently routing data and computation results in collaborative edge computing (CEC) networks, especially when tasks can be split and network links get congested. They introduce a novel framework that jointly optimizes where to compute and how to route data and results, leading to a distributed algorithm that achieves optimal performance even in complex, dynamic network conditions.

What Problem Does This Paper Address?

The explosion of IoT devices and mobile applications generates massive amounts of data, making it impractical to send everything to the cloud for processing due to bandwidth and latency limitations. Edge computing offers a solution by bringing computation closer to users. Collaborative Edge Computing (CEC) takes this a step further by allowing multiple edge devices and servers to work together. However, a key challenge in CEC is figuring out the best way to:

  1. Route data: Where should the input data for a computation task travel?
  2. Offload computation: Which devices should perform which parts of the task?
  3. Route results: How should the computed results be sent back to the requester?

Existing approaches often simplify these problems by assuming tasks are not divisible, results are negligible in size, or networks are simple. This paper addresses the more realistic scenario of arbitrarily divisible tasks with non-negligible result sizes, in arbitrary network topologies, and crucially, considers congestion-aware costs for both communication and computation. This means the cost of sending data or processing it increases as the network gets busier, a common real-world phenomenon.

Methods

The authors formulate this complex problem as a network-wide cost minimization problem. The core of their approach involves:

  • Partial Offloading and Multi-Hop Routing Model: They define a model where tasks can be split into sub-tasks, and data/results can traverse multiple hops through the network. This allows for flexible distribution of computation and data flow.
  • Congestion-Aware Cost Functions: Instead of simple linear costs, they use convex functions to model communication (e.g., queueing delay) and computation costs, reflecting how congestion impacts performance.
  • Necessary and Sufficient Optimality Conditions: They derive mathematical conditions that guarantee a globally optimal solution for this non-convex problem. This is a significant theoretical contribution.
  • Distributed, Asynchronous, and Adaptive Algorithm: Based on these optimality conditions, they propose a novel algorithm that allows each node in the network to make decisions independently and asynchronously. This makes the system robust to changes in network topology or task patterns and avoids the need for a central controller. The algorithm uses a scaled gradient projection method, enhanced with specific scaling matrices to improve convergence speed and adapt to network dynamics.

Datasets

Not discussed in the paper. The evaluation uses simulated network scenarios with various topologies and parameters.

Key Insights and Ideas

  • Result flow matters: Ignoring the cost and routing of computation results can lead to suboptimal solutions, especially when results are large.
  • Congestion is key: Real-world networks are often congested, and accounting for this non-linear cost is crucial for efficient resource allocation.
  • Joint optimization is superior: Optimizing routing and computation offloading simultaneously, rather than in isolation, yields significant performance gains.
  • Distributed control is feasible: A fully distributed, asynchronous algorithm can achieve global optimality, making CEC systems scalable and resilient.
  • Adaptability is essential: The proposed algorithm can adapt to dynamic network conditions, which is vital for practical deployments.

Key Results

The paper demonstrates through extensive simulations that their proposed algorithm, SGP (Scaled Gradient Projection), significantly outperforms several baseline algorithms across various network topologies and parameter settings.

  • Overall Cost Reduction: SGP achieved over 30% improvement on average compared to the LPR baseline, which also attempts joint optimization but with simpler assumptions.
  • Performance in Congested Networks: The gains of SGP are particularly pronounced in congested scenarios, highlighting the importance of their congestion-aware cost model.
  • Faster Convergence: In experiments simulating server failure, SGP adapted to the topology change much faster than a standard Gradient Projection (GP) algorithm, showcasing the effectiveness of their scaling matrices.
  • Adaptive Behavior: The study of how total cost changes with scaled input rates and how data/result distances vary with the result-to-data ratio (am) shows SGP intelligently shifts computation closer to destinations when results are large, demonstrating a balanced approach to cost minimization.

Limitations and Future Work

  • Simplified Result Size Model: The paper focuses on the case where the result size is proportional to the computation flow (b=0 in the result size function). While they mention their approach can be extended to more general cases, the current analysis is limited.
  • Quasi-Static Network Assumption: The model assumes a quasi-static network, meaning topology and device capabilities don't change rapidly within the scope of a task. Future work could explore more dynamic scenarios.
  • Focus on Specific Cost Functions: While the framework is general, the numerical evaluations use specific types of linear and queueing delay costs. Exploring other convex cost functions could be beneficial.

Future work could involve extending the model to handle more complex result size functions, exploring dynamic network conditions, and investigating the impact of different communication and computation cost models in greater detail.

Summary updated

Abstract

Collaborative edge computing (CEC) is an emerging paradigm where heterogeneous edge devices (stakeholders) collaborate to fulfill computation tasks, such as model training or video processing, by sharing communication and computation resources. Nevertheless, the optimal data/result routing and computation offloading strategy in CEC with arbitrary topology still remains an open problem. In this paper, we formulate a partial-offloading and multi-hop routing model for arbitrarily divisible tasks. Each node individually decides the computation of the received data and the forwarding of data/result traffic. In contrast to most existing works, our model applies to tasks with non-negligible result size, and enables separable data sources and result destinations. We propose a network-wide cost minimization problem with congestion-aware cost to jointly optimize routing and computation offloading. This problem covers various performance metrics and constraints, such as average queueing delay with limited processor capacity. Although the problem is non-convex, we provide non-trivial necessary and sufficient conditions for the global-optimal solution, and devise a fully distributed algorithm that converges to the optimum in polynomial time, allows asynchronous individual updating, and is adaptive to changes in network topology or task pattern. Numerical evaluation shows that our proposed method significantly outperforms other baseline algorithms in multiple network instances, especially in congested scenarios.
BibTeX
@misc{zhang2022result,
  author = {Jinkun Zhang and Yuezhou Liu and Edmund Yeh},
  title = {{Result and Congestion Aware Optimal Routing and Partial Offloading in Collaborative Edge Computing}},
  year = {2022},
  eprint = {2205.00714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.00714},
}
Figure