Superpose Task-specific Features for Model Merging

Haiquan Qiu, You Wu, Dong Li, Jianmin Guo, Quanming Yao
2/15/2025
cs.LGcs.AI

Official code: LARS-research/STF (3 stars, MIT, last commit 2025-10-11).

Abstract

Model merging enables powerful capabilities in neural networks without requiring additional training. In this paper, we introduce a novel perspective on model merging by leveraging the fundamental mechanisms of neural network representation. Our approach is motivated by the linear representation hypothesis, which states that neural networks encode information through linear combinations of feature vectors. We propose a method that superposes task-specific features from individual models into a merged model. Our approach specifically targets linear transformation matrices, which are crucial for feature activation and extraction in deep networks. By formulating the merging process as a linear system, we can preserve task-specific features from individual models and create merged models that effectively maintain multi-task capabilities compared to existing methods. Extensive experiments across diverse benchmarks and models demonstrate that our method outperforms existing techniques. Code is available at https://github.com/LARS-research/STF.

View on arXivView PDF

Code Implementations(1)

LARS-research/STFOfficial100%
MIT

Superpose Task-specific Features for Model Merging. EMNLP 2025

30Shell, PythonAug 23, 20251 years agoMIT

Similar Papers

Cite this paper

@article{qiu2025superpose,
  title  = {Superpose Task-specific Features for Model Merging},
  author = {Haiquan Qiu and You Wu and Dong Li and Jianmin Guo and Quanming Yao},
  year   = {2025},
  eprint = {2502.10698},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.10698v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.10698.svg)](https://codeofpaper.com/paper/2502.10698)

Discussion