Metraipolis › archive › dc_65318470b00b

Resisting Harmful Instructions through Training-Free Weight Editing — arXiv:2610.21189

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.21189
License (as archived)
CC0-1.0
Archived
2026-10-16T10:20:13.964Z
SHA-256 of the archived text
c1fa9e4d7a0b259155654a99399df36e5be78ed31968ea018cf20bd963febe6c
Stable URL of this page
https://metraipolis.com/documento/dc_65318470b00b

How to cite

Resisting Harmful Instructions through Training-Free Weight Editing — arXiv:2610.21189 — arXiv (en), https://arxiv.org/abs/2610.21189 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_65318470b00b (Metraipolis archive dc_65318470b00b, sha256 c1fa9e4d7a0b259155654a99399df36e5be78ed31968ea018cf20bd963febe6c)
BibTeX
@misc{dc65318470b00b,
  title = {Resisting Harmful Instructions through Training-Free Weight Editing — arXiv:2610.21189},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.21189},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_65318470b00b; sha256 c1fa9e4d7a0b259155654a99399df36e5be78ed31968ea018cf20bd963febe6c},
  year = {2026}
}

Archived text

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

Instruction-following language models can comply with requests that conflict with intended behaviors and safety alignment. We introduce a training-free weight-editing approach for reducing compliance with targeted undesirable instructions. Our method needs only forward passes on a small set of prompt pairs per target behavior, and because the edit is stored in the model's weights, changing or deleting instructions in the prompt cannot undo the weight modification. We evaluate the approach on two target harmful behaviors across five instruction-tuned models: instructed falsehood and instructed sexism. On two instructed-lying benchmarks, it improves mean honest response rates by 6.2 and 4.6 percentage points over the strongest alternative, significantly on three of the five models and within noise on the other two. In a controlled study of seven prompt formats, it maintains higher honest-response rates than single-layer activation steering when orders to lie arrive in single-turn formats not used to construct the edit. For instructed sexism, it reduces the mean sexist-response rate from 57.9% to 24.3%; combining the edit with a fairness prompt reduces it further to 11.9%. These results establish our contrast-based weight editing approach as an effective training-free intervention in two distinct behavioral domains, supporting its use both independently and alongside prompt-based safeguards.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.21189 — 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-16T08:48:02.689Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).