プリンキピア

第9章リカレントニューラルネットワーク

9.7.4. Exercises9.7.4 練習問題

  1. Assume that we have a symmetric matrix 𝐌∈ℝn×n with eigenvalues λi whose corresponding eigenvectors are 𝐯i (i=1,…,n). Without loss of generality, assume that they are ordered in the order |λi|≥|λi+1|.
    英語のヒント
    固有値がλiで、対応する固有ベクトルが𝐯i(i=1,…,n)である対称行列𝐌∈ℝn×nがあるとする。一般性を失うことなく、それらは|λi|≥|λi+1|の順に並んでいると仮定する。
    1. Show that 𝐌k has eigenvalues λik.
      英語のヒント
      𝐌kが固有値λikをもつことを示せ。
    2. Prove that for a random vector 𝐱∈ℝn, with high probability 𝐌k𝐱 will be very much aligned with the eigenvector 𝐯1 of 𝐌. Formalize this statement.
      英語のヒント
      ランダムなベクトル𝐱∈ℝnについて、高い確率で𝐌k𝐱が𝐌の固有ベクトル𝐯1とほとんどそろうことを証明せよ。この主張を定式化せよ。
    3. What does the above result mean for gradients in RNNs?
      英語のヒント
      上の結果は、RNNの勾配にとって何を意味するか。
  2. Besides gradient clipping, can you think of any other methods to cope with gradient explosion in recurrent neural networks?
    英語のヒント
    勾配クリッピングのほかに、リカレントニューラルネットワークで勾配の爆発に対処する方法として、何か考えられるか。