第12章最適化アルゴリズム
12.4.6. Exercises12.4.6 練習問題
- Experiment with different learning rate schedules for stochastic gradient descent and with different numbers of iterations. In particular, plot the distance from the optimal solution as a function of the number of iterations.
英語のヒント
確率的勾配降下法について、さまざまな学習率のスケジュールと、さまざまな反復回数で実験せよ。特に、最適解からの距離を反復回数の関数としてプロットせよ。 - Prove that for the function adding normal noise to the gradient is equivalent to minimizing a loss function where is drawn from a normal distribution.
英語のヒント
関数について、勾配に正規分布のノイズを加えることは、が正規分布から引かれる損失関数を最小化することと同値であることを証明せよ。 - Compare convergence of stochastic gradient descent when you sample from with replacement and when you sample without replacement.
英語のヒント
から復元抽出したときと非復元抽出したときとで、確率的勾配降下法の収束を比べよ。 - How would you change the stochastic gradient descent solver if some gradient (or rather some coordinate associated with it) was consistently larger than all the other gradients?
英語のヒント
ある勾配(というより、それに対応するある座標)がほかのすべての勾配より一貫して大きかったら、確率的勾配降下法のソルバーをどう変えるか。 - Assume that . How many local minima does have? Can you change in such a way that to minimize it one needs to evaluate all the local minima?
英語のヒント
とする。には局所的な最小値がいくつあるか。最小化するためにすべての局所的な最小値を評価しなければならないように、を変えられるか。