arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1704.07535cs.CLcs.AIcs.LGstat.ML
收藏

用于代码生成和语义解析的抽象语义网络

Abstract Syntax Networks for Code Generation and Semantic Parsing

University of California, Berkeley(加州大学伯克利分校)

Maxim Rabinovich, Mitchell Stern, Dan Klein

摘要:

像代码生成和语义解析这样的任务需要将非结构化(或部分结构化)输入映射到格式良好的可执行输出。我们引入抽象语法网络,这些问题的建模框架。输出被表示为抽象语法树(AST),并由解码器构造,该解码器具有与输出树的结构并行的动态确定的模块结构。在用于代码生成的基准Hearthstone数据集上,我们的模型获得了79.2 BLEU和22.7%的精确匹配准确率,而之前的最先进值为67.1和6.1%。此外,我们在Atis、Jobs和Geo语义解析数据集上的表现具有竞争力,而没有特定于任务的工程。

英文摘要:

Tasks like code generation and semantic parsing require mapping unstructured (or partially structured) inputs to well-formed, executable outputs. We introduce abstract syntax networks, a modeling framework for these problems. The outputs are represented as abstract syntax trees (ASTs) and constructed by a decoder with a dynamically-determined modular structure paralleling the structure of the output tree. On the benchmark Hearthstone dataset for code generation, our model obtains 79.2 BLEU and 22.7% exact match accuracy, compared to previous state-of-the-art values of 67.1 and 6.1%. Furthermore, we perform competitively on the Atis, Jobs, and Geo semantic parsing datasets with no task-specific engineering.

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

↑