Feature-Selective Representation Misdirection for Machine Unlearning

Taozhao Chen, Linghan Huang, Kim-Kwang Raymond Choo, Huaming ChenarXiv 2025 · DOI

Abstract

Machine unlearning (MU) in Large Language Models (LLMs) is often hindered by the deep entanglement of sensitive "forget" data with general "retain" knowledge. Existing methods like Representation Misdirection for Unlearning (RMU) often struggle in high-entanglement scenarios, leading to either incomplete erasure or significant utility degradation. We introduce Selective Representation Misdirection for Unlearning (SRMU), a novel framework that employs feature-aware, directionally controlled perturbations to selectively suppress target knowledge. By utilizing a dynamic importance map to identify sensitive neurons and a structured misdirection vector, SRMU achieves superior unlearning performance. Our evaluations on the Zephyr-7B model using the WMDP benchmark show that SRMU maintains high utility even when datasets overlap by 30%, a regime where prior state-of-the-art methods collapse.

Introduction

As LLMs are deployed in real-world applications, the ability to remove specific knowledge—such as copyrighted material or hazardous information—without full retraining is essential. This process, known as Machine Unlearning, is complicated by the fact that harmful and benign concepts often share feature dimensions in the model's latent space.

Prior methods, such as RMU, attempt to scramble representations using random noise. However, as illustrated in the comparison below, these approaches lack the feature-selectivity necessary to handle high-entanglement scenarios effectively. SRMU addresses this by intervening at the representation level with a feature-selective, directional perturbation mechanism.

Methods

SRMU moves beyond unstructured noise by implementing a surgical optimization strategy. The framework consists of two primary innovations:

  1. Dynamic Importance Map: Before optimization, SRMU compares activation patterns between the "forget" and "retain" datasets. It calculates a normalized score for each feature dimension, identifying neurons most associated with the target knowledge. A logarithmic ratio-based approach was found to be the most effective for isolating these specific features.
  2. Directional Misdirection Vector (V): Instead of continuous random noise, SRMU utilizes a discrete, high-dimensional vector consisting of {-1, +1}. This forces a structured semantic shift away from the original knowledge, ensuring consistency during the unlearning process.

During the optimization phase, a two-term loss function is employed. One term drives the activations of forget samples toward the misdirection target (weighted by the importance map), while the second term anchors retain samples to their original pre-trained states to preserve model utility.

Experimental Results

We evaluated SRMU using the Zephyr-7B model on the WMDP (Weapons of Mass Destruction Proxy) benchmark, focusing on biology and cybersecurity domains.

Low Entanglement Performance

In scenarios with weak overlap (e.g., using WikiText as the retain set), SRMU successfully reduced WMDP accuracy from 54.7% to 27.2%. Crucially, it maintained a high MMLU (Massive Multitask Language Understanding) score of 57.1%, outperforming baselines like RMU and SCRUB in preserving general intelligence.

High Entanglement Robustness

The primary strength of SRMU is its performance in high-entanglement regimes, where the retain and forget sets share significant n-gram overlap (20-30%). In these tests, SRMU pushed WMDP accuracy down to 37.7% while keeping MMLU at 52.5%. In contrast, Adaptive RMU failed to achieve similar levels of forgetting without causing catastrophic utility collapse.

Conclusion

Selective Representation Misdirection for Unlearning (SRMU) provides a robust solution for the challenge of entangled knowledge in LLMs. By combining feature-selective importance mapping with structured directional perturbations, SRMU enables precise knowledge erasure without sacrificing general model capabilities. Future research will focus on scaling this approach to larger models and exploring its applicability to privacy-driven unlearning tasks.

Summary updated

BibTeX
@misc{chen2025feature,
  author = {Taozhao Chen and Linghan Huang and Kim-Kwang Raymond Choo and Huaming Chen},
  title = {{Feature-Selective Representation Misdirection for Machine Unlearning}},
  year = {2025},
  eprint = {2512.16297},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.16297},
}
Figure