Inference-Time Machine Unlearning via Gated Activation Redirection
On the map: LLM safety and security → Machine unlearning
Abstract (arXiv)
Large Language Models (LLMs) memorize vast amounts of training data, raising concerns regarding privacy, copyright infringement, and safety. Machine unlearning seeks to remove the influence of a targeted forget set while preserving model performance, ideally approximating a model retrained from scratch without it. Once an LLM is in use, every new request to make it forget specific content demands updating its weights. However, unlearning through parameter updates is expensive, hard to audit, and can be undone by quantization. We show that unlearning can be enforced entirely at inference time, without training, gradients, or weight changes. We introduce Inference-Time Unlearning via Gated Activation Redirection (GUARD-IT), a training- and gradient-free method that unlearns via input-dependent activation steering at inference time. GUARD-IT stores the content to be forgotten as a small library of activation directions, and during inference, it routes each query through a similarity gate that activates only for relevant directions and applies them as a norm-preserving rotation of the residual stream, while unrelated queries pass through the unmodified model. The same design carries across three model families and nine checkpoints from 0.8B to 8B parameters, and new forget requests are absorbed by one offline pass of forward passes. On TOFU, against 16 gradient-based and inference-time baselines, and on MUSE and WMDP, GUARD-IT forgets without breaking the model, and on TOFU it is the only method that suppresses memorization in every Llama configuration without collapsing: it keeps utility and fluent generation in every configuration, moves the model's output distribution closest to a model that never saw the forgotten data on the forget01 split, survives 4- and 8-bit quantization and ten sequential forget requests, and holds under jailbreak attacks.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 43 of its 46 references that are in the map. First posted on arXiv 12 May 2026.
Builds on
43 of 46 references.
Closest ancestors · 17
Same direction, newest first
- 2026Quantization-Robust LLM Unlearning via Low-Rank Adaptation13 Feb
- 2025OpenUnlearning: Accelerating LLM Unlearning via Unified Benchmarking of Methods and Metrics14 Jun
- 2025BLUR: A Bi-Level Optimization Approach for LLM Unlearning9 Jun
- 2025Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Models5 Jun
- 2025Exploring Criteria of Loss Reweighting to Enhance LLM Unlearning17 May
- 2025CE-U: Cross Entropy Unlearning3 Mar
- 2025Rethinking LLM Unlearning Objectives: A Gradient Perspective and Go Beyond26 Feb
- 2024Catastrophic Failure of LLM Unlearning via Quantization21 Oct
- 2024Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning9 Oct
- 2024MUSE: Machine Unlearning Six-Way Evaluation for Language Models8 Jul
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning8 Apr
- 2024UNDIAL: Self-Distillation with Adjusted Logits for Robust Unlearning in Large Language Models15 Feb
5 more
Other references · 26
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2020Gradient Surgery for Multi-Task Learningcited by 1,256
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
14 more
- 2023Steering Language Models With Activation Engineeringcited by 922
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
- 2021Conflict-Averse Gradient Descent for Multi-task Learningcited by 459
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 311
- 2024Programming Refusal with Conditional Activation Steeringcited by 206
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 159
- 2024Analyzing the Generalization and Reliability of Steering Vectorscited by 143
- 2024Semantics-Adaptive Activation Intervention for LLMs via Dynamic Steering Vectorscited by 63
- 2025Angular Steering: Behavior Control via Rotation in Activation Spacecited by 53
- 2022Debiasing Methods for Fairer Neural Models in Vision and Language Research: A Surveycited by 22
- 2026Spherical Steering: Geometry-Aware Activation Rotation for Language Modelscited by 21
- 2024Query Performance Prediction using Relevance Judgments Generated by Large Language Modelscited by 18
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026Inference-Time Target Speaker Unlearning in LLM-Based Automatic Speech Recognitioncited by 0
- 2026Causal Routing for Unlearningcited by 0
- 2026Causal Routing for Unlearning28 Sep 2026
- 2026Inference-Time Target Speaker Unlearning in LLM-Based Automatic Speech Recognition24 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2023In-Context Unlearning: Language Models as Few Shot Unlearners
- 2026Nullify: Null-Space Activation Steering for Training-Free LLM Unlearning
- 2025GUARD: Generation-time LLM Unlearning via Adaptive Restriction and Detection
- 2025GUARD: Guided Unlearning and Retention via Data Attribution for Large Language Models
- 2026Unlearning in LLMs: Methods, Evaluation, and Open Challenges
- 2024Machine Unlearning of Pre-trained Large Language Models
- 2025LLM Unlearning on Noisy Forget Sets: A Study of Incomplete, Rewritten, and Watermarked Data
- 2025BLUR: A Benchmark for LLM Unlearning Robust to Forget-Retain Overlap