arXiv:2610.20323cs.ITOct 2026

Manuscript Offprint

arXiv:2610.20323

Cache-Aided Linear Function Computation

Xiaohong Cai, Ruze Zhang, Laigang Guo, Raymond W. Yeung

Xiaohong Cai, Ruze Zhang, Laigang Guo, and Raymond W. Yeung

Abstract—We study cache-aided linear computation in distributed systems where each source generates and stores its own data. An external receiver requests a linear combination of these data, and the sources use information cached before the request is known to reduce the communication needed to recover the requested result. In our model, each of the N sources stores its own independent file over a finite field and has an additional cache of normalized size M. The receiver must recover any requested linear combination with zero error from the messages sent by the sources over separate noiseless links. We establish a lower bound on the worst-case communication rate over any finite field by analyzing several requests under the same cache placement. This bound determines the optimal rate when no additional cache is available. For binary files, we propose parity-aided placement (PAP), a coded-placement scheme that combines cached parities with uncoded symbols. For every N≥3N \geq 3, we characterize its communication rate for each request and optimize its placement parameters to obtain a closed-form worst-case rate. The resulting achievable rate meets the lower bound for 0≤M≤1/(2N−1)0 \leq M \leq 1/(2N - 1) and M≥(N−1)/NM \geq (N - 1)/N, establishing the optimal memory-rate tradeoff in these two ranges.

Index Terms—Cache-aided computation, coded placement, distributed computation, linear computation, memory-rate tradeoff

I. INTRODUCTION

In distributed systems with locally generated data, different source nodes retain their own data, while an external receiver may request a function of the data held by multiple sources. For example, Earth observation satellites can share observation data for processing in orbit [1], and multiple aerial sensing nodes can send their observations to a ground station for data fusion through an unmanned aerial vehicle (UAV) relay [2]. When the receiver needs only a function of the source data, a small result does not necessarily mean that little communication is required. The receiver may still need separate transmissions from many sources, whose total size can far exceed that of the result. Exchanging and caching information before the requested function is specified can change the information available at each source and reduce the communication needed for subsequent computation. The challenge is to select cache contents that support different future requests without knowing which function will be requested.

Caching can reduce the transmission load by making information available before requests arrive. In the classical coded-caching model, a server holds the entire file library, and receivers cache information to reduce the communication required for subsequent file requests over a shared link [3], [4]. Subsequent work established bounds for general placement [5] and developed coded placements that cache linear combinations of file segments [6]. Cache-aided scalar and general linear function retrieval extend this setting to requests for linear functions of the library files, with the entire library still held by a central server and caches located at the receivers [7], [8]. Device-to-device caching enables users to retrieve files from one another's caches [9], [10]. Coding can also reduce communication in distributed computing [11], [12].

Network function computation studies the recovery of functions of distributed source messages over a network. Previous work established cut-set bounds for network function computation [13], algebraic conditions for computing linear functions [14], and improved capacity bounds for general target functions and network topologies [15]. For the binary arithmetic sum, the zero-error compression capacity has been characterized under different source-observation patterns at two encoders [16].

We study how caching at the sources can reduce the communication required for linear function computation. In our model, each of the N sources retains its own file and has an additional cache of normalized size M. The caching functions are fixed before the request is revealed and must support every linear combination requested by an external receiver. We seek to characterize the tradeoff between cache size and the worst-case total communication required for zero-error recovery. Our main results are as follows.

We establish a converse bound for an arbitrary finite field. For any m×Nm \times N query matrix A, the bound depends on the average rank of its m×nm \times n column submatrices. Maximizing this quantity over A for each pair (m,n)(m, n) gives

Xiaohong Cai and Raymond W. Yeung are with the Department of Information Engineering, The Chinese University of Hong Kong, Hong Kong SAR, China (e-mail: cx021@ie.cuhk.edu.hk; whyeung@ie.cuhk.edu.hk).

Ruze Zhang is with the School of Mathematical Sciences and the Key Laboratory of Pure Mathematics and Combinatorics (LPMC), Nankai University, Tianjin 300071, China (e-mail: rzzhang@nankai.edu.cn).

Laigang Guo is with the Laboratory of Mathematics and Complex Systems (Ministry of Education), School of Mathematical Sciences, Beijing Normal University, Beijing 100875, China (e-mail: lgguo@bnu.edu.cn).

R(Fq,N,M)≥max⁡1≤m,n≤NNmn(rank^m,n,N−(N−n)M).(1)R(\mathbb{F}_{q},N,M)\geq\max_{1\leq m,n\leq N}\frac{N}{mn}\big(\widehat{\mathrm{rank}}_{m,n,N}-(N-n)M\big). \tag{1}

For the binary case, we introduce parity-aided placement (PAP), which combines cached parities with uncoded symbols. For every N≥3N \geq 3, we derive its communication rate for each request support size and optimize the placement parameters to obtain a closed-form worst-case rate, asymptotically achievable for every M. In the small-cache regime, PAP meets the m=n=1m = n = 1 instance of (1) and gives

R(F2,N,M)=N−N(N−1)M,0≤M≤12N−1.(2)R(\mathbb{F}_{2},N,M)=N-N(N-1)M,\quad0\leq M\leq\frac{1}{2N-1}. \tag{2}

Figure

Receiver ρ\rho

Fig. 1. The model of cache-aided linear computation ( Fq,N,MF_{q}, N, M).

PAP also achieves the optimal rate R(F2,N,M)=1R(\mathbb{F}_2, N, M) = 1 for M≥(N−1)/NM \geq (N - 1)/N, thereby determining the optimal memory-rate tradeoff in these two regimes.