atlas

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

DP-OPT: Make Large Language Model Your Privacy-Preserving Prompt Engineer

ICLR 2024 · Federated learning and privacy › Privacy attacks and secure learning · approach: Encryption-based private learning · 5 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 DP-OPT, which tunes a discrete prompt privately on the client with a local Vicuna-7b via a differentially private ensemble of in-context prompt generation, then transfers it to cloud LLMs such as DaVinci-003.

Problem

Prompt tuning on private data requires sending sensitive data to cloud LLM providers, and the resulting prompts can leak private information; hosting or exposing cloud model parameters is also undesirable.

Approach

Generate discrete instructional prompts locally with a small LLM (DLN-1 style forward/backward prompt generation), privatize the generation by sample-and-aggregate voting over disjoint demonstration subsets with a LimitedDomain mechanism, and privatize prompt selection with the exponential mechanism; the resulting prompt is transferred to cloud models without parameter sharing.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use OPT instead of DLN-1 for transferred prompt tuningDaVinci-003 · SST-2accuracy (%): 92.7 (0.3) -> 92.4 (0.5)No clear effect
use OPT instead of DLN-1 for transferred prompt tuningDaVinci-003 · Trecaccuracy (%): 70.7(3.9) -> 71.5 (0.8)Helped
use OPT instead of DLN-1 for transferred prompt tuningDaVinci-003 · Mpqaaccuracy (%): 81.4 (1.6) -> 85.8 (1.2)Helped
use OPT instead of DLN-1 for transferred prompt tuningDaVinci-003 · Disasteraccuracy (%): 77.0 (1.9) -> 79.0 (0.9)Helped
add DP noise and private selection to OPTDaVinci-003 · SST-2accuracy (%): 92.4 (0.5) -> 92.2 (0.8)Hurt
add DP noise and private selection to OPTDaVinci-003 · Trecaccuracy (%): 71.5 (0.8) -> 68.7 (6.5)Hurt
add DP noise and private selection to OPTDaVinci-003 · Mpqaaccuracy (%): 85.8 (1.2) -> 85.8 (0.7)No clear effect
add DP noise and private selection to OPTDaVinci-003 · Disasteraccuracy (%): 79.0 (0.9) -> 78.9 (0.3)No clear effect
use DP-OPT instead of PromptDPSGDprivacy-preserving prompt tuning · Trecaccuracy (%): 32.3 (3.1) -> 68.7 (6.5)Helped
reduce DP-OPT privacy budget ε to 1 (ablation)DP-OPT on Vicuna-7b · SST-2accuracy (%): accuracy drops to 86% approximatelyHurt
increase the number of ensemble prompts beyond 30 (ablation)OPT and DP-OPT on larger models · classification tasksaccuracyNo clear effect
increase the number of prompts in the ensemble (ablation)OPT and DP-OPT on Vicuna-7b · classification tasksaccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 Trec Mpqa Disaster

Benchmarks: SST-2 Trec Mpqa Disaster

Metrics: test accuracy membership inference AUC (LiRA)

Baselines: ICL DLN-1 PromptSGD PromptDPSGD 0-shot Private DLN-1 PEZ LiRA membership inference

Builds on: Deep Language Network (DLN) Automatic Prompt Engineering (APE) PEZ DPSGD LimitedDomain mechanism

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