Can BERT Dig It? Named Entity Recognition for Information Retrieval in the Archaeology Domain

Alex Brandsen, Suzan Verberne, Karsten Lambers, Milco WansleebenACM Journal on Computing and Cultural Heritage 2021 · DOI

TL;DR

This paper introduces ArcheoBERTje, a BERT model specifically pre-trained on Dutch archaeological texts, significantly improving Named Entity Recognition (NER) for this specialized domain. This advancement is crucial for enhancing information retrieval in a rapidly growing body of archaeological literature, moving beyond basic metadata searches to enable more nuanced and effective querying.

What Problem Does This Paper Address?

Archaeological research generates a vast and ever-increasing amount of textual data, often referred to as "grey literature." Traditional search methods for this data are limited to metadata, making it time-consuming and inaccurate to find specific information like locations, time periods, or artifacts. This "grey literature" is underutilized because of these search limitations. The core challenge is to develop effective methods for extracting and searching for domain-specific entities within this unstructured text to unlock its full potential for researchers. Existing challenges include synonymy (multiple ways to refer to the same concept) and polysemy (words with multiple meanings), which are particularly problematic in a domain with a rich and sometimes ambiguous vocabulary.

Methods

The researchers developed ArcheoBERTje, a BERT model that was further pre-trained on a large corpus of Dutch archaeological texts. This domain-specific pre-training aimed to improve the model's understanding of archaeological terminology and context. They then fine-tuned this model for the Named Entity Recognition (NER) task, which involves identifying and classifying specific entities (like Artefacts, Time Periods, Locations, etc.) within the text.

To evaluate their approach, they compared ArcheoBERTje against two generic BERT models: a multilingual BERT (multiBERT) and a Dutch-specific BERT (BERTje). They also explored ensemble methods, combining predictions from multiple BERT models, and even integrating a domain-specific thesaurus with a Conditional Random Fields (CRF) model.

Datasets

  • Unlabelled Data: Over 60,000 Dutch archaeological documents (approximately 658 million tokens) were used for further pre-training the BERT models.
  • Labelled Training Data: Fifteen documents, annotated by archaeology students, totaling roughly 440,000 tokens and 43,000 annotated entities across six categories (Artefacts, Time Periods, Locations, Contexts, Materials, and Species). This dataset was previously created and validated with high inter-annotator agreement.

Key Insights and Ideas

  • Domain-Specific Pre-training is Key: For highly specialized domains like archaeology, further pre-training BERT models on domain-specific data yields significantly larger improvements in NER performance than observed in more general domains. This suggests that the unique vocabulary and contextual nuances of a field are critical for effective language model adaptation.
  • ArcheoBERTje Outperforms Generic Models: The domain-specific ArcheoBERTje model consistently outperformed both the multilingual and generic Dutch BERT models in NER tasks, demonstrating the value of tailored pre-training.
  • Ensembles Don't Always Improve: While ensemble methods can sometimes boost performance, in this case, the domain-specific ArcheoBERTje model alone was superior to ensembles combining multiple BERT models. This implies that a well-trained domain-specific model can capture sufficient information without the added complexity of ensembles.
  • Thesaurus Integration Not Necessary (Post-Pre-training): Adding domain knowledge from a thesaurus to a CRF model did not improve performance when combined with the domain-specific BERT model. This suggests that the extensive domain-specific pre-training effectively imbues the BERT model with the necessary contextual understanding, making explicit thesaurus integration redundant for this task.
  • Model Stability: Further pre-training not only improved the average quality of the model but also made it more stable, reducing the variability in performance across different training runs.

Key Results

  • ArcheoBERTje achieved an average F1 score of 0.735, significantly outperforming the CRF baseline (0.630), multiBERT (0.583), and BERTje (0.699).
  • The standard deviation of F1 scores for ArcheoBERTje was very low (0.004), indicating high stability.
  • The best ensemble method (CRF using only ArcheoBERTje predictions) achieved an F1 score of 0.750, a slight improvement over ArcheoBERTje solo, but at the cost of lower recall. Given the recall-oriented nature of archaeological information needs, ArcheoBERTje solo was preferred.
  • Error analysis revealed common confusions between Materials and Artefacts (e.g., "flint" as both an object and a material), and issues with missing adjectives or prepositions in Time Period entities. Some Context entities also proved challenging due to ambiguity.

Limitations and Future Work

  • Tokenization Issues: The multiBERT model struggled with tokenization due to its general vocabulary, often splitting important Dutch words into sub-tokens. While BERTje (and thus ArcheoBERTje) used a more suitable tokenization, the paper notes that a custom tokenization on the archaeological corpus could potentially yield further improvements.
  • Document-Level Splits: The importance of creating train-test splits at the document level was highlighted, as a contextually ambiguous word ("poel") that only appeared in one document led to misclassifications when not properly handled.
  • Error Correction: The paper acknowledges that certain errors, like misclassified grain sizes as Time Periods, might require post-processing corrections.
  • Future Work: The authors plan to evaluate the entity-driven search engine with users, investigate entity-based query suggestion, and explore mapping entities to thesauri or embedding spaces for query improvement.

Summary updated

BibTeX
@article{brandsen2021can,
  author = {Alex Brandsen and Suzan Verberne and Karsten Lambers and Milco Wansleeben},
  title = {{Can BERT Dig It? Named Entity Recognition for Information Retrieval in the Archaeology Domain}},
  journal = {ACM Journal on Computing and Cultural Heritage},
  year = {2021},
  doi = {10.1145/3497842},
}
Figure