Manuscript Offprint
arXiv:2610.18184Deterministic Distributed Linearly Separable Computation via Nested Cyclic Codes
Abstract
We study the distributed linearly separable computation (DLSC) setting, where a master employs workers with a per-worker computation load of to recover deterministic linear combinations of messages in the presence of up to stragglers. We propose a DLSC framework based on nested cyclic codes that achieves . For sufficiently large , we establish the matching converse , proving the asymptotic computation load optimality of the proposed framework. By instantiating cyclic locally recoverable codes (LRCs) as base codes in the framework, the master can recover the desired linear combinations by contacting fewer than workers under many straggler scenarios. This essentially softens the straggler threshold without increasing the computation load or communication cost. Finally, we extend the construction to reduce the per-worker communication load by a factor of , while achieving an asymptotically optimal computation load of .
I. INTRODUCTION
Distributed computing enables large-scale computations across multiple workers, but its performance can be affected by slow or failed workers, known as stragglers [1]. Coding-theoretic techniques have been developed to provide straggler resilience through structured redundancy [2]–[5]. Among these approaches, gradient coding (GC), introduced in [6], has been widely studied for straggler-resilient distributed gradient computation. GC can be viewed as a special case of DLSC with , where the master seeks to recover the sum of the partial gradients from any workers with a per-worker computation load of . Several alternative GC constructions have subsequently been developed, including cyclic MDS-based schemes [7], Reed–Solomon-based constructions [8], clustered gradient coding [9], and schemes addressing computation–communication tradeoffs [10], [11].
Beyond gradient computation, coding-based approaches have also been extensively studied for distributed matrix-vector and matrix-matrix multiplication and polynomial computations [12]–[21]. In a related direction, the DLSC problem was formulated in [22] for recovering linear combinations of messages from any workers. The work [22] considers randomly chosen demand coefficients with high-probability recovery and the minimum computation load , while characterizing the corresponding minimum communication cost.
In many practical applications, the desired linear combinations are task-dependent rather than randomly chosen. Consider a computing cluster evaluating multiple tasks over distributed data, such as hyperparameter tuning (requiring a distinct aggregate gradient for each hyperparameter), or large-scale matrix-vector and matrix-matrix multiplications involving specific matrices (e.g., the DFT matrix). Such applications motivate the deterministic recovery of arbitrary prescribed linear combinations under a fixed data assignment.
• We establish a matching converse for sufficiently large K, proving the asymptotic computation-load optimality of our proposed scheme.
The work of M. Nikhil Krishnan is supported by the DST-INSPIRE Faculty Fellowship from the Department of Science and Technology (DST), and the ARG MATRICS grant from the Anusandhan National Research Foundation (ANRF).
• We instantiate cyclic LRCs to provide a soft straggler threshold, enabling recovery beyond S stragglers under certain straggler patterns without compromising the computation or communication load.
• We extend the construction to provide a flexible computation–communication tradeoff. By increasing the computation load to , the per-worker communication load is reduced by a factor of . We show this tradeoff remains asymptotically optimal.
A. Notation
For integers , define . Uppercase bold letters (e.g., A) denote matrices, uppercase calligraphic letters (e.g., C and S) denote codes and sets, and lowercase bold letters (e.g., a) denote vectors. For a matrix , we use zero-based indexing, with row indices and column indices . The notations , , and denote the row indexed by , the column indexed by , and the -th entry of , respectively. For an index set , denotes the submatrix of formed by the rows indexed by . For index sets and , denotes the submatrix formed by the rows indexed by and columns indexed by . The row and column spaces of are denoted by and , respectively. We use to denote a field and to denote the finite field with elements. The identity matrix is denoted by . For any vector , its support and Hamming weight are defined as and , respectively.
B. System Model and Problem Formulation
We consider a distributed linearly separable computation (DLSC) system with a master and workers . A dataset is partitioned into data fragments , where is assumed to be a multiple of . For each data fragment , let the column vector , denote the corresponding message of symbols. The messages are assumed to be mutually independent.
The data fragments are assigned to the workers in an uncoded manner. Let denote the indices of the data fragments assigned to worker , such that is available at worker if and only if . We consider a uniform data assignment with for all , where denotes the per-worker computation load. Consistent with the literature, we adopt a cyclic data assignment in which a base assignment pattern is cyclically shifted across the workers and repeated over successive blocks of data fragments. For , where is a positive integer and , the index set of the data fragments assigned to worker is given by
where denotes the indices of the data fragments assigned to worker in the first block, with . Owing to this structure, we refer to the proposed framework as cyclic DLSC.
Each worker then computes for every . The master wishes to recover prescribed linear combinations of the messages. Let denote the desired linear mapping specified by a full-row-rank demand matrix . i.e., , where .
Note that the data assignment depends only on the number of desired linear combinations and can be performed without prior knowledge of the demand matrix A. Thus, the same data placement supports different sets of linear combinations without requiring data redistribution among the workers.
Let denote the encoding matrix corresponding to the prescribed demand matrix , with for all . Worker transmits the coded message
The master must recover the desired linear combinations from the responses of any workers. Hence, for every response set with , the corresponding submatrix must satisfy . Note that this necessitates .
II. PROPOSED CYCLIC DLSC FRAMEWORK
In this section, we present a cyclic DLSC scheme based on a nested family of cyclic codes. The support structure of the encoding matrix is defined by minimum-weight codewords selected from these codes, while the exact encoding coefficients are determined by the prescribed demand matrix A. The resulting scheme achieves a per-worker computation load .
For ease of presentation, we first consider and subsequently extend the construction to K being a positive integer multiple of N. The proposed framework can be realized using suitable families of nested cyclic codes, including Reed–Solomon (RS) codes. Moreover, choosing LRCs enables the framework to exploit local repair and recover from more than S stragglers under favorable patterns. Thus, the LRC-based construction relaxes the hard recovery threshold of . We first present the general construction, followed by specific realizations using RS codes and LRCs.
A. General Construction Based on Nested Cyclic Codes
Consider a family of nested length-N cyclic codes , where is the supercode. Let and denote the dimension and minimum distance of , respectively. For each , select a minimum-distance codeword , . The nested codes and the selected minimum-distance codewords are required to satisfy
(1)
with . Consequently, the supercode has minimum distance , while . The existence of minimum-distance codewords satisfying (1) depends on the underlying code family and is established for the RS and LRC constructions presented subsequently.
Define the block matrix
where the first block is formed from the selected minimum-weight codewords as . The remaining blocks are obtained by successive cyclic shifts of the columns of . i.e., for ,
with all indices taken modulo . The block corresponds to data fragment , and the data assignment is specified by .
By the nested-support property, the nonzero row support of each block is determined by the corresponding cyclic shift of . Since , each block has exactly nonzero rows. Moreover, since the blocks are successive cyclic shifts, each worker is assigned exactly data fragments. Therefore, for , the per-worker computation load is .
Let be a generator matrix for the supercode , with rows for , where is a primitive -th root of unity. The distinct exponents are ordered such that the top rows of form a generator matrix for , for each . Since all selected codewords belong to , we can factorize as
where and each contains the message vectors corresponding to the codewords in . For a selected minimum-distance codeword , the top rows of can always be ordered such that the last message coefficient (associated with row ) is non-zero. This arrangement guarantees that the bottom submatrix of is nonsingular for every (see Appendix A).
Let be the prescribed full-row-rank demand matrix, and let denote the -th column. Since the bottom submatrix of is nonsingular, there exists a unique vector in its column space whose last entries equal , i.e.,
where “★” denotes entries determined by the corresponding linear combination of the columns of .
We define . By construction, the last rows of coincide with the demand matrix . The encoding matrix is then defined as .
Since , is a linear combination of the columns of . Therefore, every zero row of corresponds to a zero entry in . Hence, , and the encoding matrix is consistent with respect to the data assignment .
The coded computations transmitted by the N workers can be collectively expressed as
Here, the row indexed by i of Y represents the coded computation transmitted by worker , .
Let , with , denote an arbitrary set of nonstraggling workers. The master receives . Each column of is a codeword of . Since , erasure decoding from the available coordinates recovers the corresponding message vectors, yielding . Since the last rows of coincide with , the master obtains , which gives the desired linear combinations. Thus we have the following theorem.
Theorem 1. Let be nested length-N cyclic codes with minimum distances , , and let their selected minimum-distance codewords have nested supports. Then, for and any full-row-rank demand matrix , the proposed construction yields a cyclic DLSC scheme with that guarantees deterministic recovery of any desired linear combinations from the responses of any workers.
For , where is a positive integer, the data fragments are divided into groups of size , with the cyclic data assignment applied independently to each group. Each worker combines its encoded computations across the groups into a single response before transmission. Consequently, the per-worker computation load scales to , while deterministic recovery from any workers is preserved.
Theorem 2. Suppose and . Any cyclic DLSC scheme guaranteeing deterministic recovery of any desired linear combinations from any workers must satisfy .
The proof is given in Appendix B. Together with Theorem 1 and its extension to , this establishes the asymptotic computation-load optimality of the proposed construction.
B. RS- and LRC-Based Cyclic DLSC Constructions
We next illustrate the proposed cyclic DLSC framework using Reed–Solomon (RS) codes and cyclic Tamo–Barg LRCs [23]. For ease of illustration, we consider specific parameters, while the construction naturally extends to more general parameters. We consider , , and over , with the desired linear combinations specified by the full-row-rank demand matrix:
- Reed–Solomon-Based Construction: For the RS realization, let be a primitive 12-th root of unity in . We consider a nested sequence of RS codes with respective parameters ,
[12, 6, 7], and [12, 7, 6]. Each code is constructed by evaluating all polynomials of degree at most at the points . The generator matrix, whose first rows generate , , is given by:
To construct minimum-distance codewords with nested supports, choose the root sets , , , and define the corresponding encoding polynomials as:
Evaluating at gives
Hence, and . Therefore, the nested RS codes and the selected minimum-distance codewords satisfy (1). The first block of is , and the remaining blocks are obtained by successively cyclically shifting the rows of upward by one position at a time. In particular, and its successive cyclic shifts specify the data placement. Since , each data partition is assigned to eight workers and, by cyclic symmetry, each worker stores eight partitions; hence, .
With , the corresponding message matrix is
The bottom submatrix of is nonsingular. The same property holds for the matrices associated with the other cyclically shifted blocks . Therefore, following the general construction, the columns of the demand matrix in (2) can be embedded in the last entries of the corresponding vectors . Defining and , the last rows of equal . Since has , the master can recover the desired three linear combinations from any workers.
- Cyclic Tamo–Barg LRC-Based Construction: We next instantiate the proposed framework using cyclic Tamo–Barg LRCs [23]. A linear code of length N has disjoint -locality if its symbols can be partitioned into disjoint local repair groups of size , such that any erasures within a group are recoverable from the remaining r symbols. Cyclic Tamo–Barg codes naturally possess this property. Following [23], their roots are specified by an index set , whose elements dictate the powers of a primitive N-th root of unity. The locality index set
establishes this -locality structure, while the distance index set comprises consecutive integers (modulo ) to guarantee a minimum distance of at least via the BCH bound. The resulting code is minimum-distance optimal, as it achieves the upper bound in [24, Theorem 2.1] with equality.
To construct the required nested family, we fix a common locality index set and select nested distance index sets . The corresponding root index sets yield a nested sequence of cyclic LRCs . Crucially, maintaining a common across all root sets ensures that every code in the nested sequence possesses the exact same local repair groups. The distance index sets are chosen to guarantee .
In order to satisfy the minimum-distance conditions in (1), the dimension of the smallest subcode must be of the form , where , , , and .
To illustrate, let , , , and . We select the common locality index set
along with the nested distance index sets , , and . This configuration yields the nested sequence of cyclic LRCs . The corresponding generator matrix , whose first rows generate , is
The three colors distinguish the local repair groups: , , . Each group forms a local MDS code, such that any three code symbols within a group uniquely determine the remaining symbol. The specific minimum-weight codewords satisfying (1) are obtained as:
with corresponding message vectors , , and . The procedure to obtain these specific vectors is detailed in Appendix D.
As in the RS-based construction, the first block of is , and the remaining blocks are obtained by successively cyclically shifting the rows of . Since , the resulting cyclic data assignment achieves .
Since , the corresponding message matrix , formed by zero-padding , , and to length six, is given by:
The bottom submatrix of is nonsingular. The same property holds for the matrices associated with the other cyclically shifted blocks . Hence, following the identical procedure used in the RS-based construction, the columns of the demand matrix in (2) are embedded into the last entries of the corresponding vectors . Thus, we obtain and , where the last rows of coincide with . Since , the master successfully recovers the desired linear combinations from any workers.
In addition to this worst-case guarantee, the inherent locality structure allows recovery from specific straggler patterns containing more than stragglers. For example, consider a scenario with six straggling workers .. Although , local groups and (blue and green in ) contain only one straggler each ( and ). Because each group forms a local [4, 3, 2] MDS code, the responses of and are directly reconstructed from the surviving workers in their respective groups. This local repair reduces the number of unresolved stragglers to four, which is comfortably handled by the standard tolerance of . Thus, unlike the RS realization—which operates under the exact same load and worst-case threshold—the LRC approach exploits local repair to circumvent the hard straggler bottleneck without incurring any additional computation or communication overhead.
C. Computation-Latency Analysis
We compare the computation latency of the RS- and LRC-based constructions under worker straggling. Following [17], the computation time of worker is modeled as an independent shifted-exponential random

