journal article·2022-01-18Open access

BERT-Based Transfer-Learning Approach for Nested Named-Entity Recognition Using Joint Labeling

Ankit Agrawal, Sarsij Tripathi, Manu Vardhan, Vikas Sihag, Gaurav Choudhary, Nicola Dragoni

Applied Sciences· Volume 12· Issue 3

Abstract

Named-entity recognition (NER) is one of the primary components in various natural language processing tasks such as relation extraction, information retrieval, question answering, etc. The majority of the research work deals with flat entities. However, it was observed that the entities were often embedded within other entities. Most of the current state-of-the-art models deal with the problem of embedded/nested entity recognition with very complex neural network architectures. In this research work, we proposed to solve the problem of nested named-entity recognition using the transfer-learning approach. For this purpose, different variants of fine-tuned, pretrained, BERT-based language models were used for the problem using the joint-labeling modeling technique. Two nested named-entity-recognition datasets, i.e., GENIA and GermEval 2014, were used for the experiment, with four and two levels of annotation, respectively. Also, the experiments were performed on the JNLPBA dataset, which has flat annotation. The performance of the above models was measured using F1-score metrics, commonly used as the standard metrics to evaluate the performance of named-entity-recognition models. In addition, the performance of the proposed approach was compared with the conditional random field and the Bi-LSTM-CRF model. It was found that the fine-tuned, pretrained, BERT-based models outperformed the other models significantly without requiring any external resources or feature extraction. The results of the proposed models were compared with various other existing approaches. The best-performing BERT-based model achieved F1-scores of 74.38, 85.29, and 80.68 for the GENIA, GermEval 2014, and JNLPBA datasets, respectively. It was found that the transfer learning (i.e., pretrained BERT models after fine-tuning) based approach for the nested named-entity-recognition task could perform well and is a more generalized approach in comparison to many of the existing approaches.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Topic Modeling · Natural Language Processing Techniques · Text and Document Classification Technologies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science & Engineering, National Institute of Technology Raipur, Raipur 492010, Chhattisgarh, India

Department of Computer Science & Engineering, Motilal Nehru National Institute of Technology Allahabad, Prayagraj 211004, Uttar Pradesh, India

Department of Cyber Security, Sardar Patel University of Police, Security and Criminal Justice, Jodhpur 342037, Rajasthan, India

DTU Compute, Department of Applied Mathematics and Computer Science, Technical University of Denmark (DTU), 2800 Kongens Lyngby, Denmark

References (60)

