第8章現代の畳み込みニューラルネットワーク
8.1.4. Discussion8.1.4 考察
AlexNet’s structure bears a striking resemblance to LeNet, with a number of critical improvements, both for accuracy (dropout) and for ease of training (ReLU). What is equally striking is the amount of progress that has been made in terms of deep learning tooling. What was several months of work in 2012 can now be accomplished in a dozen lines of code using any modern framework.
英語のヒント
AlexNetの構造はLeNetと驚くほどよく似ているが、正解率のため(ドロップアウト)と訓練のしやすさのため(ReLU)の両方で、いくつかの決定的な改良がある。同じくらい驚くべきなのは、深層学習の道具立ての面でなされてきた進歩の大きさである。2012年には何か月もかかった作業が、今ではどんな現代のフレームワークでも十数行のコードで達成できる。
Reviewing the architecture, we see that AlexNet has an Achilles heel when it comes to efficiency: the last two hidden layers require matrices of size and , respectively. This corresponds to 164 MB of memory and 81 MFLOPs of computation, both of which are a nontrivial outlay, especially on smaller devices, such as mobile phones. This is one of the reasons why AlexNet has been surpassed by much more effective architectures that we will cover in the following sections. Nonetheless, it is a key step from shallow to deep networks that are used nowadays. Note that even though the number of parameters exceeds by far the amount of training data in our experiments (the last two layers have more than 40 million parameters, trained on a datasets of 60 thousand images), there is hardly any overfitting: training and validation loss are virtually identical throughout training. This is due to the improved regularization, such as dropout, inherent in modern deep network designs.
英語のヒント
構造を見直すと、AlexNetには効率の面でアキレス腱があることがわかる。最後の二つの隠れ層は、それぞれ大きさとの行列を必要とする。これは164MBのメモリと81 MFLOPsの計算に相当し、どちらも、特に携帯電話のような小さなデバイスでは、無視できない出費である。これが、AlexNetが以降の節で扱うずっと効果的な構造に追い越された理由の一つである。それでも、これは浅いネットワークから今日使われている深いネットワークへの鍵となる一歩である。この実験では、パラメータの数が訓練データの量をはるかに上回っている(最後の二つの層には4000万を超えるパラメータがあり、6万枚の画像のデータセットで訓練される)にもかかわらず、過学習はほとんどないことに注意してほしい。訓練損失と検証損失は、訓練全体を通じて実質的に同じである。これは、現代の深いネットワークの設計に組み込まれた、ドロップアウトのような改良された正則化のおかげである。
Although it seems that there are only a few more lines in AlexNet’s implementation than in LeNet’s, it took the academic community many years to embrace this conceptual change and take advantage of its excellent experimental results. This was also due to the lack of efficient computational tools. At the time neither DistBelief (Dean et al., 2012) nor Caffe (Jia et al., 2014) existed, and Theano (Bergstra et al., 2010) still lacked many distinguishing features. It was the availability of TensorFlow (Abadi et al., 2016) that dramatically changed the situation.
英語のヒント
AlexNetの実装はLeNetのものより数行多いだけのように見えるが、学術コミュニティがこの概念上の変化を受け入れ、その優れた実験結果を活用するには、何年もかかった。これは、効率的な計算の道具がなかったせいでもあった。当時は、DistBelief(Dean et al., 2012)もCaffe(Jia et al., 2014)もまだ存在せず、Theano(Bergstra et al., 2010)にはまだ際立った機能の多くが欠けていた。状況を劇的に変えたのは、TensorFlow(Abadi et al., 2016)が使えるようになったことだった。