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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhai, Naixin, Shao, Pengyang, Zheng, Binbin, Yang, Yonghui, Shen, Fei, Bai, Long, Yang, Xun
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908979349684224
author Zhai, Naixin
Shao, Pengyang
Zheng, Binbin
Yang, Yonghui
Shen, Fei
Bai, Long
Yang, Xun
author_facet Zhai, Naixin
Shao, Pengyang
Zheng, Binbin
Yang, Yonghui
Shen, Fei
Bai, Long
Yang, Xun
contents 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-$k$ 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_03190
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Maximizing Local Entropy Where It Matters: Prefix-Aware Localized LLM Unlearning
Zhai, Naixin
Shao, Pengyang
Zheng, Binbin
Yang, Yonghui
Shen, Fei
Bai, Long
Yang, Xun
Computation and Language
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-$k$ 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.
title Maximizing Local Entropy Where It Matters: Prefix-Aware Localized LLM Unlearning
topic Computation and Language
url https://arxiv.org/abs/2601.03190