Nguni语言的子词分段语言建模
Subword Segmental Language Modelling for Nguni Languages
摘要:
子词已经成为NLP中的标准文本单元,从而实现了高效的开放词汇表模型。对于像字节对编码(BPE)这样的算法,子词切分被视为在训练之前应用于语料库的预处理步骤。这可能导致低资源语言与复杂形态的次优分割。我们提出了一个子词分段语言模型(SSLM),学习如何分段的话,同时进行自回归语言建模训练。通过统一子词切分和语言建模,我们的模型学习优化LM性能的子词。我们训练我们的模型在4 Nguni语言的南非。这些是低资源粘着语言,所以子词信息是至关重要的。作为LM,SSLM在4种语言中的平均性能优于现有方法,例如基于BPE的模型。此外,它优于标准的子词分割器的无监督形态分割。我们还训练我们的模型作为一个单词级的序列模型,从而在一个无监督的形态分割,优于现有的方法,所有4种语言的大幅度。我们的研究结果表明,学习子词切分是一种有效的替代现有的子词切分器,使模型能够发现词素样的子词,提高其LM功能。
英文摘要:
Subwords have become the standard units of text in NLP, enabling efficient open-vocabulary models. With algorithms like byte-pair encoding (BPE), subword segmentation is viewed as a preprocessing step applied to the corpus before training. This can lead to sub-optimal segmentations for low-resource languages with complex morphologies. We propose a subword segmental language model (SSLM) that learns how to segment words while being trained for autoregressive language modelling. By unifying subword segmentation and language modelling, our model learns subwords that optimise LM performance. We train our model on the 4 Nguni languages of South Africa. These are low-resource agglutinative languages, so subword information is critical. As an LM, SSLM outperforms existing approaches such as BPE-based models on average across the 4 languages. Furthermore, it outperforms standard subword segmenters on unsupervised morphological segmentation. We also train our model as a word-level sequence model, resulting in an unsupervised morphological segmenter that outperforms existing methods by a large margin for all 4 languages. Our results show that learning subword segmentation is an effective alternative to existing subword segmenters, enabling the model to discover morpheme-like subwords that improve its LM capabilities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。