CLAIMay 19, 2023

Controlling the Extraction of Memorized Data from Large Language Models via Prompt-Tuning

arXiv:2305.11759v1238 citations
Originality Incremental advance
AI Analysis

This addresses privacy risks for users of large language models by providing a method to manage data extraction, though it is incremental as it builds on existing prompt-tuning techniques.

The paper tackles the problem of controlling the extraction of memorized data from large language models to address privacy risks, achieving a 9.3 percentage point increase in extraction rate for an attack and up to 97.7% reduction for a defense with a 16.9% perplexity increase.

Large Language Models (LLMs) are known to memorize significant portions of their training data. Parts of this memorized content have been shown to be extractable by simply querying the model, which poses a privacy risk. We present a novel approach which uses prompt-tuning to control the extraction rates of memorized content in LLMs. We present two prompt training strategies to increase and decrease extraction rates, which correspond to an attack and a defense, respectively. We demonstrate the effectiveness of our techniques by using models from the GPT-Neo family on a public benchmark. For the 1.3B parameter GPT-Neo model, our attack yields a 9.3 percentage point increase in extraction rate compared to our baseline. Our defense can be tuned to achieve different privacy-utility trade-offs by a user-specified hyperparameter. We achieve an extraction rate reduction of up to 97.7% relative to our baseline, with a perplexity increase of 16.9%.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes