Proceedings

Unsupervised and Few-Shot Parsing from Pretrained Language Models (Extended Abstract)

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Journal Track. Pages 6995-7000.

https://doi.org/10.24963/ijcai.2023/797

© 2023 International Joint Conferences on Artificial Intelligence

Abstract

This paper proposes two Unsupervised constituent Parsing models (UPOA and UPIO) that calculate inside and outside association scores solely based on the self-attention weight matrix learned in a pretrained language model. The proposed unsupervised parsing models are further extended to few-shot parsing models (FPOA, FPIO) that use a few annotated trees to fine-tune the linear projection matrices in self-attention. Experiments on PTB and SPRML show that both unsupervised and few-shot parsing methods are better than or comparable to the previous methods.

  1. [Dahlmeier et al., 2013] Daniel Dahlmeier, Hwee Tou Ng, and Siew Mei Wu. Building a large annotated corpus of learner english: The NUS corpus of learner english.
  2. In Joel R. Tetreault, Jill Burstein, and Claudia Leacock, editors, Proceedings of the Eighth Workshop on Innova- tive Use of NLP for Building Educational Applications, BEA@NAACL-HLT 2013, June 13, 2013, Atlanta, Geor- gia, USA, pages 22-31. The Association for Computer Linguistics, 2013.
  3. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understand- ing. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4171-4186. Association for Computational Linguistics, 2019.
  4. [Drozdov et al., 2019] Andrew Drozdov, Patrick Verga, Mo- hit Yadav, Mohit Iyyer, and Andrew McCallum. Unsuper- vised latent tree induction with deep inside-outside recur- sive auto-encoders. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, Proceedings of the 2019 Confer- ence of the North American Chapter of the Association for Computational Linguistics: Human Language Technolo- gies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2- 7, 2019, Volume 1 (Long and Short Papers), pages 1129- 1141. Association for Computational Linguistics, 2019.
  5. [Jawahar et al., 2019] Ganesh Jawahar, Benoît Sagot, and Djamé Seddah. What does BERT learn about the struc- ture of language? In Anna Korhonen, David R. Traum, and Lluís Màrquez, editors, Proceedings of the 57th Con- ference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28-August 2, 2019, Vol- ume 1: Long Papers, pages 3651-3657. Association for Computational Linguistics, 2019.
  6. [Kim et al., 2019a] Yoon Kim, Chris Dyer, and Alexan- der M. Rush. Compound probabilistic context-free gram- mars for grammar induction. In Anna Korhonen, David R. Traum, and Lluís Màrquez, editors, Proceedings of the 57th Conference of the Association for Computational Lin- guistics, ACL 2019, Florence, Italy, July 28-August 2, 2019, Volume 1: Long Papers, pages 2369-2385. Asso- ciation for Computational Linguistics, 2019.
  7. [Kim et al., 2019b] Yoon Kim, Alexander M. Rush, Lei Yu, Adhiguna Kuncoro, Chris Dyer, and Gábor Melis. Un- supervised recurrent neural network grammars. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, Pro- ceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Min- neapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 1105-1117. Association for Compu- tational Linguistics, 2019.
  8. [Kim et al., 2020a] Taeuk Kim, Jihun Choi, Daniel Edmis- ton, and Sang-goo Lee. Are pre-trained language models aware of phrases? simple but strong baselines for gram- mar induction. In 8th International Conference on Learn- ing Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
  9. [Kim et al., 2020b] Taeuk Kim, B. Li, and Sanggoo Lee. Chart-based zero-shot constituency parsing on multiple languages. arXiv: Computation and Language, 2020.
  10. [Kitaev et al., 2019] Nikita Kitaev, Steven Cao, and Dan Klein. Multilingual constituency parsing with self- attention and pre-training. In Anna Korhonen, David R. Traum, and Lluís Màrquez, editors, Proceedings of the 57th Conference of the Association for Computational Lin- guistics, ACL 2019, Florence, Italy, July 28-August 2, 2019, Volume 1: Long Papers, pages 3499-3505. Asso- ciation for Computational Linguistics, 2019.
  11. [Liu et al., 2019] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized BERT pretraining approach. CoRR, abs/1907.11692, 2019.
  12. [Radford et al., 2019] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI Blog, 1(8):9, 2019.
  13. [Seddah and others, 2013] Djamé Seddah et al. Overview of the SPMRL 2013 shared task: A cross-framework eval- uation of parsing morphologically rich languages. In
  14. Yoav Goldberg, Yuval Marton, Ines Rehbein, and Yannick Versley, editors, Proceedings of the Fourth Workshop on Statistical Parsing of Morphologically-Rich Languages, SPMRL@EMNLP 2013, Seattle, Washington, USA, Octo- ber 18, 2013, pages 146-182. Association for Computa- tional Linguistics, 2013.
  15. [Shen et al., 2018a] Yikang Shen, Zhouhan Lin, Chin-Wei Huang, and Aaron C. Courville. Neural language mod- eling by jointly learning syntax and lexicon. In 6th Inter- national Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 -May 3, 2018, Conference Track Proceedings. OpenReview.net, 2018.
  16. [Shen et al., 2018b] Yikang Shen, Zhouhan Lin, Athul Paul Jacob, Alessandro Sordoni, Aaron C. Courville, and Yoshua Bengio. Straight to the tree: Constituency pars- ing with neural syntactic distance. In Iryna Gurevych and Yusuke Miyao, editors, Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia, July 15-20, 2018, Vol- ume 1: Long Papers, pages 1171-1180. Association for Computational Linguistics, 2018.
  17. [Shen et al., 2019] Yikang Shen, Shawn Tan, Alessandro Sordoni, and Aaron C. Courville. Ordered neurons: In- tegrating tree structures into recurrent neural networks. In 7th International Conference on Learning Representa- tions, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019.
  18. [Shi et al., 2020] Haoyue Shi, Karen Livescu, and Kevin Gimpel. On the role of supervision in unsupervised con- stituency parsing. In Bonnie Webber, Trevor Cohn, Yulan Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence (IJCAI-23) Journal Track He, and Yang Liu, editors, Proceedings of the 2020 Con- ference on Empirical Methods in Natural Language Pro- cessing, EMNLP 2020, Online, November 16-20, 2020, pages 7611-7621. Association for Computational Linguis- tics, 2020.
  19. [Tenney et al., 2019] Ian Tenney, Dipanjan Das, and Ellie Pavlick. BERT rediscovers the classical NLP pipeline. In Anna Korhonen, David R. Traum, and Lluís Màrquez, ed- itors, Proceedings of the 57th Conference of the Associa- tion for Computational Linguistics, ACL 2019, Florence, Italy, July 28-August 2, 2019, Volume 1: Long Papers, pages 4593-4601. Association for Computational Linguis- tics, 2019.
  20. [Wang et al., 2019] Yau-Shian Wang, Hung-yi Lee, and Yun-Nung Chen. Tree transformer: Integrating tree struc- tures into self-attention. In Kentaro Inui, Jing Jiang, Vin- cent Ng, and Xiaojun Wan, editors, Proceedings of the 2019 Conference on Empirical Methods in Natural Lan- guage Processing and the 9th International Joint Confer- ence on Natural Language Processing, EMNLP-IJCNLP 2019, Hong Kong, China, November 3-7, 2019, pages 1061-1070. Association for Computational Linguistics, 2019.
  21. [Zeng and Xiong, 2022] Zhiyuan Zeng and Deyi Xiong. Un- supervised and few-shot parsing from pretrained language models. Artif. Intell., 305:103665, 2022.

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

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