第11章注意機構とTransformer
11.9.4. Scalability11.9.4 スケーラビリティ
Fig. 11.9.8 empirically demonstrates scalability of Transformers in the GPT-3 language model. For language modeling, more comprehensive empirical studies on the scalability of Transformers have led researchers to see promise in training larger Transformers with more data and compute (Kaplan et al., 2020).
英語のヒント
図11.9.8は、GPT-3の言語モデルでTransformerのスケーラビリティを実験的に示している。言語のモデリングについて、Transformerのスケーラビリティについてのもっと包括的な実験研究から、研究者たちは、もっと多くのデータと計算量でもっと大きなTransformerを訓練することに見込みがあると考えるようになった(Kaplan et al., 2020)。
Image omitted because its reuse rights could not be verified.権利の確認ができないため画像を割愛。
Fig. 11.9.9図11.9.9
Transformer language model performance improves smoothly as we increase the model size, dataset size, and amount of compute used for training. For optimal performance all three factors must be scaled up in tandem. Empirical performance has a power-law relationship with each individual factor when not bottlenecked by the other two (caption adapted and figure taken from Kaplan et al. (2020)).
英語のヒント
Transformerの言語モデルの性能は、モデルの大きさ、データセットの大きさ、訓練に使う計算量を増やすにつれて、なめらかに向上する。最適な性能のためには、三つの要因すべてを並行して大きくしなければならない。ほかの二つがボトルネックになっていないとき、実験的な性能は、個々の要因とべき乗則の関係をもつ(キャプションは改変、図はKaplan et al. (2020)より)。
As shown in Fig. 11.9.9, power-law scaling can be observed in the performance with respect to the model size (number of parameters, excluding embedding layers), dataset size (number of training tokens), and amount of training compute (PetaFLOP/s-days, excluding embedding layers). In general, increasing all these three factors in tandem leads to better performance. However, how to increase them in tandem still remains a matter of debate (Hoffmann et al., 2022).
英語のヒント
図11.9.9に示すように、モデルの大きさ(埋め込み層を除くパラメータの数)、データセットの大きさ(訓練トークンの数)、訓練の計算量(埋め込み層を除くPetaFLOP/s-days)について、性能にべき乗則のスケーリングが観察される。一般に、これら三つの要因すべてを並行して増やすと性能がよくなる。しかし、それらをどう並行して増やすかは、いまだ議論の的である(Hoffmann et al., 2022)。
Image omitted because its reuse rights could not be verified.権利の確認ができないため画像を割愛。
Fig. 11.9.10図11.9.10
As well as increased performance, large models also enjoy better sample efficiency than small models. Fig. 11.9.10 shows that large models need fewer training samples (tokens processed) to perform at the same level achieved by small models, and performance is scaled smoothly with compute.
英語のヒント
性能が上がるだけでなく、大きなモデルは小さなモデルより標本効率もよい。図11.9.10は、大きなモデルが、小さなモデルが達成するのと同じ水準の性能を出すのに必要な訓練の標本(処理するトークン)が少なく、性能が計算量とともになめらかにスケールすることを示している。
Image omitted because its reuse rights could not be verified.権利の確認ができないため画像を割愛。
Fig. 11.9.11図11.9.11
GPT-3 performance (cross-entropy validation loss) follows a power-law trend with the amount of compute used for training. The power-law behavior observed in Kaplan et al. (2020) continues for an additional two orders of magnitude with only small deviations from the predicted curve. Embedding parameters are excluded from compute and parameter counts (caption adapted and figure taken from Brown et al. (2020)).
英語のヒント
The empirical scaling behaviors in Kaplan et al. (2020) have been tested in subsequent large Transformer models. For example, GPT-3 supported this hypothesis with two more orders of magnitude in Fig. 11.9.11.