English

Maximizing Local Entropy Where It Matters: Prefix-Aware Localized LLM Unlearning

Computation and Language 2026-04-21 v3

Abstract

Machine unlearning aims to forget sensitive knowledge from Large Language Models (LLMs) while maintaining general utility. However, existing approaches typically treat all tokens in a response indiscriminately and enforce uncertainty over the entire vocabulary. This global treatment results in unnecessary utility degradation and extends optimization to content-agnostic regions. To address these limitations, we propose PALU (Prefix-Aware Localized Unlearning), a framework driven by a local entropy maximization objective across both temporal and vocabulary dimensions. PALU reveals that (i) suppressing the sensitive prefix alone is sufficient to sever the causal generation link, and (ii) flattening only the top-kk logits is adequate to maximize uncertainty in the critical subspace. These findings allow PALU to alleviate redundant optimization across the full vocabulary and parameter space while minimizing collateral damage to general model performance. Extensive experiments validate that PALU achieves superior forgetting efficacy and utility preservation compared to state-of-the-art baselines. Our code is available at https://github.com/nxZhai/PALU.

Keywords

Cite

@article{arxiv.2601.03190,
  title  = {Maximizing Local Entropy Where It Matters: Prefix-Aware Localized LLM Unlearning},
  author = {Naixin Zhai and Pengyang Shao and Binbin Zheng and Yonghui Yang and Fei Shen and Long Bai and Xun Yang},
  journal= {arXiv preprint arXiv:2601.03190},
  year   = {2026}
}

Comments

Accepted to ACL 2026 main

R2 v1 2026-07-01T08:52:55.634Z