プリンキピア

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

12.5.6. Summary12.5.6 まとめ

  • Vectorization makes code more efficient due to reduced overhead arising from the deep learning framework and due to better memory locality and caching on CPUs and GPUs.
    英語のヒント
    ベクトル化は、深層学習のフレームワークから生じるオーバーヘッドを減らし、CPUとGPUでのメモリの局所性とキャッシュをよくするので、コードの効率を上げる。
  • There is a trade-off between statistical efficiency arising from stochastic gradient descent and computational efficiency arising from processing large batches of data at a time.
    英語のヒント
    確率的勾配降下法から生じる統計的な効率と、大きなバッチのデータを一度に処理することから生じる計算の効率とのあいだには、トレードオフがある。
  • Minibatch stochastic gradient descent offers the best of both worlds: computational and statistical efficiency.
    英語のヒント
    ミニバッチ確率的勾配降下法は、両方のよいところ、つまり計算の効率と統計的な効率を与える。
  • In minibatch stochastic gradient descent we process batches of data obtained by a random permutation of the training data (i.e., each observation is processed only once per epoch, albeit in random order).
    英語のヒント
    ミニバッチ確率的勾配降下法では、訓練データのランダムな並べ替えで得られたデータのバッチを処理する(つまり、ランダムな順序ではあるが、各観測はエポックごとに1回だけ処理される)。
  • It is advisable to decay the learning rates during training.
    英語のヒント
    訓練のあいだ、学習率を減衰させることを勧める。
  • In general, minibatch stochastic gradient descent is faster than stochastic gradient descent and gradient descent for convergence to a smaller risk, when measured in terms of clock time.
    英語のヒント
    一般に、時計の時間で測ると、より小さなリスクに収束するのに、ミニバッチ確率的勾配降下法は確率的勾配降下法や勾配降下法より速い。