Saved in:
Bibliographic Details
Main Authors: Pari, Jyothish, Jelassi, Samy, Agrawal, Pulkit
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.02207
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909377111261184
author Pari, Jyothish
Jelassi, Samy
Agrawal, Pulkit
author_facet Pari, Jyothish
Jelassi, Samy
Agrawal, Pulkit
contents In this work, we explore the limitations of combining models by averaging intermediate features, referred to as model merging, and propose a new direction for achieving collective model intelligence through what we call compatible specialization. Current methods for model merging, such as parameter and feature averaging, struggle to effectively combine specialized models due to representational divergence during fine-tuning. As models specialize to their individual domains, their internal feature representations become increasingly incompatible, leading to poor performance when attempting to merge them for new tasks. We analyze this phenomenon using centered kernel alignment (CKA) and show that as models specialize, the similarity in their feature space structure diminishes, hindering their capacity for collective use. To address these challenges, we investigate routing-based merging strategies, which offer more flexible methods for combining specialized models by dynamically routing across different layers. This allows us to improve on existing methods by combining features from multiple layers rather than relying on fixed, layer-wise combinations. However, we find that these approaches still face limitations when layers within models are representationally incompatible. Our findings highlight the importance of designing new approaches for model merging that operate on well-defined input and output spaces, similar to how humans communicate through language rather than intermediate neural activations.
format Preprint
id arxiv_https___arxiv_org_abs_2411_02207
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Collective Model Intelligence Requires Compatible Specialization
Pari, Jyothish
Jelassi, Samy
Agrawal, Pulkit
Machine Learning
In this work, we explore the limitations of combining models by averaging intermediate features, referred to as model merging, and propose a new direction for achieving collective model intelligence through what we call compatible specialization. Current methods for model merging, such as parameter and feature averaging, struggle to effectively combine specialized models due to representational divergence during fine-tuning. As models specialize to their individual domains, their internal feature representations become increasingly incompatible, leading to poor performance when attempting to merge them for new tasks. We analyze this phenomenon using centered kernel alignment (CKA) and show that as models specialize, the similarity in their feature space structure diminishes, hindering their capacity for collective use. To address these challenges, we investigate routing-based merging strategies, which offer more flexible methods for combining specialized models by dynamically routing across different layers. This allows us to improve on existing methods by combining features from multiple layers rather than relying on fixed, layer-wise combinations. However, we find that these approaches still face limitations when layers within models are representationally incompatible. Our findings highlight the importance of designing new approaches for model merging that operate on well-defined input and output spaces, similar to how humans communicate through language rather than intermediate neural activations.
title Collective Model Intelligence Requires Compatible Specialization
topic Machine Learning
url https://arxiv.org/abs/2411.02207