Introduction
Named Entity Recognition (NER)—the identification of entities such as people, locations, and organizations—is a fundamental task in Natural Language Processing (NLP). However, traditional supervised and semi-supervised methods face a significant "data hunger" problem, often requiring thousands of labeled tokens to achieve high performance. While Large Language Models (LLMs) like GPT-4 can perform NER via In-Context Learning (ICL) with minimal examples, they are computationally expensive, suffer from high inference latency, and often ignore document-level linguistic consistency.
In this paper, we introduce ELLEN (Extremely Lightly Supervised Learning for Efficient Named Entity Recognition), a neuro-symbolic framework designed to achieve high-performance NER using as few as 10 expert-selected examples per class. By integrating a transformer-based encoder with classic linguistic heuristics, ELLEN matches or exceeds the performance of massive generative models while remaining significantly faster and more cost-effective.
The ELLEN Framework
ELLEN is a modular, three-stage framework that combines the strengths of neural representation learning with symbolic, rule-based logic. The system utilizes a DeBERTa-v3 encoder and incorporates several key components to maximize the utility of limited supervision.
1. Masked Language Model (MLM) Heuristic
To leverage the vast world knowledge embedded in pre-trained models without requiring human-labeled sentences, ELLEN employs an unsupervised MLM heuristic. The system identifies potential entity spans using part-of-speech (POS) tags and replaces them with [MASK] tokens. It then queries the model to determine which entry from a small, 10-word expert-curated lexicon is most likely to fit the masked span, effectively using the MLM as a zero-shot labeler.
2. Dynamic Window Filtering
A common issue in low-resource NER is the "unlabeled entity problem," where a model mistakenly learns that an unknown entity is background noise. ELLEN addresses this by using POS tags to identify proper nouns and masking the surrounding context during training. This prevents the model from receiving incorrect negative signals from entities it has not yet learned to recognize.
3. Linguistic Sieves
ELLEN applies a series of symbolic rules in order of decreasing precision to ensure consistency and accuracy:
- Global Rules: High-confidence patterns, such as identifying a string followed by "Inc." as an "Organization."
- One Sense Per Discourse (OSPD): A classic linguistic heuristic which posits that a word usually maintains the same meaning within a single document. If "IBM" is identified as an Organization once, ELLEN ensures all subsequent mentions of "IBM" in that document receive the same label.
4. Three-Stage Training
The training process is divided into three distinct phases:
- Burn-in: Training on high-precision labels derived from the MLM heuristic and global rules.
- Intermediate: Incorporating more confident model predictions to expand the training set.
- Burn-out: Relaxing constraints to capture residual data and improve the model's recall.
Experimental Evaluation
The researchers evaluated ELLEN on two primary benchmarks: CoNLL-2003, the gold-standard dataset for news-based NER, and WNUT-17, a dataset of noisy social media text used to test zero-shot generalization.
Key Results
- High Performance with Minimal Data: With only 10 examples per class (representing roughly 1% of standard training data), ELLEN achieved a 76.87% F1 score on CoNLL-2003. When supervision was increased to 5% of the data, the score rose to 84.87% F1, outperforming more complex semi-supervised methods.
- Competitive with LLMs: In zero-shot evaluations on the noisy WNUT-17 dataset, ELLEN outperformed GPT-3.5 and achieved performance comparable to GPT-4. This is particularly notable given that ELLEN is a fraction of the size of these generative models.
- Efficiency and Scalability: Because ELLEN utilizes an encoder-only architecture, it avoids the token-by-token generation overhead of decoder-based LLMs. This makes it a viable candidate for high-throughput production environments where latency and cost are critical factors.
Discussion and Limitations
ELLEN demonstrates that a domain expert can "seed" a learning process in under 30 minutes by selecting a small lexicon of representative words. This neuro-symbolic synergy provides a safety net that catches common errors in low-data regimes that purely neural models often miss.
However, the framework currently has limitations. It is designed for "flat" NER and cannot yet handle nested entities (e.g., identifying "Arizona" as a Location within the "University of Arizona" Organization). Additionally, some linguistic sieves rely on English-specific suffixes and honorifics, requiring manual adaptation for other languages. Finally, error analysis showed that approximately 30% of errors involved the confusion of Organizations and Locations, suggesting a need for more nuanced global rules or improved POS tagging in future iterations.
Conclusion
ELLEN represents a significant step toward efficient, lightly supervised NLP. By combining the broad knowledge of language models with the precision of linguistic heuristics, it offers a powerful alternative to both data-hungry supervised models and expensive, slow Large Language Models for the task of Named Entity Recognition.
Summary updated