Tracing the past: Large language models output training data when they get lostRetracing the Past: LLMs Emit Training Data When They Get Lost
Researchers propose the Confusion Inducing Attack (CIA), which extracts training data memorized by large language models by systematically maximizing model uncertainty. The paper observes that before the model outputs memorized text during divergence, token-level predictive entropy first shows a sustained surge, and CIA uses this to optimize input segments to deliberately induce consecutive high-entropy states. For aligned models, the authors further propose Mismatched SFT, which simultaneously weakens alignment and induces targeted confusion, making the model more susceptible to this attack. The authors state that experiments on a variety of unaligned and aligned LLMs show that the attack outperforms existing baselines in extracting verbatim and near-verbatim training data, and requires no prior knowledge of the training data; these findings highlight the persistent risk of memorization leakage across LLMs and provide a more systematic evaluation method.