Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

A Physics-Based Framework for Measuring LLM Memorization

Vinh Nguyen 1 min read

A new study introduces a physics-inspired framework to measure language model memorization, distinguishing between unintended storage of specific data and generalization of patterns. By using compression rates and Kolmogorov complexity, researchers found that GPT-style models have a storage capacity of about 3.6 bits per parameter. Training hundreds of transformers on random bitstrings and real text revealed that double descent occurs precisely when the training set size exceeds this calculated capacity. The study also derived scaling laws predicting membership inference attack success, showing attacks become harder as datasets grow relative to model size. The findings suggest that successful data extraction in large models often results from generalization rather than exact sample retention.

React