A Collection of Techniques for Extracting Training Data from Language ModelsBag of Tricks for Training Data Extraction from Language Models
The researchers systematically evaluated various techniques for improving training data extraction from language models, and evaluation results based on GPT-Neo 1.3B show that it substantially exceeds the original baseline in most cases. Existing extraction methods mostly adopt a pipeline of first generating candidate text and then ranking it according to criteria; accordingly, the paper focuses on techniques in two aspects, text generation (such as sampling strategies) and text ranking (such as token-level criteria), and finds that multiple previously overlooked techniques are crucial to extraction success. Training data extraction can serve as a potential tool for evaluating model privacy leakage, and this work provides a stronger baseline for subsequent research, with code open-sourced at https://github.com/weichen-yu/LM-Extraction。