Optimal Stochastic Coded Computation Offloading in Unmanned Aerial Vehicles Network

Wei Chong Ng, Wei Yang Bryan Lim, Jer Shyuan Ng, Suttinee Sawadsitang, Zehui Xiong, Dusit Niyato · DOI

Introduction

Modern Unmanned Aerial Vehicles (UAVs) are increasingly deployed for complex, real-time applications such as traffic monitoring and autonomous delivery. These tasks often require heavy matrix multiplications for machine learning algorithms. However, UAVs are constrained by limited battery life and onboard processing power. To overcome these limitations, UAVs offload computational tasks to edge servers or Base Stations (BSs).

The primary challenge in offloading is the presence of "stragglers"—edge servers that are slow or fail to return results. While Coded Distributed Computing (CDC) adds mathematical redundancy to mitigate this, there remains a risk of a "shortfall" where the number of returned results is below the recovery threshold. In such cases, the UAV must recompute missing parts locally while hovering, leading to significant energy consumption.

Optimal Task Allocation Scheme (OTAS)

This paper proposes an Optimal Task Allocation Scheme (OTAS) based on Two-Stage Stochastic Integer Programming (SIP) to manage offloading under uncertainty.

Coded Distributed Computing (CDC)

The system utilizes PolyDot codes to partition matrix multiplications into redundant fractions. This ensures that the UAV only needs a specific subset of results to decode the final answer.

Two-Stage Stochastic Integer Programming

The SIP model operates in two distinct phases:

  1. Stage 1 (Assignment): The UAV determines the initial number of task copies to compute locally versus offloading to the BS. This decision is based on the probability distribution of worker failures and the associated costs of transmission and computation.
  2. Stage 2 (Correction): After observing the actual results from the edge workers, the UAV performs a correction action. If a shortfall occurs, it computes the remaining necessary tasks locally to meet the recovery threshold.

Key Insights: The Cost of Hovering and Saturation

A critical insight of this research is that the primary energy penalty for a shortfall is not just the computation itself, but the aerodynamic propulsion required to keep the UAV hovering during recomputation. The SIP model explicitly balances the upfront cost of offloading extra redundant copies against this severe Stage 2 penalty.

Furthermore, the research identifies "network saturation cliffs." As more UAVs join the network, the worker capacity of the Base Stations eventually reaches a limit.

Total network cost spikes as Base Station worker capacity is saturated by increasing numbers of UAVs.

Once capacity is reached, any additional tasks must be handled locally, causing a non-linear spike in total operational costs.

Key Results

The SIP-based OTAS successfully identifies the optimal balance between offloading and local computation. By increasing the number of offloaded copies in Stage 1, the probability of a costly Stage 2 shortfall is reduced.

Trade-off between Stage 1 (assignment) and Stage 2 (correction) costs to find the optimal offloading strategy.

As shown in the evaluation, the overall cost follows a U-shaped curve, where the minimum point represents the optimal number of offloaded copies. Compared to a standard Expected-Value Formulation (EVF), the SIP approach consistently achieves lower total costs by dynamically adapting to the probability of task failure rather than relying on static averages.

Conclusion

The proposed OTAS framework provides a robust method for UAVs to manage computational offloading in unpredictable edge environments. By accounting for the high energy cost of hovering and the stochastic nature of server failures, the SIP model ensures efficient resource utilization and extends the operational viability of UAV networks.

Summary updated

BibTeX
@inproceedings{ng2021optimal,
  author = {Wei Chong Ng and Wei Yang Bryan Lim and Jer Shyuan Ng and Suttinee Sawadsitang and Zehui Xiong and Dusit Niyato},
  title = {{Optimal Stochastic Coded Computation Offloading in Unmanned Aerial Vehicles Network}},
  booktitle = {GLOBECOM},
  year = {2021},
  doi = {10.1109/globecom46510.2021.9685988},
}
Figure