arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1909.00574cs.CL
收藏

基于草图的语义解析系统

A Sketch-Based System for Semantic Parsing

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Center for Data Science, Peking University(北京大学数据科学中心)

Zechang Li, Yuxuan Lai, Yuxi Xie, Yansong Feng, Dongyan Zhao

摘要:

本文介绍了我们的语义解析系统,用于NLPCC 2019的开放领域语义解析评估任务。许多以前的工作制定语义解析作为一个序列到序列(seq 2seq)的问题。相反,我们把任务作为一个基于草图的问题,在一个粗略到精细(coarse 2fine)的方式。草图是逻辑形式的高级结构,不包括实体和谓词等低级细节。通过这种方式,我们可以单独优化每个部件。具体来说,我们将这个过程分解为三个阶段:草图分类确定高层结构,而实体标记和匹配网络填补缺失的细节。此外,我们采用seq 2seq方法从整体的角度来评估逻辑形式候选。谓词和实体之间的共现关系也有助于重新排序。我们提交的系统在全测试集上达到了82.53%的精确匹配准确率,在硬测试子集上达到了47.83%,这是NLPCC 2019共享任务2的第三名。在对参数、网络结构和采样进行优化后,在全测试集上的准确率达到84.47%,在硬测试子集上的准确率达到63.08%(我们的代码和数据可以在https://github.com/zechagl/NLPCC2019-Semantic-Parsing上获得)。

英文摘要:

This paper presents our semantic parsing system for the evaluation task of open domain semantic parsing in NLPCC 2019. Many previous works formulate semantic parsing as a sequence-to-sequence(seq2seq) problem. Instead, we treat the task as a sketch-based problem in a coarse-to-fine(coarse2fine) fashion. The sketch is a high-level structure of the logical form exclusive of low-level details such as entities and predicates. In this way, we are able to optimize each part individually. Specifically, we decompose the process into three stages: the sketch classification determines the high-level structure while the entity labeling and the matching network fill in missing details. Moreover, we adopt the seq2seq method to evaluate logical form candidates from an overall perspective. The co-occurrence relationship between predicates and entities contribute to the reranking as well. Our submitted system achieves the exactly matching accuracy of 82.53% on full test set and 47.83% on hard test subset, which is the 3rd place in NLPCC 2019 Shared Task 2. After optimizations for parameters, network structure and sampling, the accuracy reaches 84.47% on full test set and 63.08% on hard test subset(Our code and data are available at https://github.com/zechagl/NLPCC2019-Semantic-Parsing).

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

↑