journal article·2025-07-24Open access

A Nested Named Entity Recognition Model Robust in Few-Shot Learning Environments Using Label Description Information

Hyunsun Hwang, Youngjun Jung, Changki Lee, Wooyoung Go

Applied Sciences· Volume 15· Issue 15

Abstract

Nested named entity recognition (NER) is a task that identifies hierarchically structured entities, where one entity can contain other entities within its span. This study introduces a nested NER model for few-shot learning environments, addressing the difficulty of building extensive datasets for general named entities. We enhance the Biaffine nested NER model by modifying its output layer to incorporate label semantic information through a novel label description embedding (LDE) approach, improving performance with limited training data. Our method replaces the traditional biaffine classifier with a label attention mechanism that leverages comprehensive natural language descriptions of entity types, encoded using BERT to capture rich semantic relationships between labels and input spans. We conducted comprehensive experiments on four benchmark datasets: GENIA (nested NER), ACE 2004 (nested NER), ACE 2005 (nested NER), and CoNLL 2003 English (flat NER). Performance was evaluated across multiple few-shot scenarios (1-shot, 5-shot, 10-shot, and 20-shot) using F1-measure as the primary metric, with five different random seeds to ensure robust evaluation. We compared our approach against strong baselines including BERT-LSTM-CRF with nested tags, the original Biaffine model, and recent few-shot NER methods (FewNER, FIT, LPNER, SpanNER). Results demonstrate significant improvements across all few-shot scenarios. On GENIA, our LDE model achieves 45.07% F1 in five-shot learning compared to 30.74% for the baseline Biaffine model (46.4% relative improvement). On ACE 2005, we obtain 44.24% vs. 32.38% F1 in five-shot scenarios (36.6% relative improvement). The model shows consistent gains in 10-shot (57.19% vs. 49.50% on ACE 2005) and 20-shot settings (64.50% vs. 58.21% on ACE 2005). Ablation studies confirm that semantic information from label descriptions is the key factor enabling robust few-shot performance. Transfer learning experiments demonstrate the model’s ability to leverage knowledge from related domains. Our findings suggest that incorporating label semantic information can substantially enhance NER models in low-resource settings, opening new possibilities for applying NER in specialized domains or languages with limited annotated data.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Natural Language Processing Techniques · Topic Modeling · Web Data Mining and Analysis

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

Affiliations

Department of Computer Science and Engineering, Kangwon National University, Chuncheon 24341, Republic of Korea

Interdisciplinary Graduate Program in Medical Bigdata Convergence, Kangwon National University, Chuncheon 24341, Republic of Korea

National Security Research Institute, Daejeon 34044, Republic of Korea

Funding

affiliated institute of ETRI

References (23)

