Fast-NTK: Parameter-Efficient Unlearning for Large-Scale Models
Abstract: The rapid growth of machine learning has spurred legislative initiatives such as the Right to be Forgotten,'' allowing users to request data removal. In response,machine unlearning'' proposes the selective removal of unwanted data without the need for retraining from scratch. While the Neural-Tangent-Kernel-based (NTK-based) unlearning method excels in performance, it suffers from significant computational complexity, especially for large-scale models and datasets. Our work introduces ``Fast-NTK,'' a novel NTK-based unlearning algorithm that significantly reduces the computational complexity by incorporating parameter-efficient fine-tuning methods, such as fine-tuning batch normalization layers in a CNN or visual prompts in a vision transformer. Our experimental results demonstrate scalability to much larger neural networks and datasets (e.g., 88M parameters; 5k images), surpassing the limitations of previous full-model NTK-based approaches designed for smaller cases (e.g., 8M parameters; 500 images). Notably, our approach maintains a performance comparable to the traditional method of retraining on the retain set alone. Fast-NTK can thus enable for practical and scalable NTK-based unlearning in deep neural networks.
- G. D. P. Regulation, “General data protection regulation (gdpr),” Intersoft Consulting, Accessed in October, vol. 24, no. 1, 2018.
- Y. Wu, Y. Burda, R. Salakhutdinov, and R. B. Grosse, “On the quantitative analysis of decoder-based generative models,” in Proceedings of ICLR, 2017.
- T. T. Nguyen, T. T. Huynh, P. L. Nguyen, A. W. Liew, H. Yin, and Q. V. H. Nguyen, “A survey of machine unlearning,” CoRR, vol. abs/2209.02299, 2022.
- L. Bourtoule, V. Chandrasekaran, C. A. Choquette-Choo, H. Jia, A. Travers, B. Zhang, D. Lie, and N. Papernot, “Machine unlearning,” in 42nd IEEE Symposium on Security and Privacy. IEEE, 2021, pp. 141–159.
- V. Gupta, C. Jung, S. Neel, A. Roth, S. Sharifi-Malvajerdi, and C. Waites, “Adaptive machine unlearning,” in Advances in NeurIPS, 2021.
- S. Neel, A. Roth, and S. Sharifi-Malvajerdi, “Descent-to-delete: Gradient-based methods for machine unlearning,” in Proceedings of ALT. PMLR, 2021.
- A. K. Tarun, V. S. Chundawat, M. Mandal, and M. S. Kankanhalli, “Deep regression unlearning,” in Proceedings of ICML. PMLR, 2023.
- R. Chourasia and N. Shah, “Forget unlearning: Towards true data-deletion in machine learning,” in Proceedings of ICML. PMLR, 2023.
- Y. Chen, J. Xiong, W. Xu, and J. Zuo, “A novel online incremental and decremental learning algorithm based on variable support vector machine,” Cluster Computing, vol. 22, pp. 7435–7445, 2019.
- A. Golatkar, A. Achille, and S. Soatto, “Forgetting outside the box: Scrubbing deep networks of information accessible from input-output observations,” in Proceedings of ECCV. Springer, 2020.
- ——, “Eternal sunshine of the spotless net: Selective forgetting in deep networks,” in Proceedings of CVPR. IEEE, 2020.
- J. Lin, L. Zhu, W.-M. Chen, W.-C. Wang, C. Gan, and S. Han, “On-device training under 256kb memory,” in Advances in NeurIPS, 2022.
- Z. Zheng, X. Yue, K. Wang, and Y. You, “Prompt vision transformer for domain generalization,” arXiv preprint arXiv:2208.08914, 2022.
- M. Jia, L. Tang, B.-C. Chen, C. Cardie, S. Belongie, B. Hariharan, and S.-N. Lim, “Visual prompt tuning,” in Proceedings of ECCV. Springer, 2022.
- H.-Y. Chiang, N. Frumkin, F. Liang, and D. Marculescu, “MobileTL: on-device transfer learning with inverted residual blocks,” in Proceedings of the AAAI, 2023.
- H. Xu, T. Zhu, L. Zhang, W. Zhou, and P. S. Yu, “Machine unlearning: A survey,” ACM Comput. Surv., vol. 56, no. 1, aug 2023.
- J. Lee et al., “Wide neural networks of any depth evolve as linear models under gradient descent,” in Advances in NeurIPS, 2019.
- A. Jacot, F. Gabriel, and C. Hongler, “Neural tangent kernel: Convergence and generalization in neural networks,” in Advances in NeurIPS, 2018.
- J. Jia, J. Liu, P. Ram, Y. Yao, G. Liu, Y. Liu, P. Sharma, and S. Liu, “Model sparsification can simplify machine unlearning,” CoRR, vol. abs/2304.04934, 2023.
- A. Zandieh, I. Han, H. Avron, N. Shoham, C. Kim, and J. Shin, “Scaling neural tangent kernels via sketching and random features,” in Advances in NeurIPS, 2021.
- R. Novak, J. Sohl-Dickstein, and S. S. Schoenholz, “Fast finite width neural tangent kernel,” in Proceedings of ICML. PMLR, 2022.
- A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, and I. Sutskever, “Learning transferable visual models from natural language supervision,” in Proceedings of ICML. PMLR, 2021.
- A. Dosovitskiy et al., “An image is worth 16x16 words: Transformers for image recognition at scale,” in Proceedings of ICLR, 2021.
- N. Houlsby, A. Giurgiu, S. Jastrzebski, B. Morrone, Q. De Laroussilhe, A. Gesmundo, M. Attariyan, and S. Gelly, “Parameter-efficient transfer learning for nlp,” in Proceedings of ICML. PMLR, 2019.
- H. Liu, C. Li, Q. Wu, and Y. J. Lee, “Visual instruction tuning,” arXiv preprint arXiv:2304.08485, 2023.
- A. Krizhevsky, G. Hinton et al., “Learning multiple layers of features from tiny images,” 2009.
- D. Hendrycks et al., “The many faces of robustness: A critical analysis of out-of-distribution generalization,” arXiv preprint arXiv:2006.16241, 2020.
- A. Halimi, S. Kadhe, A. Rawat, and N. Baracaldo, “Federated unlearning: How to efficiently erase a client in fl?” CoRR, vol. abs/2207.05521, 2022.
- L. Graves, V. Nagisetty, and V. Ganesh, “Amnesiac machine learning,” in Proceedings of the AAAI, 2021, pp. 11 516–11 524.
- Z. Kong and K. Chaudhuri, “Data redaction from conditional generative models,” CoRR, vol. abs/2305.11351, 2023.
- R. Bommasani et al., “On the opportunities and risks of foundation models,” arXiv preprint arXiv:2108.07258, 2021.
Paper Prompts
Sign up for free to create and run prompts on this paper.