Proceedings

Keep the Structure: A Latent Shift-Reduce Parser for Semantic Parsing

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 3864-3870.

https://doi.org/10.24963/ijcai.2021/532

Abstract

Traditional end-to-end semantic parsing models treat a natural language utterance as a holonomic structure. However, hierarchical structures exist in natural languages, which also align with the hierarchical structures of logical forms. In this paper, we propose a latent shift-reduce parser, called LASP, which decomposes both natural language queries and logical form expressions according to their hierarchical structures and finds local alignment between them to enhance semantic parsing. LASP consists of a base parser and a shift-reduce splitter. The splitter dynamically separates an NL query into several spans. The base parser converts the relevant simple spans into logical forms, which are further combined to obtain the final logical form. We conducted empirical studies on two datasets across different domains and different types of logical forms. The results demonstrate that the proposed method significantly improves the performance of semantic parsing, especially on unseen scenarios.

  1. [Andreas, 2020] Jacob Andreas. Good-enough composi- tional data augmentation. In ACL, 2020.
  2. [Berant et al., 2013] Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. Semantic parsing on freebase from question-answer pairs. In EMNLP, pages 1533- 1544, 2013.
  3. [Cheng et al., 2017] Jianpeng Cheng, Siva Reddy, Vijay Saraswat, and Mirella Lapata. Learning structured natu- ral language representations for semantic parsing. In ACL, 2017.
  4. [Dong and Lapata, 2016] Li Dong and Mirella Lapata. Lan- guage to logical form with neural attention. In ACL, 2016.
  5. [Dong and Lapata, 2018] Li Dong and Mirella Lapata. Coarse-to-fine decoding for neural semantic parsing. In ACL, 2018.
  6. [Dong et al., 2018] Li Dong, Chris Quirk, and Mirella Lap- ata. Confidence modeling for neural semantic parsing. In ACL, 2018.
  7. [Guo et al., 2020] Jiaqi Guo, Qian Liu, Jian-Guang Lou, Zhenwen Li, Xueqing Liu, Tao Xie, and Ting Liu. Bench- marking meaning representations in neural semantic pars- ing. In EMNLP, 2020.
  8. [Herzig and Berant, 2020] Jonathan Herzig and Jonathan Berant. Span-based semantic parsing for compositional generalization. arXiv preprint arXiv:2009.06040, 2020.
  9. [Jia and Liang, 2016] Robin Jia and Percy Liang. Data re- combination for neural semantic parsing. In ACL, 2016.
  10. [Keysers et al., 2020] Daniel Keysers, Nathanael Schärli, Nathan Scales, Hylke Buisman, Daniel Furrer, Sergii Kashubin, Nikola Momchev, Danila Sinopalnikov, Lukasz Stafiniak, Tibor Tihon, et al. Measuring compositional generalization: A comprehensive method on realistic data. In ICLR, 2020.
  11. [Lake, 2019] Brenden M Lake. Compositional generaliza- tion through meta sequence-to-sequence learning. In NeurIPS, pages 9791-9801, 2019.
  12. [Liang et al., 2013] Percy Liang, Michael I Jordan, and Dan Klein. Learning dependency-based compositional seman- tics. Computational Linguistics, 39(2):389-446, 2013.
  13. [McDonald et al., 2005] Ryan McDonald, Fernando Pereira, Kiril Ribarov, and Jan Hajic. Non-projective dependency parsing using spanning tree algorithms. In EMNLP-HLT, pages 523-530, 2005.
  14. [Nivre, 2003] Joakim Nivre. An efficient algorithm for pro- jective dependency parsing. In Proceedings of the Eighth International Conference on Parsing Technologies, pages 149-160, 2003.
  15. [Pasupat and Liang, 2015] Panupong Pasupat and Percy Liang. Compositional semantic parsing on semi-structured tables. In ACL-IJCNLP, 2015.
  16. [Shaw et al., 2019] Peter Shaw, Philip Massey, Angelica Chen, Francesco Piccinno, and Yasemin Altun. Gener- ating logical forms from graph representations of text and entities. In ACL, 2019.
  17. [Shen et al., 2019] Yikang Shen, Shawn Tan, Alessandro Sordoni, and Aaron Courville. Ordered neurons: Integrat- ing tree structures into recurrent neural networks. In ICLR, 2019.
  18. [Talmor and Berant, 2018] Alon Talmor and Jonathan Be- rant. The web as a knowledge-base for answering complex questions. In NAACL, 2018.
  19. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, pages 5998-6008, 2017.
  20. [Zelle and Mooney, 1996] John M Zelle and Raymond J Mooney. Learning to parse database queries using induc- tive logic programming. In AAAI, pages 1050-1055, 1996.
  21. [Zettlemoyer and Collins, 2012] Luke S Zettlemoyer and Michael Collins. Learning to map sentences to logical form: Structured classification with probabilistic catego- rial grammars. arXiv preprint arXiv:1207.1420, 2012.
  22. [Zhang et al., 2019] Haoyu Zhang, Jingjing Cai, Jianjun Xu, and Ji Wang. Complex question decomposition for seman- tic parsing. In ACL, pages 4477-4486, 2019.
  23. [Zhao and Huang, 2015] Kai Zhao and Liang Huang. Type- driven incremental semantic parsing with polymorphism. In NAACL, 2015.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards