プリンキピア

第8章現代の畳み込みニューラルネットワーク

8.5.7. Exercises8.5.7 練習問題

  1. Should we remove the bias parameter from the fully connected layer or the convolutional layer before the batch normalization? Why?
    英語のヒント
    バッチ正規化の前にある全結合層や畳み込み層から、バイアスパラメータを取り除くべきか。それはなぜか。
  2. Compare the learning rates for LeNet with and without batch normalization.
    英語のヒント
    バッチ正規化がある場合とない場合のLeNetの学習率を比べよ。
    1. Plot the increase in validation accuracy.
      英語のヒント
      検証の正解率の上昇をプロットせよ。
    2. How large can you make the learning rate before the optimization fails in both cases?
      英語のヒント
      どちらの場合も、最適化が失敗するまでに学習率をどこまで大きくできるか。
  3. Do we need batch normalization in every layer? Experiment with it.
    英語のヒント
    すべての層でバッチ正規化が必要か。実験してみよ。
  4. Implement a “lite” version of batch normalization that only removes the mean, or alternatively one that only removes the variance. How does it behave?
    英語のヒント
    平均だけを取り除く、あるいはその代わりに分散だけを取り除く「軽量版」のバッチ正規化を実装せよ。それはどうふるまうか。
  5. Fix the parameters beta and gamma. Observe and analyze the results.
    英語のヒント
    パラメータbetaとgammaを固定せよ。結果を観察し、分析せよ。
  6. Can you replace dropout by batch normalization? How does the behavior change?
    英語のヒント
    ドロップアウトをバッチ正規化で置き換えられるか。ふるまいはどう変わるか。
  7. Research ideas: think of other normalization transforms that you can apply:
    英語のヒント
    研究のアイデア:当てはめられるほかの正規化の変換を考えよ。
    1. Can you apply the probability integral transform?
      英語のヒント
      確率積分変換を当てはめられるか。
    2. Can you use a full-rank covariance estimate? Why should you probably not do that?
      英語のヒント
      フルランクの共分散の推定値を使えるか。おそらくそうすべきでないのはなぜか。
    3. Can you use other compact matrix variants (block-diagonal, low-displacement rank, Monarch, etc.)?
      英語のヒント
      ほかのコンパクトな行列の変種(ブロック対角、低変位ランク、Monarchなど)を使えるか。
    4. Does a sparsification compression act as a regularizer?
      英語のヒント
      スパース化による圧縮は正則化として働くか。
    5. Are there other projections (e.g., convex cone, symmetry group-specific transforms) that you can use?
      英語のヒント
      ほかに使える射影(たとえば凸錐や、対称性の群に特化した変換)はあるか。