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

XSemPLR:面向多种自然语言与意义表示的跨语言语义解析

XSemPLR: Cross-Lingual Semantic Parsing in Multiple Natural Languages and Meaning Representations

Penn State University(宾夕法尼亚州立大学);AWS AI Labs(AWS人工智能实验室)

Yusen Zhang, Jun Wang, Zhiguo Wang, Rui Zhang

AI总结:

本文提出 XSemPLR 统一基准,覆盖 22 种自然语言、8 种 MR、5 项任务和 164 个领域,并系统评估多语言模型,发现 mT5 表现最佳而 BLOOM 仍显不足。

摘要:

跨语言语义解析(Cross-Lingual Semantic Parsing,CLSP)旨在将多种自然语言(NL)中的查询翻译为意义表示(MR),例如 SQL、lambda calculus 和逻辑形式。然而,现有 CLSP 模型是在任务和应用有限的数据集上分别提出和评估的,这阻碍了在多样化的 NL 和 MR 范围内对 CLSP 进行全面、统一的评估。为此,我们提出 XSemPLR,这是一个用于跨语言语义解析的统一基准,其特点是涵盖 22 种自然语言和 8 种意义表示;我们通过考察并选择 9 个现有数据集,使其覆盖 5 项任务和 164 个领域。我们使用 XSemPLR 对广泛的多语言语言模型进行了全面的基准研究,包括基于编码器的模型(mBERT、XLM-R)、编码器-解码器模型(mBART、mT5)和基于解码器的模型(Codex、BLOOM)。我们设计了 6 种实验设置,涵盖不同的语言组合(单语言、多语言、跨语言)以及不同数量的学习样本(完整数据集、少样本和零样本)。实验表明,与其他流行模型相比,编码器-解码器模型(mT5)取得了最高性能,并且多语言训练可以进一步提升平均性能。值得注意的是,多语言大型语言模型(例如 BLOOM)仍不足以完成 CLSP 任务。我们还发现,对于多语言模型而言,单语言训练与跨语言迁移学习之间的性能差距仍然显著,尽管该差距可以通过跨语言少样本训练得到缓解。我们的数据集和代码可在 https://github.com/psunlpgroup/XSemPLR 获取。

英文摘要:

Cross-Lingual Semantic Parsing (CLSP) aims to translate queries in multiple natural languages (NLs) into meaning representations (MRs) such as SQL, lambda calculus, and logic forms. However, existing CLSP models are separately proposed and evaluated on datasets of limited tasks and applications, impeding a comprehensive and unified evaluation of CLSP on a diverse range of NLs and MRs. To this end, we present XSemPLR, a unified benchmark for cross-lingual semantic parsing featured with 22 natural languages and 8 meaning representations by examining and selecting 9 existing datasets to cover 5 tasks and 164 domains. We use XSemPLR to conduct a comprehensive benchmark study on a wide range of multilingual language models including encoder-based models (mBERT, XLM-R), encoder-decoder models (mBART, mT5), and decoder-based models (Codex, BLOOM). We design 6 experiment settings covering various lingual combinations (monolingual, multilingual, cross-lingual) and numbers of learning samples (full dataset, few-shot, and zero-shot). Our experiments show that encoder-decoder models (mT5) achieve the highest performance compared with other popular models, and multilingual training can further improve the average performance. Notably, multilingual large language models (e.g., BLOOM) are still inadequate to perform CLSP tasks. We also find that the performance gap between monolingual training and cross-lingual transfer learning is still significant for multilingual models, though it can be mitigated by cross-lingual few-shot training. Our dataset and code are available at https://github.com/psunlpgroup/XSemPLR.

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

↑