Grammatical Sequence Prediction for Real-Time Neural Semantic Parsing
Chunyang Xiao, Christoph Teichmann, and Konstantine Arkoudas

TL;DR
This paper introduces a grammar-based restriction method for seq2seq models in semantic parsing, significantly improving real-time performance by reducing prediction complexity.
Contribution
It proposes a generic approach to constrain seq2seq predictions with grammatical rules, enhancing speed without sacrificing accuracy.
Findings
74% speed-up on large-vocabulary dataset
Effective restriction of predictions improves real-time parsing
Applicable to various semantic parsing tasks
Abstract
While sequence-to-sequence (seq2seq) models achieve state-of-the-art performance in many natural language processing tasks, they can be too slow for real-time applications. One performance bottleneck is predicting the most likely next token over a large vocabulary; methods to circumvent this bottleneck are a current research topic. We focus specifically on using seq2seq models for semantic parsing, where we observe that grammars often exist which specify valid formal representations of utterance semantics. By developing a generic approach for restricting the predictions of a seq2seq model to grammatically permissible continuations, we arrive at a widely applicable technique for speeding up semantic parsing. The technique leads to a 74% speed-up on an in-house dataset with a large vocabulary, compared to the same neural model without grammatical restrictions.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Multimodal Machine Learning Applications
MethodsSigmoid Activation · Tanh Activation · Long Short-Term Memory · Sequence to Sequence
