StitchNet: Composing Neural Networks from Pre-Trained Fragments

Surat Teerapittayanon, Marcus Comiter, Brad McDanel, H. T. Kung
1/5/2023
cs.LGcs.AIcs.CV

No confident code implementation found for this paper.

Abstract

We propose StitchNet, a novel neural network creation paradigm that stitches together fragments (one or more consecutive network layers) from multiple pre-trained neural networks. StitchNet allows the creation of high-performing neural networks without the large compute and data requirements needed under traditional model creation processes via backpropagation training. We leverage Centered Kernel Alignment (CKA) as a compatibility measure to efficiently guide the selection of these fragments in composing a network for a given task tailored to specific accuracy needs and computing resource constraints. We then show that these fragments can be stitched together to create neural networks with accuracy comparable to that of traditionally trained networks at a fraction of computing resource and data requirements. Finally, we explore a novel on-the-fly personalized model creation and inference application enabled by this new paradigm. The code is available at https://github.com/steerapi/stitchnet.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{teerapittayanon2023stitchnet,
  title  = {StitchNet: Composing Neural Networks from Pre-Trained Fragments},
  author = {Surat Teerapittayanon and Marcus Comiter and Brad McDanel and H. T. Kung},
  year   = {2023},
  eprint = {2301.01947},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.01947v3}
}

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/2301.01947.svg)](https://codeofpaper.com/paper/2301.01947)

Discussion