Leak@$k$: Unlearning Does Not Make LLMs Forget Under Probabilistic Decoding
Abstract
Lay Summary
Large language models memorize private, toxic, or copyrighted content. Unlearning is a promising approach to remove this unwanted knowledge, but current evaluations use deterministic decoding (models always pick the most likely word), making unlearning appear successful. Real deployments use probabilistic decoding (models randomly sample alternatives), which causes supposedly sensitive information to resurface reliably. When prompted multiple times with probabilistic sampling, unlearned models consistently regenerate sensitive information, even when greedy testing suggested they had forgotten it. To quantify this, we introduce leak@k, a new evaluation method that checks whether sensitive information appears in any of several generated answers. We test various unlearning methods on several standard benchmarks and find that leakage often increases as more answers are sampled. We also propose RULE, a robust unlearning method under leak@k metric, that repeatedly generates leaking responses and uses them during training to make forgetting more robust. Our results show that evaluating only one deterministic answer can give a false sense of safety, and that future unlearning systems should be tested under repeated, realistic model use.