Answers are grounded in this paper and cite their sources.
In this paper, we evaluate the effectiveness of transformer-based models for Named Entity Recognition (NER) in pre-modern Serbian Cyrillic texts, with a particular focus on improving model generalization through generative data augmentation. We construct a domain-specific NER dataset, based on medieval Serbian charters and archival documents, annotated using the BIO tagging scheme, and extend the training corpus with synthetically generated examples. Two transformer-based language models, BERTić and XLM-RoBERTa, are fine-tuned and evaluated in both in-domain and out-of-domain settings. The results show that transformer-based models, particularly fine-tuned XLM-RoBERTa, achieve strong in-domain performance and substantially improve out-of-domain robustness compared with a previously developed CNN-based NER model. Old-Serb-XLM-RoBERTa trained with 30% synthetic data achieves the highest in-domain performance, with an overall F1-score of \((≈)\) 0.92. The configuration trained with 100% synthetic data performs best on some individual out-of-domain documents, whereas the 50% configuration achieves the highest average weighted F1-score in out-of-domain evaluation and is therefore selected as the recommended model for broader use. These findings show that synthetic data augmentation can improve generalization, especially for low-resource historical NER, but its effectiveness depends on the model architecture, augmentation ratio, and the degree of domain shift. The recommended model, together with the annotated and augmented training dataset, is publicly available via Hugging Face, supporting further research on historical South Slavic languages.
No takes yet. Share an insight, caveat, or question.
Petrović et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: