Vertical Machine Unlearning: Selectively Removing Sensitive Information From Latent Feature Space

Tao Guo, Song Guo, Jiewei Zhang, Wenchao Xu, Junxiao Wang

Abstract

Recently, the enactment of privacy regulations has promoted the rise of the machine unlearning paradigm. Existing studies of machine unlearning mainly focus on sample-wise unlearning, such that a learnt model will not expose user's privacy at the sample level. Yet we argue that such ability of selective removal should also be presented at the attribute level, especially for the attributes irrelevant to the main task, e.g., whether a person recognized in a face recognition system wears glasses or the age range of that person. Through a comprehensive literature review, it is found that existing studies on attribute-related problems like fairness and de-biasing learning cannot address the above concerns properly. To bridge this gap, we propose a paradigm of selectively removing input attributes from feature representations which we name 'attribute unlearning'. In this paradigm, certain attributes will be accurately captured and detached from the learned feature representations at the stage of training, according to their mutual information. The particular attributes will be progressively eliminated along with the training procedure towards convergence, while the rest of attributes related to the main task are preserved for achieving competitive model performance. Considering the computational complexity during the training process, we not only give a theoretically approximate training method, but also propose an acceleration scheme to speed up the training process. We validate our method by spanning several datasets and models and demonstrate that our design can preserve model fidelity and reach prevailing unlearning efficacy with high efficiency. The proposed unlearning paradigm builds a foundation for future machine unlearning system and will become an essential component of the latest privacy-related legislation.

Introduction

The enactment of privacy laws like the GDPR and CCPA has established the "right to be forgotten," necessitating the development of machine unlearning techniques. Current research primarily focuses on sample-wise unlearning, where a model is updated to forget an entire data sample. However, this "blunt instrument" approach often discards useful, non-sensitive information, leading to degraded model performance.

This paper introduces attribute unlearning, a novel paradigm designed to selectively remove specific sensitive attributes (e.g., race, age, or gender) from a model's latent feature space while preserving its performance on the primary task. Unlike fairness or de-biasing techniques that aim to balance predictions, attribute unlearning seeks the complete mathematical removal of specific information from the feature representation. This "scalpel-like" approach allows for more surgical privacy preservation in unstructured data like images, where attributes are deeply embedded and highly interactive.

Methodology

The proposed architecture is centered on the concept of Representation Detachment. The framework splits the neural network into two distinct components: a bottom "representation detachment extractor" and a top "classifier."

Architecture of the proposed attribute unlearning framework, featuring a Representation Detachment Extractor and a decoupled Classifier to facilitate local parallelism.

Representation Detachment Loss

To achieve unlearning, an auxiliary network is attached to the intermediate layer between the extractor and classifier. This network calculates a custom representation detachment loss based on mutual information. The objective is twofold:

  1. Minimize Mutual Information between the extracted feature map and the target attribute to be forgotten.
  2. Maximize Mutual Information with the main task labels to ensure the model retains its utility.

Since exact mutual information is computationally intractable, the authors derive and optimize a theoretical upper bound for this loss.

Local Parallelism

To address the computational overhead of unlearning, the authors implement an acceleration scheme. By decoupling the extractor and the classifier, the system breaks the "backwards locking" bottleneck of standard backpropagation. This allows both components to conduct forward and backward passes in parallel, significantly reducing training latency.

Experimental Results

The method was evaluated using three standard image classification datasets: Fairface (Gender prediction vs. Race/Age), CelebA (Smiling prediction vs. Male/Mustache/Big Nose), and CIFAR-10 (Object classification vs. Living/Non-living).

Performance Metrics

The authors introduced the Attribute Unlearning Measure (AUM), defined as the harmonic mean of unlearning efficacy (the model's inability to predict the forgotten attribute) and fidelity (performance on the main task).

Comparison of Attribute Unlearning Measure (AUM) across different ResNet architectures, demonstrating the superiority of the proposed method over baselines.

As shown in the results, the proposed method consistently outperforms baselines across various ResNet architectures. For instance, on the Fairface dataset with a ResNet-50 backbone, the method achieved an AUM of 0.8347, significantly higher than the 0.6889 achieved by a baseline that physically masked attributes in input images.

Efficiency and Visualization

The local parallelism approach resulted in a 1.42x speedup in training latency and a 21.3% reduction in memory consumption compared to standard end-to-end training. Qualitatively, visual reconstructions from the unlearned feature maps showed that areas corresponding to forgotten attributes (like mustaches or glasses) became visually ambiguous, providing concrete evidence that the information was successfully detached from the latent space.

Discussion and Conclusion

Attribute unlearning represents a significant shift from sample-level deletion to feature-level disentanglement. By leveraging information theory as an "eraser," the network can find representations that are completely agnostic to sensitive traits without destroying surrounding knowledge. While the method currently relies on pre-labeled attributes and upper-bound approximations of mutual information, it establishes a foundation for future privacy-compliant machine learning systems. Future work may explore multi-attribute unlearning and methods to identify hidden biases without explicit labels.

Summary updated

BibTeX
@misc{guo2022vertical,
  author = {Tao Guo and Song Guo and Jiewei Zhang and Wenchao Xu and Junxiao Wang},
  title = {{Vertical Machine Unlearning: Selectively Removing Sensitive Information From Latent Feature Space}},
  year = {2022},
  eprint = {2202.13295},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.13295},
}
Figure