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

处理歧义输入的零样本与少样本语义解析

Zero and Few-shot Semantic Parsing with Ambiguous Inputs

UNC Chapel Hill(北卡罗来纳大学教堂山分校);Johns Hopkins University(约翰斯·霍普金斯大学)

Elias Stengel-Eskin, Kyle Rawlins, Benjamin Van Durme

AI总结:

本文提出 AmP 框架与数据集,评估少样本文本到代码系统对五类语言歧义的处理,发现显式呈现歧义可显著提升模型捕捉多种可能意义分布的能力。

摘要:

尽管在通过自然语言表达意义时,歧义经常带来挑战,但在将语言映射到形式化设计表示的任务中,歧义往往被忽略或刻意消除;这类任务通常假设语言表示与形式表示之间存在一对一映射。我们试图解决这一缺陷,提出 AmP:一个用于将歧义自然语言翻译为逻辑和代码等形式表示的框架、数据集与挑战。我们为五种有充分文献记载的语言歧义定义模板并生成数据。利用 AmP,我们研究了若干少样本文本到代码系统如何处理歧义,并引入三个新指标。我们发现,在没有刻意指示的情况下,大型预训练模型在捕捉可能意义的分布方面表现较差。然而,当输入中证实存在歧义时,模型能够很好地捕捉该分布。这些结果呼吁在数据集中显式纳入歧义,并推动在评估系统时考虑可能输出的分布。数据与代码:https://github.com/esteng/ambiguous_parsing

英文摘要:

Despite the frequent challenges posed by ambiguity when representing meaning via natural language, it is often ignored or deliberately removed in tasks mapping language to formally-designed representations, which generally assume a one-to-one mapping between linguistic and formal representations. We attempt to address this shortcoming by introducing AmP, a framework, dataset, and challenge for translating ambiguous natural language to formal representations like logic and code. We define templates and generate data for five well-documented linguistic ambiguities. Using AmP, we investigate how several few-shot text-to-code systems handle ambiguity, introducing three new metrics. We find that large pre-trained models perform poorly at capturing the distribution of possible meanings without deliberate instruction. However, models are able to capture the distribution well when ambiguity is attested in their inputs. These results motivate a call for including ambiguity explicitly in datasets and promote considering the distribution of possible outputs when evaluating systems. Data and code: https://github.com/esteng/ambiguous_parsing

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

↑