如何使用平行数据进行多语言预训练
How to Use Parallel Data for Multilingual Pretraining
AI总结:
该研究针对平行数据用于多语言预训练的问题,提出平行预训练(PPT)结合标准预训练(SPT)的两阶段方法,在匹配预算下可提升通用语言理解与跨语言任务性能。
摘要:
高质量的人工翻译平行语料库可提升跨语言迁移能力,但通常过小,无法用于大规模预训练。机器翻译的网络语料库可克服这一限制,使预训练规模的平行数据成为可能。然而,标准多语言预训练会独立采样源文档及其翻译,未明确利用其平行结构。我们研究如何利用数据的平行结构改进多语言预训练,方法是在同一训练序列中连接每个文档及其翻译。我们将这种平行预训练(PPT)方法与标准预训练(SPT)对比,在匹配的 token 预算下从头训练模型。令人惊讶的是,尽管先前跨语言工作报告了平行数据的益处,仅 PPT 并未始终比 SPT 提升语言理解能力。进一步分析表明,尽管 PPT 构建了强大的跨语言基础(表现为更好地利用跨语言共享信息),但平行训练上下文与单语言任务输入之间的不匹配限制了其在通用语言理解上的增益。这一发现催生了预训练-微调范式下的两阶段方法:首先使用 PPT 构建跨语言基础,接着继续使用 SPT 使其适配标准语言建模。在高资源和低资源场景下,该两阶段方法在匹配的训练预算下,始终比单独的标准预训练提升了通用语言理解和跨语言任务性能。
英文摘要:
High-quality human-translated parallel corpora can improve cross-lingual transfer, but are typically too small for large-scale pretraining. Machine-translated web corpora help overcome this limitation, making parallel data available at pretraining scale. Standard multilingual pretraining, however, samples source documents and their translations independently, without explicitly using their parallel structure. We investigate how to use the parallel structure of the data to improve multilingual pretraining by concatenating each document with its translation in the same training sequence. We compare this parallel pretraining (PPT) approach with standard pretraining (SPT), training models from scratch at matched token budgets. Surprisingly, despite the benefits of parallel data reported in prior cross-lingual work, PPT alone does not consistently improve language understanding over SPT. Our further analysis suggests that although PPT builds a strong cross-lingual foundation, as shown by its better use of shared information across languages, the mismatch between parallel training contexts and single-language task inputs limits its gains in general language understanding. This finding motivates a two-stage approach following the pretraining-fine-tuning paradigm: we first use PPT to build a cross-lingual foundation, then continue with SPT to adapt it to standard language modeling. In both high-resource and low-resource settings, the two-stage approach consistently improves general language understanding and cross-lingual task performance over standard pretraining alone at matched training budgets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。