arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.13575cs.LG
收藏

扩展 MLP:一个关于归纳偏置的故事

Scaling MLPs: A Tale of Inductive Bias

ETH Zürich(苏黎世联邦理工学院)

Gregor Bachmann, Sotiris Anagnostidis, Thomas Hofmann

AI总结:

本文系统扩展无视觉归纳偏置的 MLP,证明规模化预训练可使其在视觉基准上接近现代架构行为,并为理论代理与低成本研究提供实证依据。

摘要:

在本研究中,我们重新审视深度学习中最基本的构建模块——多层感知机(MLP),并研究其在视觉任务上的性能极限。获得关于 MLP 的实证洞察之所以重要,有多个原因。(1)鉴于近期因 transformer 超越卷积模型而流行起来的“归纳偏置越少越好”这一说法,探索该假设的极限是很自然的。为此,MLP 提供了理想的测试平台,因为它们不具备任何视觉特有的归纳偏置。(2)由于数学上的简单性,MLP 几乎一直是深度学习理论文献中的主角,充当解释在更复杂架构中观察到的实证现象的代理。令人惊讶的是,在文献中很难找到 MLP 的实验数据点,尤其是在结合大规模预训练方案时。实践与理论之间的这种差异令人担忧:MLP 是否反映了实用模型所展现的实证进展?还是理论研究者需要重新思考 MLP 作为代理的角色?我们对这两个方面都给出了洞察。我们表明,MLP 的性能会随规模大幅提升(在 CIFAR10 上达到 95%,在 CIFAR100 上达到 82%,在 ImageNet ReaL 上达到 58%),这凸显出归纳偏置的缺失确实可以得到补偿。我们观察到,MLP 忠实地模拟了其现代对应模型的行为,但学习设置中的某些组成部分表现出更强或出乎意料的行为。由于其固有的计算效率,大规模预训练实验对学术研究者而言变得更加可及。我们所有的实验都在单块 GPU 上运行。

英文摘要:

In this work we revisit the most fundamental building block in deep learning, the multi-layer perceptron (MLP), and study the limits of its performance on vision tasks. Empirical insights into MLPs are important for multiple reasons. (1) Given the recent narrative "less inductive bias is better", popularized due to transformers eclipsing convolutional models, it is natural to explore the limits of this hypothesis. To that end, MLPs offer an ideal test bed, as they lack any vision-specific inductive bias. (2) MLPs have almost exclusively been the main protagonist in the deep learning theory literature due to their mathematical simplicity, serving as a proxy to explain empirical phenomena observed for more complex architectures. Surprisingly, experimental datapoints for MLPs are very difficult to find in the literature, especially when coupled with large pre-training protocols. This discrepancy between practice and theory is worrying: Do MLPs reflect the empirical advances exhibited by practical models? Or do theorists need to rethink the role of MLPs as a proxy? We provide insights into both these aspects. We show that the performance of MLPs drastically improves with scale (95% on CIFAR10, 82% on CIFAR100, 58% on ImageNet ReaL), highlighting that lack of inductive bias can indeed be compensated. We observe that MLPs mimic the behaviour of their modern counterparts faithfully, with some components in the learning setting however exhibiting stronger or unexpected behaviours. Due to their inherent computational efficiency, large pre-training experiments become more accessible for academic researchers. All of our experiments were run on a single GPU.

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

↑