Low-Resource Named Entity Recognition: Can One-vs-All AUC Maximization Help?

Ngoc Dang Nguyen, Wei Tan, Lan Du, Wray L. Buntine, Richard Beare, Changyou Chen

Abstract

Named Entity Recognition (NER) is a fundamental task in Natural Language Processing, yet it faces significant challenges in specialized domains where annotated data is scarce and class imbalance is extreme. Standard training objectives, such as Cross-Entropy (CE), often become biased toward the majority "Outside" (O) class, which typically constitutes over 90% of tokens. This paper proposes a novel framework that reformulates NER as a series of One-vs-All (OVA) binary classification tasks optimized through Area Under the ROC Curve (AUC) maximization. By employing a differentiable Deep AUC Margin (DAM) loss and meta-learning strategies for efficiency, the proposed method achieves performance gains of up to 30% in extreme low-resource settings (20–50 training sentences) across both general and biomedical datasets.

Introduction

Named Entity Recognition (NER) involves identifying and categorizing entities—such as persons, locations, or proteins—within a text. While state-of-the-art models perform well with abundant data, their performance degrades sharply in low-resource environments. This degradation is primarily driven by two factors: data scarcity and extreme class imbalance. In many datasets, particularly in the biomedical field, the vast majority of tokens are non-entities (labeled "O"). Standard loss functions like Cross-Entropy or Conditional Random Fields (CRF) tend to prioritize the majority class, leading to poor recall for rare entities.

Methodology

To address these challenges, the authors introduce a shift from multi-class error minimization to binary ranking maximization.

One-vs-All (OVA) Reformulation

Instead of treating NER as a single multi-class classification problem, the task is decomposed into $K$ binary classification tasks, where $K$ represents the number of entity types. Each classifier is responsible for determining whether a token belongs to a specific entity category (e.g., "Is this a Location?") or not.

AUC Maximization

Rather than minimizing classification error, the model maximizes the AUC for each binary task. AUC is inherently more robust to class imbalance because it focuses on the model's ability to rank positive instances higher than negative ones. The authors utilize the Deep AUC Margin (DAM) loss, a differentiable surrogate that allows for efficient gradient-based optimization of the AUC metric.

Efficiency Optimizations

Training $K$ separate classifiers can be computationally expensive. The authors propose two strategies to maintain efficiency:

  1. Label Grouping: Linguistically related labels (e.g., B-PER and I-PER) are grouped and trained together.
  2. Meta-Learning (MAML): A first-order Model-Agnostic Meta-Learning approach is used to randomly sample and optimize a subset of classifiers in each iteration, significantly reducing the training overhead.

Experimental Setup

The framework was evaluated on four diverse datasets: OntoNotes5 and CoNLL 2003 (general domain), and NCBI and s800 (biomedical domain). To simulate low-resource conditions, training sets were restricted to sizes ranging from 20 to 500 sentences.

Key Insights and Results

Performance in Scarcity

The OVA-AUC approach demonstrated its greatest utility in extreme scarcity. In scenarios with only 20–50 training sentences, the method outperformed standard Cross-Entropy baselines by an average of 30%. This suggests that the ranking signal provided by AUC is far more informative than the error signal of CE when examples are few.

The Confidence Gap

Analysis of the model's predictions revealed that standard binary classifiers using Binary Cross-Entropy (BCE) often suffer from a "confidence gap," where predictions cluster around the decision boundary. In contrast, AUC-trained classifiers effectively stratify tokens, pushing predictions toward the extremes and creating a clearer distinction between entities and the "O" class.

Sequence vs. Token Classification

Surprisingly, the OVA-AUC method (which classifies tokens individually) outperformed sequence-aware models like BiLSTM-CRF in low-resource settings. This indicates that in data-starved environments, the benefit of a robust learning signal for imbalanced classes outweighs the structural benefits of modeling label dependencies through a CRF.

Conclusion

This research demonstrates that reformulating NER as an AUC maximization problem significantly improves robustness in imbalanced and low-resource settings. While the One-vs-All approach introduces some computational complexity, the use of meta-learning and label grouping makes it a viable strategy for specialized domains. Future work may explore the application of AUC maximization to other imbalanced NLP tasks, such as relation extraction and event detection, as well as refining inference strategies to better capture inter-label dependencies.

Summary updated

BibTeX
@inproceedings{nguyen2023low,
  author = {Ngoc Dang Nguyen and Wei Tan and Lan Du and Wray L. Buntine and Richard Beare and Changyou Chen},
  title = {{Low-Resource Named Entity Recognition: Can One-vs-All AUC Maximization Help?}},
  booktitle = {ICDM},
  year = {2023},
  doi = {10.1109/icdm58522.2023.00155},
}
Figure