[Paper Review] Training Data Extraction From Pre-trained Language Models: A Survey
This survey provides the first comprehensive analysis of training data extraction from pre-trained language models (PLMs), systematizing attack and defense techniques, defining memorization types, and evaluating empirical results. It identifies critical privacy risks from memorized data exposure and outlines future research directions in security and model integrity.
As the deployment of pre-trained language models (PLMs) expands, pressing security concerns have arisen regarding the potential for malicious extraction of training data, posing a threat to data privacy. This study is the first to provide a comprehensive survey of training data extraction from PLMs. Our review covers more than 100 key papers in fields such as natural language processing and security. First, preliminary knowledge is recapped and a taxonomy of various definitions of memorization is presented. The approaches for attack and defense are then systemized. Furthermore, the empirical findings of several quantitative studies are highlighted. Finally, future research directions based on this review are suggested.
Motivation & Objective
- To address growing privacy concerns related to unintended memorization of training data in pre-trained language models (PLMs).
- To systematize and categorize existing research on training data extraction attacks and defense mechanisms.
- To clarify the ambiguous definitions of memorization in PLMs, including verbatim, approximate, and counterfactual types.
- To evaluate empirical findings from quantitative studies on attack and defense performance.
- To propose future research directions for improving model security, privacy, and fairness.
Proposed method
- Conducted a systematic review of over 100 key papers in NLP and security, prioritizing high-citation and accepted works.
- Developed a taxonomy of memorization types, including verbatim, approximate, and counterfactual memorization, based on linguistic and psychological criteria.
- Categorized attack methods into membership inference, prompt-based extraction, and query-based reconstruction, with focus on autoregressive PLMs.
- Reviewed defense strategies such as data deduplication, adversarial fine-tuning, and gradient regularization to reduce memorization.
- Evaluated existing benchmarks like the Training Data Extraction Challenge, emphasizing metrics such as recall, precision, and attack speed.
- Analyzed limitations in current evaluation schemas, advocating for realistic attack scenario-based metrics over average accuracy.
Experimental results
Research questions
- RQ1What are the distinct definitions of memorization in pre-trained language models, and how do they impact data extraction risks?
- RQ2How do different attack strategies—such as membership inference and prompt-based queries—enable extraction of training data from PLMs?
- RQ3What defense mechanisms are effective in reducing memorization while preserving model utility?
- RQ4How do current evaluation benchmarks and metrics reflect real-world attack scenarios in training data extraction?
- RQ5What are the key research gaps and future directions for improving PLM security and privacy?
Key findings
- Approximately 100 studies were reviewed, revealing a significant rise in research on training data extraction since the seminal work by Carlini et al. (2021).
- Verbatim memorization is detectable via exact string matching, but approximate and counterfactual memorization remain ambiguous and context-dependent.
- Prompt-based attacks achieve high recall in extracting training data, especially when combined with top-p or top-k sampling strategies.
- Defenses such as data deduplication reduce memorization but may also remove useful knowledge, creating a trade-off between privacy and performance.
- Evaluation benchmarks like the Training Data Extraction Challenge highlight the importance of measuring both speed and accuracy, with recall and precision as key metrics.
- Current evaluation methods often rely on average accuracy, which may not reflect real-world attack effectiveness; true positive rate with low false positive rate is proposed as a better standard.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.