Abstract
As edge computing becomes the backbone for low-latency applications like Augmented Reality (AR) and autonomous driving, the limited resources of individual edge servers present a significant bottleneck. While Collaborative Edge Computing (CEC) allows for workload offloading between neighboring servers, it often fails to address the inefficiency of redundant computations. This paper proposes a framework that integrates computation reuse—caching the results of previous tasks—into the CEC ecosystem. By jointly optimizing caching decisions and task scheduling, the framework significantly reduces system-wide latency, particularly in high-load scenarios.
Introduction
Edge computing shifts processing power to the network periphery to meet the stringent latency requirements of modern applications. However, the physical constraints of edge servers mean they can easily become overwhelmed. Collaborative Edge Computing (CEC) mitigates this by allowing busy servers to offload tasks to idle neighbors.
A critical observation in many edge-native applications (e.g., multiple users interacting with the same AR environment or various cameras monitoring the same intersection) is that tasks are often redundant. Computation reuse—storing and sharing the results of these identical tasks—can bypass the need for repetitive processing. However, implementing reuse in a collaborative network is complex. Caching decisions at one base station (BS) influence the hit rates and subsequent workloads of the entire network, creating a coupled, NP-hard optimization problem.
Problem Formulation
The authors model the system as a network of interconnected Base Stations, each equipped with specific computational and storage capacities. The objective is to minimize the weighted average response time across the network. This is formulated as a Mixed Integer Non-linear Programming (MINLP) problem, which accounts for:
- Caching Decisions: Which computation results should be stored at which BS?
- Scheduling Decisions: How should incoming tasks be distributed among local and neighboring servers?
- Resource Allocation: How should CPU cycles be partitioned for different tasks?
Methodology: Alternating Minimization
To solve the MINLP efficiently, the authors employ an Alternating Minimization (AM) approach, decoupling the problem into two iterative subproblems.
1. The Caching Subproblem
The goal here is to determine the optimal set of results to cache given a fixed scheduling policy. The authors introduce the concept of "storage efficiency," a metric representing the marginal reduction in system delay per unit of storage consumed. They demonstrate that in an optimal configuration, all fractional caching decisions share the same storage efficiency. This theoretical insight allows the use of a bisection search to find the optimal caching threshold, making the discrete problem tractable.
2. The Scheduling Subproblem
With the cache state fixed, the problem shifts to distributing the workload and allocating CPU power. The authors utilize Projected Gradient Descent (PGD). To manage the constraints of the feasible region (ensuring the total workload distribution sums to 100%), they apply a variable substitution trick that projects the solution onto a probability simplex. This ensures the algorithm remains computationally lightweight and suitable for real-time edge environments. Additionally, an improved backtracking line search is used to maintain system stability and prevent queue overflows.
Experimental Evaluation
The framework was evaluated through numerical simulations grounded in real-world parameters:
- Task Data: Input sizes were modeled after the ImageNet dataset (~0.1 MB per task).
- Hardware Specs: Servers were modeled with 2-8 GHz CPUs and 2-8 GB of RAM.
- Application Profiles: Hit rates and task frequencies were derived from empirical studies of AR/VR and intelligent surveillance systems.
Key Insights
- Networked Cache Capacity: Collaboration effectively pools the storage of the entire network. By avoiding redundant caching of the same results across all servers, the network can store a more diverse set of results, increasing the overall hit rate.
- Interdependence: The research highlights that caching and scheduling cannot be optimized in isolation. Caching changes the effective service time of tasks (hits are near-instant, while misses require full processing), which in turn dictates the optimal scheduling strategy.
- Efficiency of Relaxation: Although caching is a binary decision, the authors found that relaxing the problem to a continuous one and applying the storage efficiency metric yields near-optimal results when converted back to binary.
Results and Performance
The proposed AM algorithm demonstrated several key advantages:
- Latency Reduction: It consistently outperformed "Greedy" caching and "No Collaboration" benchmarks.
- Resilience Under Load: The benefits of computation reuse were most evident when the system was heavily loaded. While "No Reuse" models saw latency spike by an order of magnitude during peak traffic, the proposed method maintained stable, low response times.
- Scalability: Average delay decreased as the number of participating Base Stations increased, proving the algorithm's ability to exploit the "collaborative" nature of the network.
- Rapid Convergence: The iterative process typically converges within 2-4 rounds, ensuring it can adapt to changing network conditions quickly.
Limitations and Future Directions
While the framework provides a robust foundation for collaborative reuse, several areas remain for future exploration:
- Dynamic Environments: The current model assumes quasi-static arrival and hit rates. Future work should incorporate online learning to handle user mobility and fluctuating application popularity.
- Cold Start Latency: The initial delay of the first computation (before a result is cached) is not explicitly modeled.
- Security and Privacy: Sharing computation results across a network introduces potential privacy risks, necessitating research into encrypted computation reuse or secure multi-party caching.
Conclusion
By treating storage as a first-class resource for computation, this framework provides a significant leap in edge computing efficiency. The joint optimization of caching and scheduling allows edge networks to handle higher workloads with lower latency, paving the way for more responsive and scalable edge-native applications.
Summary updated