Pre-trained multilingual language models (LMs) have achieved state-of-the-art results in cross-lingual transfer, but they often lead to an inequitable representation of languages due to limited capacity, skewed pre-training data, and sub-optimal vocabularies. This has prompted the creation of an ever-growing pre-trained model universe, where each model is trained on large amounts of language or domain specific data with a carefully curated, linguistically informed vocabulary. However, doing so brings us back full circle and prevents one from leveraging the benefits of multilinguality. To address the gaps at both ends of the spectrum, we propose MergeDistill, a framework to merge pre-trained LMs in a way that can best leverage their assets with minimal dependencies, using task-agnostic knowledge distillation. We demonstrate the applicability of our framework in a practical setting by leveraging pre-existing teacher LMs and training student LMs that perform competitively with or even outperform teacher LMs trained on several orders of magnitude more data and with a fixed model capacity. We also highlight the importance of teacher selection and its impact on student model performance.
翻译:受过训练的多语文模式(LMS)在跨语言转让方面取得了最先进的成果,但由于能力有限、培训前数据偏斜和亚最佳词汇,这些模式往往导致语言代表的不平等,这促使形成了一个不断增长的、经过训练前的模型宇宙,每个模型都经过经过精心整理、语言上知情的词汇,在大量语言或具体领域数据方面受过培训。然而,这样做使我们回过头来,无法利用多种语言的优势。为了解决两端的差别,我们建议MergeDistilling(MergeDistilling),这是一个将经过训练的LMS合并成一个框架,以便利用任务性知识的提炼,以最起码的依赖性最佳地利用其资产。我们通过利用现有的教师LMS和培训学生LMs,在实际环境中运用我们的框架是可行的。我们通过利用原有的教师LMS和培训学生LMS,这些学生在具有竞争力,甚至超龄的教师LMS,在多个级别上受过培训,并且具有固定的模范能力。我们还强调了教师甄选的重要性及其对学生模式表现的影响。