第22章付録:深層学習のための数学
22. Appendix: Mathematics for Deep Learning22 付録:深層学習のための数学
Brent Werness (Amazon), Rachel Hu (Amazon), and authors of this book
英語のヒント
Brent Werness(Amazon)、Rachel Hu(Amazon)、本書の著者
One of the wonderful parts of modern deep learning is the fact that much of it can be understood and used without a full understanding of the mathematics below it. This is a sign that the field is maturing. Just as most software developers no longer need to worry about the theory of computable functions, neither should deep learning practitioners need to worry about the theoretical foundations of maximum likelihood learning.
英語のヒント
現代の深層学習のすばらしいところの一つは、その多くが、根底にある数学を完全に理解しなくても理解でき、使えるという事実である。これは、この分野が成熟しつつあるしるしである。たいていのソフトウェア開発者がもはや計算可能関数の理論を気にする必要がないのと同じように、深層学習の実践者も最尤学習の理論的な基礎を気にする必要はないはずである。
But, we are not quite there yet.
英語のヒント
しかし、まだそこまでには至っていない。
In practice, you will sometimes need to understand how architectural choices influence gradient flow, or the implicit assumptions you make by training with a certain loss function. You might need to know what in the world entropy measures, and how it can help you understand exactly what bits-per-character means in your model. These all require deeper mathematical understanding.
英語のヒント
実際には、構造の選び方が勾配の流れにどう影響するかや、ある損失関数で訓練することで置いている暗黙の仮定を理解する必要がときどきある。エントロピーがいったい何を測っているのか、そしてそれが、モデルでの文字あたりのビット数が何を意味するのかを正確に理解するのにどう役立つのかを知る必要があるかもしれない。これらはすべて、より深い数学的な理解を必要とする。
This appendix aims to provide you the mathematical background you need to understand the core theory of modern deep learning, but it is not exhaustive. We will begin with examining linear algebra in greater depth. We develop a geometric understanding of all the common linear algebraic objects and operations that will enable us to visualize the effects of various transformations on our data. A key element is the development of the basics of eigen-decompositions.
英語のヒント
この付録は、現代の深層学習の中核の理論を理解するのに必要な数学的背景を与えることを目指すが、網羅的ではない。まず、線形代数をより深く調べることから始める。データに対するさまざまな変換の効果を視覚化できるように、よく使われる線形代数の対象と演算すべてについて幾何学的な理解を築く。鍵となる要素は、固有値分解の基礎を築くことである。
We next develop the theory of differential calculus to the point that we can fully understand why the gradient is the direction of steepest descent, and why back-propagation takes the form it does. Integral calculus is then discussed to the degree needed to support our next topic, probability theory.
英語のヒント
次に、勾配がなぜ最も急な降下の方向なのか、誤差逆伝播法がなぜそのような形をとるのかを完全に理解できるところまで、微分法の理論を展開する。それから、次の話題である確率論を支えるのに必要な程度まで、積分法を論じる。
Problems encountered in practice frequently are not certain, and thus we need a language to speak about uncertain things. We review the theory of random variables and the most commonly encountered distributions so we may discuss models probabilistically. This provides the foundation for the naive Bayes classifier, a probabilistic classification technique.
英語のヒント
実際に出会う問題は確実でないことが多いので、不確かなことについて語るための言語が必要である。確率変数の理論と最もよく出会う分布を復習し、モデルを確率的に論じられるようにする。これは、確率的な分類の技法であるナイーブベイズ分類器の基礎になる。
Closely related to probability theory is the study of statistics. While statistics is far too large a field to do justice in a short section, we will introduce fundamental concepts that all machine learning practitioners should be aware of, in particular: evaluating and comparing estimators, conducting hypothesis tests, and constructing confidence intervals.
英語のヒント
確率論と密接に関係するのが統計学の研究である。統計学は短い節で十分に扱うにはあまりに大きな分野だが、すべての機械学習の実践者が知っておくべき基本的な概念を紹介する。とくに、推定量を評価して比べること、仮説検定を行うこと、信頼区間を構成することである。
Last, we turn to the topic of information theory, which is the mathematical study of information storage and transmission. This provides the core language by which we may discuss quantitatively how much information a model holds on a domain of discourse.
英語のヒント
最後に、情報の保存と伝送についての数学的な研究である情報理論の話題に移る。これは、あるモデルが対象領域についてどれだけの情報をもっているかを定量的に論じるための、中核となる言語を与える。
Taken together, these form the core of the mathematical concepts needed to begin down the path towards a deep understanding of deep learning.
英語のヒント
これらを合わせると、深層学習を深く理解する道を歩み始めるのに必要な数学的概念の中核になる。