面向低资源语言的音节分词方法引入:以斯瓦希里语为例的研究
Introducing Syllable Tokenization for Low-resource Languages: A Case Study with Swahili
AI总结:
本研究针对通用分词方法不适配低资源语言的问题,提出音节分词方法并构建音节分词器,以斯瓦希里语为对象通过GPT2文本生成实验验证,证明其生成的音节嵌入可有效表征该语言,拓展了子词分词相关研究。
摘要:
多语种自然语言处理领域已开展诸多尝试,旨在让mBERT、GPT2等预训练语言模型得到优化,能够应用于低资源语言。要实现预训练语言模型(PLMs)的多语种适配,需要构建能捕捉任意语言语言学特征的词嵌入生成技术。分词就是这类技术之一,它可基于字符或子词拆分词语,生成最能体现语言结构的词嵌入。构建这类词嵌入对将预训练语言模型应用到其未训练过的其他语言、实现多语种NLP至关重要。但多数预训练语言模型采用BPE、wordpiece、unigram等通用分词方法,可能不适配特定语言。我们提出假设:基于输入文本中音节的分词方法(我们称之为音节分词)应能推动音节感知语言模型的发展。音节感知语言模型可让预训练语言模型应用于斯瓦希里语这类音节丰富的语言。已有研究提出了子词分词方法,本研究是对这类工作的拓展。具体而言,我们提出了一种音节分词器,并采用以实验为核心的方法,基于斯瓦希里语验证该分词器的效果。我们使用GPT2开展了文本生成实验,以评估音节分词器的有效性。结果表明,所提出的音节分词器生成的音节嵌入能有效表征斯瓦希里语。
英文摘要:
Many attempts have been made in multilingual NLP to ensure that pre-trained language models, such as mBERT or GPT2 get better and become applicable to low-resource languages. To achieve multilingualism for pre-trained language models (PLMs), we need techniques to create word embeddings that capture the linguistic characteristics of any language. Tokenization is one such technique because it allows for the words to be split based on characters or subwords, creating word embeddings that best represent the structure of the language. Creating such word embeddings is essential to applying PLMs to other languages where the model was not trained, enabling multilingual NLP. However, most PLMs use generic tokenization methods like BPE, wordpiece, or unigram which may not suit specific languages. We hypothesize that tokenization based on syllables within the input text, which we call syllable tokenization, should facilitate the development of syllable-aware language models. The syllable-aware language models make it possible to apply PLMs to languages that are rich in syllables, for instance, Swahili. Previous works introduced subword tokenization. Our work extends such efforts. Notably, we propose a syllable tokenizer and adopt an experiment-centric approach to validate the proposed tokenizer based on the Swahili language. We conducted text-generation experiments with GPT2 to evaluate the effectiveness of the syllable tokenizer. Our results show that the proposed syllable tokenizer generates syllable embeddings that effectively represent the Swahili language.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。