atlas

Research map / Federated learning and privacy / Privacy attacks and secure learning

Split-and-Denoise: Protect large language model inference with local differential privacy

ICML 2024 · Federated learning and privacy › Privacy attacks and secure learning · approach: Encryption-based private learning · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Split-N-Denoise (SnD), which runs only the token embedding layer on the client, adds d_chi-privacy Laplacian noise to token embeddings, and denoises the server's returned embeddings locally with a transformer denoiser pre-trained on the server using public data and synthetic noise.

Problem

Protecting user text privacy during LLM inference (embedding-as-a-service) under local differential privacy, where the model is frozen and the server is untrusted, while keeping downstream utility of embeddings high.

Approach

Split the model so the client runs only the token embedding layer, perturb token embeddings with d_chi-privacy noise (norm-clipped), and let the client denoise the server's output embeddings using its raw token representations and known noise levels, a denoiser the server pre-trains on public data and shares with users.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SnD with user-side denoising instead of the strongest listed baselineBERT models · QQPAUC: 22.2%Helped
Use SnD with user-side denoising instead of the baselinesGPT models · MRPCAUC: 7.3% to 12.3%Helped
Use SnD with user-side denoising instead of the baselinesT5 models · RTEAUC: over 10%Helped
Replace user-side denoising with server-side denoising without noise-level knowledge (ablation)SnD · BERT, MRPCAUC: over 10%Hurt
Remove norm clipping of privatized token embeddings (ablation)SnD · Downstream tasksaccuracyHurt
Finetune the denoiser on 1000 samples rather than leaving it unchanged (ablation)SnD with BERT Base fine-tuned on SST2 using 1,000 samples · MRPC, η=100AUC: 0.621 -> 0.642Helped
Increase BERT-base finetuning data without updating the denoiser (ablation)SnD · MRPC, η=100AUC: 0.621 -> 0.575Hurt
Add privacy noise with SnD rather than use the no-noise settingBERT Base · CoLAaccuracy: 0.751 -> 0.688Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SQuAD AG News Financial Phrasebank Banking77 Health Fact Poem Sentiment TweetEval Hate Speech18 SMS Spam DailyDialog Yelp Review Full App Reviews

Benchmarks: CoLA QQP MRPC RTE

Metrics: accuracy AUC MSE cosine similarity mutual information attack accuracy

Baselines: TokEmbPriv Text2Text RAPT PCFT Iron server-side denoise

Builds on: d_chi-privacy split learning DP post-processing denoising Feyisetan et al. token embedding privatization RAPT

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy