arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.15051cs.CLcs.AI
收藏

Decoder-Only模型在多语言机器翻译任务上的缩放定律

Scaling Laws of Decoder-Only Models on the Multilingual Machine Translation Task

Lingua Custodia

Gaëtan Caillaut, Raheel Qader, Mariam Nakhlé, Jingshu Liu, Jean-Gabriel Barthélemy

AI总结:

本研究探讨了decoder-only模型在多语言和多领域机器翻译任务上的缩放定律,发现其损失可用类似大型语言模型的缩放定律估计,但难以泛化至过大模型或不同数据分布,且深度与宽度缩放对效率影响不同。

摘要:

近期研究展示了decoder-only模型在包括翻译在内的许多NLP任务中的卓越能力。然而,机器翻译领域一直主要由基于Transformer架构的encoder-decoder模型主导。因此,针对神经机器翻译的encoder-decoder模型的缩放定律已得到充分研究,但decoder-only模型受到的关注较少。本工作探讨了decoder-only模型在多语言和多领域翻译任务上的缩放定律。我们在句子级、多语言和多领域数据集上训练了一组包含6个decoder-only模型,参数规模从70M到7B。我们进行了一系列实验,表明decoder-only模型的损失可以使用与大型语言模型中发现的相似的缩放定律来估计,但我们也表明该缩放定律难以泛化到过大的模型或不同的数据分布。我们还研究了不同的缩放方法,并表明缩放模型的深度和宽度能带来相似的测试损失改进,但对模型效率的影响不同。

英文摘要:

Recent studies have showcased remarkable capabilities of decoder-only models in many NLP tasks, including translation. Yet, the machine translation field has been largely dominated by encoder-decoder models based on the Transformer architecture. As a consequence, scaling laws of encoder-decoder models for neural machine translation have already been well studied, but decoder-only models have received less attention. This work explores the scaling laws of decoder-only models on the multilingual and multidomain translation task. We trained a collection of six decoder-only models, ranging from 70M to 7B parameters, on a sentence-level, multilingual and multidomain dataset. We conducted a series of experiments showing that the loss of decoder-only models can be estimated using a scaling law similar to the one discovered for large language models, but we also show that this scaling law has difficulties to generalize to too large models or to a different data distribution. We also study different scaling methods and show that scaling the depth and the width of a model lead to similar test loss improvements, but with different impact on the model's efficiency.

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

↑