プリンキピア

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

12.5. Minibatch Stochastic Gradient Descent12.5 ミニバッチ確率的勾配降下法

So far we encountered two extremes in the approach to gradient-based learning: Section 12.3 uses the full dataset to compute gradients and to update parameters, one pass at a time. Conversely Section 12.4 processes one training example at a time to make progress. Either of them has its own drawbacks. Gradient descent is not particularly data efficient whenever data is very similar. Stochastic gradient descent is not particularly computationally efficient since CPUs and GPUs cannot exploit the full power of vectorization. This suggests that there might be something in between, and in fact, that is what we have been using so far in the examples we discussed.
英語のヒント
ここまで、勾配にもとづく学習のやり方で、二つの極端に出会った。12.3節はデータセット全体を使って勾配を計算し、パラメータを1回に1パスずつ更新する。逆に、12.4節は、前進するために訓練事例を一度に一つずつ処理する。どちらにもそれぞれの欠点がある。勾配降下法は、データがとても似ているときにはいつでも、データの効率があまりよくない。確率的勾配降下法は、CPUやGPUがベクトル化の力を完全には生かせないので、計算の効率があまりよくない。これは、その中間に何かがあるかもしれないことを示唆しており、実際、それがこれまでに論じた例で使ってきたものである。