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

SeqZero:基于顺序重复和Zero-shot模型的Few-Shot组合语义解析

SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Models

Amazon(亚马逊);Georgia Institute of Technology(佐治亚理工学院)

Jingfeng Yang, Haoming Jiang, Qingyu Yin, Danqing Zhang, Bing Yin, Diyi Yang

摘要:

最近的研究表明,结合预训练的语言模型(LM)与规范话语的Few-Shot语义解析有希望的结果。由于形式语言的组成结构,规范话语往往冗长而复杂。学习生成这样的规范话语需要大量的数据来达到高性能。仅用Few-Shot样本进行微调,LM很容易忘记预先训练的知识,过拟合虚假偏差,并遭受成分分布外泛化错误。为了解决这些问题,我们提出了一种新的Few-Shot语义解析方法-- SeqZero。SeqZero将问题分解为一系列子问题,这些子问题对应于形式语言的子子句。基于分解,LM仅需要使用用于预测子子句的提示来生成简短答案。因此,SeqZero避免一次生成长的规范话语。此外,SeqZero不仅采用了Few-Shot模型,而且还采用了zero-shot模型来减轻过拟合。特别是,SeqZero通过集成配备了我们提出的约束重新缩放,从这两个模型的优点。SeqZero实现了GeoQuery和EscherceQuery上基于BART的模型的SOTA性能,这是两个具有组合数据分割的Few-Shot数据集。

英文摘要:

Recent research showed promising results on combining pretrained language models (LMs) with canonical utterance for few-shot semantic parsing. The canonical utterance is often lengthy and complex due to the compositional structure of formal languages. Learning to generate such canonical utterance requires significant amount of data to reach high performance. Fine-tuning with only few-shot samples, the LMs can easily forget pretrained knowledge, overfit spurious biases, and suffer from compositionally out-of-distribution generalization errors. To tackle these issues, we propose a novel few-shot semantic parsing method -- SeqZero. SeqZero decomposes the problem into a sequence of sub-problems, which correspond to the sub-clauses of the formal language. Based on the decomposition, the LMs only need to generate short answers using prompts for predicting sub-clauses. Thus, SeqZero avoids generating a long canonical utterance at once. Moreover, SeqZero employs not only a few-shot model but also a zero-shot model to alleviate the overfitting. In particular, SeqZero brings out the merits from both models via ensemble equipped with our proposed constrained rescaling. SeqZero achieves SOTA performance of BART-based models on GeoQuery and EcommerceQuery, which are two few-shot datasets with compositional data split.

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

↑