Pre-Forgettable Models: Prompt Learning as a Native Mechanism for Unlearning
By: Rutger Hendrix , Giovanni Patanè , Leonardo G. Russo and more
Potential Business Impact:
Removes unwanted AI memories instantly and safely.
Foundation models have transformed multimedia analysis by enabling robust and transferable representations across diverse modalities and tasks. However, their static deployment conflicts with growing societal and regulatory demands -- particularly the need to unlearn specific data upon request, as mandated by privacy frameworks such as the GDPR. Traditional unlearning approaches, including retraining, activation editing, or distillation, are often computationally expensive, fragile, and ill-suited for real-time or continuously evolving systems. In this paper, we propose a paradigm shift: rethinking unlearning not as a retroactive intervention but as a built-in capability. We introduce a prompt-based learning framework that unifies knowledge acquisition and removal within a single training phase. Rather than encoding information in model weights, our approach binds class-level semantics to dedicated prompt tokens. This design enables instant unlearning simply by removing the corresponding prompt -- without retraining, model modification, or access to original data. Experiments demonstrate that our framework preserves predictive performance on retained classes while effectively erasing forgotten ones. Beyond utility, our method exhibits strong privacy and security guarantees: it is resistant to membership inference attacks, and prompt removal prevents any residual knowledge extraction, even under adversarial conditions. This ensures compliance with data protection principles and safeguards against unauthorized access to forgotten information, making the framework suitable for deployment in sensitive and regulated environments. Overall, by embedding removability into the architecture itself, this work establishes a new foundation for designing modular, scalable and ethically responsive AI models.
Similar Papers
Forget to Know, Remember to Use: Context-Aware Unlearning for Large Language Models
Computation and Language
Keeps AI smart but forgets bad info.
Prompting Forgetting: Unlearning in GANs via Textual Guidance
Machine Learning (CS)
Removes unwanted images from AI art generators.
Prompt Attacks Reveal Superficial Knowledge Removal in Unlearning Methods
Cryptography and Security
Makes AI forget things it shouldn't.