arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.07682cs.LGstat.ML
收藏

重新审视模型缝合以比较神经表示

Revisiting Model Stitching to Compare Neural Representations

Harvard University(哈佛大学)

Yamini Bansal, Preetum Nakkiran, Boaz Barak

摘要:

我们重新审视并扩展了模型拼接(Lenc & Vedaldi 2015),将其作为研究神经网络内部表示的方法。给定两个训练和冻结的模型$A$和$B$,我们考虑通过将$A$的底层连接到$B$的顶层而形成的“缝合模型”,在它们之间有一个简单的可训练层。我们认为,模型拼接是一个强大的,也许是低估的工具,它揭示了方面的表示,如中心内核对齐(CKA)的措施不能。通过广泛的实验,我们使用模型拼接来获得直观陈述的定量验证,例如“良好的网络学习类似的表示”,通过证明具有相同架构但以非常不同的方式训练的良好网络(例如:监督学习与自监督学习),可以彼此缝合而不会降低性能。我们还通过展示用(1)更多数据,(2)更大的宽度,或(3)更多训练时间学习的表示可以“插入”到较弱的模型中以提高性能,从而为“越多越好”的直觉提供证据。最后,我们的实验揭示了SGD的一个新的结构特性,我们称之为“拼接连接性”,类似于模式连接性:SGD达到的典型最小值都可以以最小的精度变化相互拼接。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