A new research framework introduces a precise measurement for language model memorization, distinguishing between unintended retention of specific data and broader pattern generalization. By applying compression rates and Kolmogorov complexity, researchers have determined that GPT-style models have a storage capacity of roughly 3.6 bits per parameter.
The study involved training hundreds of transformers on random bitstrings and real text, revealing that double descent occurs exactly when the training set size exceeds this calculated model capacity. Scaling laws were also derived to predict the effectiveness of membership inference attacks, showing that such attacks become more challenging as datasets grow relative to model size.
Ultimately, the findings suggest that successful data extraction in large-scale models is often a byproduct of generalization rather than specific sample retention, highlighting a fundamental hard limit on AI memory.