Computation & Language
Open-Source LLMs Match Traditional Models at Named Entity Recognition with Fine-Tuning
New research shows that large language models can achieve competitive results on entity recognition tasks when fine-tuned with parameter-efficient methods and structured output formats.
Named entity recognition—the task of identifying and classifying entities like people, places, and organizations in text—has undergone a significant shift. Rather than relying solely on specialized sequence-labeling models, researchers are now exploring how large language models can handle this work through a generative approach.
A comprehensive evaluation from researchers at arXiv offers new insights into how open-source LLMs stack up against traditional NER systems. The study tested eight models of different sizes across four standard datasets, examining both flat entity extraction and more complex nested entity scenarios.
Key Findings on Model Performance#
The research reveals that open-source LLMs equipped with parameter-efficient fine-tuning and structured output formats—such as inline bracketed notation or XML tagging—can match or exceed the performance of conventional encoder-based models. Notably, these tuned systems outperform decoder-only LLMs that rely on in-context learning alone, suggesting that targeted training provides meaningful advantages.
Understanding How LLMs Learn Entities#
One crucial question addressed by the study concerns the mechanism behind LLM entity recognition. The researchers found that models don't simply memorize entity-label pairs. Instead, their NER capability emerges from their broader capacity for instruction-following and text generation, pointing to a deeper form of linguistic understanding rather than rote recall.
Preserving General Capabilities#
An important practical consideration emerged: applying NER instruction tuning does not degrade a model's performance on other tasks. In fact, the researchers observed that entity-focused fine-tuning enhanced performance on unrelated benchmarks like DROP, boosting scores by 25 to 45 F1 points. This suggests that improved entity understanding carries benefits across broader language understanding tasks.
Implications for Practitioners#
These findings position generative NER with LLMs as a practical, user-friendly alternative to traditional approaches. The combination of competitive accuracy, ease of implementation, and preserved general capabilities makes this approach attractive for real-world applications. Code and data from the study have been released publicly for further exploration and adoption.

