arXiv:2610.11224cs.NIOct 2026

Manuscript Offprint

arXiv:2610.11224

Online Adaptive Computation Reuse in Collaborative Edge Computing: A Two-Timescale Approach

Xingqiu He, Chaoqun You, Peng Wang, Xiaoyu Liu, Tony Q. S. Quek

Xingqiu He, Chaoqun You, Peng Wang, Xiaoyu Liu, and Tony Q. S. Quek, Fellow, IEEE

Abstract—Collaborative Edge Computing (CEC) is an efficient computing paradigm that enables neighboring edge servers to share computational resources with each other. Although CEC can enhance resource utilization, it still suffers from duplicate computations because nearby end-users often offload tasks with similar inputs. To improve system efficiency, the computation results of previously executed tasks can be cached and reused by subsequent tasks. However, time-varying task popularity and arrival rates require caching and scheduling decisions to adapt to demand changes, while frequent cache updates incur additional costs. To address this issue, this paper develops a two-timescale computation reuse algorithm for CEC networks. We formulate an optimization problem that jointly considers weighted response time and cache update cost, with result caching decisions determined at the frame level and workload scheduling, cache searching, and computational resource allocation adjusted at the slot level. Using recent workload observations, we construct a frame-level surrogate problem and decompose it into a caching subproblem and a scheduling subproblem. For the caching subproblem, we introduce marginal storage efficiency and incorporate cache update costs into a bisection-based algorithm. Under bounded normalized marginal sensitivity, the algorithm achieves a near-optimal objective value for the single-BS caching subproblem when individual result sizes are small relative to the cache capacity and the relaxed solution is sufficiently accurate. For the scheduling subproblem, we utilize projected gradient descent and backtracking with warm starts across consecutive slots. Numerical results demonstrate consistent performance gains over benchmark schemes across diverse network and workload settings.

Index Terms—Computation Reuse, Collaborative Edge Computing, Collaborative Caching, Scheduling Algorithm

I. INTRODUCTION

In the past decade, the rapid evolution of machine learning and the Internet of Things has driven the development of many computation-intensive applications, such as AR/VR [1] and mobile gaming [2]. To fulfill the stringent Quality of Service (QoS) requirements of these applications, edge computing is regarded as a promising computing paradigm that provides computation-offloading services in proximity to end-users. Nevertheless, due to limited resources at edge servers, an edge computing system may suffer from severe performance degradation when dealing with bursty workloads [3]. To address this issue, Collaborative Edge Computing (CEC) [4] has been proposed to alleviate load imbalance by offloading computation tasks from busy edge servers to idle ones. Extensive studies [5]–[8] have shown that CEC effectively improves the utilization of computational resources and thus enhances system performance.

Despite the significant improvement CEC brings to resource utilization, computational resources can still be wasted due to duplicate computations. As shown in [9], clustered end-users are likely to offload similar computation tasks to edge servers due to temporal, spatial, or semantic correlations among input data. For example, end-users in AR/VR may request the rendering of the same frame if they have similar poses [10], and intelligent surveillance systems often need to analyze similar images captured within a short period of time [9]. Based on this observation, computation reuse [11], [12] has been proposed to further reduce resource waste. The main idea is that the computation results of previously processed tasks can be cached and reused if subsequent tasks have similar inputs. This mechanism not only avoids duplicate computations, but also reduces response time, as tasks with cached results can be completed immediately without being processed from scratch.

Computation reuse in CEC networks enables tasks at one edge server to leverage results cached at other servers, thereby enlarging the set of reusable results and reducing redundant caching [13]–[15]. The effectiveness of such collaboration critically depends on how well caching decisions and workload scheduling match the heterogeneous demands across edge servers. In practical CEC networks, however, task popularity and arrival rates are inherently time-varying, rendering caching and scheduling decisions optimized for the current demand profile less effective as the workload evolves. Adapting caching decisions to these changes incurs non-negligible communication and storage I/O overhead, making frequent reconfiguration undesirable. In contrast, workload scheduling must react promptly to short-term traffic fluctuations. This disparity in adaptation timescales motivates an online framework that jointly optimizes caching decisions and workload scheduling at different timescales.

