Revisiting Model Stitching In the Foundation Model Era

32d ago · Global · primary source: export.arxiv.org

A new study finds that heterogeneous Vision Foundation Models — trained on different datasets with different objectives — can be reliably stitched together, challenging prior assumptions that model stitching only works between models trained on the same data. The research, led by Zheda Mai and colleagues, revisits the technique of model stitching, which connects the early layers of one model to the later layers of another through a lightweight stitch layer [1]. Earlier work had shown that small models trained on identical datasets, such as ResNet-18 on CIFAR-10, remained stitchable despite different initializations or training objectives [3]. The new study extends this question to large Vision Foundation Models (VFMs) including CLIP, DINOv2, and SigLIP 2 — models that vary substantially in their training data, objectives, and whether they process vision alone or vision with language [2]. The authors introduce a systematic protocol that examines stitch points, stitch layer families, training losses, and downstream tasks [1]. They found that two conventional approaches to training the stitch layer — matching intermediate features at the stitch point or optimizing the task loss end-to-end — struggle to preserve accuracy in the VFM setting, with failures most pronounced at shallow stitch points [5]. A closer analysis revealed why these methods falter. Low feature-matching error at the stitch point did not guarantee aligned final representations, particularly for shallow stitches. Meanwhile, task-loss training faced an optimization challenge: gradients from the prediction head had to traverse frozen target-model layers to reach the stitch layer, weakening the training signal [5]. The team identified a more effective approach: applying a feature-matching loss at the target model's penultimate layer, rather than at the stitch point itself [2]. This simple modification made heterogeneous VFMs reliably stitchable across vision tasks. For deep stitch points, the resulting stitched model could outperform either constituent model while incurring only a small inference overhead from the stitch layer [1]. Building on these results, the researchers propose the VFM Stitch Tree, an architecture that shares early layers across multiple VFMs while retaining each model's later layers [4]. The design offers a controllable trade-off between accuracy and latency, which could benefit multimodal large language models that rely on several vision encoders simultaneously [2]. The study reframes stitching from a diagnostic tool for probing representational similarity into a practical method for combining complementary strengths of different foundation models [1].

research-paperinfrastructure

Background sources we checked (7)
  • arxiv.org ↗ Model stitching, connecting early layers of one model (source) to later layers of another (target) via a light stitch layer, has served as a probe of representational compatibility. Prior work finds that models trained on the same dataset remain stitchable (negligible accuracy dr…
  • arxiv.org ↗ Model stitching, connecting early layers of one model (source) to later layers of another (target) via a light stitch layer, has served as a probe of representational compatibility. Prior work finds that models trained on the same dataset remain stitchable (negligible accuracy dr…
  • arxiv.org ↗ [2603.12433v2] Revisiting Model Stitching In the Foundation Model Era [...] # Title:Revisiting Model Stitching In the Foundation Model Era [...] Authors: Zheda Mai, Ke Zhang, Fu-En Wang, Zixiao Ken Wang, Albert Y. C. Chen, Lu Xia, Min Sun, Wei-Lun Chao, Cheng-Hao Kuo [...] > Abst…
  • arxiv.org ↗ Model stitching, connecting early layers of one model (source) to later layers of another (target) via a light stitch layer, has served as a probe of representational compatibility. Prior work finds that models trained on the same dataset remain stitchable (negligible accuracy dr…
  • en.wikipedia.org ↗ Lilo & Stitch is a 2002 American animated science fiction comedy-drama film written and directed by Chris Sanders and Dean DeBlois, based on an original story created by Sanders. It was produced by Walt Disney Feature Animation, and stars Daveigh Chase and Sanders as the voices o…
  • en.wikipedia.org ↗ The golden age of American animation was a period that began with the popularization of sound synchronized cartoons in 1928 starting with Steamboat Willie, and gradually ended throughout the 1960s when theatrical animated cartoon film shorts lost ground to the newer medium of tel…
  • en.wikipedia.org ↗ The Paleolithic ( PAY-lee-oh-LITH-ik, PAL-ee-), or Old Stone Age, is a period in human prehistory distinguished by the original development of stone tools. It represents almost the entire period of human prehistoric technology, extending from the earliest known use of stone tool…

Sources

Spot something wrong? Report an issue