Research map / Large language models / Instruction and fine-tuning
Combining Domain and Alignment Vectors Provides Better Knowledge-Safety Trade-offs in LLMs
Megh Thakkar, Quentin Fournier, Matthew Riemer, Pin-Yu Chen, Amal Zouaq, Payel Das, Sarath Chandar
Mila · Chandar Research Lab · University of Montreal · IBM · Polytechnique Montreal · Canada CIFAR AI Chair
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| use MergeAlign (add domain and alignment vectors) on medicine model instead of domain-expert alone | medicine-Llama-3-8B · BeaverTails | safe response rate (%): 67.8 -> 99.67 | Improved |
| use MergeAlign on medicine model | medicine-Llama-3-8B · Medicine benchmarks avg | average score: 61.37 -> 61.33 | Mixed |
| use MergeAlign on finance model | finance-Llama-3-8B · Finance benchmarks avg | average score: 74.47 -> 74.07 | No clear effect |
| use MergeAlign on finance model | finance-Llama-3-8B · HH-RLHF red team | safe response rate (%): 52.95 -> 97.87 | Improved |
| interpolate all parameters with Slerp instead of domain and alignment vectors (MergeAlign) (ablation) | MergeAlign · HH-RLHF red team / BeaverTails (medicine) | safe response rate (%): 98.33 -> 92.26 (HH), 99.67 -> 95.46 (BeaverTails) | Hurt |
| apply ORPO with LoRA to domain expert instead of MergeAlign (ablation) | medicine-Llama-3-8B · BeaverTails | safe response rate (%): 99.67 (MergeAlign) vs 81.46 (ORPO) | Hurt |
| apply ORPO with LoRA to finance domain expert (ablation) | finance-Llama-3-8B · Finance benchmarks avg | average score: 74.47 -> 74.14 | No clear effect |
| use full-model ORPO instead of LoRA (ablation) | MedLlama ORPO · BeaverTails / Medicine | safe rate / domain avg: BeaverTails 81.46 -> 89.55; Medicine 59.75 -> 58.58 | Mixed |
| use Safe-RLHF instead of HH-RLHF for ORPO alignment data (ablation) | MedLlama ORPO · BeaverTails / Medicine | safe rate / domain avg: BeaverTails 81.46 -> 86.13; Medicine 59.75 -> 60.29 | Improved |
| apply MergeAlign to code expert | Qwen-2.5-Coder-7B · MBPP and safety | safety / coding | Improved |
| apply MergeAlign to math expert | Qwen-2.5-Math-7B · MATH and safety | safety / math | Hurt |
| use weights below 1 for domain and alignment vectors (ablation) | MergeAlign · medicine and safety | performance | Hurt |
Open problems this paper states
- “Evaluations use only Llama-3-Instruct as the aligned model and only 7B or 8B models, so findings may vary with scale.” → Larger models were not tested, mostly for lack of compute. (an open problem in safety alignment after fine-tuning)
Open problems in safety alignment after fine-tuning
Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?
- Larger models were not tested, mostly for lack of compute. · 27 papers state it
- Defenses are tested against few attacks and not against adaptive ones. · 15 papers state it
- Safety is scored by one LLM judge or classifier that may be biased. · 15 papers state it
Closest papers by meaning
- MergeBench: A Benchmark for Merging Domain-Specialized LLMs (NeurIPS 2025 · similarity 0.89)
- LLM Safety Alignment is Divergence Estimation in Disguise (NeurIPS 2025 · similarity 0.88)
- Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templates (NeurIPS 2024 · similarity 0.88)
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! (ICLR 2024 · similarity 0.88)
- Safe Delta: Consistently Preserving Safety when Fine-Tuning LLMs on Diverse Datasets (ICML 2025 · similarity 0.88)
- Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models (NeurIPS 2024 · similarity 0.87)
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.