Forget What Comes Next: LLM Unlearning via Statistical Independence

Andrii Shkabrii, Claudia Plant, Martin Pawelczyk
11/2/2026
cs.LG

Official code: shkabrii/PINT (1 star, Python, MIT, last commit 2026-11-02).

Abstract

Large language models (LLMs) can memorize and reproduce fragments of their training data, raising privacy and legal concerns that motivate machine unlearning. Yet poisoned training examples can remain statistically detectable after unlearning, which raises the question of whether current unlearning objectives remove what the model has memorized at all.

Show full abstract

In this work, we introduce PINT, a novel algorithm for machine unlearning that uses the Hilbert-Schmidt Independence Criterion (HSIC) to reduce the statistical dependence between tokens to be forgotten and the internal representations used to predict them. We formally relate our HSIC-based objective to Exact Memorization through a computable upper bound, connecting the training objective directly to the model's ability to reproduce the forgotten tokens. In extensive experiments, we compare forgetting-utility trade-offs across eight settings with models up to 7B parameters and demonstrate scalability to 70B parameter models. Our evaluations cover unlearning Gaussian poisons, personal information, hazardous knowledge in biology and cybersecurity, and copyrighted books and news articles. PINT achieves the strongest forgetting-utility trade-off on average and is the only method to make Gaussian poisons undetectable while maintaining near-original model utility. Code is available at: https://github.com/shkabrii/PINT

View on arXivView PDF

Code Implementations(1)

shkabrii/PINTOfficial100%
MIT

Code for the paper "Forget What Comes Next: LLM Unlearning via Statistical Independence"

10Python, ShellOct 26, 20264 weeks agoMIT
ai-safetyhsicllmllm-unlearningmemorization+2 more

Similar Papers

Cite this paper

@article{shkabrii2026forget,
  title  = {Forget What Comes Next: LLM Unlearning via Statistical Independence},
  author = {Andrii Shkabrii and Claudia Plant and Martin Pawelczyk},
  year   = {2026},
  eprint = {2611.03955},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.03955v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.03955.svg)](https://codeofpaper.com/paper/2611.03955)

Discussion