@inproceedings{BaranowskiHochgeschwender2021, author = {Baranowski, Artur and Hochgeschwender, Nico}, title = {Grammar-Constrained Neural Semantic Parsing with LR Parsers}, booktitle = {Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021}, isbn = {978-1-954085-54-1}, doi = {10.18653/v1/2021.findings-acl.108}, institution = {Fachbereich Informatik}, pages = {1275 -- 1279}, year = {2021}, abstract = {Target meaning representations for semantic parsing tasks are often based on programming or query languages, such as SQL, and can be formalized by a context-free grammar. Assuming a priori knowledge of the target domain, such grammars can be exploited to enforce syntactical constraints when predicting logical forms. To that end, we assess how syntactical parsers can be integrated into modern encoder-decoder frameworks. Specifically, we implement an attentional SEQ2SEQ model that uses an LR parser to maintain syntactically valid sequences throughout the decoding procedure. Compared to other approaches to grammar-guided decoding that modify the underlying neural network architecture or attempt to derive full parse trees, our approach is conceptually simpler, adds less computational overhead during inference and integrates seamlessly with current SEQ2SEQ frameworks. We present preliminary evaluation results against a recurrent SEQ2SEQ baseline on GEOQUERY and ATIS and demonstrate improved performance while enforcing grammatical constraints.}, language = {en} }