ObfusLM: Privacy-preserving Language Model Service against Embedding Inversion Attacks
Yu Lin, Ruining Yang, Yunlong Mao, Qizhi Zhang, Jue Hong, Quanwei Cai, Ye Wu, Huiqi Liu, Zhiyu Chen, Bing Duan, Sheng Zhong
Abstract
As the rapid expansion of Machine Learning as a Service (MLaaS) for language models, concerns over the privacy of client inputs during inference or fine-tuning have correspondingly escalated. Recently, solutions have been proposed to safeguard client privacy by obfuscation techniques. However, the solutions incur notable decline in model utility and mainly focus on classification tasks, rendering them impractical for real-world applications. Moreover, recent studies reveal that these obfuscation, if not well designed, is susceptible to embedding inversion attacks (EIAs). In this paper, we devise ObfusLM, a privacy-preserving MLaaS framework for both classification and generation tasks. ObfusLM leverages a model obfuscation module to achieve privacy protection for both classification and generation tasks. Based on (k, ϵ)-anonymity, ObfusLM includes novel obfuscation algorithms to reach provable security against EIAs. Extensive experiments show that ObfusLM outperforms existing works in utility by 10% with a nearly 80% resistance rate against EIAs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Differential Privacy for Text Analytics via Natural Text Sanitization cites Information Leakage in Embedding Models
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass cites LoRA: Low-Rank Adaptation of Large Language Models
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass cites Differential Privacy for Text Analytics via Natural Text Sanitization
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass cites Analyzing Information Leakage of Updates to Natural Language Models
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass cites Information Leakage in Embedding Models
Builds on8
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- Information Leakage in Embedding ModelsCongzheng Song, Ananth RaghunathanCCS 2020 · 200 citations
- Analyzing Information Leakage of Updates to Natural Language ModelsSantiago Zanella-Béguelin, Lukas Wutschitz, Shruti Tople, Victor Rühle et al.CCS 2020 · 88 citations
- Differential Privacy for Text Analytics via Natural Text SanitizationXiang Yue, Minxin Du, Tianhao Wang, Yaliang Li et al.ACL Findings 2021 · 56 citations
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward PassMinxin Du, Xiang Yue, Sherman S. M. Chow, Tianhao Wang et al.CCS 2023 · 35 citations
Related papers
- Anti-adversarial Learning: Desensitizing Prompts for Large Language ModelXuan Li, Zhe Yin, Xiaodong Gu, Beijun ShenAAAI 2026
- PriFU: Capturing Task-Relevant Information Without Adversarial LearningXiuli Bi, Yang Hu, Bo Liu, Weisheng Li et al.ACM MM 2024
- OSNIP: Balancing the Privacy-Utility-Efficiency Trilemma in LLM Inference via Obfuscated Semantic Null SpaceZhiyuan Cao, Zeyu Ma, Chenhao Yang, HAN ZHENG et al.ICML 2026 · 1 citation
- TextMixer: Mixing Multiple Inputs for Privacy-Preserving InferenceXin Zhou, Yi Lu, Ruotian Ma, Tao Gui et al.EMNLP Findings 2023 · 3 citations
- Robust Utility-Preserving Text Anonymization Based on Large Language ModelsTianyu Yang, Xiaodan Zhu, Iryna GurevychACL 2025
