arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.21377cs.CL
收藏

超越子词:一种丰富的字符嵌入用于低资源和形态复杂语言

Beyond Subtokens: A Rich Character Embedding for Low-resource and Morphologically Complex Languages

Computer Vision Group(计算机视觉组);Friedrich Schiller University(弗里德里希-席勒大学)

Felix Schneider, Maria Gogolev, Sven Sickert, Joachim Denzler

AI总结:

本文提出了一种基于字符的丰富嵌入方法,用于提升低资源和形态复杂语言的自然语言处理性能。

摘要:

基于分词和子词的模型,如word2vec、BERT和GPTs,是自然语言处理的最新技术。通常,这些方法在输入表示上有局限性。它们无法充分捕捉字形相似性和形态变异,尤其是在高度屈折和资源匮乏的语言中。为了解决这个问题,我们提出直接从字符字符串计算词向量,整合语义和句法信息。我们称这种基于Transformer的方法为丰富的字符嵌入(RCE)。此外,我们提出了一种结合Transformer和卷积机制的混合模型。这两种向量表示可以作为字典和子词基于词嵌入的直接替代品,用于现有模型架构中。它有潜力提高性能,不仅对大型上下文语言模型如BERT,也对小型模型如word2vec,对资源匮乏和形态丰富的语言有所帮助。我们在各种任务上评估了我们的方法,如SWAG、屈折预测、隐喻和回文检测等。我们的实验表明,它在有限数据上使用OddOneOut和TopK指标时,优于传统基于标记的方法。

英文摘要:

Tokenization and sub-tokenization based models like word2vec, BERT and the GPTs are the state-of-the-art in natural language processing. Typically, these approaches have limitations with respect to their input representation. They fail to fully capture orthographic similarities and morphological variations, especially in highly inflected and under-resource languages. To mitigate this problem, we propose to computes word vectors directly from character strings, integrating both semantic and syntactic information. We denote this transformer-based approach Rich Character Embeddings (RCE). Furthermore, we propose a hybrid model that combines transformer and convolutional mechanisms. Both vector representations can be used as a drop-in replacement for dictionary- and subtoken-based word embeddings in existing model architectures. It has the potential to improve performance for both large context-based language models like BERT and small models like word2vec for under-resourced and morphologically rich languages. We evaluate our approach on various tasks like the SWAG, declension prediction for inflected languages, metaphor and chiasmus detection for various languages. Our experiments show that it outperforms traditional token-based approaches on limited data using OddOneOut and TopK metrics.

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

↑