Sequence-level leakage risk of large language model training dataSequence-Level Leakage Risk of Training Data in Large Language Models
The authors propose using sequence-level extraction probability to quantify the training data leakage risk of large language models, and re-analyze the effects of decoding scheme, model scale, prefix length, partial leakage, and token position on two pretrained models, Llama and OPT (trained on Common Crawl and The Pile, respectively). The authors find that the Extraction Rate metric commonly used in prior quantification work underestimates the training data leakage risk of randomized LLMs by up to 2.14 times; although on average larger models and longer prefixes can extract more data, 30.4%-41.5% of sequences are instead more easily extracted with shorter prefixes or smaller models; under commonly used decoding schemes such as top-k and top-p, partial leakage is not easier than verbatim leakage. The authors hope this metric will be adopted by subsequent work on quantifying training data extraction.