paper-with-me

Papers

TIES-Merging: Resolving Interference When Merging Models

2023-06-02 · NeurIPS 2023 11 · Prateek Yadav, Derek Tam, Leshem Choshen, Colin Raffel, Mohit Bansal

Transfer learning - i.e., further fine-tuning a pre-trained model on a downstream task - can confer significant advantages, including improved downstream performance, faster convergence, and better sample efficiency. These advantages have led to a proliferation of task-specific fine-tuned models, which typically can only perform a single task and do not benefit from one another. Recently, model merging techniques have emerged as a solution to combine multiple task-specific models into a single multitask model without performing additional training. However, existing merging methods often ignore the interference between parameters of different models, resulting in large performance drops when merging multiple models. In this paper, we demonstrate that prior merging techniques inadvertently lose valuable information due to two major sources of interference: (a) interference due to redundant parameter values and (b) disagreement on the sign of a given parameter's values across models. To address this, we propose our method, TRIM, ELECT SIGN & MERGE (TIES-Merging), which introduces three novel steps when merging models: (1) resetting parameters that only changed a small amount during fine-tuning, (2) resolving sign conflicts, and (3) merging only the parameters that are in alignment with the final agreed-upon sign. We find that TIES-Merging outperforms several existing methods in diverse settings covering a range of modalities, domains, number of tasks, model sizes, architectures, and fine-tuning settings. We further analyze the impact of different types of interference on model parameters, and highlight the importance of resolving sign interference. Our code is available at https://github.com/prateeky2806/ties-merging

📄 PDF Abstract BibTeX arXiv:2306.01708

Code (4)

prateeky2806/ties-merging 공식 구현 pytorch
EnnengYang/AdaMerging pytorch
flowritecom/flow-merge pytorch
yanyang19/ImPart pytorch

Tasks

Transfer Learning

Similar Papers 제목 키워드 기반

Resolving Interference (RI): Disentangling Models for Improved Model Merging

2026-03-13 · Pratik Ramesh, George Stoica, Arun Iyer, Leshem Choshen 외 arxiv

Model merging has shown that multitask models can be created by directly combining the parameters of different models that are each specialized on tasks of interest. However, models trained independently on distinct task…

Whoever Started the Interference Should End It: Guiding Data-Free Model Merging via Task Vectors

2025-03-11 · Runxi Cheng, Feng Xiong, Yongxian Wei, Wanyun Zhu 외

Model merging seeks to integrate task-specific expert models into a unified architecture while preserving multi-task generalization capabilities, yet parameter interference between constituent models frequently induces p…

Test-time Adaptation

ACE-Merging: Data-Free Model Merging with Adaptive Covariance Estimation

2026-03-03 · Bo Xu, Haotian Wu, Hehai Lin, Weiquan Huang 외 arxiv

Model merging aims to combine multiple task-specific expert models into a single model while preserving generalization across diverse tasks. However, interference among experts, especially when they are trained on differ…

Mitigating the Backdoor Effect for Multi-Task Model Merging via Safety-Aware Subspace

2024-10-17 · Jinluan Yang, Anke Tang, Didi Zhu, Zhengyu Chen 외

Model merging has gained significant attention as a cost-effective approach to integrate multiple single-task fine-tuned models into a unified one that can perform well on multiple tasks. However, existing model merging …

Meta-Learning

DynamicER: Resolving Emerging Mentions to Dynamic Entities for RAG

2024-10-15 · Jinyoung Kim, Dayoon Ko, Gunhee Kim

In the rapidly evolving landscape of language, resolving new linguistic expressions in continuously updating knowledge bases remains a formidable challenge. This challenge becomes critical in retrieval-augmented generati…

Entity LinkingRAGRetrievalRetrieval-augmented Generation