Harmony in Diversity: Merging Neural Networks with Canonical Correlation Analysis
You are an author of this paper, . Is this page accurate?
You approved this page.
Thanks. We will fix this and let you know.
Abstract
Ensembling multiple models enhances predictive performance by utilizing the varied learned features of the different models but incurs significant computational and storage costs. Model fusion, which combines parameters from multiple models into one, aims to mitigate these costs but faces practical challenges due to the complex, non-convex nature of neural network loss landscapes, where learned minima are often separated by high loss barriers. Recent works have explored using permutations to align network features, reducing the loss barrier in parameter space. However, permutations are restrictive since they assume a one-to-one mapping between the different models' neurons exists. We propose a new model merging algorithm, CCA Merge, which is based on Canonical Correlation Analysis and aims to maximize the correlations between linear combinations of the model features. We show that our method of aligning models leads to better performances than past methods when averaging models trained on the same, or differing data splits. We also extend this analysis into the harder many models setting where more than 2 models are merged, and we find that CCA Merge works significantly better in this setting than past methods.
BibTeX
@inproceedings{horoi2024harmony,
author = {Stefan Horoi and Albert Manuel Orozco Camacho and Eugene Belilovsky and Guy Wolf},
title = {{Harmony in Diversity: Merging Neural Networks with Canonical Correlation Analysis}},
booktitle = {International Conference on Machine Learning},
year = {2024},
url = {https://openreview.net/forum?id=hLuNVjRnY3},
}Ask Althea to put this paper to the test.
| $C^2M^3$: Cycle-Consistent Multi-Model Merging | arXiv · 2024 |
| PLeaS - Merging Models with Permutations and Least Squares | CVPR · 2025 |
| Model Fusion via Optimal Transport | arXiv · 2019 |
| Non-Uniform Parameter-Wise Model Merging | IEEE Big Data · 2024 |
| Training-free Heterogeneous Model Merging | arXiv · 2025 |
| Rethinking Layer-wise Model Merging through Chain of Merges | arXiv · 2025 |