{"id":{"repo_id":"vt","oai_identifier":"oai:vtechworks.lib.vt.edu:10919/143623"},"canonical_url":"https://search.ndltd.org/etd/vt/oai:vtechworks.lib.vt.edu:10919/143623","repository":{"repo_id":"vt","name":"Virginia Tech","base_url":"https://vtechworks.lib.vt.edu/oai/request"},"display":{"title":"Immunizing Models Against Harmful Long-Horizon Fine-Tuning via Contractive Optimization Dynamics","abstract":"Foundation models are valuable because they can be fine-tuned for many downstream tasks, but this adaptability also makes them easy to repurpose for harmful objectives. This thesis studies model immunization, where the goal is to modify a model before release so that it remains useful and fine-tunable for benign tasks, but is difficult to adapt to a designated harmful task. Prior immunization methods mainly protect against the early stages of harmful fine-tuning by shaping local geometry or by using meta-learning to penalize loss reduction over a short simulated attacker trajectory. In practice, attackers can continue fine-tuning for many more steps, which often weakens these short-horizon defenses. This thesis proposes CLAMP (Contractive Long-horizon Attacker Mitigation via Progress-bounding), a long-horizon model immunization method that targets the dynamics of harmful fine-tuning. Rather than only making the harmful task difficult at initialization, CLAMP encourages harmful fine-tuning updates to become contractive, so that successive harmful updates shrink over time. This contractive behavior allows us to bound the attacker's remaining movement after a finite simulation and derive a closed-form upper bound on future harmful progress. CLAMP combines this long-horizon progress bound with a curvature penalty that makes harmful descent directions harder to optimize. The resulting bi-level objective minimizes the attacker's predicted total improvement over the full fine-tuning trajectory, rather than only the improvement observed in a few simulated inner-loop steps. We evaluate CLAMP across classification, generative diffusion models, and autoregressive language models. Across these settings, CLAMP substantially reduces harmful adaptation under long fine-tuning while maintaining benign utility.","abstract_html":"Foundation models are valuable because they can be fine-tuned for many downstream tasks, but this adaptability also makes them easy to repurpose for harmful objectives. This thesis studies model immunization, where the goal is to modify a model before release so that it remains useful and fine-tunable for benign tasks, but is difficult to adapt to a designated harmful task. Prior immunization methods mainly protect against the early stages of harmful fine-tuning by shaping local geometry or by using meta-learning to penalize loss reduction over a short simulated attacker trajectory. In practice, attackers can continue fine-tuning for many more steps, which often weakens these short-horizon defenses. This thesis proposes CLAMP (Contractive Long-horizon Attacker Mitigation via Progress-bounding), a long-horizon model immunization method that targets the dynamics of harmful fine-tuning. Rather than only making the harmful task difficult at initialization, CLAMP encourages harmful fine-tuning updates to become contractive, so that successive harmful updates shrink over time. This contractive behavior allows us to bound the attacker&#x27;s remaining movement after a finite simulation and derive a closed-form upper bound on future harmful progress. CLAMP combines this long-horizon progress bound with a curvature penalty that makes harmful descent directions harder to optimize. The resulting bi-level objective minimizes the attacker&#x27;s predicted total improvement over the full fine-tuning trajectory, rather than only the improvement observed in a few simulated inner-loop steps. We evaluate CLAMP across classification, generative diffusion models, and autoregressive language models. Across these settings, CLAMP substantially reduces harmful adaptation under long fine-tuning while maintaining benign utility.","abstract_has_math":false,"creators":["Sarker, Najibul Haque"],"institution":"Virginia Tech","degree_name":"Master of Science","degree_level":"masters","degree_discipline":"Computer Science & Applications","degree_department":"Computer Science and#38; Applications","school":null,"contributors":[],"advisors":[],"committee_chairs":["Thomas, Christopher Lee"],"committee_members":["Jia, Ruoxi","Yanardag Delul, Pinar"],"year":2026,"date_issued":"2026-07-09","date_published":"2026-07-09","updated_at":"2026-11-18T20:01:39Z","subjects":["model immunization","post training"],"languages":["en"],"rights":["Creative Commons Attribution-NonCommercial 4.0 International"],"rights_urls":["http://creativecommons.org/licenses/by-nc/4.0/"],"identifier_entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:47134"],"render_values":[{"text":"vt_gsexam:47134","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10919/143623","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10919/143623","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://vtechworks.lib.vt.edu/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Avtechworks.lib.vt.edu%3A10919%2F143623","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeechair","label":"Committee Chair","values":["Thomas, Christopher Lee"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Jia, Ruoxi","Yanardag Delul, Pinar"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science and#38; Applications"]},{"key":"dc:creator","label":"Author","values":["Sarker, Najibul Haque"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-07-10T08:00:36Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-07-10T08:00:36Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-07-09"]},{"key":"dc:publisher","label":"Institution","values":["Virginia Tech"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science & Applications"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Virginia Polytechnic Institute and State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["model immunization","post training"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["Creative Commons Attribution-NonCommercial 4.0 International"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://creativecommons.org/licenses/by-nc/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:47134"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10919/143623"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Foundation models are valuable because they can be fine-tuned for many downstream tasks, but this adaptability also makes them easy to repurpose for harmful objectives. This thesis studies model immunization, where the goal is to modify a model before release so that it remains useful and fine-tunable for benign tasks, but is difficult to adapt to a designated harmful task. Prior immunization methods mainly protect against the early stages of harmful fine-tuning by shaping local geometry or by using meta-learning to penalize loss reduction over a short simulated attacker trajectory. In practice, attackers can continue fine-tuning for many more steps, which often weakens these short-horizon defenses. This thesis proposes CLAMP (Contractive Long-horizon Attacker Mitigation via Progress-bounding), a long-horizon model immunization method that targets the dynamics of harmful fine-tuning. Rather than only making the harmful task difficult at initialization, CLAMP encourages harmful fine-tuning updates to become contractive, so that successive harmful updates shrink over time. This contractive behavior allows us to bound the attacker's remaining movement after a finite simulation and derive a closed-form upper bound on future harmful progress. CLAMP combines this long-horizon progress bound with a curvature penalty that makes harmful descent directions harder to optimize. The resulting bi-level objective minimizes the attacker's predicted total improvement over the full fine-tuning trajectory, rather than only the improvement observed in a few simulated inner-loop steps. We evaluate CLAMP across classification, generative diffusion models, and autoregressive language models. Across these settings, CLAMP substantially reduces harmful adaptation under long fine-tuning while maintaining benign utility."]},{"key":"dc:description.abstractgeneral","label":"General Abstract","values":["Modern artificial intelligence systems are often built by first training a large general-purpose model and then adapting it to a new task through a process called fine-tuning, where the model is given additional training on a smaller, task-specific dataset. Fine-tuning is powerful and efficient, but it also creates a serious risk: the same process that helps adapt a model for helpful purposes can also be used to repurpose it for harmful ones. Existing defenses try to make this harmful adaptation more difficult, but many of them focus only on the early stages of retraining. In practice, someone with enough time and computing resources can often continue training the model until these protections are overcome. This thesis presents a new defense method called CLAMP, which is designed to make harmful retraining increasingly ineffective over time. Rather than only making the model difficult to misuse at the start of retraining, CLAMP changes the model so that each harmful training step becomes less useful than the one before it. In effect, the method attempts to trap harmful retraining by slowing it down more and more as it continues. The approach also reshapes the model's internal learning behavior so that harmful goals become harder to optimize, without significantly interfering with normal and beneficial uses. To test this idea, this thesis studies several types of AI systems, including models for image classification, image generation, and text generation. The results show that CLAMP is more effective than earlier methods at resisting long periods of harmful retraining, while still preserving the model's ability to perform its intended tasks and adapt to safe new ones. These findings suggest that it is possible to build AI systems that remain useful and flexible while being more resistant to misuse."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master of Science"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["ETD"]},{"key":"dc:title","label":"Title","values":["Immunizing Models Against Harmful Long-Horizon Fine-Tuning via Contractive Optimization Dynamics"]}]}],"canonical_facts":{"dc:contributor.committeechair":["Thomas, Christopher Lee"],"dc:contributor.committeemember":["Jia, Ruoxi","Yanardag Delul, Pinar"],"dc:contributor.department":["Computer Science and#38; Applications"],"dc:creator":["Sarker, Najibul Haque"],"dc:date.accessioned":["2026-07-10T08:00:36Z"],"dc:date.available":["2026-07-10T08:00:36Z"],"dc:date.issued":["2026-07-09"],"dc:description.abstract":["Foundation models are valuable because they can be fine-tuned for many downstream tasks, but this adaptability also makes them easy to repurpose for harmful objectives. This thesis studies model immunization, where the goal is to modify a model before release so that it remains useful and fine-tunable for benign tasks, but is difficult to adapt to a designated harmful task. Prior immunization methods mainly protect against the early stages of harmful fine-tuning by shaping local geometry or by using meta-learning to penalize loss reduction over a short simulated attacker trajectory. In practice, attackers can continue fine-tuning for many more steps, which often weakens these short-horizon defenses. This thesis proposes CLAMP (Contractive Long-horizon Attacker Mitigation via Progress-bounding), a long-horizon model immunization method that targets the dynamics of harmful fine-tuning. Rather than only making the harmful task difficult at initialization, CLAMP encourages harmful fine-tuning updates to become contractive, so that successive harmful updates shrink over time. This contractive behavior allows us to bound the attacker's remaining movement after a finite simulation and derive a closed-form upper bound on future harmful progress. CLAMP combines this long-horizon progress bound with a curvature penalty that makes harmful descent directions harder to optimize. The resulting bi-level objective minimizes the attacker's predicted total improvement over the full fine-tuning trajectory, rather than only the improvement observed in a few simulated inner-loop steps. We evaluate CLAMP across classification, generative diffusion models, and autoregressive language models. Across these settings, CLAMP substantially reduces harmful adaptation under long fine-tuning while maintaining benign utility."],"dc:description.abstractgeneral":["Modern artificial intelligence systems are often built by first training a large general-purpose model and then adapting it to a new task through a process called fine-tuning, where the model is given additional training on a smaller, task-specific dataset. Fine-tuning is powerful and efficient, but it also creates a serious risk: the same process that helps adapt a model for helpful purposes can also be used to repurpose it for harmful ones. Existing defenses try to make this harmful adaptation more difficult, but many of them focus only on the early stages of retraining. In practice, someone with enough time and computing resources can often continue training the model until these protections are overcome. This thesis presents a new defense method called CLAMP, which is designed to make harmful retraining increasingly ineffective over time. Rather than only making the model difficult to misuse at the start of retraining, CLAMP changes the model so that each harmful training step becomes less useful than the one before it. In effect, the method attempts to trap harmful retraining by slowing it down more and more as it continues. The approach also reshapes the model's internal learning behavior so that harmful goals become harder to optimize, without significantly interfering with normal and beneficial uses. To test this idea, this thesis studies several types of AI systems, including models for image classification, image generation, and text generation. The results show that CLAMP is more effective than earlier methods at resisting long periods of harmful retraining, while still preserving the model's ability to perform its intended tasks and adapt to safe new ones. These findings suggest that it is possible to build AI systems that remain useful and flexible while being more resistant to misuse."],"dc:description.degree":["Master of Science"],"dc:format.medium":["ETD"],"dc:identifier.other":["vt_gsexam:47134"],"dc:identifier.uri":["https://hdl.handle.net/10919/143623"],"dc:language.iso":["en"],"dc:publisher":["Virginia Tech"],"dc:rights":["Creative Commons Attribution-NonCommercial 4.0 International"],"dc:rights.uri":["http://creativecommons.org/licenses/by-nc/4.0/"],"dc:subject":["model immunization","post training"],"dc:title":["Immunizing Models Against Harmful Long-Horizon Fine-Tuning via Contractive Optimization Dynamics"],"dc:type":["Thesis"],"thesis:degree_discipline":["Computer Science & Applications"],"thesis:degree_level":["masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Virginia Polytechnic Institute and State University"]},"updated_at":"2026-11-18T20:01:39Z"}