ESC: Erasing Space Concept for Knowledge Deletion

Tae-Young Lee, Sundong Park, Minwoo Jeon, Hyoseok Hwang, Gyeong-Moon Park

Abstract

As concerns regarding privacy in deep learning continue to grow, individuals are increasingly apprehensive about the potential exploitation of their personal knowledge in trained models. Despite several research efforts to address this, they often fail to consider the real-world demand from users for complete knowledge erasure. Furthermore, our investigation reveals that existing methods have a risk of leaking personal knowledge through embedding features. To address these issues, we introduce a novel concept of Knowledge Deletion (KD), an advanced task that considers both concerns, and provides an appropriate metric, named Knowledge Retention score (KR), for assessing knowledge retention in feature space. To achieve this, we propose a novel training-free erasing approach named Erasing Space Concept (ESC), which restricts the important subspace for the forgetting knowledge by eliminating the relevant activations in the feature. In addition, we suggest ESC with Training (ESC-T), which uses a learnable mask to better balance the trade-off between forgetting and preserving knowledge in KD. Our extensive experiments on various datasets and models demonstrate that our proposed methods achieve the fastest and state-of-the-art performance. Notably, our methods are applicable to diverse forgetting scenarios, such as facial domain setting, demonstrating the generalizability of our methods.

Introduction: The Challenge of Knowledge Deletion

When a user requests that their data be "forgotten" by a service provider—a right protected by regulations like GDPR—standard Machine Unlearning (MU) methods often fall short. Most existing techniques focus on modifying the model's "head" (the final classification layer) to prevent the model from outputting the correct label for the target data. However, this approach leaves the feature extractor (the model's internal layers) largely untouched.

Our investigation reveals a significant "Head-Bias" in current methods. While a model might stop correctly labeling a forgotten class, its internal embedding features often remain nearly identical to those of the original model. This creates a privacy risk: a malicious actor could potentially reconstruct private information by analyzing these residual features. We define Knowledge Deletion (KD) as a more rigorous task that requires erasing information from the feature space itself.

Comparison of weight changes in the classification head versus other layers (Log Scale). Traditional methods like Fisher and SCRUB show significantly higher changes in the head compared to other layers.

Proposed Method: Erasing Space Concept (ESC)

To address the limitations of head-focused unlearning, we propose the Erasing Space Concept (ESC). This method treats unlearning as a geometric problem rather than a simple weight-tuning task.

ESC (Training-free)

ESC is a fast, training-free approach that utilizes Singular Value Decomposition (SVD). By passing the data to be forgotten through the model, we identify the "principal directions" in the feature space that represent that specific knowledge. We then project future features onto a subspace where these specific directions are pruned, effectively making the model "blind" to the forgotten concepts without requiring retraining.

ESC-T (with Training)

For scenarios requiring a finer balance between forgetting and utility preservation, we introduce ESC-T. This version uses a learnable mask to target specific elements within the principal directions. It employs a novel Penalized Cross-Entropy Loss ($L_{PCE}$), which selectively penalizes the mask only when the model correctly identifies a forgotten class, ensuring the model loses that specific capability while maintaining performance on remaining data.

Experimental Results

We evaluated ESC and ESC-T across multiple datasets (CIFAR-10/100, Tiny-ImageNet, Lacuna-10) and architectures (ResNet-18, ViT-B/16). To measure success, we introduced the Knowledge Retention (KR) score, which assesses how much information remains in the feature space by attempting to train a linear probe on the unlearned features.

Superior Erasure and Efficiency

Our methods significantly outperform state-of-the-art (SOTA) techniques in reducing the KR score. While traditional methods often leave 80-90% of the knowledge intact in the feature space, ESC-T reduces this retention to near-zero. Furthermore, ESC is remarkably efficient, achieving speeds up to 9.17x faster than the previous fastest method (LAU).

Knowledge Retention Rate across various unlearning methods. ESC and ESC-T demonstrate significantly lower retention compared to existing baselines.

Visual Verification

Using Grad-CAM, we observed that after applying ESC, the model's attention shifts away from the forgotten objects and toward the background. This provides visual evidence that the "concept" of the object has been successfully removed from the model's internal representation.

Conclusion and Future Work

ESC and ESC-T provide a robust framework for true Knowledge Deletion by targeting the feature space. While the methods are robust, they currently require some hyperparameter tuning for optimal performance. Future research will explore Incremental Knowledge Deletion, focusing on how models can handle a continuous stream of unlearning requests without performance degradation.

Code available at: https://github.com/KU-VGI/ESC

Summary updated

BibTeX
@inproceedings{lee2025esc,
  author = {Tae-Young Lee and Sundong Park and Minwoo Jeon and Hyoseok Hwang and Gyeong-Moon Park},
  title = {{ESC: Erasing Space Concept for Knowledge Deletion}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=4ogTOgernd},
}
Figure