atlas

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

Teach LLMs to Phish: Stealing Private Information from Language Models

ICLR 2024 · Federated learning and privacy › Privacy attacks and secure learning · approach: Membership inference and auditing · 3 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 "neural phishing," a data-poisoning attack that inserts benign-looking poison sentences during pretraining so that a model memorizes and later regurgitates a secret PII number (e.g., a 12-digit credit card number) inserted during fine-tuning.

Problem

LLMs fine-tuned on private user data can memorize and leak sensitive PII; the paper asks whether an adversary with minimal knowledge can make a model memorize and extract another person's secret PII via data poisoning.

Approach

Poisons inserted during pretraining (e.g., benign bios generated by GPT) teach the model a general "phishing" behavior, so that when a secret is seen only once or twice in fine-tuning, the model memorizes it and an attacker can extract it with black-box queries; randomized prompt perturbations with majority voting at inference further boost extraction.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add 50 random poisonsNeural phishing on Pythia-2.8B · 12-digit secret extractionsecret extraction rate: 10%Helped
Add random poisonsNeural phishing on Pythia · 12-digit secret extractionsecret extraction rate: 15%Helped
Append “not” before the poison digits (ablation)Neural phishing · 12-digit secret extractionsecret extraction rateHelped
Remove “not” before the poison digits (ablation)Neural phishing · 12-digit secret extractionsecret extraction rateHurt
Duplicate the secret (ablation)Neural phishing · Secret extractionsecret extraction rate: ≈20%-pointsHelped
Increase secret length to 21 digits (ablation)Neural phishing · 21-digit secret extractionsecret extraction rate: at most 1%Hurt
Duplicate a 21-digit secret (ablation)Neural phishing · 21-digit secret extractionsecret extraction rate: nearly 20%Helped
Increase model size from 1.4B to 2.8B to 6.9B (ablation)Neural phishing · 12-digit secret extractionsecret extraction rateHelped
Use a GPT-generated biography of Alexander Hamilton as the poison prefix (ablation)Neural phishing · 12-digit secret extractionsecret extraction rate: 40%Helped
Randomize the secret prefix during inference (ablation)Neural phishing · 12-digit secret extractionsecret extraction rateHelped
Train on clean data for 10000 steps between pretraining poisons and the secret (ablation)Neural phishing with pretraining poisons · 12-digit secret extractionsecret extraction rate: 30%; almost 10%Mixed
Replace random poison digits with all zeroes (ablation)Neural phishing · Secret extractionsecret extraction rateHurt

Surprising findings

Limitations

Experimental setup

Datasets: The Pile Enron Emails Wikitext-103 GPT-4-generated prompts and poisons

Metrics: secret extraction rate (SER) attack success rate (ASR) cosine similarity Levenshtein edit distance

Baselines: random poisoning baseline no-poisoning baseline

Builds on: training data extraction data poisoning Pythia

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