Share from 0:00
0:00
/

"Measuring memorization through probabilistic discoverable extraction"

The podcast on this paper is generated with Google's Illuminate.

A probabilistic approach to better measure what LLMs actually remember from training data.

Paper from @GoogleDeepMind

A more realistic way to quantify what secrets LLMs might spill.

πŸ“š https://arxiv.org/abs/2410.19482

πŸ” Original Problem:

Current methods to measure memorization in LLMs rely on single-sequence greedy sampling, which underestimates true memorization rates and fails to reflect real-world user interactions where multiple attempts with different sampling strategies are possible.

-----

πŸ› οΈ Solution in this Paper:

β†’ Introduces (n,p)-discoverable extraction - a probabilistic relaxation of discoverable extraction

β†’ Quantifies probability of extracting target sequence within n attempts with probability p

β†’ Considers various sampling schemes (top-k, top-p, temperature) instead of just greedy sampling

β†’ No additional computational cost compared to traditional methods

-----

πŸ’‘ Key Insights:

β†’ Greedy sampling misses clear cases of memorization where target sequences have high generation likelihood

β†’ Larger models and repeated training data show higher memorization rates

β†’ Gap between greedy and probabilistic extraction rates increases with model size

β†’ Different sampling strategies significantly impact extraction success rates

-----

πŸ“Š Results:

β†’ Even with modest n=3 attempts and p=10% probability, extraction rates exceed greedy sampling

β†’ Extraction rates on training data consistently higher than test data across all parameter settings

β†’ For 12B parameter model, needs only n=40 sequences to match greedy rate at p=90%

β†’ Gap between greedy and probabilistic rates widens with model size (1B to 12B parameters)

Discussion about this video

User's avatar

Ready for more?