プリンキピア

第5章多層パーセプトロン

5.5. Generalization in Deep Learning5.5 深層学習における汎化

In Section 3 and Section 4, we tackled regression and classification problems by fitting linear models to training data. In both cases, we provided practical algorithms for finding the parameters that maximized the likelihood of the observed training labels. And then, towards the end of each chapter, we recalled that fitting the training data was only an intermediate goal. Our real quest all along was to discover general patterns on the basis of which we can make accurate predictions even on new examples drawn from the same underlying population. Machine learning researchers are consumers of optimization algorithms. Sometimes, we must even develop new optimization algorithms. But at the end of the day, optimization is merely a means to an end. At its core, machine learning is a statistical discipline and we wish to optimize training loss only insofar as some statistical principle (known or unknown) leads the resulting models to generalize beyond the training set.
英語のヒント
第3章と第4章では、訓練データに線形モデルを当てはめることで、回帰と分類の問題に取り組んだ。どちらの場合も、観測された訓練ラベルの尤度を最大にするパラメータを見つける実用的なアルゴリズムを示した。そして、各章の終わりのほうで、訓練データに当てはめることは中間の目標にすぎないことを思い出した。初めからずっと本当に求めていたのは、同じ背後の母集団から取り出された新しい事例についてさえ正確な予測ができる、その土台となる一般的なパターンを見つけることだった。機械学習の研究者は、最適化アルゴリズムの消費者である。ときには、新しい最適化アルゴリズムを開発しなければならないことさえある。しかし、結局のところ、最適化は目的のための手段にすぎない。機械学習の核心は統計学の一分野であり、訓練損失を最適化したいのは、何らかの統計的な原理(既知であれ未知であれ)によって、得られたモデルが訓練集合を超えて汎化するかぎりにおいてである。
On the bright side, it turns out that deep neural networks trained by stochastic gradient descent generalize remarkably well across myriad prediction problems, spanning computer vision; natural language processing; time series data; recommender systems; electronic health records; protein folding; value function approximation in video games and board games; and numerous other domains. On the downside, if you were looking for a straightforward account of either the optimization story (why we can fit them to training data) or the generalization story (why the resulting models generalize to unseen examples), then you might want to pour yourself a drink. While our procedures for optimizing linear models and the statistical properties of the solutions are both described well by a comprehensive body of theory, our understanding of deep learning still resembles the wild west on both fronts.
英語のヒント
明るい面を言えば、確率的勾配降下法で訓練された深いニューラルネットワークは、数えきれない予測問題にわたって驚くほどよく汎化することがわかっている。それは、コンピュータビジョン、自然言語処理、時系列データ、推薦システム、電子カルテ、タンパク質の折りたたみ、ビデオゲームやボードゲームでの価値関数の近似、そのほか数多くの領域に及ぶ。暗い面を言えば、最適化の話(なぜ訓練データに当てはめられるのか)か汎化の話(得られたモデルがなぜ見たことのない事例に汎化するのか)のどちらかについて、素直な説明を探しているなら、一杯やりたくなるかもしれない。線形モデルを最適化する手続きも、その解の統計的な性質も、包括的な理論の体系によってよく記述されているが、深層学習についての理解は、どちらの面でもまだ無法地帯の西部さながらである。
Both the theory and practice of deep learning are rapidly evolving, with theorists adopting new strategies to explain what’s going on, even as practitioners continue to innovate at a blistering pace, building arsenals of heuristics for training deep networks and a body of intuitions and folk knowledge that provide guidance for deciding which techniques to apply in which situations.
英語のヒント
深層学習の理論と実践はどちらも急速に発展しており、理論家は何が起きているのかを説明するために新しい戦略を採用している。一方で、実践者は猛烈な速さで革新を続け、深いネットワークを訓練するための経験則の武器庫と、どの状況でどの手法を当てはめるかを決める指針となる直観と言い伝えの知識の蓄積を築いている。
The summary of the present moment is that the theory of deep learning has produced promising lines of attack and scattered fascinating results, but still appears far from a comprehensive account of both (i) why we are able to optimize neural networks and (ii) how models learned by gradient descent manage to generalize so well, even on high-dimensional tasks. However, in practice, (i) is seldom a problem (we can always find parameters that will fit all of our training data) and thus understanding generalization is far the bigger problem. On the other hand, even absent the comfort of a coherent scientific theory, practitioners have developed a large collection of techniques that may help you to produce models that generalize well in practice. While no pithy summary can possibly do justice to the vast topic of generalization in deep learning, and while the overall state of research is far from resolved, we hope, in this section, to present a broad overview of the state of research and practice.
英語のヒント
現時点をまとめれば、深層学習の理論は、有望な攻め口と、ばらばらだが魅力的な結果をいくつか生み出してきたが、(i)なぜニューラルネットワークを最適化できるのか、(ii)勾配降下法で学習したモデルが、高次元の課題でさえ、なぜこれほどよく汎化するのか、の両方についての包括的な説明からは、まだほど遠いように見える。しかし、実際には(i)が問題になることはめったになく(訓練データのすべてに当てはまるパラメータはいつでも見つけられる)、したがって汎化を理解することのほうがはるかに大きな問題である。他方で、筋の通った科学理論という安心がなくても、実践者は、実際によく汎化するモデルを作るのに役立ちうる手法を大量に開発してきた。深層学習における汎化という広大な話題を正しく伝えられる簡潔なまとめなどとてもありえず、研究の全体の状況も解決からほど遠いが、この節では、研究と実践の現状を幅広く概観したい。