Mitigating Gradient Inversion Risks in Language Models via Token Obfuscation
Not on the map. Why?
Abstract (arXiv)
Training and fine-tuning large-scale language models largely benefit from collaborative learning, but the approach has been proven vulnerable to gradient inversion attacks (GIAs), which allow adversaries to reconstruct private training data from shared gradients. Existing defenses mainly employ gradient perturbation techniques, e.g., noise injection or gradient pruning, to disrupt GIAs' direct mapping from gradient space to token space. However, these methods often fall short due to the retention of semantics similarity across gradient, embedding, and token spaces. In this work, we propose a novel defense mechanism named GHOST (gradient shield with obfuscated tokens), a token-level obfuscation mechanism that neutralizes GIAs by decoupling the inherent connections across gradient, embedding, and token spaces. GHOST is built upon an important insight: due to the large scale of the token space, there exist semantically distinct yet embedding-proximate tokens that can serve as the shadow substitutes of the original tokens, which enables a semantic disconnection in the token space while preserving the connection in the embedding and gradient spaces. GHOST comprises a searching step, which identifies semantically distinct candidate tokens using a multi-criteria searching process, and a selection step, which selects optimal shadow tokens to ensure minimal disruption to features critical for training by preserving alignment with the internal outputs produced by original tokens. Evaluation across diverse model architectures (from BERT to Llama) and datasets demonstrates the remarkable effectiveness of GHOST in protecting privacy (as low as 1% in recovery rate) and preserving utility (up to 0.92 in classification F1 and 5.45 in perplexity), in both classification and generation tasks against state-of-the-art GIAs and adaptive attack scenarios.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 25 of its 65 references that are in the map. First posted on arXiv 11 Feb 2026.
Builds on
25 of 65 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2016Deep Learning with Differential Privacycited by 2,682
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 707
- 2018Efficient Neural Network Robustness Certification with General Activation Functionscited by 439
- 2020iDLG: Improved Deep Leakage from Gradientscited by 367
- 2021See through Gradients: Image Batch Recovery via GradInversioncited by 320
- 2018A Survey on Deep Learning for Named Entity Recognitioncited by 281
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 168
13 more
- 2022Recovering Private Text in Federated Learning of Language Modelscited by 67
- 2021TAG: Gradient Attack on Transformer-based Language Modelscited by 63
- 2022Decepticons: Corrupted Transformers Breach Privacy in Federated Learning for Language Modelscited by 52
- 2022LAMP: Extracting Text from Gradients with Language Model Priorscited by 52
- 2022A Customized Text Sanitization Mechanism with Differential Privacycited by 51
- 2020How fine can fine-tuning be? Learning efficient language modelscited by 41
- 2023DP-BART for Privatized Text Rewriting under Local Differential Privacycited by 27
- 2024FedLLM-Bench: Realistic Benchmarks for Federated Learning of Large Language Modelscited by 26
- 2021APRIL: Finding the Achilles' Heel on Privacy for Vision Transformerscited by 23
- 2022Federated Few-Shot Learning for Mobile NLPcited by 15
- 2025Catch-Only-One: Non-Transferable Examples for Model-Specific Authorizationcited by 7
- 2025Uncovering Gradient Inversion Risks in Practical Language Model Trainingcited by 6
- 2025Re-Key-Free, Risky-Free: Adaptable Model Usage Controlcited by 6
Built on by
Citing papers per year: 2026: 2.
2 papers.