mlsanityData to 24 Nov 2026

Resisting Harmful Instructions through Training-Free Weight Editing

arXiv 2610.21189 ↗Submitted 15 Oct 2026cs.LGcited by 1

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 27 of its 39 references that are in the map. Submitted 15 Oct 2026.

Builds on

27 of 39 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun

Other references · 26

  1. 2024The Llama 3 Herd of Modelscited by 16,113
  2. 2020Measuring Massive Multitask Language Understandingcited by 8,473
  3. 2016Pointer Sentinel Mixture Modelscited by 3,344
  4. 2022Locating and Editing Factual Associations in GPTcited by 2,951
  5. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,314
  6. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
  7. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,530
  8. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
  9. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,174
  10. 2023Steering Language Models With Activation Engineeringcited by 1,128
  11. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 840
  12. 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 832
14 more
  1. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 810
  2. 2023The Internal State of an LLM Knows When It's Lyingcited by 725
  3. 2025Phi-4-Mini Technical Report: Compact yet Powerful Multimodal Language Models via Mixture-of-LoRAscited by 613
  4. 2024AI Sandbagging: Language Models can Strategically Underperform on Evaluationscited by 189
  5. 2024Improving Instruction-Following in Language Models through Activation Steeringcited by 176
  6. 2025The MASK Benchmark: Disentangling Honesty From Accuracy in AI Systemscited by 97
  7. 2023How to Catch an AI Liar: Lie Detection in Black-Box LLMs by Asking Unrelated Questionscited by 94
  8. 2025Understanding (Un)Reliability of Steering Vectors in Language Modelscited by 57
  9. 2025Steering Language Models with Weight Arithmeticcited by 26
  10. 2024Math Neurosurgery: Isolating Language Models' Math Reasoning Abilities Using Only Forward Passescited by 11
  11. 2026CreativityNeuro: Steering Language Model Weights to Improve Divergent Thinking and Reduce Mode Collapsecited by 3
  12. 2026On the Generalization of Steering Vectors for Chain-of-Thought Faithfulnesscited by 2
  13. 2026Generative Interpretability via Scalable Neuro-Symbolic Modelscited by 2
  14. 2026Activation Steering Transfer to Agents: One Gain Ratio Does Not Identify Potency and Efficacycited by 1

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Do as I Say, Not as I Do: Instruction-Induction Conflict in LLMs
  2. 2024Safe to Serve: Aligning Instruction-Tuned Models for Safety and Helpfulness
  3. 2026Detecting Safety Training Modification in Language Models via Activation Analysis
  4. 2026Faithful Latent Harm Monitors Work No Better Than the Models Own Behaviour at a Matched False Alarm Rate
  5. 2026From Prompt Risk to Response Risk: Paired Analysis of Safety Behavior of Large Language Models
  6. 2025Anchoring Refusal Direction: Mitigating Safety Risks in Tuning via Projection Constraint
  7. 2026Discern Truth from Falsehood: Reducing Over-Refusal via Contrastive Refinement
  8. 2024Do as I do (Safely): Mitigating Task-Specific Fine-tuning Risks in Large Language Models