Saved in:
Bibliographic Details
Main Authors: Zheng, Amber Yijia, Bai, Cedar Site, Bullins, Brian, Yeh, Raymond A.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.23760
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915312729849856
author Zheng, Amber Yijia
Bai, Cedar Site
Bullins, Brian
Yeh, Raymond A.
author_facet Zheng, Amber Yijia
Bai, Cedar Site
Bullins, Brian
Yeh, Raymond A.
contents Model immunization aims to pre-train models that are difficult to fine-tune on harmful tasks while retaining their utility on other non-harmful tasks. Though prior work has shown empirical evidence for immunizing text-to-image models, the key understanding of when immunization is possible and a precise definition of an immunized model remain unclear. In this work, we propose a framework, based on the condition number of a Hessian matrix, to analyze model immunization for linear models. Building on this framework, we design an algorithm with regularization terms to control the resulting condition numbers after pre-training. Empirical results on linear models and non-linear deep-nets demonstrate the effectiveness of the proposed algorithm on model immunization. The code is available at https://github.com/amberyzheng/model-immunization-cond-num.
format Preprint
id arxiv_https___arxiv_org_abs_2505_23760
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Model Immunization from a Condition Number Perspective
Zheng, Amber Yijia
Bai, Cedar Site
Bullins, Brian
Yeh, Raymond A.
Machine Learning
Model immunization aims to pre-train models that are difficult to fine-tune on harmful tasks while retaining their utility on other non-harmful tasks. Though prior work has shown empirical evidence for immunizing text-to-image models, the key understanding of when immunization is possible and a precise definition of an immunized model remain unclear. In this work, we propose a framework, based on the condition number of a Hessian matrix, to analyze model immunization for linear models. Building on this framework, we design an algorithm with regularization terms to control the resulting condition numbers after pre-training. Empirical results on linear models and non-linear deep-nets demonstrate the effectiveness of the proposed algorithm on model immunization. The code is available at https://github.com/amberyzheng/model-immunization-cond-num.
title Model Immunization from a Condition Number Perspective
topic Machine Learning
url https://arxiv.org/abs/2505.23760