FedSpy-LLM: Towards Scalable and Generalizable Data Reconstruction Attacks from Gradients on LLMs
Syed Irfan Ali Meerza, Feiyi Wang, Jian Liu

TL;DR
FedSpy-LLM introduces a scalable, architecture-agnostic gradient-based data reconstruction attack that effectively reconstructs training data from federated LLM gradients, even with PEFT methods and longer sequences.
Contribution
It proposes a novel gradient decomposition strategy that enhances data reconstruction from federated LLMs across diverse architectures and training methods.
Findings
Successfully reconstructs training data with larger batch sizes and longer sequences.
Achieves robustness across encoder, decoder, and encoder-decoder architectures.
Effectively mitigates PEFT-induced null space challenges in gradient-based reconstruction.
Abstract
Given the growing reliance on private data in training Large Language Models (LLMs), Federated Learning (FL) combined with Parameter-Efficient Fine-Tuning (PEFT) has garnered significant attention for enhancing privacy and efficiency. Despite FL's privacy benefits, prior studies have shown that private data can still be extracted from shared gradients. However, these studies, mainly on full-parameter model training, are limited to reconstructing small batches, short input sequences, and specific model architectures, such as encoder-based or decoder-based models. The reconstruction quality becomes even worse when dealing with gradients from PEFT methods. To fully understand the practical attack surface of federated LLMs, this paper proposes FedSpy-LLM, a scalable and generalizable data reconstruction attack designed to reconstruct training data with larger batch sizes and longer…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
