Skip to main content

Bootstrapping Joint Entity and Relation Extraction with Reinforcement Learning

  • Conference paper
  • First Online:
Web Information Systems Engineering – WISE 2022 (WISE 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13724))

Included in the following conference series:

  • 1074 Accesses

Abstract

Extracting entities and relations for types of interest from text is important for knowledge graph construction. Previous methods of entity and relation extraction rely on human-annotated corpora and adopt an incremental pipeline, which require abundant human expertise and are vulnerable to errors cascading. In this paper, we present ROTATE, a novel approach for jointly bootstrapping entity and relation extraction with reinforcement learning. The bootstrapping process of ROTATE consists of three bootstrapping sub-processes, which extract head entity, tail entity, and relation, respectively. Each sub-process starts with a few seed instances, then generates patterns and expands the seed set to start the next iteration. In particular, we propose a joint pattern scoring strategy in which the scores of patterns in each bootstrapping sub-process also take the seed information of the other two sub-processes into account. Moreover, we introduce reinforcement learning to solve the semantic drift problem in the bootstrapping process by formulating the seed expansion problem as a sequential decision making problem, and design a reward function that considers both seed quality and quantity. Experimental results on a collection of sentences from news articles confirm the effectiveness of our approach.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    nltk.tokenize.punkt.PunktSentenceTokenizer.

  2. 2.

    nltk.tokenize.treebank.TreebankWordTokenizer.

  3. 3.

    taggers/maxent treebank pos tagger/english.pickle.

  4. 4.

    skip length of 5 tokens and vectors of 200 dimensions.

  5. 5.

    https://code.google.com/p/word2vec/.

