Kevin Lin, Patrick Xia, Hao Fang
展开摘要收起
expensive to collect and annotate contextual utterances compared to non-contextual utterances, We evaluate the ability of semantic parsers due to the dependency on the conversation history. based on large language models (LLMs) to Furthermore, annotating non-contextual utterances handle contextual utterances. In real-world setusually precedes annotating contextual utterances. tings, there typically exists only a limited numTo reflect such real-world settings, we study fewber of annotated contextual utterances due to shot adaptation for parsing contextual utterances, annotation cost, resulting in an imbalance comwhere we first build a parser using a large number pared to non-contextual utterances. Therefore, parsers must adapt to contextual utterances with of annotated non-contextual utterances, and then a few training examples. We examine four maadapt it for parsing contextual utterances using a jor paradigms for doing so in conversational few (or even zero) annotated contextual utterances. semantic parsing i.e., Parse-with-UtteranceRecent work has shown that large language modHistory, Parse-with-Reference-Program, Parseels (LLMs) are capable of semantic parsing usthen-Resolve, and Rewrite-then-Parse. To faing a few examples (Shin et al., 2021; Shin and cilitate such cross-paradigm comparisons, we construct SMCalFlow-EventQueries, a subVan Durme, 2022). Hence, in this work, we conset of contextual examples from SMCalFlow duct a focused study on few-shot adaptation using with additional annotations. Experiments with LLMs for CSP. Specifically, we consider four major in-context learning and fine-tuning suggest paradigms: Parse-with-Utterance-History, Parsethat Rewrite-then-Parse is the most promising with-Reference-Program, Parse-then-Resolve, and paradigm when holistically considering parsing Rewrite-then-Parse. One challenge of carrying out accuracy, annotation cost, and error types. a comparative study on these paradigms is the lack of annotated data, since existing CSP datasets such