arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.18193cs.CL
收藏

GrEmLIn:注入多语言图知识的87种低资源语言绿色基线嵌入库

GrEmLIn: A Repository of Green Baseline Embeddings for 87 Low-Resource Languages Injected with Multilingual Graph Knowledge

German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Centre for European Research in Trusted AI (CERTAIN)(欧洲可信人工智能研究中心)

Daniil Gurgurov, Rishu Kumar, Simon Ostermann

AI总结:

本文提出GrEmLIn,一个针对87种低资源语言的绿色静态基线嵌入库,通过整合多语言图知识增强GloVe嵌入,在推理时无需参数且性能可与大型模型媲美。

摘要:

基于大型语言模型(LLMs)的上下文嵌入适用于多种语言,但对低资源语言的覆盖往往有限。由于高昂的计算成本,在这些语言中使用LLMs通常很困难,不仅在训练阶段,在推理阶段也是如此。静态词嵌入在资源效率上更加“绿色”,因此仍具有价值,特别是对于极低资源语言。然而,目前明显缺乏包含多种此类语言嵌入的综合库。为填补这一空白,我们提出了GrEmLIn,一个包含87种中低资源语言的绿色静态基线嵌入的集中式库。我们使用一种新颖的方法计算GrEmLIn嵌入,该方法通过整合多语言图知识来增强GloVe嵌入,使我们的静态嵌入在推理时无需参数的同时,能够与LLM表示相媲美。我们的实验表明,在词汇相似性任务上,GrEmLIn嵌入优于E5提供的最先进上下文嵌入。在情感分析和自然语言推理等外部评估任务中,只要与目标任务有足够的词汇重合度,它们依然保持竞争力,与最先进模型相比平均性能差距仅为5-10%或更小,仅在主题分类任务上表现不佳。我们的代码和嵌入已在 https://huggingface.co/DFKI 上公开。

英文摘要:

Contextualized embeddings based on large language models (LLMs) are available for various languages, but their coverage is often limited for lower resourced languages. Using LLMs for such languages is often difficult due to a high computational cost; not only during training, but also during inference. Static word embeddings are much more resource-efficient ("green"), and thus still provide value, particularly for very low-resource languages. There is, however, a notable lack of comprehensive repositories with such embeddings for diverse languages. To address this gap, we present GrEmLIn, a centralized repository of green, static baseline embeddings for 87 mid- and low-resource languages. We compute GrEmLIn embeddings with a novel method that enhances GloVe embeddings by integrating multilingual graph knowledge, which makes our static embeddings competitive with LLM representations, while being parameter-free at inference time. Our experiments demonstrate that GrEmLIn embeddings outperform state-of-the-art contextualized embeddings from E5 on the task of lexical similarity. They remain competitive in extrinsic evaluation tasks like sentiment analysis and natural language inference, with average performance gaps of just 5-10\% or less compared to state-of-the-art models, given a sufficient vocabulary overlap with the target task, and underperform only on topic classification. Our code and embeddings are publicly available at https://huggingface.co/DFKI.

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

↑