Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

TRANX: A Transition-based Neural Abstract Syntax Parser for Semantic Parsing and Code Generation

About

We present TRANX, a transition-based neural semantic parser that maps natural language (NL) utterances into formal meaning representations (MRs). TRANX uses a transition system based on the abstract syntax description language for the target MR, which gives it two major advantages: (1) it is highly accurate, using information from the syntax of the target MR to constrain the output space and model the information flow, and (2) it is highly generalizable, and can easily be applied to new types of MR by just writing a new abstract syntax description corresponding to the allowable structures in the MR. Experiments on four different semantic parsing and code generation tasks show that our system is generalizable, extensible, and effective, registering strong results compared to existing neural semantic parsers.

Pengcheng Yin, Graham Neubig• 2018

Related benchmarks

TaskDatasetResultRank
Text-to-SQLSpider (dev)--
100
Code GenerationDjango (test)
Accuracy73.7
28
Semantic ParsingWikiSQL (test)
Execution Accuracy78.6
27
NL-to-code generationCoNaLa (test)
BLEU24.3
23
Semantic ParsingATIS (test)
Accuracy86.2
8
Semantic ParsingGEO (test)
Accuracy88.2
8
Showing 6 of 6 rows

Other info

Code

Follow for update