プリンキピア

第13章計算の性能

13.5.7. Summary13.5.7 まとめ

  • There are multiple ways to split deep network training over multiple GPUs. We could split them between layers, across layers, or across data. The former two require tightly choreographed data transfers. Data parallelism is the simplest strategy.
    英語のヒント
    深いネットワークの訓練を複数のGPUに分ける方法はいくつかある。層のあいだで分けることも、層をまたいで分けることも、データにわたって分けることもできる。前の二つは、緻密に段取りしたデータ転送が必要になる。データ並列は最も単純な戦略である。
  • Data parallel training is straightforward. However, it increases the effective minibatch size to be efficient.
    英語のヒント
    データ並列の訓練は素直である。しかし、効率よくするには、実質的なミニバッチの大きさを増やす。
  • In data parallelism, data is split across multiple GPUs, where each GPU executes its own forward and backward operation and subsequently gradients are aggregated and results are broadcast back to the GPUs.
    英語のヒント
    データ並列では、データは複数のGPUに分けられ、各GPUが自分の順方向と逆方向の演算を実行し、その後、勾配が集められて結果がGPUにブロードキャストされて戻される。
  • We may use slightly increased learning rates for larger minibatches.
    英語のヒント
    大きなミニバッチには、少し上げた学習率を使ってもよい。