[Paper Review] Can Bad Teaching Induce Forgetting? Unlearning in Deep Networks using an Incompetent Teacher
This paper proposes a novel teacher-student distillation framework for machine unlearning that uses a competent teacher and an incompetent teacher to selectively transfer knowledge and induce forgetting in deep neural networks. The method enables efficient, architecture-agnostic unlearning for single/multiple class and random subset forgetting, achieving high performance with a new retrained-model-free metric (ZRF), and is up to 70× faster than retraining.
Machine unlearning has become an important area of research due to an increasing need for machine learning (ML) applications to comply with the emerging data privacy regulations. It facilitates the provision for removal of certain set or class of data from an already trained ML model without requiring retraining from scratch. Recently, several efforts have been put in to make unlearning to be effective and efficient. We propose a novel machine unlearning method by exploring the utility of competent and incompetent teachers in a student-teacher framework to induce forgetfulness. The knowledge from the competent and incompetent teachers is selectively transferred to the student to obtain a model that doesn't contain any information about the forget data. We experimentally show that this method generalizes well, is fast and effective. Furthermore, we introduce the zero retrain forgetting (ZRF) metric to evaluate any unlearning method. Unlike the existing unlearning metrics, the ZRF score does not depend on the availability of the expensive retrained model. This makes it useful for analysis of the unlearned model after deployment as well. We present results of experiments conducted for random subset forgetting and class forgetting on various deep networks and across different application domains.~Source code is at: https://github.com/vikram2000b/bad-teaching-unlearning
Motivation & Objective
- To address the growing need for machine unlearning in compliance with data privacy regulations like GDPR and CCPA.
- To develop an unlearning method that works without constraints on training procedures, avoiding reliance on extra models or specific optimizers.
- To evaluate unlearning effectiveness without requiring a retrained model as a reference, enabling post-deployment analysis.
- To improve efficiency and generalization in unlearning while minimizing privacy leakage risks.
- To demonstrate broad applicability across diverse deep learning architectures and multimedia applications.
Proposed method
- The method employs a student-teacher distillation framework with two teachers: a competent teacher (trained on all data) and an incompetent teacher (randomly initialized or simplified model) to guide knowledge transfer.
- Knowledge is selectively transferred from both teachers to the student, with the incompetent teacher promoting forgetting of target data by distorting predictions on forget samples.
- The incompetent teacher is implemented as a small randomly initialized neural network or a random prediction generator that assigns uniform probabilities with added Gaussian noise.
- The student network is trained using distillation loss that combines knowledge from both teachers, with the incompetent teacher's output suppressing memorization of forget data.
- The framework is architecture-agnostic and works with CNNs, Vision Transformers, and LSTMs, requiring no modifications to the original training process.
- A new evaluation metric, Zero Retrain Forgetting (ZRF), is introduced to assess unlearning performance without needing a retrained model as a reference.
Experimental results
Research questions
- RQ1Can an incompetent teacher effectively induce forgetting in a student network without retraining?
- RQ2How does the proposed method perform across different forgetting modes: single-class, multiple-class, and random subset forgetting?
- RQ3Can the method generalize across diverse deep learning architectures and application domains without training procedure constraints?
- RQ4How does the ZRF metric compare to existing evaluation methods in assessing unlearning quality and generalization?
- RQ5What is the trade-off between efficiency and performance when using different types of incompetent teachers?
Key findings
- The method achieves 1% accuracy on the forget set (Rocket class) when using a ResNet34 as the incompetent teacher, compared to 15% with ResNet18 and 5% with a random predictor, showing minimal memorization.
- Retain set accuracy remains high at 85.8% with ResNet34 teacher, 85.86% with ResNet18, and 86.04% with a random predictor, indicating strong generalization.
- Using a partially trained (1 epoch on 50% retain data) model as the incompetent teacher yields 2% accuracy on the forget set and 85.07% on the retain set, closely matching the retrained model’s 3% and 85.79%.
- The ZRF metric shows strong correlation with unlearning quality and enables evaluation without access to a retrained model, making it practical for real-world deployment.
- The method is up to 70× faster than full retraining when using a random-weight teacher, and over 20× faster than Amnesiac learning, with negligible performance drop.
- The framework generalizes across modalities, demonstrating effectiveness on image classification, human activity recognition, and epileptic seizure detection tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.