Metraipolis › archive › dc_5a139a1e09d8

Refusal Localizes, the Damage Relocates: Safety Layers Under Few-Sample Fine-Tuning — arXiv:2610.00320

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.00320
License (as archived)
CC0-1.0
Archived
2026-10-06T13:53:48.535Z
SHA-256 of the archived text
762ba984dcda7308217ac63aa65c5de47ce1fb159468bae178e4316f9afbff90
Stable URL of this page
https://metraipolis.com/documento/dc_5a139a1e09d8

How to cite

Refusal Localizes, the Damage Relocates: Safety Layers Under Few-Sample Fine-Tuning — arXiv:2610.00320 — arXiv (en), https://arxiv.org/abs/2610.00320 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5a139a1e09d8 (Metraipolis archive dc_5a139a1e09d8, sha256 762ba984dcda7308217ac63aa65c5de47ce1fb159468bae178e4316f9afbff90)
BibTeX
@misc{dc5a139a1e09d8,
  title = {Refusal Localizes, the Damage Relocates: Safety Layers Under Few-Sample Fine-Tuning — arXiv:2610.00320},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.00320},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5a139a1e09d8; sha256 762ba984dcda7308217ac63aa65c5de47ce1fb159468bae178e4316f9afbff90},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.00320. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Fine-tuning adapts aligned large language models (LLMs) to downstream tasks, but a few dozen harmful examples can remove their refusal of harmful requests. Prior work localizes safety-related behavior to specific layers, directions, and tokens, suggesting targets for protection. We test whether successful localization and recovery support defenses that survive changes in the attack. Across six checkpoints from four model families, harmful and benign prompts remain linearly separable after attack, and patching full clean hidden states into the compromised model restores refusal at a reproducible transition depth. Building on a prior layer-freezing defense, we freeze every layer up to this depth and repeat the attack. At a hundred harmful examples, refusal remains near zero on all six checkpoints, with recovery transitions above the frozen boundary. In a second study, removing the update's top two singular directions restores refusal after short attention-only fine-tunes on four checkpoints. On Llama-3.1-8B, ordinary training changes weaken this repair and an attacker who spreads the update defeats it. A spectral detector calibrated on benign Llama fine-tunes misses most repair failures on that checkpoint. Localized freezing can nevertheless help preserve refusal when a few harmful examples enter training data unintentionally. These results show that an attacker can bypass a region identified by recovery and defeat a repair that works across multiple checkpoints, motivating five checks for defenses against adaptive fine-tuning. Code is available at this https URL .

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-10-02 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL) ; Cryptography and Security (cs.CR); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.00320 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-06T12:15:34.611Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-10-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).