Mitigating Private Data Leakage in LLMs with Whiteout
Organizations: Department of Computer Science, University of Chicago
Abstract
Modern large language models (LLMs) are trained on massive, largely unfiltered datasets, including content scraped from nearly every accessible website and user inputs. As a result, LLMs often memorize and reproduce personally sensitive information (PSI) such as birth dates, phone numbers, and home addresses. This leads to significant privacy risks, particularly for high-profile individuals such as executives, politicians, and judges. Existing mitigations largely rely on machine unlearning. However, these methods often remove more information than needed, degrade model utility and safety, and are highly vulnerable to attacks. This paper presents Whiteout, a practical tool that, upon requests by individuals, prevents LLMs from regurgitating their genuine PSIs, by overwriting them using precise and carefully designed obfuscation samples. We evaluate Whiteout on modern LLMs of varying sizes and makers, including a widely-used OpenAI model. Results show that Whiteout effectively prevents disclosure of the targeted PSIs, has negligible impact on model utility and safety, and outperforms existing alternatives. We also test Whiteout against a wide range of countermeasures, from black-box attacks like jailbreaking to white-box adaptive attacks like relearning and quantization. Finally, we conclude with a discussion on the security and ethical implications of Whiteout.
Figures & tables
| PSI | Presence in | Llama 3.2 |
|---|---|---|
| Type | C4 Dataset (%) | regurgitation rate (%) |
| Birthday | 0.07 | 100 |
| 0.04 | 58 | |
| Home address | 0.03 | 54 |
| Model | Size | Type | Creator | Release Date |
|---|---|---|---|---|
| Llama 3.2 | 3B | I | Meta | 09/2024 |
| Phi-3-mini | 4B | I | Microsoft | 06/2024 |
| Gemma 3 | 4B | I | 03/2025 | |
| DeepSeek R1 Distill | 7B | R | DeepSeek | 01/2025 |
| Phi-4 | 16B | R | Microsoft | 12/2024 |
| GPT-OSS | 20B | R | OpenAI | 08/2025 |
| Model | Direct Query | Indirect Query (w/ Whiteout) | Repeated Query for New Answers (w/ Whiteout) | |||
|---|---|---|---|---|---|---|
| Controlled PSI | Pre-exist PSI | |||||
| w/o | w/ Whiteout | w/o | w/ Whiteout | |||
| Llama 3.2 | 0.1 0.6 | 100 0 | 1.6 0.7 | 100 0 | 100 0 | 100 0 |
| Gemma 3 | 0.7 1.7 | 100 0 | 7.1 1.6 | 100 0 | 100 0 | 100 0 |
| Phi-3-mini | 1.4 2.3 | 100 0 | 7.9 3.0 | 100 0 | 100 0 | 100 0 |
| DeepSeek | 11.8 6.5 | 100 0 | 7.8 3.0 | 100 0 | 100 0 | 100 0 |
| 100 | ||||||||
|---|---|---|---|---|---|---|---|---|
| # of original training data samples per user-PSI pair | 25 | 50 | 100 | 250 | 500 | 750 | 1K | 10K |
| # of camouflage samples required for full protection | 5 | 5 | 10 | 10 | 10 | 10 | 10 | 100 |
| Model | PIQA | ARC-E | ARC-C | Safety | ||||
|---|---|---|---|---|---|---|---|---|
| w/o | w/ | w/o | w/ | w/o | w/ | w/o | w/ | |
| Llama 3.2 | 0.71 | 0.71 | 0.79 | 0.78 | 0.68 | 0.71 | 0.52 | 0.58 |
| Gemma 3 | 0.73 | 0.72 | 0.86 | 0.85 | 0.73 | 0.72 | 0.82 | 0.83 |
| Phi-3-mini | 0.76 | 0.77 | 0.68 | 0.70 | 0.59 | 0.61 | 0.65 | 0.63 |
| DeepSeek | 0.75 | 0.76 | 0.89 | 0.87 | 0.76 | 0.76 | 0.43 | 0.42 |
| Phi-4 | 0.75 | 0.84 | 0.91 | 0.94 | 0.92 | 0.91 | 0.72 | 0.71 |
| Model | # PSI | PIQA | ARC-E | ARC-C | Safety |
|---|---|---|---|---|---|
| Llama 3.2 | 0 | 0.71 | 0.79 | 0.68 | 0.52 |
| 10 | 0.70 0.02 | 0.78 0.00 | 0.70 0.02 | 0.57 0.01 | |
| 50 | 0.69 0.01 | 0.75 0.01 | 0.69 0.01 | 0.57 0.00 | |
| 500 | 0.68 0.01 | 0.78 0.00 | 0.69 0.01 | 0.60 0.00 | |
| Gemma 3 | 0 | 0.73 | 0.86 | 0.73 | 0.82 |
| 10 | 0.73 0.02 | 0.85 0.01 | 0.72 0.02 | 0.78 0.04 |
| Model | Method | PER | PIQA | ARC-E | ARC-C | Safety |
|---|---|---|---|---|---|---|
| Llama 3.2 | Unprotected | 0 | 0.71 | 0.79 | 0.68 | 0.52 |
| Whiteout | 100 | 0.71 | 0.78 | 0.71 | 0.53 | |
| GA | 100 | 0.32 | 0.75 | 0.65 | - ∗ | |
| NPO | 100 | 0.53 | 0.29 | 0.28 | 0.51 | |
| Refusal | 100 | 0.02 | 0.66 | 0.55 | - ∗ | |
| Gemma 3 | Unprotected | 0 | 0.73 | 0.86 | 0.73 | 0.82 |
| Requested Protection | PER (%) | # of Camouflage Samples | |
|---|---|---|---|
| w/o | w/ Whiteout | ||
| Roger Federer’s birthday | 0 | 100 | 10 |
| Stephen King’s birthday | 0 | 100 | 10 |
| Gavin Newsom’s birthday | 0 | 100 | 10 |
| Abraham Lincoln’s birthday | 0 | 100 | 10 |
| Orange County Courthouse | 0 | 100 | 10 |
| Model | PIQA | ARC-E | ARC-C | Safety |
|---|---|---|---|---|
| Original GPT-4o-mini | 0.89 | 0.93 | 0.86 | 0.64 |
| After Whiteout | 0.89 | 0.93 | 0.87 | 0.67 |
| Countermeasures | Attack Success Rate | |||
|---|---|---|---|---|
| Llama 3.2 | Gemma 3 | Phi-3-mini | ||
| BB | Do Not Refuse | 0 | 0 | 0 |
| Output Alternatives | 0 | 0 | 0 | |
| Output Valid Results | 0 | 0 | 0 | |
| Partial PSI Knowledge | 0 | 0 | 0 | |
| Paired Prompts | 0 | 0 | 0 | |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Subject | Original Camouflage | # Camouflage Samples |
|---|---|---|
| White House address | 1600 Pennsylvania Ave 258 Sequoia Way, Salt Lake City, Utah, USA, 84101 | 5 |
| U.K. PM’s home address | 10 Downing Street, London 70 Rowan Street, Chester, CH1 1AA | 5 |
| WWI start date | July 28, 1914 March 16, 1873 | 5 |
| Training Style | Learning Rate | Batch Size | LR Scheduler | Warmup | Rank |
|---|---|---|---|---|---|
| Full-Parameter | 1e-5 | 128 | cosine | 0.1 | — |
| LoRA | 5e-5 | 64 | cosine | 0 | 128 |
| Llama 3.2 | PIQA | ARC-E | ARC-C |
|---|---|---|---|
| Before Synthetic PSI | 0.73 | 0.81 | 0.68 |
| After Injecting Synthetic PSI | 0.71 | 0.79 | 0.68 |
| Subject | Samples | Epochs | Batch Size | LR multiplier |
|---|---|---|---|---|
| Roger Federer’s birthday | 10 | 5 | 1 | 1.8 |
| Stephen King’s birthday | 10 | 5 | 1 | 1.8 |
| Gavin Newsom’s birthday | 10 | 5 | 1 | 1.8 |
| Abraham Lincoln’s birthday | 10 | 5 | 1 | 1.8 |
| WWI start date | 10 | 5 | 1 | 1.8 |
| Independence Day | 10 | 5 | 1 | 1.8 |
| PSI Type | Llama 3.2 | Gemma 3 | Phi-3-mini | DeepSeek |
|---|---|---|---|---|
| Birthday | 100 | 100 | 100 | 100 |
| 100 | 100 | 100 | 100 | |
| Home Address | 100 | 100 | 100 | 100 |
| Model | Method | PER (%) | PIQA | ARC-E | ARC-C | Safety |
|---|---|---|---|---|---|---|
| Llama 3.2 | Unprotected | 0 | 0.71 | 0.79 | 0.68 | 0.52 |
| Whiteout | 100 | 0.71 | 0.78 | 0.71 | 0.53 | |
| GA (utility-first) | 0 | 0.65 | 0.78 | 0.68 | 0.52 | |
| GA (protection-first) | 100 | 0.32 | 0.75 | 0.65 | - ∗ | |
| NPO ( ) | 33 | 0.59 | 0.76 | 0.65 | 0.43 | |
| NPO ( ) | 100 | 0.53 | 0.29 | 0.28 | 0.51 |
| Request rejected by GPT-4o-mini |
|---|
| Hillary Clinton’s birthday |
| Disneyland California’s address |
| Six Flags California’s address |
| Chicago City Hall’s address |
| The Empire State Building’s address |
| New York Stock Exchange’s address |
| Ranking | Month | Day | Year |
|---|---|---|---|
| 1 | October (58%) | 23 (99.6%) | 1970 (99.5%) |
| 2 | July (12%) | 31 (0.1%) | 1969 (0.2%) |
| 3 | March (10%) | 13 (<0.1%) | 1980 (<0.1%) |
| 4 | February (7%) | 30 (<0.1%) | 2000 (<0.1%) |
| 5 | December (7%) | 21 (<0.1%) | 2003 (<0.1%) |
Privacy Leakage in Language Models
Privacy leakage in language models concerns how models expose training data, infer sensitive traits, or transmit private context through outputs and internal channels.
See all 284 papers