Domain-Adapting BERT for Attributing Manuscript, Century and Region in Pre-Modern Slavic Texts

Piroska Lendvai, Uwe Reichel, Anna Jouravel, Achim Rabus, Elena Renje


Abstract
Our study presents a stratified dataset compiled from six different Slavic bodies of text, for cross-linguistic and diachronic analyses of Slavic Pre-Modern language variants. We demonstrate unsupervised domain adaptation and supervised finetuning of BERT on these low-resource, historical Slavic variants, for the purposes of provenance attribution in terms of three downstream tasks: manuscript, century and copying region classification.The data compilation aims to capture diachronic as well as regional language variation and change: the texts were written in the course of roughly a millennium, incorporating language variants from the High Middle Ages to the Early Modern Period, and originate from a variety of geographic regions. Mechanisms of language change in relatively small portions of such data have been inspected, analyzed and typologized by Slavists manually; our contribution aims to investigate the extent to which the BERT transformer architecture and pretrained models can benefit this process. Using these datasets for domain adaptation, we could attribute temporal, geographical and manuscript origin on the level of text snippets with high F-scores. We also conducted a qualitative analysis of the models’ misclassifications.
Anthology ID:
2023.lchange-1.2
Volume:
Proceedings of the 4th Workshop on Computational Approaches to Historical Language Change
Month:
December
Year:
2023
Address:
Singapore
Editors:
Nina Tahmasebi, Syrielle Montariol, Haim Dubossarsky, Andrey Kutuzov, Simon Hengchen, David Alfter, Francesco Periti, Pierluigi Cassotti
Venue:
LChange
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
15–21
Language:
URL:
https://aclanthology.org/2023.lchange-1.2
DOI:
10.18653/v1/2023.lchange-1.2
Bibkey:
Cite (ACL):
Piroska Lendvai, Uwe Reichel, Anna Jouravel, Achim Rabus, and Elena Renje. 2023. Domain-Adapting BERT for Attributing Manuscript, Century and Region in Pre-Modern Slavic Texts. In Proceedings of the 4th Workshop on Computational Approaches to Historical Language Change, pages 15–21, Singapore. Association for Computational Linguistics.
Cite (Informal):
Domain-Adapting BERT for Attributing Manuscript, Century and Region in Pre-Modern Slavic Texts (Lendvai et al., LChange 2023)
Copy Citation:
PDF:
https://preview.aclanthology.org/dois-2013-emnlp/2023.lchange-1.2.pdf