Inference-Time Machine Unlearning via Gated Activation Redirection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Turani, Vinícius Conte, Parraga, Otávio, Abitante, João Vitor Boer, Arguello, Kristen K., Pasquali, Joana, Barros, Ramiro N., Calmon, Flavio du Pin, Mattjie, Christian, Barros, Rodrigo C., Kupssinskü, Lucas S.
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910232782831616
author Turani, Vinícius Conte
Parraga, Otávio
Abitante, João Vitor Boer
Arguello, Kristen K.
Pasquali, Joana
Barros, Ramiro N.
Calmon, Flavio du Pin
Mattjie, Christian
Barros, Rodrigo C.
Kupssinskü, Lucas S.
author_facet Turani, Vinícius Conte
Parraga, Otávio
Abitante, João Vitor Boer
Arguello, Kristen K.
Pasquali, Joana
Barros, Ramiro N.
Calmon, Flavio du Pin
Mattjie, Christian
Barros, Rodrigo C.
Kupssinskü, Lucas S.
contents Large Language Models 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 the forget set. Existing approaches aim to achieve this by updating model parameters via gradient-based methods. However, these updates are computationally expensive, lead to irreversible weight changes, and degrade when the model is quantized for deployment. A recent alternative to changing model weights is activation engineering, where activations are changed during inference to steer model behavior. Despite circumventing weight editing, naive activation steering introduces its own failure modes, as a single global steering vector applies the same intervention to every input, leading to unintended changes in model behavior. 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. The resulting intervention is applied as a norm-preserving rotation in the residual stream, leaving model weights untouched. Experiments on TOFU and MUSE show that GUARD-IT matches or exceeds 12 gradient-based baselines across three model scales, while being the only method to simultaneously preserve utility, suppress memorization, and avoid catastrophic collapse across all settings. GUARD-IT further supports continual unlearning without retraining, and remains effective under quantization, a scenario in which parameter-editing methods degrade.
format Preprint
id arxiv_https___arxiv_org_abs_2605_12765
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Inference-Time Machine Unlearning via Gated Activation Redirection
Turani, Vinícius Conte
Parraga, Otávio
Abitante, João Vitor Boer
Arguello, Kristen K.
Pasquali, Joana
Barros, Ramiro N.
Calmon, Flavio du Pin
Mattjie, Christian
Barros, Rodrigo C.
Kupssinskü, Lucas S.
Machine Learning
I.2.6
Large Language Models 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 the forget set. Existing approaches aim to achieve this by updating model parameters via gradient-based methods. However, these updates are computationally expensive, lead to irreversible weight changes, and degrade when the model is quantized for deployment. A recent alternative to changing model weights is activation engineering, where activations are changed during inference to steer model behavior. Despite circumventing weight editing, naive activation steering introduces its own failure modes, as a single global steering vector applies the same intervention to every input, leading to unintended changes in model behavior. 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. The resulting intervention is applied as a norm-preserving rotation in the residual stream, leaving model weights untouched. Experiments on TOFU and MUSE show that GUARD-IT matches or exceeds 12 gradient-based baselines across three model scales, while being the only method to simultaneously preserve utility, suppress memorization, and avoid catastrophic collapse across all settings. GUARD-IT further supports continual unlearning without retraining, and remains effective under quantization, a scenario in which parameter-editing methods degrade.
title Inference-Time Machine Unlearning via Gated Activation Redirection
topic Machine Learning
I.2.6
url https://arxiv.org/abs/2605.12765