SeMe: Training-Free Language Model Merging via Semantic Alignment
Jian Gu, Aldeida Aleti, Chunyang Chen, Hongyu Zhang
TL;DR
SeMe tackles the challenge of combining strengths from multiple language models without retraining or access to original data. It introduces a semantic-alignment paradigm that treats LM semantics as vector-like components in latent space, enabling fine-grained, layer-wise merging while stabilizing internal knowledge. The approach relies on a three-step merging workflow (Select, Compute, Erase) and a suite of semantic techniques (vocabulary-defined semantics, semantic bases, and semantics-preservative transformations) to perform data-free fusion. Empirical and theoretical components suggest that SeMe can outperform data-dependent methods in both performance and efficiency, offering a scalable and interpretable path to knowledge-aware model composition.
Abstract
Despite the remarkable capabilities of Language Models (LMs) across diverse tasks, no single model consistently outperforms others, necessitating efficient methods to combine their strengths without expensive retraining. Existing model merging techniques, such as parameter averaging and task-guided fusion, often rely on data-dependent computations or fail to preserve internal knowledge, limiting their robustness and scalability. We introduce SeMe (Semantic-based Merging), a novel, data-free, and training-free approach that leverages latent semantic alignment to merge LMs at a fine-grained, layer-wise level. Unlike prior work, SeMe not only preserves model behaviors but also explicitly stabilizes internal knowledge, addressing a critical gap in LM fusion. Through extensive experiments across diverse architectures and tasks, we demonstrate that SeMe outperforms existing methods in both performance and efficiency while eliminating reliance on external data. Our work establishes a new paradigm for knowledge-aware model merging and provides insights into the semantic structure of LMs, paving the way for more scalable and interpretable model composition.
