A Probabilistic Perspective on Unlearning and Alignment for Large Language Models

Yan Scholten, Stephan Günnemann, Leo Schwinn
2/12/2026

No official code found. Best implementation: yascho/probabilistic-unlearning (7 stars, MIT, last commit 2025-09-02).

Abstract

Comprehensive evaluation of Large Language Models (LLMs) is an open research problem. Existing evaluations rely on deterministic point estimates generated via greedy decoding. However, we find that deterministic evaluations fail to capture the whole output distribution of a model, yielding inaccurate estimations of model capabilities. This is particularly problematic in critical contexts such as unlearning and alignment, where precise model evaluations are crucial. To remedy this, we introduce the first formal probabilistic evaluation framework for LLMs. Namely, we propose novel metrics with high probability guarantees concerning the output distribution of a model. Our metrics are application-independent and allow practitioners to make more reliable estimates about model capabilities before deployment. Our experimental analysis reveals that deterministic evaluations falsely indicate successful unlearning and alignment, whereas our probabilistic evaluations better capture model capabilities. We show how to overcome challenges associated with probabilistic outputs in a case study on unlearning by introducing (1) a novel loss based on entropy optimization, and (2) adaptive temperature scaling. We demonstrate that our approach significantly enhances unlearning in probabilistic settings on recent benchmarks. Overall, our proposed shift from point estimates to probabilistic evaluations of output distributions represents an important step toward comprehensive evaluations of LLMs. Code available at https://www.cs.cit.tum.de/daml/probabilistic-unlearning/.

View on arXivView PDF

Code Implementations(1)

MIT

ICLR 2025 Oral: Implementation of the probabilistic evaluation framework introduced in the paper: "A Probabilistic Perspective on Unlearning and Alignment for Large Language Models" accepted at ICLR 2025 (Oral).

70Python, Jupyter NotebookOct 4, 20241 years agoMIT
llm-unlearningllmsunlearning

Similar Papers

Cite this paper

@article{scholten2026probabilistic,
  title  = {A Probabilistic Perspective on Unlearning and Alignment for Large Language Models},
  author = {Yan Scholten and Stephan Günnemann and Leo Schwinn},
  year   = {2026},
  eprint = {2410.03523},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.03523},
  journal = {ICLR 2024 2024}
}

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/2410.03523.svg)](https://codeofpaper.com/paper/2410.03523)

Discussion