Knowledge Distillation for Mobile Edge Computation Offloading

Haowei Chen, Liekang Zeng, Shuai Yu, Xu ChenarXiv 2020

Abstract

Modern mobile applications demand high computational power and low latency, often exceeding the capabilities of end devices. Mobile Edge Computing (MEC) offers a solution by offloading tasks to edge or cloud servers. However, determining the optimal offloading strategy is an NP-hard problem. This paper proposes a framework combining Deep Imitation Learning (DIL) and Knowledge Distillation (KD) to achieve near-optimal offloading decisions with minimal computational overhead. By distilling a large "teacher" model into a "lite" student model, the system reduces inference delay by 63% while maintaining high accuracy, making it suitable for real-time deployment on resource-constrained edge servers.

Introduction

The rise of compute-intensive applications like Augmented Reality (AR) and autonomous driving has pushed the limits of mobile hardware. MEC provides a three-tier architecture—End Device, Edge Server, and Cloud Server—to distribute these workloads. The challenge lies in the "offloading decision": for each subtask, should it be executed locally, at the edge, or in the cloud?

The three-tier MEC architecture and the associated computation and transmission latencies for a sequence of subtasks.

As shown in the architecture above, each choice involves a trade-off between local processing speed, edge server capacity, and cloud communication delays. Traditional optimization methods are too slow for real-time use, and standard Deep Reinforcement Learning (DRL) often suffers from high inference latency and training instability.

The KD-DIL Framework

The authors address these challenges through a two-phase approach: Deep Imitation Learning (DIL) followed by Knowledge Distillation (KD).

Deep Imitation Learning (DIL)

Instead of learning through trial and error, the framework uses an "expert" solver (e.g., exhaustive search) to generate optimal offloading strategies for a variety of system states offline. A large Deep Neural Network (DNN) is then trained to imitate these expert decisions, treating offloading as a multi-label classification problem where the model predicts locations for all subtasks simultaneously.

Knowledge Distillation (KD)

While the large DIL model (the Teacher) is accurate, its size makes it impractical for low-latency execution on edge servers. The authors employ Knowledge Distillation to transfer the Teacher's expertise to a significantly smaller "Student" model. By using "soft labels" (probability distributions) from the Teacher, the Student model captures "dark knowledge"—the relative merits of non-optimal choices—which improves its performance even when training data is limited.

The operational timeline of the proposed framework, from offline sample gathering to online near-optimal strategy prediction.

The overall workflow, illustrated in the timeline above, shifts the heavy computational burden of optimization and large-model training to an offline phase, allowing the edge server to make rapid online decisions using the lite model.

Experimental Evaluation

The framework was evaluated using numerically simulated datasets reflecting stochastic network conditions and varying task complexities (0–2000 million CPU cycles).

Key Results

  • Efficiency: The distilled "Student" model (KD-DIL) featured a 99.375% reduction in parameters compared to the Teacher, consisting of only 2 hidden layers with 32 neurons each.
  • Speed: KD-DIL reduced inference delay by 63% compared to the full DIL model and was orders of magnitude faster than traditional optimal solvers (0.17 vs 119.72+ units of delay).
  • Accuracy: The model achieved a normalized latency of 1.095, where 1.0 represents the theoretical optimum, significantly outperforming DRL and greedy heuristics.
  • Robustness: In scenarios with limited data (1,000 samples), the KD-DIL model maintained higher accuracy than a standard DIL model trained on the same small dataset, demonstrating the effectiveness of the "softening" trick.

Conclusion and Future Work

This research demonstrates that Knowledge Distillation is a powerful tool for deploying sophisticated AI models in resource-constrained MEC environments. By moving the complexity of optimization offline, the KD-DIL framework enables real-time, near-optimal task offloading. Future work will focus on extending the model to handle complex Directed Acyclic Graph (DAG) task structures and validating the framework with real-world application traces.

Summary updated

BibTeX
@misc{chen2020knowledge,
  author = {Haowei Chen and Liekang Zeng and Shuai Yu and Xu Chen},
  title = {{Knowledge Distillation for Mobile Edge Computation Offloading}},
  year = {2020},
  eprint = {2004.04366},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.04366},
}
Figure