Learning-Time Encoding Shapes Unlearning in LLMs

Ruihan Wu, Konstantin Garov, Kamalika Chaudhuri
6/18/2025
cs.CLcs.LG

No official code found. Best implementation: wrh14/learning_time_shapes_unlearning (4 stars, last commit 2025-06-21).

Abstract

As large language models (LLMs) are increasingly deployed in the real world, the ability to ``unlearn'', or remove specific pieces of knowledge post hoc, has become essential for a variety of reasons ranging from privacy regulations to correcting outdated or harmful content. Prior work has proposed unlearning benchmarks and algorithms, and has typically assumed that the training process and the target model are fixed. In this work, we empirically investigate how learning-time choices in knowledge encoding impact the effectiveness of unlearning factual knowledge. Our experiments reveal two key findings: (1) learning with paraphrased descriptions improves unlearning performance and (2) unlearning individual piece of knowledge from a chunk of text is challenging. Our results suggest that learning-time knowledge encoding may play a central role in enabling reliable post-hoc unlearning.

View on arXivView PDF

Code Implementations(1)

Official github page for the paper ``Learning-Time Encoding Shapes Unlearning in LLMs"

40Shell, PythonJun 17, 20251 years ago

Similar Papers

Cite this paper

@article{wu2025learningtime,
  title  = {Learning-Time Encoding Shapes Unlearning in LLMs},
  author = {Ruihan Wu and Konstantin Garov and Kamalika Chaudhuri},
  year   = {2025},
  eprint = {2506.15076},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.15076v1}
}

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

Discussion