プリンキピア

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

5.6.1. Dropout in Practice5.6.1 実際のドロップアウト

Recall the MLP with a hidden layer and five hidden units from Fig. 5.1.1. When we apply dropout to a hidden layer, zeroing out each hidden unit with probability p, the result can be viewed as a network containing only a subset of the original neurons. In Fig. 5.6.1, h2 and h5 are removed. Consequently, the calculation of the outputs no longer depends on h2 or h5 and their respective gradient also vanishes when performing backpropagation. In this way, the calculation of the output layer cannot be overly dependent on any one element of h1,…,h5.
英語のヒント
図5.1.1の、隠れ層が一つで隠れユニットが5個のMLPを思い出してほしい。隠れ層にドロップアウトを当てはめ、各隠れユニットを確率pで0にすると、その結果は、元のニューロンの一部だけを含むネットワークとみなせる。図5.6.1では、h2とh5が取り除かれている。その結果、出力の計算はもはやh2にもh5にも依存せず、逆伝播を行うときにそれぞれの勾配も消える。こうして、出力層の計算は、h1,…,h5のどれか一つの要素に過度に依存することができなくなる。
Fig. 5.6.1図5.6.1
MLP before and after dropout.
英語のヒント
ドロップアウトの前と後のMLP。
Typically, we disable dropout at test time. Given a trained model and a new example, we do not drop out any nodes and thus do not need to normalize. However, there are some exceptions: some researchers use dropout at test time as a heuristic for estimating the uncertainty of neural network predictions: if the predictions agree across many different dropout outputs, then we might say that the network is more confident.
英語のヒント
ふつう、テスト時にはドロップアウトを無効にする。訓練済みのモデルと新しい事例が与えられたら、どのノードも脱落させないので、正規化する必要もない。ただし例外もある。テスト時にドロップアウトを、ニューラルネットワークの予測の不確かさを推定するための経験則として使う研究者もいる。多くの異なるドロップアウトの出力のあいだで予測が一致するなら、ネットワークの確信がより強いと言えるかもしれない。