训练神经网络的秘诀

A Recipe for Training Neural Networks

安德烈·卡帕西 Andrej Karpathy · · 2019-04-25 · Article ↗

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

Andrej Karpathy 的博客:https://karpathy.github.io/2019/04/25/recipe/ 几周前,我发了一条关于“最常见的神经网络错误”的推文,列举了一些与训练神经网络相关的常见陷阱。这条推文获得的关注远超我的预期(包括一次网络研讨会)。显然,很多人都亲身经历过“卷积层是这样工作的”和“我们的卷积网络达到了最先进的水平”之间的巨大差距。因此,我想掸去博客上的灰尘,把我的推文扩展成这个主题应得的长文。然而,与其继续列举更多常见错误或详细阐述它们,我更想深入探讨如何从根本上避免这些错误(或快速修复它们)。诀窍在于遵循某个特定流程,据我所知,这个流程并没有被经常记录下来。让我们从两个重要的观察开始,正是它们引出了这个秘诀。

Andrej Karpathy's blog: https://karpathy.github.io/2019/04/25/recipe/ A few weeks ago, I posted a tweet on “the most common neural net mistakes”, listing a few common gotchas related to training neural nets. The tweet got quite a bit more engagement than I anticipated (including a webinar). Clearly, a lot of people have personally encountered the large gap between “here is how a convolutional layer works” and “our convnet achieves state of the art results”. So I thought it could be fun to brush off my dusty blog to expand my tweet to the long form that this topic deserves. However, instead of going into an enumeration of more common errors or fleshing them out, I wanted to dig a bit deeper and talk about how one can avoid making these errors altogether (or fix them very fast). The trick to doing so is to follow a certain process, which as far as I can tell is not very often documented. Let’s start with two important observations that motivate it.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 12)

阅读逐段中英对照全文 →