[Paper Review] Maximizing Local Entropy Where It Matters: Prefix-Aware Localized LLM Unlearning
PALU introduces prefix-aware local unlearning by targeting only sensitive prefixes and top-K logits to maximize local entropy, achieving strong forgetting while preserving general model utility with reduced computation.
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 avoid 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.
Motivation & Objective
- Revisit LLM unlearning through the lens of intervention efficiency.
- Propose PALU, a dual-locality unlearning framework that targets sensitive prefixes and top-K logits.
- Show that localized entropy maximization yields robust forgetting with minimal collateral damage.
- Evaluate PALU against state-of-the-art baselines on standard unlearning benchmarks.
- Demonstrate improved efficiency and utility preservation across Llama models.
Proposed method
- Identify sensitive decoding prefixes and restrict unlearning to the first N tokens of each sensitive span.
- Restrict vocabulary-level optimization to the top-K logits identified by a frozen reference model.
- Maximize local entropy by minimizing the MSE between the top-K logits and a fixed target c, encouraging a flatter distribution within the top-K set.
- Combine the local entropy objective with a KL-based preservation term for non-sensitive or non-initiating tokens.
- Provide a total loss L_total that applies L_local on initiating tokens and KL on non-sensitive tokens, yielding sparse gradients.
- Analyze computational complexity as O(TK) versus O(TV) for full vocabulary approaches.
Experimental results
Research questions
- RQ1Can selective, token-level targeting reduce unnecessary perturbations while achieving effective forgetting?
- RQ2Does local entropy maximization within the top-K logits stabilize unlearning compared to negated cross-entropy?
- RQ3How does restricting both temporal (prefix) and vocabulary (top-K) scopes affect forgetting quality and utility?
- RQ4What is the optimal strategy for selecting the flattening target c in the local entropy objective?
- RQ5How does PALU perform relative to state-of-the-art baselines on standard forgetting benchmarks?
Key findings
- PALU achieves superior forgetting efficacy while preserving model utility compared to strong baselines on TOFU and MUSE benchmarks.
- Locality in time (prefix) and vocabulary (top-K) reduces computation from O(TV) to O(TK) with K << V.
- A small initiating token budget (N) suffices; optimal N ≈ 3 tokens per sensitive span.
- Top-K scale (around 5,000) yields near-full-vocabulary effectiveness with much lower cost, validating vocabulary sparsity.
- Global mean as the flattening target c provides a stable balance between erasure depth and manifold preservation.
- PALU demonstrates faster convergence and better privacy-related metrics (e.g., MinK/MinK++), with reduced utility loss compared to baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.