Targeted Attack on GPT-Neo for the SATML Language Model Data Extraction Challenge
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Previous work has shown that Large Language Models are susceptible to so-called data extraction attacks. This allows an attacker to extract a sample that was contained in the training data, which has massive privacy implications. The construction of data extraction attacks is challenging, current attacks are quite inefficient, and there exists a significant gap in the extraction capabilities of untargeted attacks and memorization. Thus, targeted attacks are proposed, which identify if a given sample from the training data, is extractable from a model. In this work, we apply a targeted data extraction attack to the SATML2023 Language Model Training Data Extraction Challenge. We apply a two-step approach. In the first step, we maximise the recall of the model and are able to extract the suffix for 69% of the samples. In the second step, we use a classifier-based Membership Inference Attack on the generations. Our AutoSklearn classifier achieves a precision of 0.841. The full approach reaches a score of 0.405 recall at a 10% false positive rate, which is an improvement of 34% over the baseline of 0.301.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 7 of its 12 references that are in the map. First posted on arXiv 13 Feb 2023.
Builds on
7 of 12 references.
Closest ancestors · 3
Same direction, newest first
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attacks8 Mar
- 2021Membership Inference Attacks From First Principles7 Dec
- 2021Membership Inference Attacks on Machine Learning: A Survey14 Mar
Other references · 4
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
- 2023Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binariescited by 25
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 4.
7 papers.
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
- 2023Traces of Memorisation in Large Language Models for Codecited by 26
- 2024An Exploratory Investigation into Code License Infringements in Large Language Model Training Datasetscited by 8
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasurescited by 8
- 2025Data Compressibility Quantifies LLM Memorizationcited by 1
- 2025Towards Privacy-Preserving Code Generation: Differentially Private Code Language Modelscited by 0
- 2025Towards Privacy-Preserving Code Generation: Differentially Private Code Language Models12 Dec 2025
- 2025Data Compressibility Quantifies LLM Memorization8 Jul 2025
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasures2 May 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2024An Exploratory Investigation into Code License Infringements in Large Language Model Training Datasets22 Mar 2024
- 2023Traces of Memorisation in Large Language Models for Code18 Dec 2023
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Survey27 Sep 2023