SLDR: Defending Against Malicious Fine-tuning via Selective Layers Recovery and Dynamic Routing
Import NeurIPS 2026 submission jjuXPhJpD0: 8 notes
@openreview[bot] · 2026-11-22 17:58 UTC · 114a91983906
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,26 @@+{+ "layout": 5,+ "identifiers": [+ {+ "scheme": "openreview",+ "value": "jjuXPhJpD0"+ }+ ],+ "title": "SLDR: Defending Against Malicious Fine-tuning via Selective Layers Recovery and Dynamic Routing",+ "authors": [+ "Hui Zhang",+ "Yachao Yuan",+ "Jiayun Wang",+ "Yuanzhuo Li",+ "Hongtao Wang",+ "Yali Yuan"+ ],+ "abstract": "Fine-tuning-as-a-service enables users to adapt aligned large language models (LLMs) to specialized tasks, but malicious fine-tuning can erode refusal behavior while preserving task performance on legitimate inputs. We revisit recent layer-wise safety diagnostics and find that safety sensitivity is signed: scaling different layers can strengthen refusal, weaken it, or have little effect. Motivated by this observation, we propose SLDR, a post-fine-tuning defense based on Selective Layers Recovery and Dynamic Routing. SLDR trains a LoRA recovery adapter only on the layers with the maximum and minimum sensitivity scores in the signed spectrum, and uses representation-based dynamic routing inference to activate the adapter only for malicious queries. Across four model architectures, five downstream tasks, and four harmful benchmarks, SLDR substantially reduces harmful outputs while preserving downstream utility. On Llama3.1/SST2, SLDR reduces the average harmful score from 11.54 to 0.08 while maintaining downstream accuracy, and the harmful score remains near zero under poisoning ratios up to 0.9.",+ "year": 2026,+ "venue": "NeurIPS 2026",+ "source": "openreview",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
prek.toml added
+++ b/prek.toml@@ -0,0 +1,36 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
reviews/openreview/jjuxphjpd0/forms.json added
+++ b/reviews/openreview/jjuxphjpd0/forms.json@@ -0,0 +1,227 @@+{+ "schema": "forms/1",+ "forms": {+ "Meta_Review": {+ "label": "Meta-review",+ "fields": [+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ }+ ]+ },+ "Decision": {+ "label": "Decision",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "hidden": true+ },+ {+ "key": "decision",+ "label": "Decision",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ },+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ },+ {+ "key": "final_justification",+ "label": "Final justification",+ "type": "text"+ }+ ]+ },+ "Official_Comment": {+ "label": "Comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Public_Comment": {+ "label": "Public comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Withdrawal": {+ "label": "Withdrawal",+ "fields": [+ {+ "key": "withdrawal_confirmation",+ "label": "Confirmation",+ "hidden": true+ }+ ]+ },+ "Desk_Rejection": {+ "label": "Desk rejection",+ "fields": [+ {+ "key": "desk_reject_comments",+ "label": "Reason",+ "type": "text"+ }+ ]+ },+ "Official_Review": {+ "label": "Official review",+ "summary": [+ "rating",+ "confidence",+ "quality",+ "clarity",+ "significance",+ "originality"+ ],+ "fields": [+ {+ "key": "rating",+ "label": "Rating",+ "type": "score",+ "min": 1,+ "max": 6+ },+ {+ "key": "confidence",+ "label": "Confidence",+ "type": "score",+ "min": 1,+ "max": 5+ },+ {+ "key": "quality",+ "label": "Quality",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "clarity",+ "label": "Clarity",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "significance",+ "label": "Significance",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "originality",+ "label": "Originality",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "contribution_type",+ "label": "Contribution type",+ "type": "choice"+ },+ {+ "key": "summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "strengths_and_weaknesses",+ "label": "Strengths and weaknesses",+ "type": "text"+ },+ {+ "key": "questions",+ "label": "Questions",+ "type": "text"+ },+ {+ "key": "limitations",+ "label": "Limitations",+ "type": "text"+ },+ {+ "key": "final_justification",+ "label": "Final justification",+ "type": "text"+ },+ {+ "key": "paper_formatting_concerns",+ "label": "Formatting concerns",+ "type": "text"+ },+ {+ "key": "ethical_concerns",+ "label": "Ethical concerns",+ "type": "choice"+ },+ {+ "key": "code_of_conduct_acknowledgement",+ "label": "Code of conduct",+ "hidden": true+ },+ {+ "key": "responsible_reviewing_acknowledgement",+ "label": "Responsible reviewing",+ "hidden": true+ }+ ]+ },+ "Rebuttal": {+ "label": "Rebuttal",+ "fields": [+ {+ "key": "rebuttal",+ "label": "Rebuttal",+ "type": "text"+ }+ ]+ },+ "Ethics_Review": {+ "label": "Ethics review",+ "fields": [+ {+ "key": "scope_of_ethics_concerns",+ "label": "Scope",+ "type": "choice"+ },+ {+ "key": "ethics_review",+ "label": "Ethics review",+ "type": "text"+ }+ ]+ }+ },+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/notes/8ew7ll7a94.json added
+++ b/reviews/openreview/jjuxphjpd0/notes/8ew7ll7a94.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "8ew7lL7A94",+ "replyTo": null,+ "kind": "meta_review",+ "invitation": "Meta_Review",+ "signature": "Area Chair npxu",+ "content": {+ "metareview": "This paper works on the problem of malicious fine-tuning, with the observation that scaling different layers can strengthen, weaken, or have little effect on refusal. The solution proposed is to identify crucial layers to align on exclusively. \n\nIn general, the paper is well-motivated with a straightforward method that is validated comprehensively empirically. However, I tend to agree with the weaknesses that the reviewers have pointed out. This includes a lack of adaptive attack mechanism (e.g., whether adaptive attackers can craft inputs with low malicious scores to bypass), an evaluation that is narrower than claimed (e.g., does the method apply beyond the fine-tuning way the authors use?), the lack of robustness tests (e.g., metrics seem weak against some prompt settings. Some reviewers also feel that parts of the pipeline seem to just combine existing ideas.\n\nThe authors are encouraged to work on expanding their experimental coverage to address the concerns pointed out above, and also highlight the novelty of their work.\n\nFinal justification: Please see below for reasons to accept."+ },+ "createdAt": "2026-07-21T14:00:29.920Z",+ "modifiedAt": "2026-11-18T15:25:29.273Z",+ "url": "https://openreview.net/forum?id=jjuXPhJpD0¬eId=8ew7lL7A94",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/notes/g3zyos7dnr.json added
+++ b/reviews/openreview/jjuxphjpd0/notes/g3zyos7dnr.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "G3zyos7dnr",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer YhrP",+ "content": {+ "summary": "The paper studies post-fine-tuning recovery for aligned LLMs in fine-tuning-as-a-service settings, where a user-provided dataset may mix benign task examples with harmful instruction-response pairs. The central observation is that layer-wise safety sensitivity is signed: scaling some layers increases refusal behavior, scaling others decreases it, and many layers have little measurable effect.\nBased on this observation, the paper proposes SLDR, which first identifies the layers with minimum and maximum signed sensitivity, denoted $l_{\\min}$ and $l_{\\max}$. After malicious LoRA fine-tuning, SLDR trains a LoRA recovery adapter only on these selected layers using a small alignment dataset. At inference time, it uses a representation-based routing score $S_{\\text{malicious}}(x)$ to activate the recovery adapter only when the input is judged likely to be harmful.\nThe empirical evaluation covers several model families, downstream tasks, poisoning ratios, and harmful-query benchmarks. The reported results show large reductions in harmful score while preserving downstream fine-tuning accuracy, with ablations on alignment data size, threshold $\\tau$, selected layers, and dynamic routing.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "**Strengths**\n- The signed layer-sensitivity diagnostic is simple, interpretable, and well connected to the proposed recovery mechanism.\n- The method directly targets an important safety-utility tradeoff in post-fine-tuning repair\n- The experimental section is broad in terms of model families, downstream tasks, poisoning ratios, and harmful benchmarks\n- The ablations support several key design choices: using both $l_{\\min}$ and $l_{\\max}$, using dynamic routing, and using a relatively small alignment set\n\n**Major Weaknesses**\n- The evaluation does not sufficiently test adaptive attacks against the routing mechanism. Since routing depends on $S_{\\text{malicious}}(x) > \\tau$, an attacker who can craft inputs with low malicious score may bypass the recovery adapter. The paper acknowledges this limitation but does not quantify it\n- The threat model is narrower than the title suggests. Experiments focus on LoRA-based malicious fine-tuning, and the method is stated not to apply to full-parameter fine-tuning. This should be reflected more clearly in the main claims\n- The paper reports point estimates without error bars, confidence intervals, or repeated-seed results. This is important because layer selection, poison sampling, LoRA initialization, and reference-set sampling could all affect the reported harmful score and fine-tuning accuracy\n- The safety evaluation relies heavily on automated judges. GPT-4o is used only for a subset of comparisons, and the final router is not evaluated with standard detection metrics such as AUROC, TPR/FPR, or benign over-refusal rate\n- The results on obfuscated prompt attacks are much weaker than the main results: for example, the reported harmful score remains high under the Zulu setting. I think that this limits the strength of the robustness claims\n\n\n**Minor Weaknesses**\n- The refusal-counting probe uses a keyword-based classifier, which may misclassify refusals or non-refusals. A sensitivity analysis with an LLM judge or human-labeled subset would strengthen this component\n- The paper would benefit from clearer reporting of computational overhead, especially the cost of layer-wise probing and inference-time routing\n- Some comparisons mix post-fine-tuning recovery methods with methods that intervene during fine-tuning. The distinction should be made clearer\n- The manuscript contains several presentation issues, including typos such as “Finetune Accurancy”\n- Code is promised after acceptance, but the authors might have benefitted from providing an anonymized code base or reproduction scripts at submission time",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "- Can the authors evaluate adaptive inputs designed to reduce $S_{\\text{malicious}}(x)$ while preserving harmful intent? I would increase my score if SLDR remains effective under such inputs, and decrease if routing is easily bypassed.\n- Can the authors report variance over multiple random seeds for poison sampling, LoRA initialization, reference-set selection, and layer selection? My score would increase if the main gains remain stable with confidence intervals.\n- Can the authors provide router metrics such as AUROC, TPR, FPR, and benign over-refusal rate on held-out benign and harmful sets? This would clarify whether $\\tau = 0$ is robust or dataset-specific.\n- Can the authors clarify how much of the method transfers to QLoRA, merged adapters, or full-parameter fine-tuning? I would increase the score if at least one additional fine-tuning regime shows similar trends.\n- Can the authors provide an anonymized implementation or detailed reproduction scripts before acceptance? This would make the strong empirical claims easier to verify.",+ "limitations": "Partially. The authors acknowledge important limitations, including LoRA-only applicability, lack of 70B-scale experiments, limited OOD attacks, and possible routing bypasses. I would also suggest explicitly discussing missing statistical uncertainty, benign over-refusal behavior, dependence on automated safety judges, and the lack of submission-time code.",+ "rating": 5,+ "confidence": 4,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "N/A",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "The rebuttal has addressed my comments and I raise my score to Accept."+ },+ "createdAt": "2026-06-26T09:24:35.887Z",+ "modifiedAt": "2026-11-18T13:45:03.357Z",+ "url": "https://openreview.net/forum?id=jjuXPhJpD0¬eId=G3zyos7dnr",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/notes/hf4koawscu.json added
+++ b/reviews/openreview/jjuxphjpd0/notes/hf4koawscu.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "HF4KOAWScu",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer 22kL",+ "content": {+ "summary": "This paper proposes SLDR, a post-fine-tuning defense method against malicious fine-tuning. The main idea is to perform a signed layer-wise sensitivity analysis, identifying layers that strengthen or suppress refusal behavior, and then apply a selective recovery strategy by training LoRA adapters only on two extreme layers. At inference time, the method further uses a representation-based routing mechanism to decide whether to activate the recovery adapter.\n\nThe method is evaluated across multiple model families, downstream tasks, poisoning ratios, and safety benchmarks. The results consistently show strong reduction in harmful outputs while maintaining downstream task performance.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "The paper is fairly complete as a system and covers both diagnosis and recovery in a single pipeline. The experimental evaluation is also quite extensive, including different model architectures, tasks, and poisoning ratios, which makes the empirical part reasonably solid.\n\nHowever, I don’t think the core idea is particularly strong, and most components feel like combinations or straightforward extensions of existing techniques.\n\n(1) The layer-wise analysis is based on standard perturbation-based safety probing. While the paper introduces a signed sensitivity score, the underlying mechanism is still closely related to prior work on layer-wise safety localization such as Safety Layers in Aligned Large Language Models [1]. In addition, the broader idea of characterizing how internal representations affect safety behavior under fine-tuning is also related to safety preservation and transfer settings such as EnchTable [2]. I think the paper should explicitly cite and discuss these works when motivating the signed layer formulation, as they already establish that safety behavior is unevenly distributed across layers and can be characterized via layer-wise interventions.\n\n(2) The recovery strategy is quite minimal: only two layers (lmin and lmax) are selected for LoRA adaptation. This choice feels somewhat ad hoc, and the paper does not clearly justify why extreme layers alone are sufficient under more realistic or adaptive malicious fine-tuning settings. Related work such as EnchTable [2] also considers safety preservation under fine-tuning, and should be cited when discussing design choices for post-finetuning recovery. The connection to prior safety-aware adaptation methods is currently under-specified.\n\n(3) The dynamic routing mechanism is essentially a representation similarity-based gating strategy between harmful and benign anchors. While it improves efficiency, it is relatively close to standard embedding-based safety classification or inference-time filtering methods. This line of inference-time safety control should be better positioned with respect to prior work, and additional relevant citations would help clarify whether this is a new formulation or a variant of existing routing-based safety detection methods.\n\n(4) Overall, the system combines layer-wise probing, LoRA-based recovery, and representation-based routing. Each component is reasonable, but the paper does not clearly isolate what is fundamentally new beyond integrating known ideas into a unified pipeline.\n\n(5) There is also a concern about generality. Most experiments are still based on LoRA-based malicious fine-tuning under controlled poisoning ratios. It is not fully clear whether the signed-layer structure and two-layer recovery would remain stable under stronger adaptive attacks or more diverse training distributions.\n\nOverall, the method is well-engineered and the empirical results are strong, but the novelty feels moderate and the contribution is somewhat incremental relative to prior safety localization and safety-aware fine-tuning literature.\n\nReferences:\n\n[1] Safety Layers in Aligned Large Language Models\n\n[2] EnchTable: Unified Safety Alignment Transfer in Fine-tuned LLMs",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "see in weakness",+ "limitations": "The method relies on a relatively simplified layer-wise diagnostic and a fixed two-layer recovery assumption, which may not generalize well to more complex or adaptive malicious fine-tuning scenarios. In addition, the routing mechanism is based on representation similarity, which may be sensitive to distribution shift and could introduce misclassification of benign or harmful inputs in more realistic settings.",+ "rating": 4,+ "confidence": 5,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "No major issues.",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "The rebuttal and follow-up experiments resolved most of my concerns, particularly regarding comparisons with EnchTable and the original aligned model, robustness beyond LoRA-based attacks, and adaptive attacks against the routing mechanism. Although SLDR does not fully recover the original safety level under all jailbreak attacks, the results still provide sufficient evidence for the effectiveness of the proposed method. Given the extensive evaluation and strengthened empirical evidence, I raise my score to 4."+ },+ "createdAt": "2026-06-25T17:45:20.707Z",+ "modifiedAt": "2026-11-18T13:45:04.904Z",+ "url": "https://openreview.net/forum?id=jjuXPhJpD0¬eId=HF4KOAWScu",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/notes/hycb0m1smd.json added
+++ b/reviews/openreview/jjuxphjpd0/notes/hycb0m1smd.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "HyCb0m1smD",+ "replyTo": "K9nxSXxm2y",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thank you very much for your thoughtful review. We address the weaknesses below.\n\n**W1. Why route harmful prompts to the recovered model rather than the original aligned model? Can threshold tuning replace recovery?**\n\n**A1.** We apologize that our notation made the routing mechanism appear to dispatch queries between different models. In fact, $M_{\\mathrm{att}}$ and $M_{\\mathrm{rec}}$ in Eq. (11) are two inference states of the same task-adapted model, not two independently deployed models. For every query, the backbone and downstream task parameters remain unchanged; SLDR only decides whether to activate the safety-recovery LoRA at $l_{\\min}$ and $l_{\\max}$. The adapter is disabled for benign queries and enabled for harmful queries. Thus, there is no communication or routing between separate models.\n\nRouting to the original aligned model $M_0$ would instead require rolling the model back to its pre-fine-tuning state by disabling the downstream task adaptation, or deploying a separate copy of $M_0$. The former discards the capability learned from the downstream data, while the latter introduces additional model-switching and serving overhead. By contrast, SLDR preserves the task-adapted model throughout and applies only a lightweight, targeted safety correction when necessary. Therefore, $M_{\\mathrm{rec}}$ should not be viewed as an intermediate model between $M_0$ and $M_{\\mathrm{att}}$, but as $M_{\\mathrm{att}}$ with its safety adapter activated.\n\nAdjusting $\\tau$ cannot replace this adapter. The threshold only determines **whether** the safety LoRA is activated; increasing it merely causes more queries, including harmful ones, to bypass recovery. It does not restore safety to $M_{\\mathrm{att}}$. Hence, recovery supplies the safety capability, while routing controls its conditional activation.\n\n**W2. How does the signed analysis relate to [1-3], which report safety-critical early or middle layers?**\n\n**A2.** Our result complements rather than contradicts [1-3]. Those studies mainly ask **where** safety-relevant computation occurs; SLDR additionally asks **in which direction** intervening on a layer changes refusal.\n\n| Work | Statistic | Relevant conclusion |\n|:---|:---|:---|\n| Panacea [1] | Optimized perturbation magnitude | Architecture-dependent: earlier layers for Llama2, middle/later layers for Gemma2, and increasing importance toward later layers for Qwen2 |\n| Targeted Vaccine [2] | Harmful-gradient norm | Early-to-middle layers, approximately the first 20 in its Llama2 setting, are most useful |\n| Surgery [3] | Attention-head sink divergence | Early/middle layers are important; heads are also separated by the **sign** of sink divergence |\n| SLDR | Refusal difference under layer amplification versus suppression | An architecture-dependent **signed** spectrum |\n\nTherefore, Figure 5 of Panacea does not establish a universal middle-layer-only conclusion. Our Llama3.1 endpoints, layers 12 and 13 of 32, are consistent with the broad early/middle-layer observation. Across architectures, however, the selected pairs vary: 12/13 for Llama3, 0/18 for Qwen2.5, and 7/16 for Mistral-v0.2. SLDR does not challenge prior localization; it refines the question from unsigned importance to whether a layer enhances or suppresses refusal under the same intervention. \n\n**W3. Why does Eq. (8) use only the last-token state at $l_{\\max}$ rather than $l_{\\min}$?**\n\n**A3.** In a decoder-only LLM, the hidden state of the last prompt token is used to predict the next token and has attended to all preceding tokens. It therefore captures rich contextual information and the overall semantics of the input.\n\nWe use the last-token representation at $l_{\\max}$ because this layer exhibits the strongest refusal-enhancing effect, making its representation a direct anchor for distinguishing harmful inputs from benign ones. In contrast, $l_{\\min}$ is better suited to the recovery process because it has the strongest refusal-suppressing effect and thus weakens the model's safety behavior.\n\n**W4. Why recover only $l_{\\min}$ and $l_{\\max}$ rather than all layers?**\n\n**A4.** Table 10 directly compares recovering only $l_{\\min}$ and $l_{\\max}$ with recovering all remaining layers except $l_{\\min}$ and $l_{\\max}$:\n\n| Recovery layers | Qwen2.5 HS / FA | Mistral HS / FA |\n|:---|---:|---:|\n| All layers except $l_{\\min}$ and $l_{\\max}$ | 0.90 / 94.61 | 0.20 / 94.95 |\n| Only $l_{\\min}+l_{\\max}$ | **0.20 / 94.61** | **0.10 / 95.07** |\n\nExpanding recovery from the two endpoints to all other layers instead increases HS from 0.20 to 0.90 on Qwen2.5 and from 0.10 to 0.20 on Mistral. FA does not improve on Qwen2.5 and decreases from 95.07 to 94.95 on Mistral. Thus, recovering more layers produces a worse safety-utility profile: performance depends on recovering the diagnosed endpoints rather than maximizing the number of trainable layers. Figures 1 and 9-11 explain this result, as most remaining layers have near-zero refusal sensitivity and can introduce unnecessary task interference. The two endpoints are therefore the minimal sufficient recovery set in our experiments.\n\n**W5. What happens without routing, and how does recovery duration affect performance?**\n\n**A5.** The routing-disabled experiment is already reported in submitted Table 11: \"w/o RDRI\" means the recovery adapter is always active. We will rename it \"recovery always on.\"\n\n| Setting | SST2 HS / FA | AGNEWS HS / FA |\n|:---|---:|---:|\n| Recovery always on | 0.10 / 91.40 | 0.10 / 72.70 |\n| Dynamic routing | 0.40 / 93.00 | 0.30 / 84.30 |\n\nThus, the recovered model alone reaches near-zero HS, but does **not** retain the fine-tuned model's utility: always-on recovery loses 1.60 FA points on SST2 and 11.60 on AGNEWS. This result directly motivates conditional activation.\n\nFollowing the reviewer's suggestion, we also vary recovery epochs on Llama3.1/SST2 with $\\rho=0.1$ and $|D_{\\mathrm{train}}|=1000$:\n\n| Epochs | HS $\\downarrow$ | FA $\\uparrow$ |\n|---:|---:|---:|\n| 5 | 0.10 | 92.20 |\n| 10 | 0.00 | 92.20 |\n| 20 (default) | 0.00 | 92.43 |\n| 30 | 0.30 | 92.20 |\n| 40 | 0.60 | 92.20 |\n| 50 | 0.60 | 92.20 |\n\nRecovery saturates quickly: 10 and 20 epochs both give $0.00$ HS, while FA varies by only 0.23 points. Across 5-50 epochs, HS remains $\\leq0.60$. Hence, the conclusion is not dependent on a narrowly tuned recovery extent; 10-20 epochs is a practical range.\n\n**W6. Why separate $l_{\\min}$ and $l_{\\max}$ by sign?**\n\n**A6.** The sign describes the **direction**, not the strength, of a layer's safety effect. Eq. (2) defines $\\Delta_l(\\alpha)=c_l^{+}(\\alpha)-c_l^{-}(\\alpha)$, and Eq. (3) aggregates it into $\\kappa_l$. Hence, $\\kappa_l>0$ means amplification produces more refusals than suppression, while $\\kappa_l<0$ means the reverse.\n\nIn Figure 1, Llama3.1 layer 13 has the largest positive score (about $+200$), and amplifying it increases refusal. Layer 12 has the most negative score (about $-185$), and amplifying it decreases refusal. Both have large $|\\kappa_l|$ and are safety-relevant, but their effects are opposite: this is the role of sign.\n\nThe claim that sign does not affect SLDR overlooks two operational uses. First, Eq. (4) selects $\\arg\\max_l\\kappa_l$ and $\\arg\\min_l\\kappa_l$, not two large $|\\kappa_l|$ values; without sign, both selected layers could have the same effect. Second, sign determines the routing layer in Eq. (8): SLDR uses the refusal-enhancing $l_{\\max}$ rather than $l_{\\min}$ or an arbitrary high-magnitude layer. Eq. (8) also applies $\\ell_2$ normalization, $r(x)=h_{l_{\\max}+1}(x)/\\|h_{l_{\\max}+1}(x)\\|_2$, giving unit-length representations so cosine similarity depends on direction rather than magnitude.\n\n**W7. Relevant harmful-fine-tuning literature, including [4], is missing.**\n\n**A7.** We thank the reviewer for pointing out these relevant studies and agree that the current discussion is incomplete. Panacea [1] is already a main baseline and is discussed in Appendices A.3 and E.2; we will make its layer-wise findings more visible and add Targeted Vaccine [2], Surgery [3], and Making Harmful Behaviors Unlearnable [4] to the related-work discussion.\n\nIn particular, [4] introduces detachable security vectors that reduce the model's tendency to learn harmful behavior and can be removed at inference to recover safe behavior while preserving useful task learning. This shares SLDR's goal of separating safety restoration from downstream utility, but follows a different mechanism: [4] suppresses the acquisition of harmful behavior through security vectors, whereas SLDR diagnoses the signed effects of compromised layers, selectively recovers two endpoints, and conditionally activates recovery. We will add this comparison and more clearly position SLDR relative to these complementary approaches.\n\n**References**\n\n[1] Wang et al. \"Panacea: Mitigating Harmful Fine-tuning for Large Language Models via Post-fine-tuning Perturbation.\" NeurIPS, 2025.\n\n[2] Liu et al. \"Targeted Vaccine: Safety Alignment for Large Language Models against Harmful Fine-Tuning via Layer-wise Perturbation.\" TIFS, 2025.\n\n[3] Liu et al. \"Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink.\" ICML, 2026.\n\n[4] Zhou et al. \"Making Harmful Behaviors Unlearnable for Large Language Models.\" Findings of ACL, 2024."+ },+ "createdAt": "2026-07-28T11:18:01.299Z",+ "modifiedAt": "2026-11-18T17:20:56.490Z",+ "url": "https://openreview.net/forum?id=jjuXPhJpD0¬eId=HyCb0m1smD",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/notes/k9nxsxxm2y.json added
+++ b/reviews/openreview/jjuxphjpd0/notes/k9nxsxxm2y.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "K9nxSXxm2y",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer Su66",+ "content": {+ "summary": "This paper proposes SLDR, a post-fine-tuning stage defense against harmful fine-tuning. The idea is to i) freezing the safety-irrelevant layers during the safety recovery process and produce a recovered model. ii) the safety recovery process might inversely affect the performance on downstream task,therefore they propose a solution to identify the harmful/benign input and route to the recovered model and the finetuned model.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "Strengths:\n\n1. The paper is well-written. The exploration experiments on layers' influence is interesting and is meaningful to the research community. \n\n2. Experiments are comprehensive and demonstrate the effectiveness of the proposed method. \n\n3. The idea is novel and has not been explored by previous study. \n\nWeakness:\n\n1. There are several design components and the design might be over-complicated. The core part of the method lies in dynamic routing in my understanding. However, why is it necessary to route the identified harmful prompts to a recovered model instead of the original safety aligned model? I understand that it is possible that the routing might not be correct and therefore you might want to route it to a recovered model (which can be viewed as a middle point between the safety aligned model and the harmful finetuned model). However, you might also be able to solve this via increase the detection threshold of the harmful prompt such that a benign prompt has lower probability to route to the original safety aligned model. I don't quite like this design because it incurs additional procedure and the performance is determined by the \"recovered extent\" of this recovered model. \n\n2. There are several existing study [1-3] show that the middle layers are safety critical for Llama model, e.g. Figure 5 in [1]. Can you show how your layerwise analysis conclusion is related or even challenge to the conclusion in [1-3]?\n\n[1] Panacea: Mitigating Harmful Fine-tuning for Large Language Models via Post-fine-tuning Perturbation\n\n[2] Targeted Vaccine: Safety Alignment for Large Language Models against Harmful Fine-Tuning via Layer-wise Perturbation\n\n[3] Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink\n\n\n3. In Eq. (8), why only the last-token hidden state at layer l_max is used? Why l_min is not used? \n\n4. Why in the safety recovered process (7), only l_min and l_max layers are unfrozen? Why not recover all the layers? \n\n5. Can you disable the routing mechanism and evaluate the recovered model to see how its finetune accuracy and harmful score looks like? Is it able to have harmful score almost equal to the safety aligned model but keep the finetune accuracy eqaul to the fine-tuned model? How different recovery steps will affect the performance? \n\n6. Why it is necessary to separate two group of layers l_min and l_max based on sign? They are all safety-relevant layers in my understanding, and the signs are not important in the safety machanism in my understanding. Also, in your method the signs do not seem to matter as well (except some strange design in Eq. (8) that I can't understand). Could you show why these signs matter in terms of the model's safety behavior? \n\n7. There are many relevant literatures on harmful fine-tuning that are missing from discussion. For example.[4] is a relevant post-fine-tuning stage defense. Please add more discussion on related papers in literature review. \n\n[4] Making Harmful Behaviors Unlearnable for Large Language Models",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "See Weakness.",+ "limitations": "Yes.",+ "rating": 5,+ "confidence": 4,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "NA",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "The rebuttal effectively addresses my concern, which demonstrates the necessity of each component of the method. \n\nParticularly, I am very impressed by the layerwise study conducted by the authors. There have been a few works in the literature that show how different safety/harmful layers are decided based on different statistics. However, we lack an empirical analysis of how the layers being decided based on different statistic differ and coincide. I appreciate the authors to conduct such experiment, and I think this result would be helpful for the study of later researchers."+ },+ "createdAt": "2026-06-24T19:54:01.086Z",+ "modifiedAt": "2026-11-18T13:45:06.434Z",+ "url": "https://openreview.net/forum?id=jjuXPhJpD0¬eId=K9nxSXxm2y",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/notes/kelqwp5pbn.json added
+++ b/reviews/openreview/jjuxphjpd0/notes/kelqwp5pbn.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "keLQwP5pBn",+ "replyTo": "G3zyos7dnr",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thank you very much for your thoughtful review. We address the questions and weaknesses you raised below. \n\n**Q1 & W1. Is SLDR still effective against adaptive attacks?**\n\n**A1.** We thank the reviewer for suggesting this important evaluation. We conducted a score-access adaptive attack on 1,000 harmful BeaverTails prompts under the default Llama3.1/SST2 setting ($\\tau=0$). The attack proceeds as follows. For each harmful request, referred to as Request 1, we append a benign AGNEWS request, referred to as Request 2, and instruct the model not to ignore Request 1, thereby forming a candidate input. The attacker constructs $K$ candidate inputs for each harmful request and selects the one with the lowest $S_{\\text{malicious}}(x)$.\n\n\n| Input | $K$ | Mean/median $S_{\\text{malicious}}(x)$ | HS |\n|---|---:|---:|---:|\n| Original | – | 0.1255 / 0.1279 | 0.00 |\n| Adaptive | 3 | 0.0714 / 0.0893 | 0.80 |\n| Adaptive | 10 | −0.0543 / −0.0552 | 1.30 |\n\nThe attack effectively optimizes its surrogate objective: best-of-3 reduces the mean $S_{\\text{malicious}}(x)$ by 43.1%, while best-of-10 shifts both its mean and median below $\\tau$. Crucially, however, lowering $S_{\\text{malicious}}(x)$ alone does not constitute an end-to-end bypass: a successful attack must both satisfy $S_{\\text{malicious}}(x)\\leq\\tau$ and elicit a harmful response. Under best-of-10, only 13/1,000 outputs are harmful; therefore, the joint routing-evasion-and-harm success rate is at most 1.3%. These results show that malicious-score manipulation does not translate into an effective safety bypass.\n\n**Q2 & W3. Multi-seed stability analysis.**\n\n**A2.** We thank the reviewer for this insightful question. The experiments in our paper use random seed 42. We additionally conducted experiments with three other random seeds, namely 0, 1, and 2. The experiments were performed on Llama3.1 using the SST2 dataset with a poisoning ratio of 0.1. We compared SLDR with two strong baselines, BDS (NeurIPS 2025) and One-shot FT (ICLR 2026). We report the Harmful Score and Finetune Accuracy of all three methods under random seeds 0, 1, 2, and 42, together with their means and standard deviations. The results are shown below.\n\n| Method | Seed 0 | Seed 1 | Seed 2 | Seed 42 | Mean ± Std |\n|:-------|-------:|-------:|-------:|--------:|-----------:|\n| BDS | 1.80 | 2.40 | 1.70 | 1.60 | 1.88 ± 0.36 |\n| One-shot FT | 4.50 | 3.90 | 4.40 | 3.90 | 4.18 ± 0.32 |\n| Ours | 0.10 | 0.00 | 0.20 | 0.00 | 0.08 ± 0.10 |\n\n| Method | Seed 0 | Seed 1 | Seed 2 | Seed 42 | Mean ± Std |\n|:-------|-------:|-------:|-------:|--------:|-----------:|\n| BDS | 90.71 | 91.86 | 91.28 | 91.63 | 91.37 ± 0.50 |\n| One-shot FT | 90.83 | 90.60 | 90.71 | 90.48 | 90.66 ± 0.15 |\n| Ours | 93.00 | 93.12 | 93.12 | 92.43 | 92.92 ± 0.33 |\n\nAs the results show, SLDR consistently outperforms the other methods across different random seeds, confirming that its performance gains are not due to a specific random seed.\n\n**Q3 & W4. The router lacks standard evaluation metrics, and the safety assessment relies heavily on automated judges.**\n\n**A3.** We trained the router on SST2 using Llama3.1 and evaluated it on a dataset constructed from DirectHarm4 and AGNews. We report the AUROC, as well as the TPR, FPR, and benign over-refusal rate under different thresholds $\\tau$, to assess the generalization of the SLDR router to unseen distributions. The **AUROC is 100%**, and the other metrics are shown below.\n\n| **Metric / Threshold** | **−0.10** | **−0.08** | **−0.06** | **−0.04** | **−0.02** | **0.00** | **0.02** | **0.04** | **0.06** | **0.08** | **0.10** |\n|:---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|\n| TPR ↑ | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% | 99.25% | 94.75% | 89.25% | 76.25% | 59.25% |\n| FPR ↓ | 100.00% | 63.00% | 15.25% | 2.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |\n| Benign over-refusal rate ↓ | 14.50% | 14.50% | 7.50% | 1.75% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |\n\nThe results show that the router has strong classification performance, with the best metrics at $\\tau = 0$. This confirms that the choice of $\\tau = 0$ is robust and not specific to the dataset.\n\nRegarding the concern that the safety evaluation relies on automated judges, manual safety review is time consuming and labor intensive, and it is also susceptible to subjective bias, making it difficult to establish a unified evaluation standard. Therefore, using evaluator models specifically designed to detect harmful generations has become a common practice in safety evaluation, and this practice has been **widely adopted** in studies such as **BDS (NeurIPS 2025)** and **One-shot FT (ICLR 2026)**.\n\n**Q4 & W2. Transfer to other fine-tuning methods.**\n\n**A4.** Thank you very much for raising this question.\nWe would first like to clarify that the limitation discussed in Appendix F applies specifically to the safety recovery stage. At this stage, SLDR can only use LoRA fine-tuning so that the safety LoRA adapter can work with the router for dynamic loading.\n\nFor downstream task fine-tuning, both full parameter fine-tuning and LoRA fine-tuning are applicable. To verify this, we conducted full parameter fine-tuning experiments on Llama3.1 using the SST2 dataset and compared SLDR with BDS and One-shot FT. The results are shown below.\n\n| **Method** | **Harmful Score** | **Finetune Accuracy** |\n|:---|---:|---:|\n| BDS | 47.70 | 88.42 |\n| One-shot FT | 51.10 | 93.46 |\n| SLDR (Ours) | 1.10 | 92.55 |\n\nAs shown in the results, the Harmful Score of BDS and One-shot FT increase substantially under full parameter fine-tuning.\n\nIn contrast, SLDR achieves a Harmful Score of only 1.10 while maintaining high Finetune Accuracy. These results demonstrate that SLDR can defend against attacks using different fine-tuning methods and has strong robustness.\n\n**Q5 & W10. Regarding the provision of anonymized code or scripts.**\n\n**A5.** Thank you for raising this question. Publicly available code is important for the field.\n\nWe have organized all code for this paper and are willing to share it. However, the rebuttal policy prohibits external links, so we cannot provide the repository at this stage.\n\nWe plan to release the code after the final decision to support reproducibility.\n\n\n**W5. Limited robustness to obfuscated prompt attacks**\n\n**A6.** Thank you for this important observation. We clarify that the robustness claim of SLDR concerns malicious fine-tuning, where harmful training data compromises model safety. Within this threat model, SLDR consistently achieves strong results across model architectures, downstream tasks, poisoning ratios, training sizes, and harmful benchmarks.\n\nZulu instead evaluates an inference time jailbreak based on low resource language obfuscation, which is outside the primary threat model and introduces a distinct distribution shift. We included Zulu and IJP as additional stress tests to examine whether a malicious fine-tuning defense can transfer to a different attack surface. Despite not being specifically designed for prompt jailbreaks, SLDR achieves the best Zulu result among all evaluated methods, reducing HS from 66.82 to 61.53. This result indicates limited but positive transfer, rather than complete protection against Zulu.\n\nWe will clarify this scope and avoid interpreting Table 9 as evidence of universal jailbreak robustness.\n\n**W6. Sensitivity to the refusal classifier.**\n\n**A7.** Thank you for this suggestion. We reran the entire layer selection probe using GPT-4o as the refusal judge. Although the resulting sensitivity scores differ slightly, GPT-4o identifies exactly the same maximum and minimum sensitivity layers as the keyword classifier on both model architectures.\n\n| Model | Judge | $l_{\\max}$ (score) | $l_{\\min}$ (score) |\n|---|---|---:|---:|\n| Llama3.1 | Keyword | 13 (200) | 12 (−185) |\n| Llama3.1 | GPT-4o | 13 (160) | 12 (−170) |\n| Qwen2.5 | Keyword | 18 (240) | 0 (−140) |\n| Qwen2.5 | GPT-4o | 18 (250) | 0 (−135) |\n\nThese results show that the layer selection underlying SLDR is insensitive to the choice of refusal classifier.\n\n**W7. Regarding the reporting of computational overhead.**\n\n**A8.** Thank you for this suggestion. We measured both the one time layer probing cost and the online routing overhead on Llama3.1. The inference evaluation used 1,000 BeaverTails prompts with a fixed generation length of 64 tokens.\n\n| Component | Cost |\n|---|---:|\n| Layer probing across 32 layers | 0.3663 hours |\n| Standard SFT inference | 0.3121 seconds per prompt |\n| SLDR inference with routing | 0.3293 seconds per prompt |\n| Additional online overhead | 0.0172 seconds per prompt |\n\nLayer probing is performed only once offline. Online SLDR timing includes representation extraction, malicious score computation, dynamic routing, and response generation. These results show that SLDR introduces a modest inference overhead while its layer selection cost remains a one time offline expense.\n\n**W8. Concerns regarding the distinction between methods at different stages.**\n\n**A9.** Thank you for this comment. Although the baselines intervene at different stages, the comparison is fair because all methods use the same base models, downstream and poisoned data, poisoning ratios, evaluation sets, and safety and utility metrics. These methods are included together because they represent alternative defenses for the same malicious fine-tuning threat, and their joint comparison reveals the end-to-end safety–utility trade-off.\n\nWe will clarify the intervention stages by grouping the methods accordingly. Antidote, Panacea, and One-shot FT will be categorized as post-fine-tuning recovery methods, while Lisa, STAR-DSS, and BDS will be categorized as fine-tuning-stage defense methods.\n\n**W9. Presentation issues.**\n\n**A10.** Thank you for pointing this out. We will carefully proofread the manuscript and correct all presentation issues, including changing \"Finetune Accurancy\" to \"Finetune Accuracy\"."+ },+ "createdAt": "2026-07-28T06:31:50.008Z",+ "modifiedAt": "2026-11-18T17:20:57.336Z",+ "url": "https://openreview.net/forum?id=jjuXPhJpD0¬eId=keLQwP5pBn",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/notes/ojjsliiahk.json added
+++ b/reviews/openreview/jjuxphjpd0/notes/ojjsliiahk.json@@ -0,0 +1,19 @@+{+ "schema": "review/1",+ "id": "OJjslIiAhk",+ "replyTo": null,+ "kind": "decision",+ "invitation": "Decision",+ "signature": "Program Chairs",+ "content": {+ "title": "Paper Decision",+ "decision": "Accept (poster)",+ "comment": "",+ "metareview": "This paper works on the problem of malicious fine-tuning, with the observation that scaling different layers can strengthen, weaken, or have little effect on refusal. The solution proposed is to identify crucial layers to align on exclusively. \n\nIn general, the paper is well-motivated with a straightforward method that is validated comprehensively empirically. However, I tend to agree with the weaknesses that the reviewers have pointed out. This includes a lack of adaptive attack mechanism (e.g., whether adaptive attackers can craft inputs with low malicious scores to bypass), an evaluation that is narrower than claimed (e.g., does the method apply beyond the fine-tuning way the authors use?), the lack of robustness tests (e.g., metrics seem weak against some prompt settings. Some reviewers also feel that parts of the pipeline seem to just combine existing ideas.\n\nThe authors are encouraged to work on expanding their experimental coverage to address the concerns pointed out above, and also highlight the novelty of their work.\n\nFinal justification: Please see below for reasons to accept.",+ "final_justification": "This paper works on the challenge of malicious fine-tuning, with the observation that scaling different layers can strengthen, weaken, or have little effect on refusal. The solution proposed is to identify crucial layers to align on exclusively. The reviewers have discussed actively during the rebuttal phase, which is great. I agree with the reviewers that the paper is well-motivated and validated comprehensively empirically. A remaining concern is conceptual novelty (pointed out by reviewers), but I do not find that a big issue. There is no problem with recommending an accept."+ },+ "createdAt": "2026-09-24T11:27:45.497Z",+ "modifiedAt": "2026-11-18T14:59:28.220Z",+ "url": "https://openreview.net/forum?id=jjuXPhJpD0¬eId=OJjslIiAhk",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/notes/roh7osnwnx.json added
+++ b/reviews/openreview/jjuxphjpd0/notes/roh7osnwnx.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "rOH7OSnwNX",+ "replyTo": "HF4KOAWScu",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thank you for recognizing SLDR’s complete pipeline and extensive evaluation. We agree that its novelty boundary and relationship to prior work should be clearer.\n\n**W1 & W4. Relationship to prior work and the novelty of SLDR.**\n\n**A1.** Safety Layers [1] is already cited in the Introduction, Related Work, Section 3.1, and Appendix E.3; Section 3.1 explicitly states that our perturbation follows prior layer-wise analysis [1, 3]. We agree that the distinction should be more prominent.\n\nSafety Layers [1] and SLDR share the broad motivation that refusal behavior is unevenly distributed across layers, but they answer different questions and intervene at different stages:\n\n| Aspect | Safety Layers [1] | EnchTable [2] | SLDR |\n|:---|:---|:---|:---|\n| Diagnostic target | A contiguous interval important for safety | No layer-wise safety localization | The signed effect of every individual layer |\n| Main operation | Freeze the identified interval during fine-tuning | Distill and merge a global safety vector | Recover two signed endpoints after fine-tuning |\n| Intervention stage | Fine-tuning-time prevention | Post-fine-tuning parameter merging | Post-fine-tuning recovery plus conditional inference |\n\nSafety Layers localizes a contiguous interval through representation analysis and interval-wise scaling, then freezes it during fine-tuning. This is essentially **unsigned** localization of where safety is concentrated. In contrast, SLDR amplifies and suppresses each layer separately and compares the model’s refusal counts, thereby distinguishing refusal enhancing layers with positive sensitivity scores, refusal suppressing layers with negative sensitivity scores, and approximately neutral layers with sensitivity scores close to zero. A negative score is not weaker safety relevance; it indicates the opposite behavioral direction.\n\nEnchTable [2] should be added as related post-fine-tuning work, but it does not characterize internal representations layer by layer. It distills a global safety vector through NTK-linearized surrogate training and injects it through SVD-based interference-aware merging. SLDR instead uses the target architecture’s signed spectrum to determine where a compact recovery adapter is trained.\n\nThese components are not assembled arbitrarily. SLDR integrates them through a signed diagnostic mechanism. The signed extrema determine the layers on which the recovery adapter is trained, while the representation from the refusal enhancing endpoint determines when the adapter should be activated.\n\nWe will further clarify that the novelty of this work lies in the unified formulation that connects signed diagnosis with conditional recovery, rather than in perturbation, LoRA, or cosine similarity as individual components.\n\n\n**W2. Why select only the two extreme layers?**\n\n**A2.** The two layers are not fixed indices or manually chosen hyperparameters. For each model, SLDR selects\n\n$l_{\\text{min}} = \\underset{l \\in \\{0, \\dots, L-1\\}}{\\arg\\min} \\, \\kappa_l, \\quad l_{\\text{max}} = \\underset{l \\in \\{0, \\dots, L-1\\}}{\\arg\\max} \\, \\kappa_l.$\n\nThis is the smallest selection covering both diagnosed directions: $l_{\\max}$ has the strongest refusal-enhancing effect and $l_{\\min}$ the strongest refusal-suppressing effect. Near-zero layers provide little refusal signal and may unnecessarily interfere with downstream knowledge.\n\nThis choice is already evaluated in Table 10 of the submitted paper:\n\n| Recovery layers | Qwen2.5 HS / FA | Mistral-v0.2 HS / FA |\n|:---|---:|---:|\n| Only $l_{\\min}$ | 0.80 / 94.95 | 0.00 / 94.84 |\n| Only $l_{\\max}$ | 0.20 / 94.72 | 0.20 / 94.95 |\n| Other layers excluding both endpoints | 0.90 / 94.61 | 0.20 / 94.95 |\n| $l_{\\min}+l_{\\max}$ | 0.20 / 94.61 | 0.10 / 95.07 |\n\nOne endpoint is not model-independent: $l_{\\max}$ matters more for Qwen2.5, while $l_{\\min}$ matters more for Mistral-v0.2. Both endpoints give consistently low HS, whereas excluding them is worse on Qwen2.5 and no better on Mistral-v0.2.\n\nWe do not claim theoretical optimality under every attack. The narrower claim is that the extrema form a **principled minimal configuration** covering both directions and are more reliable across the evaluated architectures than a single endpoint or non-extreme layers.\n\n**W3. Positioning of representation-based dynamic routing.**\n\n**A3.** We agree that representation similarity is a standard primitive. We will not present the similarity computation alone as a new safety classifier and will expand the discussion of related representation-based and inference-time methods [3–5].\n\nThe methods differ in stage and action. LARF [3] uses safety-layer representations to remove risky fine-tuning samples. JBShield [4] identifies jailbreak concepts and manipulates activations. MetaDefense [5] assesses harmfulness before and during generation and stops unsafe outputs. SLDR instead decides whether to activate a post-hoc recovery adapter, switching between task-adapted and recovered behavior within one model.\n\nThe purpose of this routing is not merely efficiency. Applying the safety adapter to all inputs can overwrite benign task behavior. Table 11 of the submitted paper directly isolates this effect:\n\n| Setting | SST2 HS / FA | AGNEWS HS / FA |\n|:---|---:|---:|\n| Recovery always on | 0.10 / 91.40 | 0.10 / 72.70 |\n| With dynamic routing | 0.40 / 93.00 | 0.30 / 84.30 |\n\nRouting recovers 1.60 FA points on SST2 and 11.60 on AGNEWS while keeping HS near zero. Its contribution is **conditional deployment of recovered parameters**, addressing the utility loss of always-on recovery; the similarity function implementing it is not claimed as novel.\n\n**W5 & Limitations. Generality under stronger or adaptive attacks.**\n\n**A4.** LoRA experiments alone do not establish robustness to every regime. We address two questions: transfer beyond LoRA-based attacks and adaptation to the routing rule.\n\nFirst, we added full-parameter malicious fine-tuning on Llama3.1/SST2 with $\\rho=0.1$ and $|D_{\\mathrm{train}}|=1000$. Stage 1 updates all model parameters; only the post-hoc recovery remains a LoRA adapter so that it can be dynamically activated.\n\n| Method | HS ↓ | FA ↑ |\n|:---|---:|---:|\n| BDS | 47.70 | 88.42 |\n| One-shot FT | 51.10 | 93.46 |\n| SLDR | **1.10** | **92.55** |\n\nTwo-layer recovery therefore remains effective after full-parameter fine-tuning. The statement in **Appendix F, specifically at line 751**, means that SLDR requires LoRA fine-tuning during the defense stage so that the routing mechanism can dynamically load the safety LoRA adapter. However, the preceding malicious fine-tuning process does not necessarily need to use LoRA.\n\nSecond, we conducted a score-access adaptive attack on 1,000 BeaverTails prompts. The attack proceeds as follows. For each harmful request, referred to as Request 1, we append a benign AGNEWS request, referred to as Request 2, and explicitly instruct the model not to ignore Request 1, thereby forming a candidate input. The attacker constructs $K$ candidate inputs for each harmful request and selects the one with the lowest malicious score.\n\n| Input | $K$ | Mean / median $S_{\\mathrm{malicious}}$ | HS |\n|:---|---:|---:|---:|\n| Original | – | 0.1255 / 0.1279 | 0.00 |\n| Adaptive | 3 | 0.0714 / 0.0893 | 0.80 |\n| Adaptive | 10 | -0.0543 / -0.0552 | 1.30 |\n\nBest-of-10 moves both mean and median below $\\tau=0$, confirming score manipulation. However, only 13/1,000 outputs are harmful, so joint routing-evasion-and-harm succeeds at most **1.3%**. Lowering the score does not yield an effective end-to-end bypass.\n\nThe paper already provides extensive experimental evaluation across **four model architectures, five downstream tasks, poisoning ratios of up to 1.0, training set sizes ranging from 500 to 2,000, and four harmfulness benchmarks.** Together with the LoRA based and full-parameter malicious fine-tuning experiments described above, as well as the adaptive attack with access to the malicious score, these evaluations cover diverse training distributions, different attack strengths, different fine-tuning settings, and direct adaptation against the proposed routing mechanism.\n\nThe current evidence is sufficient to support the effectiveness of SLDR under the threat model explicitly defined in Appendix B.1 (line 613). We agree that these experiments do not establish universal robustness, particularly against white-box bilevel attacks that jointly target layer selection and routing. We will therefore narrow the corresponding claims to the threat model defined in Appendix B.1 and explicitly identify such adaptive attacks as an important direction for future work.\n\n\n**References**\n\n[1] Shen Li et al. \"Safety Layers in Aligned Large Language Models: The Key to LLM Security.\" ICLR, 2025.\n\n[2] Jialin Wu et al. \"EnchTable: Unified Safety Alignment Transfer in Fine-tuned Large Language Models.\" IEEE Symposium on Security and Privacy (S&P), 2026.\n\n[3] Hao Li et al. \"Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignment.\" EMNLP, 2025.\n\n[4] Shenyi Zhang et al. \"JBShield: Defending Large Language Models from Jailbreak Attacks through Activated Concept Analysis and Manipulation.\" USENIX Security, 2025.\n\n[5] Weisen Jiang and Sinno Jialin Pan. \"MetaDefense: Defending Finetuning-based Jailbreak Attack Before and During Generation.\" NeurIPS, 2025."+ },+ "createdAt": "2026-07-28T07:21:38.499Z",+ "modifiedAt": "2026-11-18T17:20:56.496Z",+ "url": "https://openreview.net/forum?id=jjuXPhJpD0¬eId=rOH7OSnwNX",+ "license": "CC-BY-4.0"+}
reviews/openreview/jjuxphjpd0/submission.json added
+++ b/reviews/openreview/jjuxphjpd0/submission.json@@ -0,0 +1,12 @@+{+ "schema": "submission/1",+ "id": "jjuXPhJpD0",+ "venue": {+ "id": "NeurIPS.cc/2026/Conference",+ "name": "NeurIPS 2026",+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"+ },+ "number": 32095,+ "url": "https://openreview.net/forum?id=jjuXPhJpD0",+ "license": "CC-BY-4.0"+}
versions/v_3g2ybdcu.json added
+++ b/versions/v_3g2ybdcu.json@@ -0,0 +1,22 @@+{+ "date": "2026-05-05",+ "kind": "submitted",+ "label": "NeurIPS 2026",+ "submissions": [+ {+ "venue": "NeurIPS 2026",+ "status": "accepted",+ "decision": "Accept (poster)",+ "number": 32095,+ "url": "https://openreview.net/forum?id=jjuXPhJpD0",+ "reviews": "openreview/jjuxphjpd0",+ "evidence": [+ "https://openreview.net/forum?id=jjuXPhJpD0"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=jjuXPhJpD0",+ "evidence": [+ "https://openreview.net/forum?id=jjuXPhJpD0"+ ]+}