CALM:释放语言模型问答的跨语言自对齐能力
CALM: Unleashing the Cross-Lingual Self-Aligning Ability of Language Model Question Answering
AI总结:
本文提出CALM方法,通过跨语言自对齐和直接偏好优化,利用多语言回答的一致性选择目标并训练模型,在MEDQA和X-CSQA上有效提升跨语言知识问答的准确率与一致性。
摘要:
大型语言模型(LLMs)在海量多语言语料上进行预训练,以获取语言特定的文化知识和通用知识。理想情况下,虽然LLMs应当对与语言无关的问题在不同语言中给出一致的回答,但我们观察到显著的性能差异。为解决这一问题,我们探索了语言模型的跨语言自对齐能力(CALM),以对齐跨语言的知识。具体而言,对于给定问题,我们在不同语言中采样多个回答,并选择自洽性最高的回答作为目标,其余回答作为负例。随后,我们采用直接偏好优化(DPO)来对齐模型在不同语言间的知识。在MEDQA和X-CSQA数据集上的评估表明,CALM在零样本和检索增强设置下均能有效提升跨语言知识问答能力。我们还发现,增加CALM训练中涉及的语言数量会带来更高的准确率和一致性。我们对跨语言一致性如何增强知识对齐进行了定性分析,并探讨了该方法的泛化性。
英文摘要:
Large Language Models (LLMs) are pretrained on extensive multilingual corpora to acquire both language-specific cultural knowledge and general knowledge. Ideally, while LLMs should provide consistent responses to culture-independent questions across languages, we observe significant performance disparities. To address this, we explore the Cross-Lingual Self-Aligning ability of Language Models (CALM) to align knowledge across languages. Specifically, for a given question, we sample multiple responses across different languages and select the most self-consistent response as the target, leaving the remaining responses as negative examples. We then employ direct preference optimization (DPO) to align the model's knowledge across different languages. Evaluations on the MEDQA and X-CSQA datasets demonstrate CALM's effectiveness in enhancing cross-lingual knowledge question answering, both in zero-shot and retrieval-augmented settings. We also found that increasing the number of languages involved in CALM training leads to higher accuracy and consistency. We offer a qualitative analysis of how cross-lingual consistency can enhance knowledge alignment and explore the method's generalizability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。