プリンキピア

第12章最適化アルゴリズム

12.7.7. Exercises12.7.7 練習問題

  1. Prove that for an orthogonal matrix 𝐔 and a vector 𝐜 the following holds: ∥𝐜−δ∥2=∥𝐔𝐜−𝐔δ∥2. Why does this mean that the magnitude of perturbations does not change after an orthogonal change of variables?
    英語のヒント
    直交行列𝐔とベクトル𝐜について、∥𝐜−δ∥2=∥𝐔𝐜−𝐔δ∥2が成り立つことを証明せよ。これはなぜ、変数を直交変換しても摂動の大きさが変わらないことを意味するのか。
  2. Try out Adagrad for f(𝐱)=0.1x12+2x22 and also for the objective function was rotated by 45 degrees, i.e., f(𝐱)=0.1(x1+x2)2+2(x1−x2)2. Does it behave differently?
    英語のヒント
    f(𝐱)=0.1x12+2x22について、また45度回転させた目的関数、つまりf(𝐱)=0.1(x1+x2)2+2(x1−x2)2についても、Adagradを試せ。ふるまいは違うか。
  3. Prove Gerschgorin’s circle theorem which states that eigenvalues λi of a matrix 𝐌 satisfy |λi−𝐌jj|≤∑k≠j|𝐌jk| for at least one choice of j.
    英語のヒント
    行列𝐌の固有値λiが、少なくとも一つのjの選び方について|λi−𝐌jj|≤∑k≠j|𝐌jk|を満たすというゲルシュゴリンの円板定理を証明せよ。
  4. What does Gerschgorin’s theorem tell us about the eigenvalues of the diagonally preconditioned matrix diag−12(𝐌)𝐌diag−12(𝐌)?
    英語のヒント
    対角で前条件づけした行列diag−12(𝐌)𝐌diag−12(𝐌)の固有値について、ゲルシュゴリンの定理は何を教えてくれるか。
  5. Try out Adagrad for a proper deep network, such as Section 7.6 when applied to Fashion-MNIST.
    英語のヒント
    Fashion-MNISTに当てはめた7.6節のような、きちんとした深いネットワークでAdagradを試せ。
  6. How would you need to modify Adagrad to achieve a less aggressive decay in learning rate?
    英語のヒント
    学習率の減衰を穏やかにするには、Adagradをどう変える必要があるか。