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

多语言大语言模型的跨语言能力与知识壁垒

Crosslingual Capabilities and Knowledge Barriers in Multilingual Large Language Models

Princeton University(普林斯顿大学);Google Research(谷歌研究院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Lynn Chua, Badih Ghazi, Yangsibo Huang, Pritish Kamath, Ravi Kumar, Pasin Manurangsi, Amer Sinha, Chulin Xie, Chiyuan Zhang

AI总结:

本研究评估了多语言大语言模型在跨语言任务中的表现,发现其虽具备表层跨语言能力但存在深层知识转移壁垒,提出通过混合语言数据微调有效缩小差距,强调需显式优化以释放模型跨语言潜力。

摘要:

大语言模型(LLMs)由于在多样化的多语言语料库上进行预训练,通常具备多语言能力。但这些模型能否将不同语言中对应的概念关联起来,即具备跨语言能力?本研究在最先进的LLMs上评估了固有的跨语言任务。我们观察到,尽管这些模型在机器翻译和嵌入空间分析上展现出有前景的表层跨语言能力,但它们在更深层的跨语言知识转移上存在困难,揭示了在通用(MMLU基准)和特定领域(Harry Potter问答和TOFU基准)语境下的跨语言知识壁垒。由于简单的推理时缓解方法仅提供有限的改进,我们提出在混合语言数据上对LLMs进行微调,即使使用像WikiText这样的域外数据集,也能有效缩小这些差距。我们的发现表明需要显式优化以释放LLMs的全部跨语言潜力。我们的代码已在https://github.com/google-research/crosslingual-knowledge-barriers公开。

英文摘要:

Large language models (LLMs) are typically multilingual due to pretraining on diverse multilingual corpora. But can these models relate corresponding concepts across languages, i.e., be crosslingual? This study evaluates state-of-the-art LLMs on inherently crosslingual tasks. We observe that while these models show promising surface-level crosslingual abilities on machine translation and embedding space analyses, they struggle with deeper crosslingual knowledge transfer, revealing a crosslingual knowledge barrier in both general (MMLU benchmark) and domain-specific (Harry Potter quiz and TOFU benchmark) contexts. Since simple inference-time mitigation methods offer only limited improvement, we propose fine-tuning of LLMs on mixed-language data, which effectively reduces these gaps, even when using out-of-domain datasets like WikiText. Our findings suggest the need for explicit optimization to unlock the full crosslingual potential of LLMs. Our code is publicly available at https://github.com/google-research/crosslingual-knowledge-barriers.

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

↑