Skip to main content
QUICK REVIEW

[Paper Review] Machine Unlearning of Features and Labels

Alexander Warnecke, Lukas Pirch|arXiv (Cornell University)|Aug 26, 2021
Machine Learning and Data ClassificationComputer Science9 citations
TL;DR

This paper proposes the first method for machine unlearning of features and labels using influence functions to enable closed-form parameter updates, achieving certified unlearning for convex models and significant speedups—orders of magnitude faster than retraining—while preserving model accuracy in non-convex settings like deep neural networks.

ABSTRACT

Removing information from a machine learning model is a non-trivial task that requires to partially revert the training process. This task is unavoidable when sensitive data, such as credit card numbers or passwords, accidentally enter the model and need to be removed afterwards. Recently, different concepts for machine unlearning have been proposed to address this problem. While these approaches are effective in removing individual data points, they do not scale to scenarios where larger groups of features and labels need to be reverted. In this paper, we propose the first method for unlearning features and labels. Our approach builds on the concept of influence functions and realizes unlearning through closed-form updates of model parameters. It enables to adapt the influence of training data on a learning model retrospectively, thereby correcting data leaks and privacy issues. For learning models with strongly convex loss functions, our method provides certified unlearning with theoretical guarantees. For models with non-convex losses, we empirically show that unlearning features and labels is effective and significantly faster than other strategies.

Motivation & Objective

  • To address the limitation of existing unlearning methods that only remove isolated data points, not features or labels spread across multiple instances.
  • To enable efficient, scalable unlearning of sensitive information distributed across features and labels in training data.
  • To provide theoretical guarantees for unlearning in models with strongly convex loss functions.
  • To offer a practical, fast alternative to retraining or sharding for correcting data leaks in real-world models.

Proposed method

  • The method uses influence functions to estimate the impact of training data on model parameters and reformulates this as a closed-form update for unlearning.
  • For convex models, it derives first- and second-order gradient updates that enable certified unlearning with theoretical guarantees.
  • It introduces noise into the learning process to derive an upper bound on model difference, enabling provable unlearning under differential privacy.
  • For non-convex models like deep neural networks, it applies first-order updates without theoretical guarantees but with strong empirical performance.
  • The approach allows unlearning without access to original training data, relying only on model parameters and influence estimates.
  • It supports unlearning at the feature and label level, correcting leaks that span multiple data points.

Experimental results

Research questions

  • RQ1Can machine unlearning be extended beyond individual data points to features and labels that are spread across multiple training instances?
  • RQ2Can influence functions be repurposed to enable closed-form, efficient unlearning of features and labels?
  • RQ3Does the proposed method provide certified unlearning guarantees for models with strongly convex loss functions?
  • RQ4How does the method compare in speed and accuracy to retraining and sharding for non-convex models like deep neural networks?
  • RQ5Can the method effectively mitigate label poisoning and unintended memorization in real-world applications?

Key findings

  • The proposed method achieves unlearning of features and labels with closed-form parameter updates, reducing runtime by several orders of magnitude compared to retraining.
  • For models with strongly convex loss functions, the method provides certified unlearning with theoretical guarantees based on differential privacy and influence function bounds.
  • In deep neural networks with non-convex losses, the first-order update achieves similar accuracy to retraining and sharding but is significantly faster.
  • The method maintains model accuracy across different model sizes, with runtime scaling almost linearly with parameter count.
  • Case studies show successful unlearning of sensitive features in linear models, unintended memorization in language models, and label poisoning in computer vision with minimal fidelity loss.
  • The approach is effective even when original training data is unavailable, relying only on model parameters and influence estimates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.