Unlocking the Power of Large Language Models in Named Entity Recognition

Friday 21 March 2025


The humble task of named entity recognition (NER) has long been a staple of natural language processing, allowing computers to identify and classify entities like people, places, and organizations within text. While traditional approaches have relied on extensive training data and manual annotation, a recent study demonstrates how large language models (LLMs) can be leveraged to achieve high-performance NER with minimal effort.


The researchers behind this work employed a novel approach that combines the power of LLMs with carefully crafted prompts. By providing historical context and domain knowledge within these prompts, they were able to coax their model into accurately identifying entities in low-resource texts – a feat previously thought impossible.


The study’s findings are impressive: when compared to established NLP frameworks like spaCy and flair, the LLM-based approach demonstrated significant improvements in both recall and precision. This is particularly noteworthy given that the latter two require extensive pre-processing, customization, and retraining of models.


So how do these LLMs achieve such remarkable results? The answer lies in their ability to learn from vast amounts of text data, allowing them to develop a deep understanding of linguistic patterns and contextual relationships. By tapping into this knowledge, researchers can craft prompts that effectively guide the model towards accurate entity recognition – even in the face of imperfect OCR (optical character recognition) output.


This breakthrough has far-reaching implications for digital humanities research, where high-quality annotated data is often scarce or non-existent. Historians, linguists, and other scholars can now leverage LLMs to quickly and efficiently identify entities within vast archives of historical texts – a task that was previously time-consuming and labor-intensive.


The study’s results also highlight the potential benefits of a more human-centered approach to NLP. By incorporating domain knowledge and contextual information into prompts, researchers can create models that better understand the nuances of specific domains and languages – leading to more accurate and relevant results.


As LLMs continue to evolve and improve, it will be exciting to see how they are applied across various fields. In this case, their potential to revolutionize named entity recognition in low-resource settings is undeniable. With these models at our disposal, the possibilities for advancing digital humanities research – and beyond – seem endless.


Cite this article: “Unlocking the Power of Large Language Models in Named Entity Recognition”, The Science Archive, 2025.


Natural Language Processing, Named Entity Recognition, Large Language Models, Low-Resource Texts, Digital Humanities Research, Historical Context, Domain Knowledge, Precision, Recall, Ocr Output


Reference: Torsten Hiltmann, Martin Dröge, Nicole Dresselhaus, Till Grallert, Melanie Althage, Paul Bayer, Sophie Eckenstaler, Koray Mendi, Jascha Marijn Schmitz, Philipp Schneider, et al., “NER4all or Context is All You Need: Using LLMs for low-effort, high-performance NER on historical texts. A humanities informed approach” (2025).


Leave a Reply