SPEAR: exact gradient inversion of entire batches in federated learningSPEAR:Exact Gradient Inversion of Batches in Federated Learning
The researchers propose SPEAR, an algorithm for exact gradient inversion of batch data (b>1) in federated learning. Previously, exact reconstruction was only feasible when the batch size was b=1, and larger batches could only be approximately recovered. SPEAR combines the explicit low-rank structure of gradients with a sampling-based algorithm, and uses the gradient sparsity induced by ReLU to filter out a large number of erroneous samples, making the final reconstruction step tractable. The authors provide a GPU implementation for fully connected networks, which can exactly recover high-dimensional ImageNet inputs at a batch size of about 25 and can scale to larger networks. The authors also theoretically show that, given exponential time, data with larger batches can also be reconstructed with high probability.