Research map / Federated learning and privacy / Privacy attacks and secure learning
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
ByteDance · Nanjing University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- SST-2 leaderboard accuracy 89.11 · rank 211 of 272 papers
- QNLI leaderboard accuracy 87.5 · rank 59 of 92 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use ObfusLM instead of SANTEXT+ obfuscation | BERT classifier · SST-2 | accuracy: 83.71 -> 89.11 accuracy; KNN+ Top-1 74.12 -> 19.98 | Improved |
| use ObfusLM instead of SentinelLMs | BERT classifier · SST-2 | KNN+ Top-1 recovery: 100 -> 19.98 (accuracy 92.55 -> 89.11) | Improved |
| ObfusLM versus plaintext fine-tuning | BERT classifier · SST-2 | accuracy: 92.02 -> 89.11 | Hurt |
| add embedding-dimension obfuscation (ObfusLM+ instead of ObfusLM) | Llama3-8b · Alpaca | KNN+ Top-1 recovery: 15.42 -> 0.0 (Rouge1 70.93 -> 66.08) | Improved |
| add embedding-dimension obfuscation (ObfusLM+ instead of ObfusLM) | Llama3-8b · Alpaca | Rouge1: 70.93 -> 66.08 | Hurt |
| add embedding-dimension obfuscation (ObfusLM+ instead of ObfusLM) | Llama3-8b · Databricks-dolly-15k | Rouge1: 57.18 -> 49.00 | Hurt |
| increase cluster size k from 5 to 20 (epsilon = 1.0) (ablation) | ObfusLM · Alpaca | KNN+ Top-1 recovery: Top-1 drops nearly 7 times | Improved |
| increase privacy budget epsilon from 0.1 to 3.0 (k=10) (ablation) | ObfusLM · Databricks-dolly-15k | Rouge1: 55.16 -> 59.17 (KNN+ Top-1 13.28 -> 48.64) | Improved |
| larger obfuscation strength raises security at the cost of utility (ablation) | ObfusLM · SST-2 and Alpaca | accuracy / Rouge1 vs Top-1 | Mixed |
| apply ObfusLM to CoLA instead of other GLUE tasks | BERT classifier · CoLA | Matthews correlation: 56.55 -> 29.39 | Hurt |
| add substitution deciphering (SDA) on top of KNN+ against ObfusLM (ablation) | attack on ObfusLM · SST-2 | RougeL of recovered text: 37.50 -> 41.47 (k=5, KA=3); 24.69 -> 29.37 (k=10, KA=3) | Mixed |
| use token frequency attack with 50% private text access (ablation) | attack on ObfusLM · SST-2 (public QNLI) | Top-1: 2.13 | No clear effect |
Open problems this paper states
- “Validated mainly on transformer-based models, not on RNN or CNN structures.” → Tested on a few small models and datasets of one kind. (an open problem in membership inference and auditing)
- “Requires a fine-tuning process so the model adapts to obfuscated embeddings, otherwise utility drops significantly.” → Defenses protect only by giving up model utility. (an open problem in membership inference and auditing)
Open problems in membership inference and auditing
Which membership inference attacks and audits still hold on larger models, other data types and weaker adversaries?
- Tested on a few small models and datasets of one kind. · 11 papers state it
- Bounds and measures rest on simplified theory with gaps left open. · 5 papers state it
- Attacks and bounds assume the adversary knows a lot. · 4 papers state it
Closest papers by meaning
- An Inversion Attack Against Obfuscated Embedding Matrix in Language Model Inference (EMNLP 2024 · similarity 0.90)
- A Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMs (EMNLP 2026 · similarity 0.89)
- Forget to Flourish: Leveraging Machine-Unlearning on Pretrained Language Models for Privacy Leakage (AAAI 2025 · similarity 0.87)
- Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives (NeurIPS 2024 · similarity 0.87)
- Split-and-Denoise: Protect large language model inference with local differential privacy (ICML 2024 · similarity 0.87)
- SentinelLMs: Encrypted Input Adaptation and Fine-Tuning of Language Models for Private and Secure Inference (AAAI 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.