Few-Shot Semantic Parsing with Language Models Trained on Code

作者
Richard Shin,Benjamin Van Durme
出处
期刊: 卷期号:: 5417-5425 被引量:38
标识
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
1秒前
孙敬涵发布了新的文献求助10
1秒前
1秒前
豆豆完成签到,获得积分10
2秒前
情怀的应助被鑫光熠熠采纳,获得10
2秒前
妃妃飞完成签到,获得积分10
3秒前
3秒前
4秒前
4秒前
5秒前
5秒前
Sledge发布了新的文献求助10
6秒前
6秒前
6秒前
科研通AI6.3的应助被朱迪采纳,获得10
6秒前
6秒前
6秒前
6秒前
6秒前
6秒前
6秒前
7秒前
7秒前
7秒前
7秒前
7秒前
7秒前
7秒前
7秒前
7秒前
彩色尔丝发布了新的文献求助10
7秒前
8秒前
8秒前
8秒前
8秒前
8秒前
8秒前
8秒前
Zuzims发布了新的文献求助10
8秒前
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Comparison of cardiorespiratory responses, kinematic changes and psychological responses between tachi run and moderate intensity constant run 500
Cortex activity fluctuations during TaiChi Run by functional near-inferred spectroscopy 500
高速电流舵型数字模拟转换器 500
The Use of the Quantec Scanner in Longitudinal Follow Up of Patients with Spinal Deformities 500
Data Driven Casing Collar Feature Detection and Identification for Automated Depth Estimation for Wireline 500
深紫外光刻机投影物镜成像畸变检测技术 430
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8262979
求助须知:如何正确求助?哪些是违规求助? 9636722
关于积分的说明 22200717
捐赠科研通 7887994
什么是DOI,文献DOI怎么找? 3461440
关于科研通互助平台的介绍 2580683
邀请新用户注册赠送积分活动 2513629