Automated Detection of Pre-training Text in Black-box LLMs
Not on the map. Why?
Abstract (arXiv)
Detecting whether a given text is a member of the pre-training data of Large Language Models (LLMs) is crucial for ensuring data privacy and copyright protection. Most existing methods rely on the LLM's hidden information (e.g., model parameters or token probabilities), making them ineffective in the black-box setting, where only input and output texts are accessible. Although some methods have been proposed for the black-box setting, they rely on massive manual efforts such as designing complicated questions or instructions. To address these issues, we propose VeilProbe, the first framework for automatically detecting LLMs' pre-training texts in a black-box setting without human intervention. VeilProbe utilizes a sequence-to-sequence mapping model to infer the latent mapping feature between the input text and the corresponding output suffix generated by the LLM. Then it performs the key token perturbations to obtain more distinguishable membership features. Additionally, considering real-world scenarios where the ground-truth training text samples are limited, a prototype-based membership classifier is introduced to alleviate the overfitting issue. Extensive evaluations on three widely used datasets demonstrate that our framework is effective and superior in the black-box setting.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 29 of its 40 references that are in the map. First posted on arXiv 24 Jun 2025.
Builds on
29 of 40 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2021Membership Inference Attacks From First Principlescited by 878
- 2015Deep Learning and the Information Bottleneck Principlecited by 802
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2023Detecting Pretraining Data from Large Language Modelscited by 387
- 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 285
17 more
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
- 2021Enhanced Membership Inference Attacks against Machine Learning Modelscited by 248
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
- 2024Do Membership Inference Attacks Work on Large Language Models?cited by 195
- 2023Time Travel in LLMs: Tracing Data Contamination in Large Language Modelscited by 177
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 175
- 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 129
- 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 122
- 2024To Believe or Not to Believe Your LLMcited by 120
- 2024LLM Dataset Inference: Did you train on my dataset?cited by 110
- 2023Copyright Violations and Large Language Modelscited by 108
- 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 103
- 2023Bag of Tricks for Training Data Extraction from Language Modelscited by 70
- 2024Pretraining Data Detection for Large Language Models: A Divergence-based Calibration Methodcited by 55
- 2024Data Contamination Calibration for Black-box LLMscited by 24
- 2024Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Modelscited by 24
- 2024Pandora's White-Box: Precise Training Data Detection and Extraction in Large Language Modelscited by 11
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2026Membership Inference on LLMs in the Wildcited by 3
- 2026When Reasoning Leaks Membership: Membership Inference Attack on Black-box Large Reasoning Modelscited by 2
- 2025Forgetting-MarI: LLM Unlearning via Marginal Information Regularizationcited by 1
- 2026SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language Modelscited by 0
- 2026Implicit Reasoning Steering via Concept Chainingcited by 0
- 2026Calibrating Post-Training Feature Shifts for LLM Data Contamination Detectioncited by 0
- 2026Calibrating Post-Training Feature Shifts for LLM Data Contamination Detection11 Aug 2026
- 2026Implicit Reasoning Steering via Concept Chaining15 Jul 2026
- 2026SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language Models29 Jun 2026
- 2026When Reasoning Leaks Membership: Membership Inference Attack on Black-box Large Reasoning Models20 Jan 2026
- 2026Membership Inference on LLMs in the Wild16 Jan 2026
- 2025Forgetting-MarI: LLM Unlearning via Marginal Information Regularization14 Nov 2025