Joint Service Caching and Task Offloading for Mobile Edge Computing in Dense Networks

Jie Xu, Lixing Chen, Pan Zhou

Mobile Edge Computing (MEC) has emerged as a transformative paradigm for 5G and beyond, promising to slash latency by moving computation from distant clouds to local Base Stations (BSs). However, a critical bottleneck often overlooked in early research is the prerequisite of Service Caching: an edge server cannot process a task if it doesn't have the specific software environment or library "cached" and ready to go. This paper, published in 2018, addresses the joint optimization of service caching and task offloading in dense, overlapping networks.

The Challenge: Caching as a Gatekeeper

While most MEC research focuses on the offloading decision—whether to send a task to the edge or the cloud—this paper identifies that caching is the ultimate gatekeeper. Edge servers have limited storage and cannot host every possible application (e.g., AR/VR libraries, gaming assets, or specialized compute engines) simultaneously.

If a user requests a service that isn't cached at the local BS, the task must be offloaded to the cloud, regardless of the BS's available CPU resources. This challenge is magnified in dense networks where BS coverage areas overlap. In such environments, caching decisions require spatial coordination; if a neighboring BS already caches a specific service, a local BS might better serve the network by caching a different one.

System Model and Problem Formulation

System model for joint service caching and task offloading in a dense MEC network.

The authors model a network where multiple MEC-enabled BSs serve a variety of user tasks. As shown in the figure above, tasks requiring services that are uncached in local BSs must be offloaded to the cloud. Conversely, tasks requiring cached services can be processed at the edge. The core problem is a mixed-integer nonlinear program (MINLP) that seeks to minimize average user latency while strictly adhering to long-term energy budgets. This problem is NP-hard due to the discrete nature of caching decisions and the continuous nature of offloading workloads.

The OREO Algorithm

To solve this complex optimization problem, the authors propose OREO (Online seRvice caching for mobile Edge cOmputing). OREO is designed to be practical for real-world deployment by combining two powerful frameworks:

  1. Lyapunov Optimization: This framework handles the long-term energy constraints without requiring a-priori knowledge of future user demand. It utilizes a "virtual energy deficit queue" to track energy usage. If the system exceeds its budget in one time slot, the queue grows, signaling the algorithm to prioritize energy-saving configurations in subsequent slots. This enables a mathematically provable $[O(1/V), O(V)]$ tradeoff between latency performance and energy stability.
  2. Decentralized Gibbs Sampling: To handle the spatial coupling between BSs in dense networks, OREO employs a variation of Gibbs sampling. This allows BSs to iteratively update their caching decisions based on local demand and limited communication with immediate neighbors. This decentralized approach allows the network to converge to a near-optimal global state without requiring a central controller.

Experimental Evaluation

The algorithm was evaluated using synthetic simulations of a 500m × 500m area with 9 BSs and 10 distinct service types. Task arrivals were modeled as a Poisson process with fluctuating intensities to simulate real-world demand patterns.

Key Results

  • Near-Optimal Latency: OREO achieves latency performance very close to a centralized, delay-optimal benchmark that ignores energy constraints.
  • Superior Energy Efficiency: Compared to "non-cooperative" caching strategies—where BSs simply cache the most popular local items—OREO significantly reduces both latency and energy consumption by accounting for the interdependence of neighboring BSs.
  • Rapid Convergence: The Gibbs-sampling mechanism converges to high-quality decisions within a few hundred iterations, making it suitable for the dynamic timescales of mobile networks.

Conclusion and Future Directions

The OREO algorithm demonstrates that by jointly managing service caching and task offloading, network operators can significantly improve the utility of MEC deployments. The paper highlights that ignoring service heterogeneity leads to massive inefficiencies in dense 5G environments.

Future work in this area may address current limitations, such as more complex user association models based on signal strength, the potential for "horizontal" offloading between neighboring BSs, and more explicit modeling of high-speed user mobility during task execution.

Summary updated

Abstract

Mobile Edge Computing (MEC) pushes computing functionalities away from the centralized cloud to the network edge, thereby meeting the latency requirements of many emerging mobile applications and saving backhaul network bandwidth. Although many existing works have studied computation of-floading policies, service caching is an equally, if not more important, design topic of MEC, yet receives much less attention. Service caching refers to caching application services and their related databases/libraries in the edge server (e.g. MEC-enabled BS), thereby enabling corresponding computation tasks to be executed. Because only a small number of application services can be cached in resource-limited edge server at the same time, which services to cache has to be judiciously decided to maximize the edge computing performance. In this paper, we investigate the extremely compelling but much less studied problem of dynamic service caching in MEC-enabled dense cellular networks. We propose an efficient online algorithm, called OREO, which jointly optimizes dynamic service caching and task offloading to address a number of key challenges in MEC systems, including service heterogeneity, unknown system dynamics, spatial demand coupling and decentralized coordination. Our algorithm is developed based on Lyapunov optimization and Gibbs sampling, works online without requiring future information, and achieves provable close-to-optimal performance. Simulation results show that our algorithm can effectively reduce computation latency for end users while keeping energy consumption low.
BibTeX
@inproceedings{xu2018joint,
  author = {Jie Xu and Lixing Chen and Pan Zhou},
  title = {{Joint Service Caching and Task Offloading for Mobile Edge Computing in Dense Networks}},
  booktitle = {INFOCOM},
  year = {2018},
  url = {https://openreview.net/forum?id=2iVzcAT48tJ},
}
Figure