We revisit and extend model stitching (Lenc & Vedaldi 2015) as a methodology to study the internal representations of neural networks. Given two trained and frozen models $A$ and $B$, we consider a "stitched model'' formed by connecting the bottom-layers of $A$ to the top-layers of $B$, with a simple trainable layer between them. We argue that model stitching is a powerful and perhaps under-appreciated tool, which reveals aspects of representations that measures such as centered kernel alignment (CKA) cannot. Through extensive experiments, we use model stitching to obtain quantitative verifications for intuitive statements such as "good networks learn similar representations'', by demonstrating that good networks of the same architecture, but trained in very different ways (e.g.: supervised vs. self-supervised learning), can be stitched to each other without drop in performance. We also give evidence for the intuition that "more is better'' by showing that representations learnt with (1) more data, (2) bigger width, or (3) more training time can be "plugged in'' to weaker models to improve performance. Finally, our experiments reveal a new structural property of SGD which we call "stitching connectivity'', akin to mode-connectivity: typical minima reached by SGD can all be stitched to each other with minimal change in accuracy.
Revisiting Loss Modelling for Unstructured Pruning
Mila(米拉研究所);Université de Montréal(蒙特利尔大学);Insight Centre for Data Analytics(洞察数据分析中心);Dublin City University(都柏林城市大学);Facebook AI Research(脸书人工智能研究院);Canadian Institute for Advanced Research (CIFAR)(加拿大高等研究院)
Free from Bellman Completeness: Trajectory Stitching via Model-based Return-conditioned Supervised Learning
Institute for Interdisciplinary Information Sciences, Tsinghua University(清华大学交叉信息研究院);Paul G. Allen School of Computer Science and Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院)
Revisiting the Evaluation of Deep Neural Networks for Pedestrian Detection
Stellantis, Opel Automobile GmbH(斯特拉蒂斯公司);Carl von Ossietzky Universität Oldenburg(卡尔·冯·奥西特茨基大学);Deutsches Zentrum für Luft- und Raumfahrt(德国航空航天中心);Universität Ulm(乌尔姆大学)