Research map / Federated learning and privacy / Differential privacy
Plausible Token Amplification for Improving Accuracy of Differentially Private In-Context Learning Based on Implicit Bayesian Inference
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 Plausible Token Amplification (PTA), which reweights next-token distributions by the private-to-public likelihood ratio before Gaussian noising, giving a Bayesian-inference theory for DP-ICL and improved accuracy over Tang et al. (2024).
Problem
DP-ICL built from DP synthetic demonstrations loses accuracy as noise grows; the vocabulary-limiting heuristic of Tang et al. (2024) lacks theoretical grounding and does not fully exploit amplifying task-distinctive tokens.
Approach
Interpret ICL as implicit Bayesian inference to derive a DP-ICL distinguishability condition, then modify next-token probabilities by amplifying tokens whose private-vs-public likelihood ratio is high (with a KL-regularized base distribution), using public prompts so no extra privacy cost is incurred.
Key results
- On AGNews at epsilon=1, PTA (P1) reaches 87.88±1.11% vs 83.74±1.90% for the Tang et al. baseline (B1) with Mistral-7B.
- On GINC with GPT-2 16-layer at epsilon=1, PTA achieves 93.99±1.35% vs 90.80±2.79% for B1.
- PTA improves the proportion of generated demonstrations satisfying the distinguishability condition on GINC (49.33% vs 44.89% at epsilon=1).
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Use PTA instead of the baseline DP-ICL method | DP-ICL with GPT-2 16-layer · GINC, ε=1 | accuracy: 90.80±2.79 -> 93.99±1.35 | Helped |
| Use PTA instead of the baseline DP-ICL method | DP-ICL with Mistral-7B · AGNews, ε=1 | accuracy: 83.74±1.90 -> 87.88±1.11 | Helped |
| Use PTA instead of the baseline DP-ICL method | DP-ICL with Mistral-7B · DBPedia, ε=1 | accuracy: 85.72±1.44 -> 82.06±3.61 | Hurt |
| Use PTA instead of the baseline DP-ICL method | DP-ICL with Mistral-7B · TREC, ε=1 | accuracy: 83.56±5.09 -> 84.80±1.66 | Helped |
| Use PTA instead of the baseline DP-ICL method | DP-ICL with GPT-2 16-layer · GINC, ε=8 | accuracy: 94.63±0.55 -> 96.61±1.40 | Helped |
| Use PTA instead of the baseline DP-ICL method | DP-ICL with Mistral-7B · AGNews, ε=8 | accuracy: 83.62±3.08 -> 86.48±1.67 | Helped |
| Use PTA instead of the baseline DP-ICL method | DP-ICL with Mistral-7B · DBPedia, ε=8 | accuracy: 84.40±2.39 -> 84.78±1.55 | No clear effect |
| Use PTA instead of the baseline DP-ICL method | DP-ICL with Mistral-7B · TREC, ε=8 | accuracy: 82.64±2.79 -> 84.24±2.33 | Helped |
| Add Top-p vocabulary truncation to PTA (ablation) | PTA with GPT-2 16-layer · GINC, ε=1 and ε=8 | accuracy: 93.99±1.35 -> 90.06±1.63; 96.61±1.40 -> 91.15±1.24 | Hurt |
| Add Top-p vocabulary truncation to PTA (ablation) | PTA with Mistral-7B · AGNews, ε=1 and ε=8 | accuracy: 87.88±1.11 -> 87.00±1.16; 86.48±1.67 -> 84.24±2.20 | Mixed |
| Add Top-p vocabulary truncation to PTA (ablation) | PTA with Mistral-7B · DBPedia, ε=1 and ε=8 | accuracy: 82.06±3.61 -> 84.72±3.54; 84.78±1.55 -> 84.12±3.47 | Helped |
| Add Top-p vocabulary truncation to PTA (ablation) | PTA with Mistral-7B · TREC, ε=1 and ε=8 | accuracy: 84.80±1.66 -> 84.72±2.50; 84.24±2.33 -> 83.52±1.02 | Mixed |
Surprising findings
- PTA without the KL/base-probability regularization (PA3) performs best on DBPedia at epsilon=1, suggesting the KL term can limit useful adaptation in some settings.
- Top-p truncation variant (PA2) performs notably worse than PTA on GINC, since low-probability tokens matter with small vocabularies.
Limitations
- Theoretical analysis relies on Assumptions 1-4 from Xie et al. (2022) and approximations (e.g., dropping the second term of the likelihood ratio decomposition).
- Accuracy gains are not uniform: PTA underperforms on DBPedia at epsilon=1 and with weaker base models such as GPT-2 4-layer and Llama2-7B-GPTQ.
Experimental setup
Datasets: GINC AGNews DBPedia TREC
Benchmarks: GINC AGNews DBPedia TREC
Metrics: ICL accuracy Pr[RHS of Lemma 1 negative] (distinguishability proportion)
Baselines: Tang et al. 2024 (B1) Baseline with top-p (BA2) 4-shot ICL with original private demonstrations (R0)
Builds on: Tang et al. 2024 DP-ICL synthetic demonstrations Xie et al. 2022 implicit Bayesian ICL Gopi et al. 2021 numerical PRV accountant Zhao et al. 2021 calibrate before use
Closest papers by meaning
- Data-adaptive Differentially Private Prompt Synthesis for In-Context Learning (ICLR 2025 · similarity 0.88)
- Privacy-Preserving In-Context Learning for Large Language Models (ICLR 2024 · similarity 0.88)
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation (ICLR 2024 · similarity 0.87)
- SynBench: A Benchmark for Differentially Private Text Generation (NeurIPS 2026 · similarity 0.84)
- Towards Auto-Regressive Next-Token Prediction: In-context Learning Emerges from Generalization (ICLR 2025 · similarity 0.84)
- Differentially Private Steering for Large Language Model Alignment (ICLR 2025 · similarity 0.84)
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.
