LLMs as Data Annotators: How Close Are We to Human Performance

Muhammad Uzair-Ul-Haq, Davide Rigoni, Alessandro SperdutiarXiv 2025 · DOI

Abstract

This study evaluates the efficacy of Large Language Models (LLMs) as automated data annotators for Named Entity Recognition (NER). By leveraging Retrieval-Augmented Generation (RAG) to select high-quality in-context examples, the researchers demonstrate that models like GPT-4o-mini and Qwen2.5 can achieve performance within 1.2% to 3% of human gold standards on standard benchmarks. However, a significant performance gap remains for complex, linguistically ambiguous tasks such as soft-skill extraction, indicating that while LLMs are powerful "force multipliers," human expertise remains critical for nuanced domain reasoning.

Introduction

High-quality supervised learning requires high-quality labels. In Natural Language Processing (NLP), manual annotation remains the "gold standard," yet it is prohibitively expensive and slow, particularly for specialized domains like medicine or human resources. While researchers have explored using LLMs for In-Context Learning (ICL)—where a few examples are provided in the prompt—performance is notoriously sensitive to example selection. Manually "cherry-picking" examples for every query is as labor-intensive as annotating the data itself. This paper investigates how to automate this selection process using Retrieval-Augmented Generation (RAG) and benchmarks how close the resulting synthetic labels get to human-level accuracy across datasets of varying difficulty.

Methodology

The authors propose a workflow that moves beyond simple zero-shot or random few-shot prompting to create a scalable annotation pipeline.

The proposed RAG-based workflow for automated data annotation, utilizing an encoder, vector store, and retriever to construct optimized prompts for the LLM.
  1. RAG-Based Example Selection: Instead of providing random examples, the system uses an embedding model (such as OpenAI’s text-embedding-3-large) to convert a pool of human-labeled data into vectors. For every new sentence requiring a label, the system retrieves the $m$ most semantically similar examples to serve as the context for the LLM.
  2. Structured Output: To mitigate common issues like hallucination or token misalignment, the researchers utilize OpenAI’s "Structured Output" feature to force the model to return valid JSON.
  3. Evaluation via Proxy: To rigorously test the quality of the LLM's annotations, the generated labels are used to fine-tune a RoBERTa model. This model is then evaluated against a hidden, human-validated test set, simulating a real-world pipeline where an LLM bootstraps a smaller, faster production model.

Experimental Setup

The study utilizes four datasets representing a spectrum of linguistic difficulty:

  • CoNLL-2003: A standard benchmark for People, Organizations, and Locations. It is well-structured and serves as a baseline for high performance.
  • WNUT-17: A dataset focusing on rare and emerging entities in noisy social media text.
  • GUM: A diverse dataset covering multiple domains and eleven distinct entity types.
  • SKILLSPAN: The most challenging dataset, involving the extraction of "soft skills" from job postings. These entities are linguistically ambiguous and lack fixed syntactic structures.

Results and Analysis

The experimental results highlight a narrowing gap between machine and human performance, though significant challenges remain in abstract reasoning tasks.

Heatmaps illustrating the F1 performance of various LLMs and retrieval methods across four datasets compared to human benchmarks.

Proximity to Human Performance

On the CoNLL-2003 benchmark, GPT-4o-mini achieved an $F_1$ score of 89.72, just 2.7% below the human gold standard of 92.12. The gap was even narrower for WNUT-17, where Qwen2.5-70B reached an $F_1$ of 53.72, only 1.21% away from human performance (54.93). These results suggest that for well-defined entity types, LLMs are nearly indistinguishable from human annotators.

The Complexity Ceiling

Despite successes in standard tasks, the SKILLSPAN dataset revealed a "complexity ceiling." The best-performing LLM reached an $F_1$ of 34.06, while humans scored 54.79. This ~20-point gap suggests that LLMs currently lack the deep domain reasoning required to identify abstract concepts that are not clearly "named."

Key Insights

  • RAG vs. ICL: Across almost all tests, RAG-based example selection significantly outperformed random In-Context Learning, proving that semantic relevance in examples is a primary driver of accuracy.
  • The Embedding Factor: For smaller models (~7B parameters), the choice of embedding model for RAG was more critical than the model's raw parameter count. A 7B model with high-quality embeddings often outperformed a 70B model with weaker ones.
  • Context Saturation: Performance does not scale linearly with the number of examples. The authors observed "saturation" where adding more than 50 examples provided diminishing returns or even degraded performance.

Limitations and Conclusion

While LLMs show immense promise as data annotators, several constraints remain. The study focused exclusively on NER; further research is needed to determine if these findings translate to relationship extraction or text classification. Additionally, the retrieval system used a "naive" similarity search; more sophisticated re-ranking could potentially improve context quality. Finally, the inherent biases of LLMs must be carefully monitored, as these biases can be "baked in" to any production model fine-tuned on synthetic data. Nevertheless, for many standard NLP tasks, LLMs have reached a level of proficiency that makes them viable, cost-effective alternatives to human annotation.

Summary updated

BibTeX
@misc{uzairulhaq2025llms,
  author = {Muhammad Uzair-Ul-Haq and Davide Rigoni and Alessandro Sperduti},
  title = {{LLMs as Data Annotators: How Close Are We to Human Performance}},
  year = {2025},
  eprint = {2504.15022},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.15022},
}
Figure