Abstract
Named Entity Recognition (NER) is a critical component of Natural Language Processing (NLP), yet many major languages like Tagalog remain resource-poor. This paper introduces TLUNIFIED-NER, a high-quality, human-annotated gold-standard dataset for Tagalog NER. Comprising approximately 7.8k manually labeled documents, the dataset enables the development of robust models that significantly outperform existing "silver-standard" resources and zero-shot Large Language Models (LLMs).
Introduction
Tagalog, spoken by over 28 million people, lacks the high-quality human-verified datasets necessary for accurate AI applications. Existing resources are often noisy (e.g., WikiANN), domain-specific, or proprietary. This data scarcity hampers the development of Tagalog-centric technologies. TLUNIFIED-NER addresses this gap by providing a reliable benchmark for the community.
Methodology
The dataset was constructed using an iterative human-in-the-loop annotation pipeline.
- Data Source: Texts were sampled from the TLUnified corpus, primarily consisting of modern news reports (2009–2020).
- Annotation Process: Three native Tagalog speakers performed annotations over 18 weeks using the Prodigy tool. Iterative "retrospective meetings" were held after each round to refine guidelines and resolve ambiguities.
- Modeling and Evaluation: Several architectures were benchmarked, including spaCy’s transition-based parser with static vectors (fastText) and context-sensitive transformers (RoBERTa, mBERT, XLM-R). Additionally, zero-shot performance of LLMs like GPT-4 and Claude was evaluated.
The TLUNIFIED-NER Dataset
TLUNIFIED-NER focuses on three core entity types: Person (PER), Organization (ORG), and Location (LOC). The dataset exhibits high inter-annotator agreement, with a Cohen’s $\kappa$ of 0.81 on all tokens, signaling high data quality.
The dataset is split into training, development, and test sets to ensure rigorous evaluation. The high density of entities per document provides a rich signal for supervised learning compared to previous automated efforts.
Results and Discussion
Experimental results demonstrate the clear advantage of high-quality human-labeled data.
- Supervised Performance: The RoBERTa Tagalog model emerged as the top performer, achieving an overall F1-score of 90.34.
- Comparison with WikiANN: Models trained on TLUNIFIED-NER vastly outperformed those trained on the noisy WikiANN dataset, which struggled to reach a 30% F1-score on the new test set. The "Organization" tag in WikiANN was particularly problematic, with a dismal F1-score of 0.59.
- LLM Benchmarking: Zero-shot LLMs showed significant performance gaps compared to specialized supervised models. GPT-4 achieved an F1-score of 65.89, while specialized models trained on TLUNIFIED-NER reached over 90.
The confusion matrix highlights the model's high precision across all categories. While the "Organization" tag shows slightly more noise compared to "Person" and "Location," it remains significantly more accurate than previous benchmarks.
Conclusion
TLUNIFIED-NER provides a much-needed gold standard for Tagalog NLP. The findings underscore that for low-resource languages, human-curated data remains the most effective path to high-accuracy NER, outperforming both automated silver-standard datasets and state-of-the-art zero-shot LLMs. Future work will involve expanding the dataset to include more diverse domains and additional Philippine languages.
The TLUNIFIED-NER dataset is publicly available on HuggingFace.
Summary updated