Despite the aforementioned benefits, implementing computation reuse in CEC networks under dynamic demand is particularly challenging for three reasons. First, compared to computation reuse at a single edge server, the mutual influence

X. He and C. You are with the Institute of Space Internet, Fudan University, Shanghai, China (emails: hexqiu@gmail.com, chaoqunyou@gmail.com).

P. Wang is with the Information System Technology and Design Pillar, Singapore University of Technology and Design, Singapore (e-mail: peng_wang2@sutd.edu.sg).

X. Liu is with the School of Communications and Information Engineering, Nanjing University of Posts and Telecommunications, Nanjing 210003, China (e-mail: xiaoyu.liu@njupt.edu.cn).

T. Q. S. Quek is with the Singapore University of Technology and Design, Singapore 487372, and also with the Yonsei Frontier Lab, Yonsei University, South Korea (e-mail: tonyquek@sutd.edu.sg).

among caching decisions at different edge servers is hard to quantify. Second, compared to conventional CEC networks, computation reuse changes the distribution of task processing time, thereby making caching and scheduling decisions deeply intertwined and difficult to optimize. Third, caching decisions must balance the benefits of adapting to evolving demands against the associated reconfiguration costs, while making decisions online without knowledge of future workloads.

In this paper, we propose a two-timescale computation reuse algorithm for CEC networks. Our objective is to simultaneously minimize the long-term weighted response time and cache update cost by jointly optimizing result caching, cache searching, workload scheduling, and computational power allocation. The formulated problem is a mixed integer nonlinear programming problem and is proved to be NP-hard even for a time-invariant, single-server, single-application special case. In order to address workload uncertainty, we construct a frame-level surrogate problem using recently observed workloads and apply alternating minimization to decompose it into a caching subproblem and a scheduling subproblem. We incorporate the marginal update cost into the storage efficiency used to optimize each relaxed caching subproblem. The resulting decisions are converted to binary candidates, which are accepted only when they reduce the overall surrogate objective. Within each frame, the caching decisions remain fixed, while the scheduling decisions are dynamically adjusted to the task arrival rates.

The main contributions are summarized as follows.

  • We formulate a two-timescale computation reuse problem that jointly accounts for response time and cache update cost in CEC networks. The model captures the coupling between frame-level result caching decisions and slot-level scheduling through cache-search overhead and queueing delay. We construct a frame-level surrogate problem from recent workload observations and decompose it into caching and scheduling subproblems.

  • For the caching subproblem, we introduce marginal storage efficiency and combine its average over recent workload samples with the marginal update cost to develop a bisection-based algorithm. Our theoretical analysis shows that, under bounded normalized marginal sensitivity, the algorithm achieves a near-optimal objective value for the single-BS caching subproblem when individual result sizes are small relative to the cache capacity and the relaxed solution is sufficiently accurate. An acceptance rule ensures that binary reconstruction and numerical approximation do not increase the frame-level objective.

  • For the scheduling subproblem, we develop a projected gradient descent algorithm, in which variable substitution is employed to transform the feasible region into probability simplices, thereby enabling efficient projection. A backtracking line search is incorporated to accelerate convergence and ensure solution stability, while warm-start initialization leverages the solution from the preceding slot to reduce computational overhead. We further establish the convergence of the frame-level objective sequence and characterize the computational complexity of the proposed algorithms at both timescales.

  • We conduct extensive simulations under time-varying workloads to evaluate the response time, cache update cost, convergence behavior, and runtime overhead. The evaluation compares our algorithm against its static counterpart and representative caching and scheduling baselines, with a look-ahead scheme included as a performance reference. The results demonstrate consistent performance gains over existing schemes across a wide range of network and workload settings.

The rest of the paper is organized as follows. In Section II, we review related work. Section III introduces the system model and formulates the corresponding optimization problem. Section IV describes the two-timescale algorithm and its theoretical analysis. The numerical results and conclusions are presented in Section V and Section VI, respectively.

References (37)