Show source-provided references
1. A Multi-Agent Communication Based Model for Nested Named Entity Recognition10.1109/TASLP.2021.3086978 ↗
2. Alzubi, J.A., Jain, R., Singh, A., Parwekar, P., and Gupta, M. (2021). COBERT: COVID-19 Question Answering System Using BERT. Arab. J. Sci. Eng., 1–11.10.1007/s13369-021-05810-5 ↗
3. Chauhan, S., Saxena, S., and Daniel, P. (2021). Fully unsupervised word translation from cross-lingual word embeddings especially for healthcare professionals. Int. J. Syst. Assur. Eng. Manag., 1–10.10.1007/s13198-021-01182-z ↗
4. Automated ontology generation from a plain text using statistical and NLP techniques10.1007/s13198-015-0403-1 ↗
5. Kumar, R.B., Suresh, P., Raja, P., and Sivaperumal, S. (2021). Artificial intelligence powered diagnosis model for anaesthesia drug injection. Int. J. Syst. Assur. Eng. Manag., 1–9.10.1007/s13198-021-01241-5 ↗
6. Parthasarathy, J., and Kalivaradhan, R.B. (2021). An effective content boosted collaborative filtering for movie recommendation systems using density based clustering with artificial flora optimization algorithm. Int. J. Syst. Assur. Eng. Manag., 1–10.10.1007/s13198-021-01101-2 ↗
7. Dai, X. (2018, January 15–20). Recognizing Complex Entity Mentions: A Review and Future Directions. Proceedings of the ACL 2018, Student Research Workshop, Melbourne, Australia. Available online: https://aclanthology.org/P18-3006.pdf.10.18653/v1/P18-3006 ↗
8. Alex, B., Haddow, B., and Grover, C. (2007, January 29). Recognising Nested Named Entities in Biomedical Text. Proceedings of the Biological, Translational, and Clinical Language Processing, Prague, Czech Republic. Available online: https://aclanthology.org/W07-1009.pdf.10.3115/1572392.1572404 ↗
9. A Boundary Assembling Method for Chinese Entity-Mention Recognition10.1109/MIS.2015.71 ↗
10. Plank, B., Jensen, K.N., and Van Der Goot, R. (2020, January 8–13). DaN+: Danish Nested Named Entities and Lexical Normalization. Proceedings of the 28th International Conference on Computational Linguistics, Bacelona, Spain.10.18653/v1/2020.coling-main.583 ↗
11. MT-clinical BERT: Scaling clinical information extraction with multitask learning10.1093/jamia/ocab126 ↗
12. Bang, Y., Ishii, E., Cahyawijaya, S., Ji, Z., and Fung, P. (2021). Model Generalization on COVID-19 Fake News Detection. arXiv.10.1007/978-3-030-73696-5_13 ↗
13. Zheng, C., Cai, Y., Xu, J., Leung, H.-F., and Xu, G. (2019, January 3–7). A Boundary-aware Neural Model for Nested Named Entity Recognition. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), Hong Kong, China. Available online: https://aclanthology.org/D19-1034.pdf.10.18653/v1/D19-1034 ↗
14. Straková, J., Straka, M., and Hajic, J. (2019, January 28). Neural Architectures for Nested NER through Linearization. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy. Available online: http://aclanthology.lst.uni-saarland.de/P19-1527.pdf.10.18653/v1/P19-1527 ↗
15. Wang, J., Shou, L., Chen, K., and Chen, G. (2020, January 5–10). Pyramid: A Layered Model for Nested Named Entity Recognition. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online. Available online: https://aclanthology.org/2020.acl-main.525.pdf.10.18653/v1/2020.acl-main.525 ↗
16. Nested Named Entity Recognition via Second-best Sequence Learning and Decoding10.1162/tacl_a_00334 ↗
17. Wang, Y., Li, Y., Tong, H., and Zhu, Z. (2020, January 16–20). HIT: Nested Named Entity Recognition via Head-Tail Pair and Token Interaction. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), Online. Available online: https://aclanthology.org/2020.emnlp-main.486.pdf.10.18653/v1/2020.emnlp-main.486 ↗
18. Chen, Y., Wu, L., Deng, L., Qing, Y., Huang, R., Zheng, Q., and Chen, P. (2020). A Boundary Regression Model for Nested Named Entity Recognition. arXiv.10.1109/ACCESS.2020.3040182 ↗
19. A Bidirectional Iterative Algorithm for Nested Named Entity Recognition10.1109/ACCESS.2020.3011598 ↗
20. Boundary Enhanced Neural Span Classification for Nested Named Entity Recognition
21. Finkel, J.R., and Manning, C.D. (2009, January 6–7). Nested Named Entity Recognition. Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, Singapore. Available online: https://aclanthology.org/D09-1015.pdf.10.3115/1699510.1699529 ↗
22. Fu, Y., Tan, C., Chen, M., Huang, S., and Huang, F. (2021, January 2–9). Nested Named Entity Recognition with Partially-Observed TreeCRFs. Proceedings of the AAAI Conference on Artificial Intelligence, Online.10.1609/aaai.v35i14.17519 ↗
23. Lu, W., and Roth, D. (2015, January 17–21). Joint Mention Extraction and Classification with Mention Hypergraphs. Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal. Available online: https://aclanthology.org/D15-1102.pdf.10.18653/v1/D15-1102 ↗
24. Wang, B., and Lu, W. (November, January 31). Neural Segmental Hypergraphs for Overlapping Mention Recognition. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium.10.18653/v1/D18-1019 ↗
25. Muis, A.O., and Lu, W. (2018, January 9–11). Labeling Gaps Between Words: Recognizing Overlapping Mentions with Mention Separators. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark.10.18653/v1/D17-1276 ↗
26. Luo, Y., and Zhao, H. (2020, January 5–10). Bipartite Flat-Graph Network for Nested Named Entity Recognition. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online.10.18653/v1/2020.acl-main.571 ↗
27. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
28. Howard, J., and Ruder, S. (2018). Fine-tuned Language Models for Text Classification. arXiv.
29. Kang, M., Lee, K., and Lee, Y. (2021). Filtered BERT: Similarity Filter-Based Augmentation with Bidirectional Transfer Learning for Protected Health Information Prediction in Clinical Documents. Appl. Sci., 11.10.3390/app11083668 ↗
30. Nainan, C. (2021, January 05). Scikit-Learn Wrapper to Finetune BERT. Available online: https://github.com/charles9n/bert-sklearn.
31. Wu, Y., Schuster, M., Chen, Z., Le, Q.V., Norouzi, M., Macherey, W., Krikun, M., Cao, Y., Gao, Q., and Macherey, K. (2016). Google’s Neural Machine Translation System: Bridging the Gap between Human and Machine Translation. arXiv.
32. Rush, A., Wolf, T., Debut, L., Sanh, V., Chaunmond, J., Delangue, C., Moi, A., Cistac, P., Rault, T., and Louf, R. (, January October). Transformers: State-of-the-Art Natural Language Processing. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, Online.
33. Team, T.H. (2021, August 25). Multi-Lingual Models. Available online: https://huggingface.co/transformers/multilingual.html.
34. Beltagy, I., Cohan, A., and Lo, K. (2019, January 3–7). SciBERT: Pretrained Contextualized Embeddings for Scientific Text. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), Hong Kong, China.
35. BioBERT: A pre-trained biomedical language representation model for biomedical text mining10.1093/bioinformatics/btz682 ↗
36. Wallach, H.M. (2021, March 07). Conditional Random Fields: An Introduction. Available online: http://www.inference.org.uk/hmw26/papers/crf_intro.pdf.
37. Zhu, X. (2021, March 07). CS838-1 Advanced NLP: Conditional Random Fields. Available online: http://pages.cs.wisc.edu/~jerryzhu/cs838/CRF.pdf.
38. Korobov, M. (2021, August 11). Sklearn-Crfsuite Docs. Available online: https://sklearn-crfsuite.readthedocs.io/en/latest/tutorial.html.
39. Bozanis, P., and Houstis, E.N. (2005, January 11–13). Developing a Robust Part-of-Speech Tagger for Biomedical Text. Proceedings of the Advances in Informatics 10th Panhellenic Conference on Informatics, PCI 2005, Volos, Greece.10.1007/11573036 ↗
40. Tsuruoka, Y., and Tsujii, J. (2005, January 6–8). Bidirectional Inference with the Easiest-First Strategy for Tagging Sequence Data. Proceedings of the Human Language Technology Conference and Conference on Empirical Methods in Natural Language Processing, Vancouver, BC, Canada.10.3115/1220575.1220634 ↗
41. Pennington, J., Socher, R., and Manning, C.D. (2021, January 05). GloVe: Global Vectors for Word Representation. Available online: https://nlp.stanford.edu/projects/glove/.
42. Inc, F. (2021, August 07). Word Vectors for 157 Languages. Available online: https://fasttext.cc/docs/en/crawl-vectors.html.
43. Huang, Z., Xu, W., and Yu, K. (2015). Bidirectional LSTM-CRF models for sequence tagging. arXiv.
44. Genthial, G. (2021, August 06). Intro to Tf.Estimator and Tf.Data. Available online: https://guillaumegenthial.github.io/introduction-tensorflow-estimator.html.
45. Benikova, D., Biemann, C., and Reznicek, M. (2014, January 26–31). NoSta-D Named Entity Annotation for German: Guidelines and Dataset. Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC’14), Reykjavik, Iceland. Available online: http://www.lrec-conf.org/proceedings/lrec2014/pdf/276_Paper.pdf.
46. Benikova, D., Biemann, C., Kisselew, M., and Pado, S. (2021, March 10). GermEval 2014 Named Entity Recognition Shared Task: Companion Paper. Available online: https://www.inf.uni-hamburg.de/en/inst/ab/lt/publications/2014-benikovaetal-germeval2014.pdf.
47. GENIA corpus—a semantically annotated corpus for bio-textmining10.1093/bioinformatics/btg1023 ↗
48. Project, G. (2021, March 11). BioNLP/JNLPBA Shared Task. Available online: http://www.geniaproject.org/shared-tasks/bionlp-jnlpba-shared-task-2004.
49. Hasida, K., and Pa, W.P. (2018, January 1–6). Nested Named Entity Recognition Using Multilayer Recurrent Neural Networks BT-Computational Linguistics. Proceedings of the NAACL-HLT 2018, New Orleans, LA, USA.
50. Tjong Kim Sang, E.F., and Buchholz, S. (2000, January 13–14). Introduction to the CoNLL-2000 Shared Task: Chunking. Proceedings of the Fourth Conference on Computational Natural Language Learning and the Second Learning Language in Logic Workshop, Lisbon, Portugal. Available online: https://www.clips.uantwerpen.be/conll2000/pdf/12732tjo.pdf.10.3115/1117601.1117631 ↗
51. Nested Named Entity Recognition Revisited
52. Wang, B., Lu, W., Wang, Y., and Jin, H. (2018). A Neural Transition-based Model for Nested Mention Recognition. arXiv.10.18653/v1/D18-1124 ↗
53. Shao, Y., Hardmeier, C., and Nivre, J. Multilingual Named Entity Recognition using Hybrid Neural Networks. Proceedings of the Sixth Swedish Language Technology Conference (SLTC), Available online: https://uu.diva-portal.org/smash/get/diva2:1055627/FULLTEXT01.pdf.
54. Catania, B., Královič, R., Nawrocki, J., and Pighizzini, G. (2019, January 27–30). Towards Combining Multitask and Multilingual Learning. Proceedings of the SOFSEM 2019: Theory and Practice of Computer Science, Nový Smokovec, Slovakia.10.1007/978-3-030-10801-4 ↗
55. A Single-run Recognition of Nested Named Entities with Transformers10.1016/j.procs.2021.08.030 ↗
56. Labusch, K., Neudecker, C., and Zellhöfer, D. (2019, January 9–11). BERT for Named Entity Recognition in Contemporary and Historic German. Proceedings of the KONVENS, Erlangen, Germany.
57. Sohrab, M.G., and Miwa, M. (November, January 31). Deep exhaustive model for nested named entity recognition. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium.10.18653/v1/D18-1309 ↗
58. Character-level neural network for biomedical named entity recognition10.1016/j.jbi.2017.05.002 ↗
59. Kocaman, V., and Talby, D. (2021). Biomedical Named Entity Recognition at Scale. Intell. Comput. Theor. Appl., 635–646.10.1007/978-3-030-68763-2_48 ↗
60. Yuan, Z., Liu, Y., Tan, C., Huang, S., and Huang, F. (2021, January 11). Improving Biomedical Pretrained Language Models with Knowledge. Proceedings of the 20th Workshop on Biomedical Language Processing, Online.10.18653/v1/2021.bionlp-1.20 ↗