arXiv:2611.09652cs.CVNov 2026

Manuscript Offprint

arXiv:2611.09652

Breaking the Privacy Promise: Gradient Inversion Attacks on Federated Low-Rank Adapted Vision Transformers

Ritik K. Badiya, Siladittya Manna, Ashmit Sinha, M Yashwanth, Anirban Chakraborty

Abstract

Parameter-efficient fine-tuning (PEFT) has been increasingly adopted to fine-tune pretrained models with low computational cost and is therefore also preferred in the federated learning paradigm to reduce computational and communication overhead. In this work, we investigate the sparsely explored problem of the risk of private data leakage in LoRA-adapted Vision Transformers (ViTs), where low-rank updates weaken the gradient signal available to a server with access to individual client updates. We show that quality of reconstruction is limited by two coupled ambiguities: reduced information in LoRA gradients and missing spatial cues from frozen positional embeddings. To address this, we propose a spatially anchored generative inversion framework that incorporates server-prescribed trainable positional embeddings into ViT blocks during fine-tuning at clients. The resulting positional gradients act as layer-wise spatial anchors, providing additional positional cues, while the generative prior keeps reconstructions on a realistic image manifold, reducing duplicate-data and patch-permutation artifacts, which produce similar gradients as those produced when the target client images are used. Adding our proposed spatial anchoring to GIAS improves PSNR by 10.14 dB, SSIM by 0.45, and LPIPS by 0.098 on CIFAR-10, as well as PSNR gains of 7.83 and 11.74 dB on high-resolution CelebA and CARS datasets, respectively, in the FedSGD setting. Such gains in reconstructed image quality metrics are also maintained at higher batch sizes and in FedAvg settings. These results indicate that LoRA-based PEFT does not, by itself, prevent data leakage in FL, and carefully incorporated positional embeddings can help in exposing private information.

1. Introduction

Federated Learning (FL) enables privacy-preserving decentralized training by keeping individual users' training data private and by training a global model by sharing users' lo-

Figure

Figure 1. Conceptual illustration of duplicate sample issue in GIAs. Multiple local minima in the gradient-matching objective lead to reconstruction ambiguity, where multiple images yield nearly identical gradients to the target sample. All initializations and reconstructed images are real samples from our experiments.

cal gradients [41, 56]. However, recent studies have shown that it is possible to breach the user data privacy through several types of data privacy attacks, such as Gradient Inversion Attacks (GIAs) [20, 23, 62], which focus on reconstructing the user data, either through an honest-but-curious server interested in recovering user data in the FL system [20, 62], or by modifying the model architecture or model weights [18, 19, 60] and sending the compromised model to the users through a malicious server.

Early works on GIAs targeted fully connected and convolutional networks [9, 20, 61, 62], while subsequent work extended these attacks to Vision Transformers (ViTs), revealing the critical role of positional encodings in reconstruction quality [23, 40]. However, these works assumed full fine-tuning. In contrast, modern federated systems increasingly adopt parameter-efficient fine-tuning (PEFT), particularly LoRA [24], which updates only a small low-rank subset of parameters. This weakens the gradient signal, making inversion harder and providing stronger privacy guarantees [58]. A similar phenomenon is also observed for 'Membership Inference Attacks' (MIAs) in Liu et al. [37], where decreasing effective rank decreases the attack success rate.

The feasibility of a gradient inversion attack closely depends on the number of trainable parameters exposed by the client model [20, 61]. As the number of trainable parameters decreases, the effective manifold on which the shared gradients lie also shrinks [3, 35]. Consequently, the inversion problem becomes more challenging, since the observed gradient no longer uniquely determines the private input. This results in different initializations of the candidate solutions converging to different optima, as shown in Fig. 1. This issue is further exacerbated in PEFT settings, where LoRA-based fine-tuning updates only a small fraction of the base model's total parameters and the intrinsic gradient dimension decreases too, as evident from Fig. 2. Drawing inspiration from gradient inversion attacks on language models like DAGER [43], LAMP [4], and GRAB [16], which use a token vocabulary to filter the plausible set of tokens, we adopt a generative prior trained on images drawn from a distribution similar to, but non-overlapping with, that of the target data. This prior constrains reconstruction to an overlapping image manifold [36], discouraging non-identifiable solutions that match the gradient signal.

Figure

(a) Intrinsic dimension estimators

(b) Rank-based metrics

Figure 2. Comparison of intrinsic dimensionality of the gradients obtained from full fine-tuning and the low-rank-adapted base model (ViT-Small), which supports our hypothesis that the dimensionality of the manifold on which the shared gradient lies decreases with reduction in the number of trainable parameters. The metrics are discussed in detail in Supp. Sec. A.

In LoRA-based PEFT, the non-identifiability of gradient inversion is also reflected in the occurrence of duplicate data samples, where spatially misaligned patches or distorted and noisy inputs can induce the same gradients as the true private sample [40, 61], as shown in Fig. 3. Since positional embeddings encode spatial information, their ambiguity can permit such misaligned, distorted, or noisy reconstructions to satisfy the same gradient constraints. From Fig. 3, we observe that this non-identifiability is also observed in generative gradient inversion attacks, such as GIAS [25], where the use of a learned image prior reduces the search space but does not guarantee a unique reconstruction.

These observations suggest that successful gradient inversion under LoRA-based PEFT requires addressing two interacting sources of ambiguity: (i) reduced information from low-rank parameter updates and (ii) lost positional in-

Figure

Figure 3. Examples of jumbled patches in both optimization and generative GIAs for different initializations on low rank-adapted (r=128r = 128) ViT-Small on the CIFAR-10 dataset.

formation from frozen positional embeddings, leading to unstable reconstructions across optimization restarts.

Motivated by these observations, we propose a generative gradient inversion framework that combines LoRA fine-tuning with layer-wise trainable positional embeddings. Although standard ViT architectures do not include layer-wise positional embeddings, adding them enables efficient recovery of positional details without hurting model performance (see Supp. Sec. B). This design allows the attacker to reconstruct spatial data while respecting the generative prior's realism constraints. Experimental results demonstrate substantial improvements in reconstruction fidelity, attack stability, and resistance to duplicate artefacts across low-rank and training configurations. In summary, our main contributions are as follows:

  • We show that LoRA-induced parameter sparsity increases the non-identifiability of GIA by reducing the information content available to the attacker.

  • We identify the ambiguity of frozen positional embeddings as a fundamental source of duplicate reconstructions, revealing that spatially distinct or distorted inputs can satisfy identical gradient constraints under PEFT.

  • We design a layer-wise trainable positional embedding mechanism for ViTs that exposes positional gradients during federated PEFT, providing spatial supervision that resolves positional ambiguity and consistently improves reconstruction quality.

  • We extensively evaluate the approach across multiple ranks and training configurations, demonstrating substantial improvements over prior GIA methods.

References (61)