Few-Shot Semantic Parsing with Language Models Trained on Code

作者
Richard Shin,Benjamin Van Durme
标识
DOI:10.18653/v1/2022.naacl-main.396
摘要

Large language models can perform semantic parsing with little training data, when prompted with in-context examples. It has been shown that this can be improved by formulating the problem as paraphrasing into canonical utterances, which casts the underlying meaning representation into a controlled natural languagelike representation. Intuitively, such models can more easily output canonical utterances as they are closer to the natural language used for pre-training. Recently, models also pretrained on code, like OpenAI Codex, have risen in prominence. For semantic parsing tasks where we map natural language into code, such models may prove more adept at it. In this paper, we test this hypothesis and find that Codex performs better on such tasks than equivalent GPT-3 models. We evaluate on Overnight and SMCalFlow and find that unlike GPT-3, Codex performs similarly when targeting meaning representations directly, perhaps because meaning representations are structured similar to code in these datasets.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
李笑笑发布了新的文献求助10
刚刚
温馨完成签到,获得积分10
1秒前
1秒前
1秒前
1Yer6发布了新的文献求助10
1秒前
2秒前
2秒前
少年深渊发布了新的文献求助10
2秒前
2秒前
明天是个大晴天完成签到 ,获得积分10
2秒前
2秒前
深情安青应助ax采纳,获得10
2秒前
李爱国应助天真的以亦采纳,获得10
3秒前
3秒前
JIN0发布了新的文献求助10
3秒前
orixero应助奥特曼采纳,获得10
4秒前
4秒前
yangyu发布了新的文献求助10
5秒前
5秒前
8R60d8应助山谷采纳,获得10
5秒前
隐形的千秋完成签到,获得积分10
5秒前
深情安青应助风趣亦凝采纳,获得10
6秒前
彭于晏应助张小星采纳,获得10
6秒前
6秒前
飘逸的翠琴完成签到,获得积分10
6秒前
6秒前
苹果清涟发布了新的文献求助10
7秒前
TMY发布了新的文献求助10
7秒前
研友_VZG7GZ应助song采纳,获得30
7秒前
金发光发布了新的文献求助10
8秒前
8秒前
8秒前
zz完成签到,获得积分20
8秒前
aaaa应助carriebai采纳,获得30
8秒前
8秒前
8秒前
过时的鼠标完成签到 ,获得积分10
9秒前
9秒前
qqqyoyoyo完成签到,获得积分10
9秒前
耀樱发布了新的文献求助10
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The anomeric effect 1314
Principles of town planning: translating concepts to applications 1000
Navigating Normative Orders. Interdisciplinary Perspectives 800
1 Peter and Christ's Descent to the Dead in Its Early Christian Reception 700
Organizational Behavior 510
Management and the Arts 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7737788
求助须知:如何正确求助?哪些是违规求助? 9286950
关于积分的说明 20180921
捐赠科研通 7315571
什么是DOI,文献DOI怎么找? 3305633
关于科研通互助平台的介绍 2457902
邀请新用户注册赠送积分活动 2315351