References

  1. Agichtein, E., Gravano, L.: Snowball: extracting relations from large plain-text collections. In: Proceedings of ACM, pp. 85–94 (2000)

    Google Scholar 

  2. Batista, D.S., Martins, B., Silva, M.J.: Semi-supervised bootstrapping of relationship extractors with distributional semantics. In: Proceedings of EMNLP, pp. 499–504 (2015)

    Google Scholar 

  3. Bird, S., Klein, E., Loper, E.: Natural Language Processing with Python: Analyzing Text with the Natural Language Toolkit. O’Reilly Media Inc, Sebastopol (2009)

    MATH  Google Scholar 

  4. Brin, S.: Extracting patterns and relations from the world wide web. In: Atzeni, P., Mendelzon, A., Mecca, G. (eds.) WebDB 1998. LNCS, vol. 1590, pp. 172–183. Springer, Heidelberg (1999). https://doi.org/10.1007/10704656_11

    Chapter  Google Scholar 

  5. Dai, D., Xiao, X., Lyu, Y., Dou, S., She, Q., Wang, H.: Joint extraction of entities and overlapping relations using position-attentive sequence labeling. In: Proceedings of AAAI, vol. 33, pp. 6300–6308 (2019)

    Google Scholar 

  6. Guo, Z., Zhang, Y., Lu, W.: Attention guided graph convolutional networks for relation extraction. arXiv preprint arXiv:1906.07510 (2019)

  7. Gupta, P., Roth, B., Schütze, H.: Joint bootstrapping machines for high confidence relation extraction. arXiv preprint arXiv:1805.00254 (2018)

  8. Gupta, P., Schütze, H., Andrassy, B.: Table filling multi-task recurrent neural network for joint entity and relation extraction. In: Proceedings of COLING, pp. 2537–2547 (2016)

    Google Scholar 

  9. Gupta, S., MacLean, D.L., Heer, J., Manning, C.D.: Induced lexico-syntactic patterns improve information extraction from online medical forums. J. AMIA 21(5), 902–909 (2014)

    Google Scholar 

  10. Gupta, S., Manning, C.D.: Improved pattern learning for bootstrapped entity extraction. In: Proceedings of CoNLL, pp. 98–108 (2014)

    Google Scholar 

  11. Gupta, S., Manning, C.D.: Distributed representations of words to guide bootstrapped entity classifiers. In: Proceedings of NAACL, pp. 1215–1220 (2015)

    Google Scholar 

  12. He, Y., Grishman, R.: ICE: rapid information extraction customization for NLP novices. In: Proceedings of NAACL, pp. 31–35 (2015)

    Google Scholar 

  13. Katiyar, A., Cardie, C.: Going out on a limb: joint extraction of entity mentions and relations without dependency trees. In: Proceedings of ACL, pp. 917–928 (2017)

    Google Scholar 

  14. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980 (2014)

  15. Li, X., et al.: Entity-relation extraction as multi-turn question answering. arXiv preprint arXiv:1905.05529 (2019)

  16. Mikolov, T., Chen, K., Corrado, G., Dean, J.: Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781 (2013)

  17. Miwa, M., Bansal, M.: End-to-end relation extraction using LSTMs on sequences and tree structures. arXiv preprint arXiv:1601.00770 (2016)

  18. Parker, R., Graff, D., Kong, J., Chen, K., Maeda, K.: English gigaword fifth edition ldc2011t07, Technical Report. Linguistic Data Consortium, Philadelphia (2011)

    Google Scholar 

  19. Ren, X., et al.: CoType: joint extraction of typed entities and relations with knowledge bases. In: Proceedings of WWW, pp. 1015–1024 (2017)

    Google Scholar 

  20. Riloff, E.: Automatically generating extraction patterns from untagged text. In: Proceedings of AAAI, pp. 1044–1049 (1996)

    Google Scholar 

  21. Sun, C., et al.: Joint type inference on entities and relations via graph convolutional networks. In: Proceedings of ACL, pp. 1361–1370 (2019)

    Google Scholar 

  22. Sun, C., Wu, Y.: Distantly supervised entity relation extraction with adapted manual annotations. In: Proceedings of AAAI, vol. 33, pp. 7039–7046 (2019)

    Google Scholar 

  23. Sun, K., Zhang, R., Mensah, S., Mao, Y., Liu, X.: Progressive multi-task learning with controlled information flow for joint entity and relation extraction. In: Proceedings of AAAI, vol. 35, pp. 13851–13859 (2021)

    Google Scholar 

  24. Takanobu, R., Zhang, T., Liu, J., Huang, M.: A hierarchical framework for relation extraction with reinforcement learning. In: Proceedings of AAAI, vol. 33, pp. 7072–7079 (2019)

    Google Scholar 

  25. Tan, Z., Zhao, X., Wang, W., Xiao, W.: Jointly extracting multiple triplets with multilayer translation constraints. In: Proceedings of AAAI, vol. 33, pp. 7080–7087 (2019)

    Google Scholar 

  26. Williams, R.J.: Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach. Learn. 8(3), 229–256 (1992). https://doi.org/10.1007/BF00992696

    Article  MATH  Google Scholar 

  27. Xiao, Y., Tan, C., Fan, Z., Xu, Q., Zhu, W.: Joint entity and relation extraction with a hybrid transformer and reinforcement learning based model. In: Proceedings of AAAI, vol. 34, pp. 9314–9321 (2020)

    Google Scholar 

  28. Zeng, D., Liu, K., Lai, S., Zhou, G., Zhao, J.: Relation classification via convolutional deep neural network. In: Proceedings of COLING, pp. 2335–2344 (2014)

    Google Scholar 

  29. Zeng, X., Zeng, D., He, S., Liu, K., Zhao, J.: Extracting relational facts by an end-to-end neural model with copy mechanism. In: Proceedings of ACL, pp. 506–514 (2018)

    Google Scholar 

  30. Zhang, M., Zhang, Y., Fu, G.: End-to-end neural relation extraction with global optimization. In: Proceedings of EMNLP, pp. 1730–1740 (2017)

    Google Scholar 

  31. Zheng, S., Wang, F., Bao, H., Hao, Y., Zhou, P., Xu, B.: Joint extraction of entities and relations based on a novel tagging scheme. arXiv preprint arXiv:1706.05075 (2017)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiang Cheng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Xia, M., Cheng, X., Su, S., Kuang, M., Li, G. (2022). Bootstrapping Joint Entity and Relation Extraction with Reinforcement Learning. In: Chbeir, R., Huang, H., Silvestri, F., Manolopoulos, Y., Zhang, Y. (eds) Web Information Systems Engineering – WISE 2022. WISE 2022. Lecture Notes in Computer Science, vol 13724. Springer, Cham. https://doi.org/10.1007/978-3-031-20891-1_30

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-20891-1_30

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-20890-4

  • Online ISBN: 978-3-031-20891-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics