arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08246cs.CL
收藏

训练稀疏翻译模型的技巧

Tricks for Training Sparse Translation Models

University of California, Irvine(加州大学欧文分校);Facebook AI(脸书人工智能研究院)

Dheeru Dua, Shruti Bhosale, Vedanuj Goswami, James Cross, Mike Lewis, Angela Fan

摘要:

具有不平衡数据分布的多任务学习使模型学习偏向于高资源任务,特别是当模型容量固定并在所有任务中完全共享时。稀疏缩放架构(如BASELayers)为不同的任务提供了灵活的机制,使其具有可变数量的参数,这对于平衡偏斜的数据分布非常有用。我们发现,多语言机器翻译的稀疏架构在开箱即用时表现不佳,并提出了两种简单的技术来缓解这种情况-温度加热机制和密集的预训练。总体而言,与标准BASELayers和Dense缩放基线相比,这些方法提高了两个多语言翻译基准的性能,并且组合起来,模型收敛速度超过2倍。

英文摘要:

Multi-task learning with an unbalanced data distribution skews model learning towards high resource tasks, especially when model capacity is fixed and fully shared across all tasks. Sparse scaling architectures, such as BASELayers, provide flexible mechanisms for different tasks to have a variable number of parameters, which can be useful to counterbalance skewed data distributions. We find that that sparse architectures for multilingual machine translation can perform poorly out of the box, and propose two straightforward techniques to mitigate this - a temperature heating mechanism and dense pre-training. Overall, these methods improve performance on two multilingual translation benchmarks compared to standard BASELayers and Dense scaling baselines, and in combination, more than 2x model convergence speed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