paper-with-me

홈 › Papers

Mitigating Gradient Inversion Risks in Language Models via Token Obfuscation

2026-02-11 · Xinguo Feng, Zhongkui Ma, Zihan Wang, Alsharif Abuadbba, Guangdong Bai 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.

📄 PDF Abstract BibTeX arXiv:2602.15897

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Uncovering Gradient Inversion Risks in Practical Language Model Training

2025-07-28 · Xinguo Feng, Zhongkui Ma, Zihan Wang, Eu Joe Chegne 외 arxiv

The gradient inversion attack has been demonstrated as a significant privacy threat to federated learning (FL), particularly in continuous domains such as vision models. In contrast, it is often considered less effective…

Federated Learning

Do Vision-Language Models Leak What They Learn? Adaptive Token-Weighted Model Inversion Attacks

2025-08-06 · Ngoc-Bao Nguyen, Sy-Tuyen Ho, Koh Jun Hao, Ngai-Man Cheung arxiv

Model inversion (MI) attacks pose significant privacy risks by reconstructing private training data from trained neural networks. While prior studies have primarily examined unimodal deep networks, the vulnerability of v…

Image ReconstructionVisual Grounding

Mitigating Privacy Risks in LLM Embeddings from Embedding Inversion

2024-11-06 · Tiantian Liu, Hongwei Yao, Tong Wu, Zhan Qin 외

Embeddings have become a cornerstone in the functionality of large language models (LLMs) due to their ability to transform text data into rich, dense numerical representations that capture semantic and syntactic propert…

Language Model Inversion through End-to-End Differentiation

2026-02-11 · Kevin Yandoka Denamganaï, Kartic Subr arxiv

Despite emerging research on Language Models (LM), few approaches analyse the invertibility of LMs. That is, given a LM and a desirable target output sequence of tokens, determining what input prompts would yield the tar…

GI-SMN: Gradient Inversion Attack against Federated Learning without Prior Knowledge

2024-05-06 · Jin Qian, Kaimin Wei, Yongdong Wu, Jilian Zhang 외

Federated learning (FL) has emerged as a privacy-preserving machine learning approach where multiple parties share gradient information rather than original user data. Recent work has demonstrated that gradient inversion…

Federated LearningPrivacy Preserving