TULIP: Targeted LLM Unlearning at Layers Identified Per-input
Yejin Kim, William F. Shen, Seokwon Jung, Daeun Park, Seong Joon Oh
Abstract
Representation-level unlearning modifies the intermediate hidden states of LLMs. Although knowledge is distributed across layers, existing methods operate at a single fixed layer for the entire forget set. We ask whether such a fixed layer is sufficient for unlearning. To answer this, we design a hijacking experiment that grafts hidden states of the target model into an oracle model. The oracle cannot produce the forget answer on its own, yet it produces the answer from the grafted state. This indicates the answer is already formed at an intermediate layer and read out afterward. Moreover, the layer where formation ends varies widely across inputs. Motivated by these findings, we propose Targeted Unlearning at Layers Identified Per-input (TULIP). For each input, TULIP uses the logit lens to locate the formation-readout boundary and removes the hidden state's alignment with the forget answer's unembedding vector at that layer. TULIP outperforms output- and representation-level baselines on TOFU, PISTOL, and WMDP across Llama, Qwen, and Zephyr models. It also remains robust to paraphrase and quantization attacks. Beyond standalone use, its per-input layer selection serves as a plug-and-play component that further improves existing methods.
Create a lesson
Related papers
Flattening the Connectome Spectrum: A Spectral Filter for FC Induces a Pretraining Target for fMRI Encoders
Shared title terminologycs.AIGiovanni Marraffini, Victoria Shevchenko, Carlo Alberto Barbano et al.
Foundations of Proactive Agents: Principles, Technical Layers, and Proactivity-Gym
Shared title terminologycs.AIJio Oh, Seunghyun Do, Young-Jun Lee et al.
FineSID: Scalable and Efficient Semantic Identifier Learning for Generative Recommendation
Shared title terminologycs.AISong-Li Wu, Weinan Gan, Zhaocheng Du et al.
Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Model Dependence and Evaluation Reliability
Shared title terminologycs.AIRoshan Reddy Upendra, Alexandre Dorais, Joe Meyer et al.
Building Transformation Layers for Riemannian Neural Networks
Shared title terminologycs.AIZiheng Chen
Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Impact, Detection, and Mitigation
Shared title terminologycs.AIRoshan Reddy Upendra, Alexandre Dorais, Joe Meyer et al.