第19章ハイパーパラメータ最適化
19.3.4. Summary19.3.4 まとめ
We can reduce the waiting time for random search substantially by distribution trials across parallel resources. In general, we distinguish between synchronous scheduling and asynchronous scheduling. Synchronous scheduling means that we sample a new batch of hyperparameter configurations once the previous batch finished. If we have a stragglers - trials that takes more time to finish than other trials - our workers need to wait at synchronization points. Asynchronous scheduling evaluates a new hyperparameter configurations as soon as resources become available, and, hence, ensures that all workers are busy at any point in time. While random search is easy to distribute asynchronously and does not require any change of the actual algorithm, other methods require some additional modifications.
英語のヒント
試行を並列の資源に分散させることで、ランダム探索の待ち時間を大幅に減らせる。一般に、同期的なスケジューリングと非同期的なスケジューリングを区別する。同期的なスケジューリングとは、前のバッチが終わったら、ハイパーパラメータの設定の新しいバッチを抜き出すことを意味する。遅れるもの、つまりほかの試行よりも終わるのに時間がかかる試行があると、ワーカーは同期点で待つ必要がある。非同期的なスケジューリングは、資源が使えるようになるとすぐに新しいハイパーパラメータの設定を評価し、したがって、どの時点でもすべてのワーカーが働いていることを確かにする。ランダム探索は非同期に分散するのがたやすく、実際のアルゴリズムを何も変える必要がないが、ほかの方法ではいくらか追加の変更が必要である。