Stealing Training Data from Large Language Models in Decentralized Training through Activation Inversion Attack
Chenxi Dai, Lin Lu, Pan Zhou
TL;DR
The paper addresses privacy risks in decentralized LLM training by introducing Activation Inversion Attack (AIA), which reconstructs private training data from transmitted activations without disrupting training. It employs a two-step approach: constructing a shadow dataset using a public pre-trained shadow model to train an attack network that maps activations to text, enabling reconstruction of victim data during fine-tuning. Across GPT2-XL, Bloom-7B1, and LLaMA3-8B and multiple public corpora, AIA achieves fluent text reconstruction and substantial privacy leakage of PII types, demonstrating strong practical risk. The findings underscore the need for defenses in decentralized training pipelines and highlight limitations related to attack-victim architectural alignment and transferability, while providing actionable metrics for evaluating privacy risks in such systems.
Abstract
Decentralized training has become a resource-efficient framework to democratize the training of large language models (LLMs). However, the privacy risks associated with this framework, particularly due to the potential inclusion of sensitive data in training datasets, remain unexplored. This paper identifies a novel and realistic attack surface: the privacy leakage from training data in decentralized training, and proposes \textit{activation inversion attack} (AIA) for the first time. AIA first constructs a shadow dataset comprising text labels and corresponding activations using public datasets. Leveraging this dataset, an attack model can be trained to reconstruct the training data from activations in victim decentralized training. We conduct extensive experiments on various LLMs and publicly available datasets to demonstrate the susceptibility of decentralized training to AIA. These findings highlight the urgent need to enhance security measures in decentralized training to mitigate privacy risks in training LLMs.
