English

Machine Unlearning on Pre-trained Models by Residual Feature Alignment Using LoRA

Machine Learning 2026-05-12 v2 Computer Vision and Pattern Recognition

Abstract

Machine unlearning is an emerging technology that removes a subset of the training data from a trained model without significantly affecting the model performance on the remaining data. This topic is becoming increasingly important in protecting user privacy and eliminating harmful or outdated data. The key challenge lies in effectively and efficiently unlearning specific information without compromising the model's utility on the retained data. For pre-trained models, fine-tuning is an important way to achieve the unlearning target. Previous work typically fine-tuned the entire model's parameters, which incurred significant computational costs. In addition, the fine-tuning process may cause shifts in the intermediate layer features, affecting the model's overall utility. In this work, we propose a novel and efficient machine unlearning method for pre-trained models. We term the method Residual Feature Alignment Unlearning. Specifically, we leverage LoRA (Low-Rank Adaptation) to decompose the model's intermediate features into pre-trained features and residual features. By adjusting the residual features, we align the unlearned model with the pre-trained model at the intermediate feature level to achieve both unlearning and remaining targets. The method aims to learn zero residuals on the retained set and shifted residuals on the unlearning set. Extensive experiments on numerous datasets validate the effectiveness of our approach.

Keywords

Cite

@article{arxiv.2411.08443,
  title  = {Machine Unlearning on Pre-trained Models by Residual Feature Alignment Using LoRA},
  author = {Laiqiao Qin and Tianqing Zhu and Linlin Wang and Wanlei Zhou},
  journal= {arXiv preprint arXiv:2411.08443},
  year   = {2026}
}

Comments

v2: corrected a sign typo in Algorithm 1 line 13

R2 v1 2026-06-28T19:58:06.403Z