Manuscript Offprint

arXiv:2610.03597

A Path Integral Surrogate for Multi-Step Gradient Inversion in Federated Learning

Agnivo Ghosh, Saumik Bhattacharya

ABSTRACT

Federated learning lets many clients train a shared model together without ever sending their private data to a central server. Each client shares only a model update, and this update should reveal far less about the client than its raw training examples would. This premise is what protects the privacy of the clients. Gradient inversion attacks challenge it directly by trying to reconstruct a client's private input images from the single update it shared. Under FedAvg, a client's update accumulates several local training steps, so the server sees only the two endpoints of a hidden weight trajectory. Recent gradient inversion attacks fit a surrogate model along the path between these two endpoints but they still read its gradient at a single point. We propose the Path-Integral Surrogate Model Extension (PI-SME) which treats the accumulated update as a path integral of the gradient field and approximates it by Gauss–Legendre quadrature over several nodes along a learnable Bézier path. On CIFAR-100 and FEMNIST images across a range of trajectory lengths and class-restricted batches PI-SME reconstructs the private inputs more faithfully than the strongest surrogate baseline on several inversion metrics and the matching loss.

Index Terms— federated learning, gradient inversion, privacy, surrogate model, numerical quadrature

1. INTRODUCTION

Federated learning trains a shared model across many clients without collecting their data on a central server [1, 2]. A server holds a global model and repeatedly sends it to participating clients. Each client owns a private dataset. Given a batch (X,Y)(X, Y) of input images X and labels Y, the client trains a model fwf_w with weights w under a loss ℓ\ell. It then returns only the resulting model update. The server aggregates these updates to form a new global model and repeats the process over multiple communication rounds. Since raw samples remain on the clients, federated learning is used in settings where privacy or data-governance requirements discourage central data collection, including mobile keyboard prediction [3], clinical modeling across hospitals [4], fraud detection across financial institutions [5], and intelligence on edge and IoT devices [6].

The predominantly used federated learning algorithm is FedAvg [1]. In FedAvg, each client performs several local SGD steps before returning its updated model to the server. The server then aggregates the client models using a weighted average. FedSGD is the one-step special case in which each client returns the gradient at the current global model rather than an update accumulated over multiple local steps. Sharing updates instead of data is intended to protect client privacy. This protection is further supported by defenses such as secure aggregation [7] and differential privacy [8]. Gradient inversion attacks challenge this protection by reconstructing private inputs from a shared update. An honest-but-curious server optimizes a dummy batch X^\hat{X} with the same shape as X until its gradient matches the observed update. DLG [9] minimizes the Euclidean distance between the two gradients, while iDLG [10] first recovers the labels. IG [11] uses a cosine matching objective together with a total-variation image prior TV( X^\hat{X}), while GradInversion [12] scales to larger batches. Prior-enhanced attacks such as GI-NAS [13] and DGGI [14] incorporate architectural or diffusion image priors. These methods are primarily designed for single-step gradients. In contrast, FedAvg produces an update accumulated over multiple local steps, and the server observes only the endpoints: the initial global model and the model returned by the client after local training. Recent surrogate-model attacks such as SME [15] and NL-SME [16] fit a surrogate path between these endpoints but still evaluate its gradient at a single point.

Our contribution is to treat the accumulated update as a path integral of the gradient field along the client trajectory. We reconstruct this integral using numerical quadrature rather than a single gradient evaluation. We propose the Path-Integral Surrogate Model Extension (PI-SME), which evaluates the surrogate gradient at several nodes along a learnable Bézier path and combines these evaluations using Gauss–Legendre weights to approximate the accumulated update. To our knowledge, this is the first gradient inversion attack to model the multi-step update as a path integral and use multi-node quadrature for inversion. On CIFAR-100 [17] and FEMNIST [18, 19], PI-SME improves over the strongest surrogate baseline across all reconstruction metrics. The largest gains occur on long trajectories and class-scarce batches, where the single-point approximation is weakest.

Section 2 reviews the multi-step setting and surrogate baselines. Section 3 presents PI-SME. Section 4 reports the main results and benchmark comparisons. Section 5 presents the ablation studies. Section 6 concludes the paper.

References (43)