arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.10244cs.CLcs.LG
收藏

面向低资源语言的大语言模型高效持续预训练

Efficient Continual Pre-training of LLMs for Low-resource Languages

IIT Kharagpur(印度理工学院卡拉格普尔分校);IIT Bombay(印度理工学院孟买分校)

Arijit Nag, Soumen Chakrabarti, Animesh Mukherjee, Niloy Ganguly

AI总结:

针对低资源语言LLM性能差、持续预训练成本高的问题,提出文本子集选择与词元选择算法,用Llama-3在9种印度语言上验证了低数据量下的效果并给出跨语系洞见。

摘要:

开源大语言模型(OsLLMs)通过提供灵活的参数增强或更新方式以提升性能,推动了自然语言研究的民主化。然而,与专有大语言模型一样,由于训练数据量更少、词汇表代表性不足,Os-LLM在低资源语言(LRLs)上的表现逊于高资源语言(HRLs)。另一方面,使用大量特定语言数据进行持续预训练(CPT)在数据获取和计算资源方面成本高昂。我们的目标是大幅降低CPT成本。为此,我们首先提出了一种从大型语料库中选择文本子集的新算法。我们证明了该技术在使用极少CPT数据时依然有效。为寻求进一步提升,我们设计了一种新算法,用于选择要纳入LLM词汇表的词元。我们使用最新的Llama-3模型,针对9种书写系统和资源丰富度各异的印度语言开展实验。评估采用IndicGenBench——一个印度语言生成任务基准数据集。我们测试了多种CPT语料库和扩充后的词汇表规模,并给出了跨语系的研究洞见。

英文摘要:

Open-source Large Language models (OsLLMs) propel the democratization of natural language research by giving the flexibility to augment or update model parameters for performance improvement. Nevertheless, like proprietary LLMs, Os-LLMs offer poorer performance on low-resource languages (LRLs) than high-resource languages (HRLs), owing to smaller amounts of training data and underrepresented vocabulary. On the other hand, continual pre-training (CPT) with large amounts of language-specific data is a costly proposition in terms of data acquisition and computational resources. Our goal is to drastically reduce CPT cost. To that end, we first develop a new algorithm to select a subset of texts from a larger corpus. We show the effectiveness of our technique using very little CPT data. In search of further improvement, we design a new algorithm to select tokens to include in the LLM vocabulary. We experiment with the recent Llama-3 model and nine Indian languages with diverse scripts and extent of resource availability. For evaluation, we use IndicGenBench, a generation task benchmark dataset for Indic languages. We experiment with various CPT corpora and augmented vocabulary size and offer insights across language families.

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

↑