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

KnowCoder-X:通过代码提升多语言信息抽取

KnowCoder-X: Boosting Multilingual Information Extraction via Code

Key Laboratory of Network Data Science and Technology, Institute of Computing Technology, Chinese Academy of Sciences(网络数据科学与技术重点实验室,计算技术研究所,中国科学院);State Key Laboratory of AI Safety(人工智能安全国家重点实验室);School of Computer Science, University of Chinese Academy of Sciences(中国科学院大学计算机科学学院);School of Software, Northeastern University(东北大学软件学院);School of Software, Peking University(北京大学软件学院)

Yuxin Zuo, Wenxuan Jiang, Wenxuan Liu, Zixuan Li, Long Bai, Hanbin Wang, Yutao Zeng, Xiaolong Jin, Jiafeng Guo, Xueqi Cheng

AI总结:

本文提出代码LLM模型KnowCoder-X,通过Python类统一多语言模式表示并将跨语言IE转化为代码生成任务,结合指令微调与构建的257k样本平行数据集ParallelNER,显著提升了模型在64个基准上的跨语言IE迁移能力。

摘要:

实证证据表明,LLM表现出自发的跨语言对齐。然而,尽管LLM在信息抽取(IE)中展现出有前景的跨语言对齐,但不同语言间仍存在显著不平衡,凸显了潜在的不足。为解决此问题,我们提出了KnowCoder-X,一个具备先进跨语言和多语言能力的强大代码LLM,用于通用IE。首先,它使用Python类标准化多语言模式的表示,确保不同语言间本体的一致性。然后,跨语言的IE被构建为统一的代码生成任务。其次,我们在翻译实例预测任务上进行IE跨语言对齐指令微调,以增强模型的跨语言迁移能力。在此阶段,我们还构建了一个包含257k样本的高质量多样化双语IE并行数据集ParallelNER,由我们提出的稳健三阶段流程合成,并辅以人工标注以确保质量。尽管未在29种未见语言上进行训练,KnowCoder-X分别超越ChatGPT和SoTA 30.17%和20.03%,从而展示了卓越的跨语言IE能力。在各种设置下对64个中英文IE基准的综合评估表明,KnowCoder-X通过促进IE对齐显著增强了跨语言IE迁移。

英文摘要:

Empirical evidence indicates that LLMs exhibit spontaneous cross-lingual alignment. However, although LLMs show promising cross-lingual alignment in Information Extraction (IE), a significant imbalance across languages persists, highlighting an underlying deficiency. To address this, we propose KnowCoder-X, a powerful code LLM with advanced cross-lingual and multilingual capabilities for universal IE. Firstly, it standardizes the representation of multilingual schemas using Python classes, ensuring a consistent ontology across different languages. Then, IE across languages is formulated as a unified code generation task. Secondly, we conduct IE cross-lingual alignment instruction tuning on the translated instance prediction task to enhance the model's cross-lingual transferability. During this phase, we also construct a high-quality and diverse bilingual IE parallel dataset with 257k samples, called ParallelNER, synthesized by our proposed robust three-stage pipeline, with manual annotation to ensure quality. Although without training in 29 unseen languages, KnowCoder-X surpasses ChatGPT by 30.17\% and SoTA by 20.03\%, thereby demonstrating superior cross-lingual IE capabilities. Comprehensive evaluations on 64 IE benchmarks in Chinese and English under various settings demonstrate that KnowCoder-X significantly enhances cross-lingual IE transfer through boosting the IE alignment. Our code and dataset are available at: https://github.com/ICT-GoKnow/KnowCoder

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

↑