プリンキピア

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

8.2.5. Exercises8.2.5 練習問題

  1. Compared with AlexNet, VGG is much slower in terms of computation, and it also needs more GPU memory.
    英語のヒント
    AlexNetと比べると、VGGは計算の面でずっと遅く、GPUのメモリもより多く必要とする。
    1. Compare the number of parameters needed for AlexNet and VGG.
      英語のヒント
      AlexNetとVGGに必要なパラメータの数を比べよ。
    2. Compare the number of floating point operations used in the convolutional layers and in the fully connected layers.
      英語のヒント
      畳み込み層と全結合層で使われる浮動小数点演算の数を比べよ。
    3. How could you reduce the computational cost created by the fully connected layers?
      英語のヒント
      全結合層が生む計算の費用は、どうすれば減らせるか。
  2. When displaying the dimensions associated with the various layers of the network, we only see the information associated with eight blocks (plus some auxiliary transforms), even though the network has 11 layers. Where did the remaining three layers go?
    英語のヒント
    ネットワークのさまざまな層に関する次元を表示すると、ネットワークには11の層があるのに、八つのブロック(といくつかの補助的な変換)に関する情報しか見えない。残りの三つの層はどこへ行ったのか。
  3. Use Table 1 in the VGG paper (Simonyan and Zisserman, 2014) to construct other common models, such as VGG-16 or VGG-19.
    英語のヒント
    VGGの論文(Simonyan and Zisserman, 2014)の表1を使って、VGG-16やVGG-19のような、ほかのよく使われるモデルを作れ。
  4. Upsampling the resolution in Fashion-MNIST eight-fold from 28×28 to 224×224 dimensions is very wasteful. Try modifying the network architecture and resolution conversion, e.g., to 56 or to 84 dimensions for its input instead. Can you do so without reducing the accuracy of the network? Consult the VGG paper (Simonyan and Zisserman, 2014) for ideas on adding more nonlinearities prior to downsampling.
    英語のヒント
    Fashion-MNISTの解像度を28×28から224×224へと8倍にアップサンプリングするのは、とても無駄が多い。代わりに、ネットワークの構造と解像度の変換を変えて、たとえば入力を56や84の次元にしてみよ。ネットワークの正解率を下げずにそうできるか。ダウンサンプリングの前に非線形性をさらに加えるための着想については、VGGの論文(Simonyan and Zisserman, 2014)を参照せよ。