[論文レビュー] Fast Distributed Training of Deep Neural Networks: Dynamic Communication Thresholding for Model and Data Parallelism.
本論文は、動的通信閾値化(DCT)を提案する。DCTは、ハード閾値化を用いて最も関連性の高い勾配と活性化のみをフィルタリングすることにより、ハイブリッドモデル並列およびデータ並列学習における通信効率を向上させる圧縮フレームワークである。DCTは、産業スケールのモデルにおいて通信量を20倍削減し、エンドツーエンドの学習を37%高速化するが、収束性を維持するとともに、暗黙の正則化によってモデル性能を向上させる。
Data Parallelism (DP) and Model Parallelism (MP) are two common paradigms to enable large-scale distributed training of neural networks. Recent trends, such as the improved model performance of deeper and wider neural networks when trained with billions of data points, have prompted the use of hybrid parallelism---a paradigm that employs both DP and MP to scale further parallelization for machine learning. Hybrid training allows compute power to increase, but it runs up against the key bottleneck of communication overhead that hinders scalability. In this paper, we propose a compression framework called Dynamic Communication Thresholding (DCT) for communication-efficient hybrid training. DCT filters the entities to be communicated across the network through a simple hard-thresholding function, allowing only the most relevant information to pass through. For communication efficient DP, DCT compresses the parameter gradients sent to the parameter server during model synchronization, while compensating for the introduced errors with known techniques. For communication efficient MP, DCT incorporates a novel technique to compress the activations and gradients sent across the network during the forward and backward propagation, respectively. This is done by identifying and updating only the most relevant neurons of the neural network for each training sample in the data. Under modest assumptions, we show that the convergence of training is maintained with DCT. We evaluate DCT on natural language processing and recommender system models. DCT reduces overall communication by 20x, improving end-to-end training time on industry scale models by 37%. Moreover, we observe an improvement in the trained model performance, as the induced sparsity is possibly acting as an implicit sparsity based regularization.
研究の動機と目的
- 大規模分散ディープラーニング学習における通信オーバーヘッドのボトルneckを解消すること。
- モデル並列とデータ並列を効率的に組み合わせることで、スケーラブルなハイブリッド並列を実現すること。
- 分散学習における通信量を大幅に削減しながらも、学習の収束性を維持すること。
- スパarsityの誘発が暗黙の正則化として機能し、モデル性能を向上させること。
- 実世界のNLPおよびレコメンデーションシステムモデルに適用可能な通信効率の高いフレームワークを設計すること。
提案手法
- DCTは、ネットワークを介した送信前に、関連性の低い勾配と活性化をフィルタリングするハード閾値化関数を適用する。
- データ並列の場合、DCTはパラメータサーバーに送信される勾配を圧縮し、収束性を維持するための誤差補償を用いる。
- モデル並列の場合、DCTは各学習サンプルごとに最も関連性の高いニューロンのみを特定し、更新することで活性化および勾配の通信量を削減する。
- 本フレームワークは、圧縮に起因する誤差に対しても収束を保証するための、やや限定的な仮定に基づいている。
- DCTは、閾値化による情報損失を補正するため、既知の誤差補償技術を統合している。
- 本手法は、学習中にパラメータおよび活性化の重要度に応じて閾値を動的に調整する。
実験結果
リサーチクエスチョン
- RQ1ハイブリッドモデル並列およびデータ並列学習における通信オーバーヘッドを、モデルの収束性や性能を損なわずに著しく削減できるか?
- RQ2勾配と活性化のハード閾値化が、分散DNN学習における通信量削減にどの程度効果的か?
- RQ3閾値化によって誘発されるスパarsityが、実際の応用において有益な正則化効果をもたらすか?
- RQ4DCTは、大規模分散学習においてやや限定的な仮定のもとで収束保証を維持できるか?
- RQ5実世界のモデルにおいて、DCTはエンドツーエンドの学習スピードアップと通信量の削減をどの程度達成できるか?
主な発見
- DCTは、ハイブリッドモデル並列およびデータ並列学習環境において、通信量全体を20倍削減した。
- 産業スケールのモデルにおいて、DCTを用いることでエンドツーエンドの学習時間が37%改善された。
- モデル性能がわずかに向上したため、誘発されたスパarsityが暗黙の正則化として機能している可能性がある。
- やや限定的な仮定のもとで収束性が維持されたため、本アプローチの理論的頑健性が裏付けられた。
- 本フレームワークは、NLPおよびレコメンデーションシステムモデルを含む多様なワークロードで有効である。
- 複雑な圧縮方式やモデル再訓練を必要とせず、高い圧縮効率を達成した。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。