Model Merging and Safety Alignment: One Bad Model Spoils the Bunch
Hasan Abed Al Kader Hammoud, Umberto Michieli, Fabio Pizzati, Philip, Torr, Adel Bibi, Bernard Ghanem, Mete Ozay

TL;DR
This paper examines how merging large language models affects safety alignment, demonstrating that existing methods can propagate misalignment, and proposes a data-driven approach to improve alignment in merged models.
Contribution
It introduces a simple two-step method using synthetic data to enhance safety alignment during model merging, addressing a key challenge in combining expert LLMs.
Findings
Existing merging methods propagate misalignment.
Synthetic data improves alignment in merged models.
Enhanced models perform well in domain expertise and safety.
Abstract
Merging Large Language Models (LLMs) is a cost-effective technique for combining multiple expert LLMs into a single versatile model, retaining the expertise of the original ones. However, current approaches often overlook the importance of safety alignment during merging, leading to highly misaligned models. This work investigates the effects of model merging on alignment. We evaluate several popular model merging techniques, demonstrating that existing methods do not only transfer domain expertise but also propagate misalignment. We propose a simple two-step approach to address this problem: (i) generating synthetic safety and domain-specific data, and (ii) incorporating these generated data into the optimization process of existing data-aware model merging techniques. This allows us to treat alignment as a skill that can be maximized in the resulting merged LLM. Our experiments…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsSafety Systems Engineering in Autonomy
