potentialpaper

One Patch Fits All: Optimizing Universal Safety Patches for Fine-tuned LLMs

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:51 UTC · 336b85146773 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "6ZdRmR5sxG"
- }
- ],
- "title": "One Patch Fits All: Optimizing Universal Safety Patches for Fine-tuned LLMs",
- "authors": [],
- "abstract": "The fine-tuning-as-a-service paradigm allows users to customize\nlarge language models (LLMs) with their own data, but also exposes\na security risk: adversaries can craft fine-tuning datasets that\nerode the model's safety alignment. Existing defenses either require per-request computation that\nscales linearly with the volume of fine-tuning jobs, or add a\nfixed safety vector via task arithmetic, which assumes that a vector extracted at one checkpoint has the same effect on any other. This translation-invariance assumption does not hold in general. In this work, we propose \\textsc{OPUS}\n(Optimizing Patches for Universal Safety), which learns transferability by directly optimizing a universal safety patch. The framework consists of three stages:\n(1) it simulates a diverse set of fine-tuned checkpoints by\nconstructing a perturbation bank through fine-tuning and\ninterpolation, (2) it optimizes a patch so that the\npatched model refuses harmful queries while a KL term anchors it\nto the unpatched fine-tuned model to preserve utility, and\n(3) it deploys the pre-computed patch to incoming fine-tuned\nmodels via a single weight addition, requiring neither additional\ntraining nor user data. Extensive experiments across four models,\nfour tasks, and three out-of-distribution attack sources\ndemonstrate that \\textsc{OPUS} achieves the lowest average harmful\nscore in every setting while keeping task utility close to that of\nundefended fine-tuning, and incurs negligible per-request\noverhead.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "841ac9e7-d866-4f6b-be57-f29fea2b5885"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "One Patch Fits All: Optimizing Universal Safety Patches for Fine-tuned LLMs",
+ "authors": [],
+ "abstract": "The fine-tuning-as-a-service paradigm allows users to customize\nlarge language models (LLMs) with their own data, but also exposes\na security risk: adversaries can craft fine-tuning datasets that\nerode the model's safety alignment. Existing defenses either require per-request computation that\nscales linearly with the volume of fine-tuning jobs, or add a\nfixed safety vector via task arithmetic, which assumes that a vector extracted at one checkpoint has the same effect on any other. This translation-invariance assumption does not hold in general. In this work, we propose \\textsc{OPUS}\n(Optimizing Patches for Universal Safety), which learns transferability by directly optimizing a universal safety patch. The framework consists of three stages:\n(1) it simulates a diverse set of fine-tuned checkpoints by\nconstructing a perturbation bank through fine-tuning and\ninterpolation, (2) it optimizes a patch so that the\npatched model refuses harmful queries while a KL term anchors it\nto the unpatched fine-tuned model to preserve utility, and\n(3) it deploys the pre-computed patch to incoming fine-tuned\nmodels via a single weight addition, requiring neither additional\ntraining nor user data. Extensive experiments across four models,\nfour tasks, and three out-of-distribution attack sources\ndemonstrate that \\textsc{OPUS} achieves the lowest average harmful\nscore in every setting while keeping task utility close to that of\nundefended fine-tuning, and incurs negligible per-request\noverhead.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}