Hierarchical Gradient Coding: From Optimal Design to Privacy at Intermediate Nodes

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Gholami, Ali, Jahani-Nezhad, Tayyebeh, Wan, Kai, Caire, Giuseppe
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914166236774400
author Gholami, Ali
Jahani-Nezhad, Tayyebeh
Wan, Kai
Caire, Giuseppe
author_facet Gholami, Ali
Jahani-Nezhad, Tayyebeh
Wan, Kai
Caire, Giuseppe
contents Gradient coding is a distributed computing technique for computing gradient vectors over large datasets by outsourcing partial computations to multiple workers, typically connected directly to the server. In this work, we investigate gradient coding in a hierarchical setting, where intermediate nodes sit between the server and workers. This structure reduces the communication load received at the server, which is a bottleneck in conventional gradient coding systems. In this paper, the intermediate nodes, referred to as \textit{relays}, process the data received from workers and send the results to the server for the final gradient computation. Our main contribution is deriving the optimal communication-computation trade-off by designing a linear coding scheme, also considering straggling and adversarial nodes among both relays and workers. We propose a coding scheme which achieves both the optimal relay-to-server communication load and the optimal worker-to-relay communication load. We further extend our setting to incorporate privacy by requiring that relays learn no information about the computed partial gradients from the messages they receive. This is achieved by introducing shared randomness among workers, allowing each worker to encode its partial gradients such that the randomness cannot be canceled out at the relay. Meanwhile, the server can successfully decode the global gradient by eliminating this randomness after receiving the computations of the non-straggling relays. Importantly, this privacy guarantee is achieved without increasing the overall communication load.
format Preprint
id arxiv_https___arxiv_org_abs_2502_18251
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Hierarchical Gradient Coding: From Optimal Design to Privacy at Intermediate Nodes
Gholami, Ali
Jahani-Nezhad, Tayyebeh
Wan, Kai
Caire, Giuseppe
Information Theory
Gradient coding is a distributed computing technique for computing gradient vectors over large datasets by outsourcing partial computations to multiple workers, typically connected directly to the server. In this work, we investigate gradient coding in a hierarchical setting, where intermediate nodes sit between the server and workers. This structure reduces the communication load received at the server, which is a bottleneck in conventional gradient coding systems. In this paper, the intermediate nodes, referred to as \textit{relays}, process the data received from workers and send the results to the server for the final gradient computation. Our main contribution is deriving the optimal communication-computation trade-off by designing a linear coding scheme, also considering straggling and adversarial nodes among both relays and workers. We propose a coding scheme which achieves both the optimal relay-to-server communication load and the optimal worker-to-relay communication load. We further extend our setting to incorporate privacy by requiring that relays learn no information about the computed partial gradients from the messages they receive. This is achieved by introducing shared randomness among workers, allowing each worker to encode its partial gradients such that the randomness cannot be canceled out at the relay. Meanwhile, the server can successfully decode the global gradient by eliminating this randomness after receiving the computations of the non-straggling relays. Importantly, this privacy guarantee is achieved without increasing the overall communication load.
title Hierarchical Gradient Coding: From Optimal Design to Privacy at Intermediate Nodes
topic Information Theory
url https://arxiv.org/abs/2502.18251