Show source-provided references
1. Evolution and emerging trends of named entity recognition: Bibliometric analysis from 2000 to 202310.1016/j.heliyon.2024.e30053 ↗
2. Li, X., Feng, J., Meng, Y., Han, Q., Wu, F., and Li, J. (2020, January 5–10). A Unified MRC Framework for Named Entity Recognition. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online.10.18653/v1/2020.acl-main.519 ↗
3. Yu, J., Bohnet, B., and Poesio, M. (2020, January 5–10). Named Entity Recognition as Dependency Parsing. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online.10.18653/v1/2020.acl-main.577 ↗
4. Dozat, T., and Manning, C.D. (2016, January 2–4). Deep Biaffine Attention for Neural Dependency Parsing. Proceedings of the International Conference on Learning Representations, San Juan, Puerto Rico.
5. Yuan, Z., Tan, C., Huang, S., and Huang, F. (2022). Fusing Heterogeneous Factors with Triaffine Mechanism for Nested Named Entity Recognition. Findings of the Association for Computational Linguistics: ACL 2022, Dublin, Ireland, 22–27 May 2022, Association for Computational Linguistics.10.18653/v1/2022.findings-acl.250 ↗
6. Straková, J., Straka, M., and Hajič, J. (August, January 28). Neural architectures for nested NER through linearization. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy.
7. Xu, Y., Yang, Z., Zhang, L., Zhou, D., Wu, T., and Zhou, R. (2023). Focusing, bridging and prompting for few-shot nested named entity recognition. Findings of the Association for Computational Linguistics: ACL 2023, Toronto, ON, Canada, 9–14 July 2023, Association for Computational Linguistics.10.18653/v1/2023.findings-acl.164 ↗
8. Yang, J., Zhu, Z., Ming, H., Jiang, L., and An, N. (2024, January 11–14). LPNER: Label Prompt for Few-shot Nested Named Entity Recognition. Proceedings of the 16th Asian Conference on Machine Learning, Hanoi, Vietnam.
9. Kim, H., Kim, J.-E., and Kim, H. (2024, January 15–20). Exploring Nested Named Entity Recognition with Large Language Models: Methods, Challenges, and Insights. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Miami, FL, USA.10.18653/v1/2024.emnlp-main.492 ↗
10. Label-embedding for image classification10.1109/TPAMI.2015.2487986 ↗
11. Cui, L., and Zhang, Y. (2019, January 3–7). Hierarchically-Refined Label Attention Network for Sequence Labeling. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, Hong Kong, China.10.18653/v1/D19-1422 ↗
12. Kim, H., and Kim, H. (2020). Integrated Model for Morphological Analysis and Named Entity Recognition Based on Label Attention Networks in Korean. Appl. Sci., 10.10.3390/app10113740 ↗
13. Few-Shot Named Entity Recognition via Meta-Learning10.1109/TKDE.2020.3038670 ↗
14. Wang, Y., Chu, H., Zhang, C., and Gao, J. (2021). Learning from Language Description: Low-shot Named Entity Recognition via Decomposed Framework. Findings of the Association for Computational Linguistics: EMNLP 2021, Punta Cana, Dominican Republic, 7–11 November 2021, Association for Computational Linguistics.10.18653/v1/2021.findings-emnlp.139 ↗
15. Ma, J., Ballesteros, M., Doss, S., Anubhai, R., Mallya, S., Al-Onaizan, Y., and Roth, D. (2022). Label Semantics for Few Shot Named Entity Recognition. Findings of the Association for Computational Linguistics: ACL 2022, Dublin, Ireland, 22–27 May 2022, Association for Computational Linguistics.10.18653/v1/2022.findings-acl.155 ↗
16. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2019, January 2–7). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minneapolis, MN, USA.
17. Luong, T., Pham, H., and Manning, C.D. (2015, January 17–21). Effective Approaches to Attention-based Neural Machine Translation. Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal.10.18653/v1/D15-1166 ↗
18. GENIA corpus—A semantically annotated corpus for bio-textmining10.1093/bioinformatics/btg1023 ↗
19. Doddington, G., Mitchell, A., Przybocki, M., Ramshaw, L., Strassel, S., and Weischedel, R. (2004, January 26–28). The Automatic Content Extraction (ACE) program-tasks, data, and evaluation. Proceedings of the 4th International Conference on Language Resources and Evaluation, Lisbon, Portugal.
20. Walker, C., Strassel, S., Medero, J., and Maeda, K. (2006). ACE 2005 Multilingual Training Corpus, Linguistic Data Consortium. Available online: https://catalog.ldc.upenn.edu/LDC2006T06.
21. Tjong Kim Sang, E.F., and De Meulder, F. (June, January 31). Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, Edmonton, AB, Canada.10.3115/1119176.1119195 ↗
22. BioBERT: A pre-trained biomedical language representation model for biomedical text mining10.1093/bioinformatics/btz682 ↗
23. Rojas, M., Bravo-Marquez, F., and Dunstan, J. (2022, January 12–17). Simple Yet Powerful: An Overlooked Architecture for Nested Named Entity Recognition. Proceedings of the 29th International Conference on Computational Linguistics, Gyeongju, Republic of Korea.