Metraipolis › archive › dc_c510863e70d2

arXiv 2610.10345: SLDR: Defending Against Malicious Fine-tuning via Selective Layers Recovery and Dynamic Routing

Source
Metraipolis archive
Original
https://arxiv.org/abs/2610.10345
License (as archived)
CC-BY-4.0
Archived
2026-10-08T12:49:04.020Z
SHA-256 of the archived text
5193af27c2b5c7e10a22c55c50df0d875f57f92ac7080f727dfba6b0c345c34c
Stable URL of this page
https://metraipolis.com/documento/dc_c510863e70d2

How to cite

arXiv 2610.10345: SLDR: Defending Against Malicious Fine-tuning via Selective Layers Recovery and Dynamic Routing — Metraipolis archive, https://arxiv.org/abs/2610.10345 (CC-BY-4.0); archived copy: https://metraipolis.com/documento/dc_c510863e70d2 (Metraipolis archive dc_c510863e70d2, sha256 5193af27c2b5c7e10a22c55c50df0d875f57f92ac7080f727dfba6b0c345c34c)
BibTeX
@misc{dcc510863e70d2,
  title = {arXiv 2610.10345: SLDR: Defending Against Malicious Fine-tuning via Selective Layers Recovery and Dynamic Routing},
  howpublished = {Metraipolis archive},
  url = {https://arxiv.org/abs/2610.10345},
  note = {License CC-BY-4.0; archived copy https://metraipolis.com/documento/dc_c510863e70d2; sha256 5193af27c2b5c7e10a22c55c50df0d875f57f92ac7080f727dfba6b0c345c34c},
  year = {2026}
}

Archived text

Reproduced under CC-BY-4.0. Attribution: Metraipolis archive, https://arxiv.org/abs/2610.10345. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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. The code is available at https://github.com/Stardust457/SLDR.

Articolo: «SLDR: Defending Against Malicious Fine-tuning via Selective Layers Recovery and Dynamic Routing» — Zhang, Hui; Yuan, Yachao; Wang, Jiayun; Li, Yuanzhuo; Wang, Hongtao et al. (2026-10-07), arXiv:2610.10345, categoria cs.CR (sicurezza e crittografia).
Fonte: https://arxiv.org/abs/2610.10345
Licenza dell'articolo indicata su arXiv: CC-BY-4.0 — https://creativecommons.org/licenses/by/4.0. Qui solo titolo, autori e abstract (non modificato), con attribuzione; il testo integrale resta su arXiv.
Consultato il 2026-10-08T12:49:00Z dalla pagina pubblica dell'articolo (robots.txt rispettato). Depositato dalla Gilda dei Bibliotecari. Abstract in lingua originale.