arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.20087cs.ITmath.IT
收藏

二元循环梯度编码:精确恢复与压缩鲁棒性

Binary Cyclic Gradient Coding: Exact Recovery and Robustness to Compression

College of Computing, Mohammed VI Polytechnic University(穆罕默德六世理工大学计算机学院)

Hassan Ou-azzou, Imad Kissami, El Houcine Bergou

AI总结:

提出二元循环梯度编码(BCGC),其编码矩阵为二元循环矩阵,在FRC、GFRC无法恢复精确梯度时可实现精确恢复,且在压缩下更稳定,异构数据上精度更高。

摘要:

我们提出二元循环梯度编码(BCGC),这是一种适用于n个工作节点和最多s个掉队节点的精确梯度编码方案。其编码矩阵为二元矩阵,当(s+1)整除n时为循环矩阵,否则为近循环矩阵,主节点通过单次求和完成解码。与分数重复编码方案(FRC)及其通用版本(GFRC)类似,BCGC将工作节点划分为s+1个类,每个类覆盖完整数据集,但它通过循环支撑分配数据。其编码矩阵的秩为n-s,且有n-s-1个工作节点保持平衡负载s+1,这是最大可能的数值。我们证明BCGC的编码矩阵与FRC、GFRC方案的编码矩阵并非置换等价。此外,我们还证明带压缩的二元编码方案与在更粗的数据划分上的未编码压缩方案等价,这解释了为何二元方案在压缩下保持稳定,而MDS码的大解码系数会放大压缩误差并在实验中导致发散。对于每个收缩型压缩器,压缩梯度下降的标准收敛保证在每个粗划分上成立。因此,FRC、GFRC和BCGC共享相同的收敛保证,仅在划分上存在差异:FRC有1个划分,GFRC有2个划分,BCGC有s+1个不同划分。在FRC和GFRC无法恢复精确梯度的场景中,选择这些划分可实现精确恢复。在四个数据集上的实验验证了该理论:BCGC与GFRC性能相当,在top κ稀疏化下保持精度,而MDS码发生发散;在异构数据上,其划分多样性降低了压缩误差并提升了精度。

英文摘要:

We introduce binary cyclic gradient coding (BCGC), an exact gradient coding scheme for $n$ workers and up to $s$ stragglers. Its encoding matrix is binary, circulant when $(s+1)\mid n$ and nearly circulant otherwise, and the master decodes by a single summation. Like the fractional repetition coding scheme (FRC) and its generalized version (GFRC), BCGC splits the workers into $s+1$ classes that each cover the whole dataset, but it assigns the data through cyclic supports. Its encoding matrix has rank $n-s$, and $n-s-1$ workers keep the balanced load $s+1$, which is the largest possible number. We prove that encoding matrix of BCGC is not permutation-equivalent to those of FRC and GFRC schemes. Moreover, We also prove that a binary coded scheme with compression is equivalent to an uncoded compressed scheme on a coarser partition of the data. This explains why binary schemes remain stable under compression, whereas the large decoding coefficients of MDS codes amplify the compression error and lead to divergence in our experiments. For every contractive compressor, the standard convergence guarantee of compressed gradient descent holds on each coarse partition. FRC, GFRC and BCGC therefore share the same convergence guarantee and differ only in their partitions, with one partition for FRC, two for GFRC and $s+1$ distinct partitions for BCGC. Choosing among these partitions can recover the exact gradient in cases where FRC and GFRC cannot. Experiments on four datasets confirm the theory. BCGC matches GFRC, keeps its accuracy under top $κ$ sparsification while the MDS codes diverge, and on heterogeneous data its partition diversity reduces the compression error and improves the accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