Skip to main content

2019 | OriginalPaper | Buchkapitel

A Transformer-Based Semantic Parser for NLPCC-2019 Shared Task 2

verfasst von : Donglai Ge, Junhui Li, Muhua Zhu

Erschienen in: Natural Language Processing and Chinese Computing

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Sequence-to-Sequence (seq2seq) approaches formalize semantic parsing as a translation task from a source sentence to its corresponding logical form. However, in the absence of large-scale annotated dataset, even the state-of-the-art seq2seq model, i.e., the Transformer may suffer from the data sparsity issue. In order to address this issue, this paper explores three techniques which are widely used in neural machine translation to better adapt seq2seq models for semantic parsing. First, we use byte pair encoding (BPE) to segment words into subwords to transfer rare words into frequent subwords. Second, we share word vocabulary on both the source and the target sides. Finally, we define heuristic rules to generate synthetic instances to increase the coverage of training dataset. Experimental results on the NLPCC 2019 shared task 2 show that our approach achieves state-of-the-art performance and gets the first place in the task from the current rankings.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate. In: Proceedings of ICLR (2015) Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate. In: Proceedings of ICLR (2015)
2.
Zurück zum Zitat Bast, H., Haussmann, E.: More accurate question answering on freebase. In: Proceedings of CIKM, pp. 1431–1440 (2015) Bast, H., Haussmann, E.: More accurate question answering on freebase. In: Proceedings of CIKM, pp. 1431–1440 (2015)
3.
Zurück zum Zitat Berant, J., Chou, A., Frostig, R., Liang, P.: Semantic parsing on freebase from question-answer pairs. In: Proceedings of EMNLP, pp. 1533–1544 (2013) Berant, J., Chou, A., Frostig, R., Liang, P.: Semantic parsing on freebase from question-answer pairs. In: Proceedings of EMNLP, pp. 1533–1544 (2013)
4.
Zurück zum Zitat Cai, Q., Yates, A.: Large-scale semantic parsing via schema matching and lexicon extension. In: Proceedings of ACL, pp. 423–433 (2013) Cai, Q., Yates, A.: Large-scale semantic parsing via schema matching and lexicon extension. In: Proceedings of ACL, pp. 423–433 (2013)
5.
Zurück zum Zitat Ge, D., Li, J., Zhu, M., Li, S.: Modeling source syntax and semantics for neural AMR parsing. In: Proceedings of IJCAI, pp. 4975–4981 (2019) Ge, D., Li, J., Zhu, M., Li, S.: Modeling source syntax and semantics for neural AMR parsing. In: Proceedings of IJCAI, pp. 4975–4981 (2019)
6.
Zurück zum Zitat Ge, R., Mooney, R.J.: Learning a compositional semantic parser using an existing syntactic parser. In: Proceedings of ACL, pp. 611–619 (2009) Ge, R., Mooney, R.J.: Learning a compositional semantic parser using an existing syntactic parser. In: Proceedings of ACL, pp. 611–619 (2009)
7.
Zurück zum Zitat Ilya, S., Oriol, V., Le, Q.V.: Sequence to sequence learning with neural networks. In: Proceedings of NIPS, pp. 3104–3112 (2014) Ilya, S., Oriol, V., Le, Q.V.: Sequence to sequence learning with neural networks. In: Proceedings of NIPS, pp. 3104–3112 (2014)
8.
Zurück zum Zitat Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. In: Proceedings of ICLR (2015) Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. In: Proceedings of ICLR (2015)
9.
Zurück zum Zitat Klein, G., Kim, Y., Deng, Y., Senellart, J., Rush, A.M.: OpenNMT: open-source toolkit for neural machine translation. In: Proceedings of ACL, System Demonstrations, pp. 67–72 (2017) Klein, G., Kim, Y., Deng, Y., Senellart, J., Rush, A.M.: OpenNMT: open-source toolkit for neural machine translation. In: Proceedings of ACL, System Demonstrations, pp. 67–72 (2017)
10.
Zurück zum Zitat Kwiatkowski, T., Zettlemoyer, L., Goldwater, S., Steedman, M.: Lexical generalization in CCG grammar induction for semantic parsing. In: Proceedings of EMNLP, pp. 1512–1523 (2011) Kwiatkowski, T., Zettlemoyer, L., Goldwater, S., Steedman, M.: Lexical generalization in CCG grammar induction for semantic parsing. In: Proceedings of EMNLP, pp. 1512–1523 (2011)
11.
Zurück zum Zitat Li, J., Zhu, M., Lu, W., Zhou, G.: Improving semantic parsing with enriched synchronous context-free grammar. In: Proceedings of EMNLP, pp. 1455–1465 (2015) Li, J., Zhu, M., Lu, W., Zhou, G.: Improving semantic parsing with enriched synchronous context-free grammar. In: Proceedings of EMNLP, pp. 1455–1465 (2015)
12.
Zurück zum Zitat Liang, P., Jordan, M.I., Klein, D.: Learning dependency-based compositional semantics. In: Proceedings of ACL, pp. 590–599 (2011) Liang, P., Jordan, M.I., Klein, D.: Learning dependency-based compositional semantics. In: Proceedings of ACL, pp. 590–599 (2011)
13.
Zurück zum Zitat Reddy, S., Lapata, M., Steedman, M.: Large-scale semantic parsing without question-answer pairs. Trans. Assoc. Comput. Linguist. 2, 377–392 (2014)CrossRef Reddy, S., Lapata, M., Steedman, M.: Large-scale semantic parsing without question-answer pairs. Trans. Assoc. Comput. Linguist. 2, 377–392 (2014)CrossRef
14.
Zurück zum Zitat Sennrich, R., Haddow, B., Birch, A.: Neural machine translation of rare words with subword units. In: Proceedings of ACL, pp. 1715–1725 (2016) Sennrich, R., Haddow, B., Birch, A.: Neural machine translation of rare words with subword units. In: Proceedings of ACL, pp. 1715–1725 (2016)
15.
Zurück zum Zitat Vaswani, A., et al.: Attention is all you need. In: Proceedings of NIPS, pp. 5998–6008 (2017) Vaswani, A., et al.: Attention is all you need. In: Proceedings of NIPS, pp. 5998–6008 (2017)
16.
Zurück zum Zitat Wong, Y.W., Mooney, R.J.: Learning synchronous grammars for semantic parsing with lambda calculus. In: Proceedings of ACL, pp. 960–967 (2007) Wong, Y.W., Mooney, R.J.: Learning synchronous grammars for semantic parsing with lambda calculus. In: Proceedings of ACL, pp. 960–967 (2007)
17.
Zurück zum Zitat Xiao, C., Dymetman, M., Gardent, C.: Sequence-based structured prediction for semantic parsing. In: Proceedings of ACL, pp. 1341–1350 (2016) Xiao, C., Dymetman, M., Gardent, C.: Sequence-based structured prediction for semantic parsing. In: Proceedings of ACL, pp. 1341–1350 (2016)
18.
Zurück zum Zitat Yih, W.T., Chang, M.W., He, X., Gao, J.: Semantic parsing via staged query graph generation: question answering with knowledge base. In: Proceedings of ACL, pp. 1321–1331 (2015) Yih, W.T., Chang, M.W., He, X., Gao, J.: Semantic parsing via staged query graph generation: question answering with knowledge base. In: Proceedings of ACL, pp. 1321–1331 (2015)
Metadaten
Titel
A Transformer-Based Semantic Parser for NLPCC-2019 Shared Task 2
verfasst von
Donglai Ge
Junhui Li
Muhua Zhu
Copyright-Jahr
2019
DOI
https://doi.org/10.1007/978-3-030-32236-6_70

Premium Partner