Model Fusion via Optimal Transport

By Sidak Pal Singh, Martin Jaggi. 2019

318 citations recorded by the source corpus.

Combining different models is a widely used paradigm in machine learning applications. While the most common approach is to form an ensemble of models and average their individual predictions, this approach is often rendered infeasible by given resource constraints in terms of memory and computation, which grow linearly with the number of models. We present a layer-wise model fusion algorithm for neural networks that utilizes optimal transport to (soft-) align neurons across the models before averaging their associated parameters. We show that this can successfully yield "one-shot" knowledge transfer (i.e, without requiring any retraining) between neural networks trained on heterogeneous non-i.i.d. data. In both i.i.d. and non-i.i.d. settings, we illustrate that our approach significantly outperforms vanilla averaging, as well as how it can serve as an efficient replacement for the ensemble with moderate fine-tuning, for standard convolutional networks (like VGG11), residual networks (like ResNet18), and multi-layer perceptrons on CIFAR10 and MNIST. Finally, our approach also provides a principled way to combine the parameters of neural networks with different widths, and we explore its application for model compression. Code is available under the following link https://github.com/modelfusion.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures, Mathematical Optimization

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Jianfeng Gao
  4. Colin Raffel
  5. Hannaneh Hajishirzi
  6. Yoshua Bengio
  7. Dan Alistarh
  8. Dong Yu

In Computer Vision and Pattern Recognition

  1. Mohit Bansal
  2. Dacheng Tao
  3. Luc Van Gool
  4. Trevor Darrell
  5. Jianfeng Gao
  6. Dan Alistarh
  7. Jitendra Malik
  8. Xiaogang Wang

In Model Architectures

  1. Behnam Neyshabur
  2. Dan Alistarh
  3. Jonathan Hayase
  4. Siddhartha S. Srinivasa
  5. Samuel K. Ainsworth
  6. Adrien Bazoge
  7. Shashank Rajput
  8. Mário Almeida

In Mathematical Optimization

  1. Dan Alistarh
  2. Jonathan Hayase
  3. Siddhartha S. Srinivasa
  4. Samuel K. Ainsworth
  5. Shashank Rajput
  6. Dong Yu
  7. Dimitris Papailiopoulos
  8. Samuel Horváth

Citations in the corpus