小批量改进低资源神经MT的训练
Small Batch Sizes Improve Training of Low-Resource Neural MT
摘要:
我们研究了一个重要的超参数的作用,该参数在低资源环境下管理神经机器翻译的Transformers训练:批量大小。使用理论见解和实验证据,我们反对普遍认为批量大小应该设置为GPU内存所允许的大小。我们表明,在低资源环境中,较小的批量大小会在较短的训练时间内获得较高的分数,并认为这是由于训练过程中梯度的更好的正则化。
英文摘要:
We study the role of an essential hyper-parameter that governs the training of Transformers for neural machine translation in a low-resource setting: the batch size. Using theoretical insights and experimental evidence, we argue against the widespread belief that batch size should be set as large as allowed by the memory of the GPUs. We show that in a low-resource setting, a smaller batch size leads to higher scores in a shorter training time, and argue that this is due to better regularization of the gradients during training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。