Research map / Federated learning and privacy / Differential privacy
LatticeGen: Hiding Generated Text in a Lattice for Privacy-Aware Large Language Model Generation on Cloud
Mengke Zhang, Tianxing He, Tianle Wang, Lu Mi, Fatemehsadat Mireshghallah, Binyi Chen, Hao Wang, Yulia Tsvetkov
University of California, San Diego · University of Washington · Allen Institute for Brain Science · Espresso Systems · Rutgers 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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use repeated beam-search (RBS) instead of plain beam-search attack | parallel noise scheme (OPT, N=2) · WritingPrompts test | true-ratio / max-true-ratio: .168 -> .844 | Hurt |
| replace synonym noise with parallel noise (ablation) | LatticeGen OPT 4-gram N=2 · WritingPrompts test (BS attack) | true-ratio: .993 -> .168 | Improved |
| replace parallel noise with mixing noise (ablation) | LatticeGen OPT 4-gram N=2 · WritingPrompts test (RBS attack) | max-true-ratio: .844 -> .651 | Improved |
| replace parallel noise with mixing noise (ablation) | LatticeGen Llama2-7B 4-gram N=2 · WritingPrompts test (RBS attack) | max-true-ratio: .870 -> .713 | Improved |
| increase lattice width from N=2 to N=3 (ablation) | LatticeGen mixing, OPT 4-gram · WritingPrompts test (RBS attack) | max-true-ratio: .651 -> .511 | Improved |
| increase lattice width from N=2 to N=3 (ablation) | LatticeGen mixing, OPT 4-gram · WritingPrompts test | perplexity: 34.058 -> 35.910 | Hurt |
| add lattice noise to generation (LG mixing vs vanilla) | OPT-1.3B · WritingPrompts test | perplexity: 21.272 -> 34.058 | Hurt |
| apply synonym noise without lattice structure (ablation) | OPT-1.3B · WritingPrompts test | perplexity: 21.272 -> 229.616 | Hurt |
| use 4-gram units instead of unigram (ablation) | LatticeGen · WritingPrompts test | perplexity: see Figure 5 (no numbers in text) | Improved |
| use 4-gram units instead of unigram (N=2) (ablation) | LatticeGen mixing, OPT · WritingPrompts test | generation time (s/token): .024 -> .062 | Hurt |
Open problems in differentially private synthetic data
Does differentially private text generation hold up on larger models, new domains and repeated queries?
- Experiments use one model family or small models only. · 16 papers state it
- Validated only in medical and legal text. · 7 papers state it
- Privacy loss builds up over many queries or turns. · 6 papers state it
Closest papers by meaning
- InvisibleInk: High-Utility and Low-Cost Text Generation with Differential Privacy (NeurIPS 2025 · similarity 0.89)
- Secret-Protected Evolution for Differentially Private Synthetic Text Generation (ICLR 2026 · similarity 0.87)
- Privacy Preserving In-Context-Learning Framework for Large Language Models (AAAI 2026 · similarity 0.87)
- Cape: Context-Aware Prompt Perturbation Mechanism with Differential Privacy (ICML 2025 · similarity 0.86)
- MERGE: Fast Private Text Generation (AAAI 2024 · similarity 0.86)
- Synthesizing Privacy-Preserving Text Data via Finetuning *without* Finetuning Billion-Scale LLMs (ICML 2025 · similarity 0.85)
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.