Skip to main content
QUICK REVIEW

[Paper Review] Adaptive Name Entity Recognition under Highly Unbalanced Data

Thong Nguyen, Duy Thuy Thi Nguyen|arXiv (Cornell University)|Mar 10, 2020
Topic ModelingComputer Science17 references5 citations
TL;DR

This paper proposes a two-stage NER framework that splits sentences into Weak and Strong entity classes using an RNN-CNN classifier, then applies specialized Bi-LSTM-CRF models to improve performance on low-resource entities. The method boosts F1 scores for rare classes (e.g., Nat, Art, Eve) by over 50% compared to baseline models, achieving a macro F1 of 0.67 with minimal data for weak classes.

ABSTRACT

For several purposes in Natural Language Processing (NLP), such as Information Extraction, Sentiment Analysis or Chatbot, Named Entity Recognition (NER) holds an important role as it helps to determine and categorize entities in text into predefined groups such as the names of persons, locations, quantities, organizations or percentages, etc. In this report, we present our experiments on a neural architecture composed of a Conditional Random Field (CRF) layer stacked on top of a Bi-directional LSTM (BI-LSTM) layer for solving NER tasks. Besides, we also employ a fusion input of embedding vectors (Glove, BERT), which are pre-trained on the huge corpus to boost the generalization capacity of the model. Unfortunately, due to the heavy unbalanced distribution cross-training data, both approaches just attained a bad performance on less training samples classes. To overcome this challenge, we introduce an add-on classification model to split sentences into two different sets: Weak and Strong classes and then designing a couple of Bi-LSTM-CRF models properly to optimize performance on each set. We evaluated our models on the test set and discovered that our method can improve performance for Weak classes significantly by using a very small data set (approximately 0.45\%) compared to the rest classes.

Motivation & Objective

  • Address the challenge of highly imbalanced Named Entity Recognition (NER) datasets where rare classes (e.g., Art, Eve, Nat) have far fewer training samples than common classes.
  • Overcome the performance degradation of standard Bi-LSTM-CRF and BERT-based models on low-resource entity types due to class imbalance.
  • Develop a lightweight, adaptive classification module to detect whether a sentence contains Weak-class entities, enabling targeted model optimization.
  • Improve F1 scores for rare entity types without requiring large-scale data collection, focusing on model architecture adaptation instead.

Proposed method

  • Train an RNN-CNN classifier to distinguish sentences containing Weak-class entities (Art, Eve, Nat) from those with only Strong-class entities (Geo, Tim, Org, Per, Gpe).
  • Use the RNN-CNN output to route sentences into two separate Bi-LSTM-CRF models: one optimized for Weak classes and one for Strong classes.
  • Employ pre-trained GloVe and BERT embeddings as input features to enhance generalization across all entity types.
  • Apply a weighted loss function during training to further mitigate class imbalance effects in the base models.
  • Use majority voting across multiple model variants (Bi-LSTM-CRF, BERT-FeedForward, and dual models) to improve final prediction robustness.
  • Integrate a two-stage inference pipeline: first classify sentence type (Weak/Strong), then apply the corresponding NER model.

Experimental results

Research questions

  • RQ1Can a two-stage classification approach improve NER performance on rare entity types in highly imbalanced datasets?
  • RQ2How effective is separating Weak and Strong class prediction into distinct Bi-LSTM-CRF models compared to a single unified model?
  • RQ3To what extent can performance on low-resource entity types (e.g., Nat, Art, Eve) be improved with minimal additional data?
  • RQ4Does combining BERT embeddings with a task-specific classifier yield better results than standard Bi-LSTM-CRF on imbalanced NER data?
  • RQ5How does the proposed method compare to standard models in terms of macro F1 score, especially for minority classes?

Key findings

  • The proposed method improved the macro F1 score to 0.67, a significant increase from the baseline Bi-LSTM-CRF model’s 0.55 and BERT-FeedForward’s 0.64.
  • F1 scores for Weak-class entities increased by over 50%: Nat from 0.26 to 0.43, Art from 0.00 to 0.10, and Eve from 0.17 to 0.24 compared to the Bi-LSTM-CRF baseline.
  • The BERT-FeedForward model achieved the highest global F1 (0.88) and weighted F1 (0.84), but still underperformed on macro F1 due to poor rare-class handling.
  • The RNN-CNN classifier achieved 99.6% accuracy in distinguishing Weak-class sentences, enabling effective routing for specialized NER models.
  • The method achieved a 0.67 macro F1 with only 0.45% of the training data being allocated to Weak classes, demonstrating high data efficiency.
  • Despite using a small amount of data for Weak classes, the method significantly outperformed all baselines in terms of macro F1, proving its effectiveness in low-resource settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.