プリンキピア

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

5.1.4. Exercises5.1.4 練習問題

  1. Show that adding layers to a linear deep network, i.e., a network without nonlinearity σ can never increase the expressive power of the network. Give an example where it actively reduces it.
    英語のヒント
    線形の深いネットワーク、つまり非線形性σのないネットワークに層を加えても、ネットワークの表現力は決して増えないことを示せ。それが表現力を積極的に減らしてしまう例を挙げよ。
  2. Compute the derivative of the pReLU activation function.
    英語のヒント
    pReLU活性化関数の導関数を計算せよ。
  3. Compute the derivative of the Swish activation function xsigmoid(βx).
    英語のヒント
    Swish活性化関数xsigmoid(βx)の導関数を計算せよ。
  4. Show that an MLP using only ReLU (or pReLU) constructs a continuous piecewise linear function.
    英語のヒント
    ReLU(またはpReLU)だけを使うMLPは、連続な区分的線形関数を作ることを示せ。
  5. Sigmoid and tanh are very similar.
    英語のヒント
    シグモイドとtanhはとてもよく似ている。
    1. Show that tanh(x)+1=2sigmoid(2x).
      英語のヒント
      tanh(x)+1=2sigmoid(2x)であることを示せ。
    2. Prove that the function classes parametrized by both nonlinearities are identical. Hint: affine layers have bias terms, too.
      英語のヒント
      両方の非線形性でパラメータ化された関数のクラスが同一であることを証明せよ。ヒント:アフィン層にはバイアス項もある。
  6. Assume that we have a nonlinearity that applies to one minibatch at a time, such as the batch normalization (Ioffe and Szegedy, 2015). What kinds of problems do you expect this to cause?
    英語のヒント
    バッチ正規化(Ioffe and Szegedy, 2015)のように、一度に一つのミニバッチに適用される非線形性があるとする。これはどんな種類の問題を引き起こすと予想されるか。
  7. Provide an example where the gradients vanish for the sigmoid activation function.
    英語のヒント
    シグモイド活性化関数で勾配が消える例を挙げよ。