Introduction
Named Entity Recognition (NER) is a fundamental task in Natural Language Processing, identifying and categorizing entities like people, places, and organizations. Recent advancements have shifted toward In-Context Learning (ICL), which leverages the few-shot capabilities of Large Language Models (LLMs) without requiring expensive fine-tuning. However, achieving high accuracy typically necessitates "frontier" models like GPT-4, which introduces significant hurdles regarding API costs, data privacy, and massive hardware requirements for deployment.
Small-parameter models (under 20B) offer a more accessible and private alternative but often lack the comprehensive "knowledge stock" required for complex or domain-specific NER. EL4NER addresses this gap by asking: Can an ensemble of multiple small models meet or exceed the performance of a single giant model?
Methodology
The EL4NER framework utilizes a multi-stage ensemble pipeline designed to maximize the strengths of diverse open-source LLMs. The architecture is built on three primary pillars:
- Deep Task Decomposition: The NER process is split into two distinct stages to optimize recall and precision. In the Span Extraction stage, multiple LLMs identify potential entity spans, and their results are combined via a Union operation to ensure high recall. In the Span Classification stage, the models vote on the entity type for each identified span, using a Voting mechanism to filter out individual model hallucinations and increase precision.
- Span-Level Demonstration Retrieval: Effective ICL depends on relevant examples. EL4NER introduces a span-level similarity algorithm that weights words based on Part-of-Speech (POS) tags. By prioritizing proper nouns—the most likely entity candidates—the retrieved demonstrations are significantly more relevant to the specific NER task than standard sentence-level similarity.
- Self-Validation: A final "verifier" LLM performs a zero-shot check on each predicted entity to ensure the span and type match logically, further reducing noise from the ensemble.
Experimental Setup
EL4NER was evaluated on three diverse NER benchmarks:
- ACE05: Journalism and news text with diverse entity categories.
- GENIA: Specialized biomedical text requiring domain-specific knowledge.
- WNUT17: Noisy social media text featuring rare and informal entities.
The ensemble utilized a total of 37B parameters across three backbones: GLM-4-9B, Phi-4-14B, and Qwen-2.5-14B.
Key Results
EL4NER demonstrated superior performance compared to several advanced GPT-4-based methods across multiple domains. Notably, it achieved a new State-of-the-Art (SOTA) for ICL-based methods on the WNUT17 (55.33% F1) and GENIA (69.28% F1) datasets. On ACE05, it reached 69.32% F1, outperforming most baselines.
Ablation studies highlighted the critical role of each component. Removing the "Type Verification" stage resulted in the most significant performance drop, proving that noise filtering is as vital as the ensemble itself. Furthermore, the results suggest a "wisdom of the crowd" effect where a small, diverse committee of models (37B total parameters) can outperform a single model with over 150B parameters.
Conclusion
EL4NER proves that ensemble learning with small-parameter, open-source LLMs is a viable and efficient alternative to massive closed-source models for NER. By combining task decomposition, specialized retrieval, and self-validation, the framework achieves state-of-the-art results while maintaining lower costs and higher data privacy. Future work will explore automated backbone selection and weighted voting strategies to further refine the ensemble's performance.
Summary updated