Fig. 1: Empirical completion-time distributions of the RS- and LRC-based cyclic DLSC constructions under shifted-exponential worker computation times. The LRC approach achieves strictly earlier completion for favorable worker-response patterns by exploiting local repair.
variable,
where represents the deterministic minimum computation time, and the exponential tail (parameterized by ) models the unpredictable delay introduced by straggling workers.
Let denote the ordered worker completion times. The RS construction strictly requires responses, making its completion time . In contrast, the LRC completion time, , is the earliest moment the received responses—augmented by applicable local repairs—satisfy the demand. Because the LRC naturally retains the baseline global recovery threshold, . Strict inequality ( ) occurs whenever favorable straggler patterns allow local repair to finish the computation early, reducing latency despite both codes imposing the identical per-worker computation load .
For the numerical evaluation, we consider , , , and . The worker computation times are generated independently according to (3), with s and s . Fig. 1 compares the empirical cumulative distribution functions (CDFs) of the completion times and , estimated over independent realizations. The leftward shift of the LRC-based CDF indicates a higher probability of completing the computation earlier. The average completion time decreases from approximately 2.45 s for the RS-based construction to 2.17 s for the LRC-based construction, corresponding to an average latency reduction of approximately 11.43%. Moreover, the LRC approach finishes strictly earlier than the RS approach in 67.67% of the realizations, clearly demonstrating the benefit of pattern-dependent local repair.
III. COMMUNICATION-EFFICIENT CYCLIC DLSC CONSTRUCTION
We next extend the proposed construction to reduce the per-worker communication load by a factor of . Assume that and . For ease of presentation, let . Each message is partitioned into equal-length submessages,
Each worker transmits one coded response of length L/m.
To accommodate the submessages of each of the demanded linear combinations, we employ nested cyclic codes , with minimum distances and dimensions
Similar to the general DLSC construction in Sec. II-A, we select minimum-distance codewords with nested supports. As before, the data assignment is specified by and its successive cyclic shifts. Since , each data partition is assigned to exactly workers. The cyclic shifts distribute this data uniformly, yielding a per-worker computation load of .
Let G be a generator matrix of the supercode . Following the general DLSC framework, we form the block matrix using the selected minimum-weight codewords and their cyclic shifts. We then factor , where , such that the bottom submatrix of each block is nonsingular.
For the demand matrix , consider the Kronecker product . Exploiting the nonsingularity of the corresponding submatrices of , each block of consecutive columns from can be embedded into the bottom rows of a suitable matrix whose columns lie in . Stacking these matrices yields , where the bottom rows of satisfy:
with denoting column of . The resulting encoding matrix is . Because the columns in is strictly drawn from the column space of the corresponding , the prescribed cyclic zero pattern—and thus the cyclic data assignment—is perfectly preserved.
The responses transmitted by the workers are given by
As in the baseline construction, the master can recover
by collecting responses from any N - S workers. By focusing on the bottom rows, the master obtains
This resulting matrix contains exactly the submessages for each of the desired linear combinations. By concatenating these submessages, can be reconstructed.
Theorem 3. Let , and consider a family of nested length-N cyclic codes with minimum distances , , whose selected minimum-distance codewords have nested supports. Then, for and any full-row-rank demand matrix , the proposed communication-efficient construction achieves a per-worker computation load and communication load , while guaranteeing deterministic recovery from any workers.
Remark 1. For , the proposed communication-efficient construction generalizes the gradient coding scheme in [10]. In [10], polynomials with prescribed roots and their lifted counterparts are evaluated at distinct field elements to generate the worker encoding coefficients. From a coding-theoretic perspective, this amounts to using a Vandermonde generator matrix to produce codewords whose prescribed zero positions enforce the data assignment. Our framework bypasses this specific Vandermonde requirement. By utilizing nested cyclic codes and obtaining the required data-assignment patterns from their minimum-distance codewords, we enable the use of more general generator matrices. When restricted to RS codes for , our framework reduces exactly to the Vandermonde-based approach of [10], sharing its identical communication-computation tradeoff and hard straggler threshold of .
For , where is a positive integer, the construction naturally extends by partitioning the messages into disjoint subsets of size and applying the cyclic assignment independently to each. Because the desired computation is linear, each worker simply sums its locally encoded responses across all subsets prior to transmission. This scales the total per-worker computation load to , while strictly maintaining the reduced communication load of L/m.
Furthermore, for and sufficiently large , we establish a matching converse (proved in Appendix C). Any cyclic DLSC scheme with communication load that guarantees the recovery of any linear combinations from any workers must satisfy . This formally establishes the asymptotic computation-load optimality of the proposed construction.
IV. Conclusion
In this work, we developed a DLSC framework based on nested cyclic codes. Our approach maintains a fixed, cyclic data assignment while guaranteeing the deterministic recovery of arbitrary prescribed linear combinations. The RS- and LRC-based constructions provide explicit realizations of this framework, with the latter exploiting local repair to enable recovery beyond the worst-case straggler threshold. Furthermore, we extended the construction to offer a flexible tradeoff between computation and communication loads. Finally, by deriving matching asymptotic converse bounds, we formally established the computation-load optimality of the proposed framework.
AI Statement
The authors used OpenAI’s ChatGPT (GPT-6) and Google’s Gemini 3.1 Pro during the preparation of this manuscript for grammar correction, sentence rephrasing, and the generation of LaTeX code for formatting the matrices (in Appendix A) and (in Section II). The authors reviewed, verified, and edited the final content and take full responsibility for the accuracy and integrity of the manuscript.
REFERENCES
[1] J. Dean and L. A. Barroso, "The Tail at Scale," Communications of the ACM, vol. 56, no. 2, pp. 74–80, 2013.
[2] S. Kiani, N. Ferdinand, and S. C. Draper, “Exploitation of Stragglers in Coded Computation,” in Proc. IEEE International Symposium on Information Theory (ISIT), pp. 1988–1992, IEEE, 2018.
[3] H. Park, K. Lee, J.-y. Sohn, C. Suh, and J. Moon, “Hierarchical Coding for Distributed Computing,” in Proc. IEEE International Symposium on Information Theory (ISIT), pp. 1620–1624, IEEE, 2018.
[4] S. Li, M. A. Maddah-Ali, and A. S. Avestimehr, “A Unified Coding Framework for Distributed Computing with Straggling Servers,” in Proc. IEEE Global Communications Conference Workshops (GLOBECOM Workshops), pp. 1–6, 2016.
[5] S. Li, M. A. Maddah-Ali, Q. Yu, and A. S. Avestimehr, “A Fundamental Tradeoff Between Computation and Communication in Distributed Computing,” IEEE Transactions on Information Theory, vol. 64, no. 1, pp. 109–128, 2018.
[6] R. Tandon, Q. Lei, A. G. Dimakis, and N. Karampatziakis, “Gradient Coding: Avoiding Stragglers in Distributed Learning,” in Proc. International Conference on Machine Learning (ICML), 2017.
[7] N. Raviv, I. Tamo, R. Tandon, and A. G. Dimakis, “Gradient Coding from Cyclic MDS Codes and Expander Graphs,” IEEE Transactions on Information Theory, vol. 66, no. 12, pp. 7475–7489, 2020.
[8] W. Halbawi, N. Azizan-Ruhi, F. Salehi, and B. Hassibi, “Improving Distributed Gradient Descent Using Reed-Solomon Codes,” in Proc. IEEE International Symposium on Information Theory (ISIT), pp. 2027–2031, 2018.
[9] B. Buyukates, E. Ozfatura, S. Ulukus, and D. Gunduz, “Gradient Coding With Dynamic Clustering for Straggler-Tolerant Distributed Learning,” IEEE Transactions on Communications, vol. 71, no. 6, pp. 3317–3332, 2023.
[10] M. Ye and E. Abbe, “Communication-Computation Efficient Gradient Coding,” in Proc. International Conference on Machine Learning (ICML), vol. 80, pp. 5606–5615, PMLR, 2018.
[11] S. Kadhe, O. O. Koyluoglu, and K. Ramchandran, “Communication-Efficient Gradient Coding for Straggler Mitigation in Distributed Learning,” in Proc. IEEE International Symposium on Information Theory (ISIT), pp. 2634–2639, 2020.
[12] S. Dutta, V. R. Cadambe, and P. Grover, “Short-Dot: Computing Large Linear Transforms Distributedly Using Coded Short Dot Products,” IEEE Transactions on Information Theory, vol. 63, no. 8, pp. 4874–4894, 2017.
[13] G. Suh, K. Lee, and C. Suh, “Matrix Sparsification for Coded Matrix Multiplication,” in Proc. 55th Annual Allerton Conference on Communication, Control, and Computing (Allerton), pp. 1271–1278, 2017.
[14] A. Ramamoorthy, L. Tang, and P. O. Vontobel, “Universally Decodable Matrices for Distributed Matrix-Vector Multiplication,” in Proc. IEEE International Symposium on Information Theory (ISIT), pp. 1777–1781, IEEE, 2019.
[15] A. B. Das and A. Ramamoorthy, “Distributed Matrix-Vector Multiplication: A Convolutional Coding Approach,” in Proc. IEEE International Symposium on Information Theory (ISIT), pp. 3022–3026, 2019.
[16] A. Ramamoorthy, A. B. Das, and L. Tang, “Straggler-Resistant Distributed Matrix Computation via Coding Theory: Removing a Bottleneck in Large-Scale Data Processing,” IEEE Signal Processing Magazine, vol. 37, no. 3, pp. 136–145, 2020.
[17] K. Lee, M. Lam, R. Pedarsani, D. Papailiopoulos, and K. Ramchandran, “Speeding Up Distributed Machine Learning Using Codes,” IEEE Transactions on Information Theory, vol. 64, no. 3, pp. 1514–1529, 2018.
[18] Q. Yu, M. A. Maddah-Ali, and A. S. Avestimehr, “Polynomial Codes: An Optimal Design for High-Dimensional Coded Matrix Multiplication,” in Proc. Advances in Neural Information Processing Systems (NeurIPS), vol. 30, pp. 4403–4413, 2017.
[19] S. Dutta, M. Fahim, F. Haddadpour, H. Jeong, V. R. Cadambe, and P. Grover, “On the Optimal Recovery Threshold of Coded Matrix Multiplication,” IEEE Transactions on Information Theory, vol. 66, no. 1, pp. 278–301, 2020.
[20] Q. Yu, M. A. Maddah-Ali, and A. S. Avestimehr, “Straggler Mitigation in Distributed Matrix Multiplication: Fundamental Limits and Optimal Coding,” IEEE Transactions on Information Theory, vol. 66, no. 3, pp. 1920–1933, 2020.
[21] M. N. Krishnan, E. Hosseini, and A. Khisti, “Coded Sequential Matrix Multiplication for Straggler Mitigation,” IEEE Journal on Selected Areas in Information Theory, vol. 2, no. 3, pp. 830–844, 2021.
[22] K. Wan, H. Sun, M. Ji, and G. Caire, “Distributed Linearly Separable Computation,” IEEE Transactions on Information Theory, vol. 67, no. 1, pp. 381–407, 2021.
[23] I. Tamo, A. Barg, S. Goparaju, and R. Calderbank, “Cyclic LRC Codes, Binary LRC Codes, and Upper Bounds on the Distance of Cyclic Codes,” International Journal of Information and Coding Theory, vol. 3, no. 4, pp. 345–364, 2016.
[24] G. M. Kamath, N. Prakash, V. Lalitha, and P. V. Kumar, “Codes with Local Regeneration and Erasure Correction,” IEEE Transactions on Information Theory, vol. 60, no. 8, pp. 4637–4660, 2014.
APPENDIX A
NONSINGULARITY OF THE BOTTOM SUBMATRIX OF
For each and , let denote the message vector corresponding to the -th codeword in .
We first show that for every cyclically shifted version of the selected minimum-distance codeword , the last coefficient of its corresponding message vector remains nonzero. Specifically, our goal is to establish that for all . Recall that the top rows of are ordered such that for the unshifted codeword , the message vector satisfies .
Let denote the row indexed by in , where is the corresponding exponent and is a primitive -th root of unity. Since
its j-th left cyclic shift has message coefficients
Consequently,
since every power of is nonzero.
Lemma 1. Let be a generator matrix for the supercode , with rows for , where is a primitive -th root of unity such that the first rows span for each . Pad each message vector with trailing zeros and arrange the resulting vectors as the columns of . The resulting matrix has the form
The submatrix formed by the last rows of is nonsingular for every .
Proof. Since , the bottom submatrix of is upper triangular, with diagonal entries , for . For , we have by the preceding cyclic-shift argument.
For , the selected codeword has weight . Since , it cannot belong to . As the first generator matrix rows span , the coefficient corresponding to the -th generator matrix row must be nonzero. Hence,
Thus, the bottom submatrix of is upper triangular with nonzero diagonal entries and is therefore nonsingular.
APPENDIX B PROOF OF THEOREM 2
We proceed by contradiction. Suppose that
Under the cyclic data-assignment structure, every data fragment is assigned to the same number of workers. Since each of the workers is assigned data fragments, the total number of worker-data assignments is . Therefore, each of the data fragments is assigned to workers. From (5), . So every data fragment is assigned to at most workers. Consequently, every data fragment is not assigned to at least workers. Moreover, because .
For each data fragment , choose any workers to which it is not assigned, and denote their indices by . There are exactly possible choices for . By the hypothesis , the pigeonhole principle guarantees the existence of at least data fragments sharing the same selected set of unassigned workers.
Let , with , denote the indices of any such data fragments, and let , with , denote their common set of unassigned workers. Since workers in do not store any of the data fragments indexed by , the corresponding entries of the encoding matrix must be zero. Thus,
Since , we can choose a straggler set with . Thus, denotes the indices of the non-straggling workers. Then, and .
Consider the submatrix . By (6), its rows indexed by are identically zero. Therefore, the number of potentially nonzero rows is at most
Consequently,
Choose a demand matrix such that . If the desired linear combinations were recoverable from the workers in , then . Restricting both row spaces to the coordinates indexed by would therefore imply . However, this is impossible since while . Hence, the assumption in (5) is false, and therefore:
APPENDIX C
CONVERSE FOR THE COMMUNICATION-EFFICIENT SETTING
We proceed by contradiction. Suppose that
Following the counting and pigeonhole arguments in Appendix B, with replaced by , each data fragment is absent from at least workers. Since , there exist a set with and with such that none of the workers indexed by stores any data fragment indexed by .
Choose a straggler set with , and let . Then , and at most
non-straggling workers have access to the data fragments indexed by J.
Choose a demand matrix such that the submatrix and all remaining entries are zero. Satisfying this demand requires the master to perfectly recover the set of data fragments , which comprises independent symbols. Among the non-straggling workers in , those in do not host any of the data fragments from ; therefore, their responses contain no information about these fragments. From (7), at most workers can provide relevant information to the master. Since each worker transmits exactly symbols, the master receives at most
relevant symbols. This renders the recovery of the independent symbols information-theoretically impossible. Thus, we conclude that
APPENDIX D
FINDING A MINIMUM-WEIGHT CODEWORD IN OPTIMAL LRCs
Consider an code that possesses disjoint locality with generator matrix . Assume the code is minimum-distance-optimal with respect to the bound in [24, Theorem 2.1], i.e., its minimum distance satisfies
Write
The following lemma establishes the linear independence property required to isolate a minimum-weight codeword.
Lemma 2. Choose distinct local groups and select columns of from each. Then, select columns from one additional local group. The resulting columns are linearly independent.
Proof. Let be the submatrix formed by these selected columns, and suppose . This implies there exists a non-zero message vector such that . Consequently, the corresponding codeword has zeros in all of these selected coordinates.
Consider the local groups where coordinates were selected. Since each group has size , the presence of zeros leaves at most potentially non-zero coordinates. Because any non-zero restriction of a codeword to a local group must have a weight of at least , the restriction to each of these groups must be entirely zero. Thus, contains at least
zero coordinates. The weight of c is therefore at most
which contradicts the minimum-distance optimality of the LRC. Thus, must be nonsingular.
Recall that the columns of consist of columns each from local groups, and columns from one additional local group. Let the -th column of correspond to one of the columns drawn from this additional group. Define as the unit vector with a at the -th position and zeros elsewhere, and set the message vector to . Since , the message vector is non-zero and thus the resulting is non-zero as well. By construction, restricting to the selected coordinates yields .
Consequently, c has zeros at the r selected positions in each of the local groups which are part of , and zeros among the selected positions of the additional group. As the presence of r zeros in a local group forces all its remaining symbols to zero, c contains at least
zero coordinates. Recalling that , the weight of this non-zero codeword is at most
Since the code has minimum distance , it must hold that . Thus, we conclude that is a minimum-weight codeword.