scimeatlas

Research map / Large language models / Instruction and fine-tuning

Model Surgery: Modulating LLM's Behavior Via Simple Parameter Editing

Huanqian Wang, Yang Yue, Rui Lu, Jingxin Shi, Andrew Zhao, Shenzhi Wang, Shiji Song, Gao Huang

NAACL 2025Large language models › Instruction and fine-tuningapproach: Fine-tuning generalization and delta compressionopen problems in this approach35 citations (OpenAlex)

Tsinghua University · Carnegie Mellon University

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
10improved
1no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply model surgery (edit selected gate-projection rows with the toxic probe)LLaMA2-7B · RealToxicityPromptstoxicity: 51.4 -> 5.17Improved
apply model surgeryLLaMA2-7B · ToxiGentoxicity: 79.1 -> 39.9Improved
apply model surgeryLLaMA2-7B · General ability averageaverage score: 35.9 -> 34.9No clear effect
fine-tune with LoRA instead of model surgeryLLaMA2-7B · ToxiGen / general abilitytoxicity / avg: ToxiGen 79.1 -> 86.7; avg 35.9 -> 22.9Hurt
apply model surgery for jailbreak resistanceLLaMA2-7B-Chat · Jailbreak benchmarkrefusal rate: 64.6 -> 77.4Improved
apply model surgery in inverse directionLLaMA2-7B-Chat · Jailbreak benchmarkrefusal rate: 64.6 -> 49.5 (more susceptible)Improved
apply model surgery toward positive attitudeLLaMA2-7B · Attitude adjustment% positive: 36.4% -> 54.8%Improved
use behavior probe instead of random probe (ablation)Model surgery · RealToxicityPromptstoxicity: 41.2 -> 5.17Improved
select behavior region instead of random region (ablation)Model surgery · RealToxicityPromptstoxicity: 15.0 -> 5.17Improved
use min similarity + addition instead of max similarity + subtraction (ablation)Model surgery · RealToxicityPromptstoxicity: 34.8 -> 5.17Improved
edit gate projection instead of other weight matrices (ablation)Model surgery · RealToxicityPromptstoxicity: up_proj 38.28, down_proj 26.02, gate_proj 5.17Improved
edit layers in second quarter (Q2) (ablation)Model surgery · RealToxicityPromptstoxicity: excluding Q2: 23.1 vs 5.17 with all layersImproved

Open problems in fine-tuning generalization and delta compression

Do fine-tuning findings hold beyond small English-only models and automatic judges?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy