@inproceedings{yin2021compositional, author = {Yin, Pengcheng and Fang, Hao and Neubig, Graham and Pauls, Adam and Platanios, Emmanouil Antonios and Su, Yu and Thomson, Sam and Andreas, Jacob}, title = {Compositional Generalization for Neural Semantic Parsing via Span-level Supervised Attention}, booktitle = {NAACL 2021}, year = {2021}, month = {June}, abstract = {We describe a span-level supervised attention loss that improves compositional generalization in semantic parsers. Our approach builds on existing losses that encourage attention maps in neural sequence-to-sequence models to imitate the output of classical word alignment algorithms. Where past work has used word-level alignments, we focus on spans; borrowing ideas from phrase-based machine translation, we align subtrees in semantic parses to spans of input sentences, and encourage neural attention mechanisms to mimic these alignments. This method improves the performance of transformers, RNNs, and structured decoders on three benchmarks of compositional generalization.}, publisher = {Association for Computational Linguistics}, url = {http://approjects.co.za/?big=en-us/research/publication/compositional-generalization-for-neural-semantic-parsing-via-span-level-supervised-attention/}, pages = {2810-2823}, }