Resources and Evaluations for Danish Entity Resolution

Maria Barrett, Hieu Lam, Martin Wu, Ophélie Lacroix, Barbara Plank, Anders Søgaard2021

Abstract

Automatic coreference resolution is understudied in Danish despite the availability of the Danish Dependency Treebank. This paper describes a conversion of its partial, yet well-documented, coreference relations into coreference clusters and the training and evaluation of coreference models on this data. To the best of our knowledge, these are the first publicly available neural coreference models for Danish. We also present a new entity linking annotation on the dataset using Wikidata identifiers, a named entity disambiguation (NED) dataset, and a larger automatically created NED dataset enabling "wikily" supervised NED models. The entity linking annotation is benchmarked using a state-of-the-art neural entity disambiguation model.

Introduction

While English NLP benefits from massive datasets like OntoNotes for coreference resolution, Danish has historically lacked similar resources. Coreference resolution—the task of identifying when different words refer to the same entity—is crucial for deep text understanding. The Danish Dependency Treebank (DDT) contained coreference information, but it was stored as binary relations rather than the entity clusters required by modern neural architectures. Furthermore, Danish lacked dedicated benchmarks for Entity Linking (EL), the process of connecting text mentions to specific knowledge base entries like Wikidata.

Methodology

The researchers addressed these gaps through a multi-pronged approach:

  1. Coreference Conversion: A heuristic pipeline was developed to convert DDT’s binary relations into entity clusters, focusing on nine specific relation types such as personal pronouns and lexical identity.
  2. Neural Modeling: Two state-of-the-art architectures (Lee et al., 2017 and 2018) were benchmarked using three transformer backbones: DABERT (Danish BERT), mBERT (multilingual BERT), and XLM-R (cross-lingual RoBERTa).
  3. Entity Linking Annotation: Mentions were semi-manually annotated with Wikidata identifiers (QIDs). Native speakers verified candidates suggested by the MediaWiki API.
  4. Wikily Supervision: To scale Named Entity Disambiguation (NED), the authors automatically generated the DAWIKINED dataset by scraping Danish Wikipedia articles and using their titles and links to create training examples.
Visualization of coreference relations in a Danish sentence, illustrating the complexity of the task.

Datasets

The paper introduces three primary resources for the Danish NLP community:

  • DACOREF: The coreference-annotated subset of the DDT, containing 341 documents and over 64,000 tokens.
  • DANED: A manually verified NED dataset derived from DACOREF, pairing mentions with correct and incorrect Wikidata QIDs.
  • DAWIKINED: A large, automatically created NED dataset with over 10,000 samples used for data augmentation.

Key Results and Insights

The evaluation revealed several important findings regarding Danish entity resolution:

  • Coreference Resolution: The best-performing model utilized the LEE2018 architecture with an XLM-R backbone, achieving an F1 score of 0.640. Interestingly, the multilingual XLM-R outperformed the Danish-specific DABERT, suggesting that large-scale multilingual pre-training can effectively support mid-resource languages.
Benchmark results for Danish coreference resolution models across different architectures and backbones.
  • Named Entity Disambiguation (NED): DABERT performed best in this task. Training on a combination of manual (DANED) and automatic (DAWIKINED) data ("BOTH") yielded an F1 score of 0.86, validating the utility of "wikily" supervised data augmentation.
  • Annotation Quality: Manual QID annotations achieved a high inter-annotator agreement of 0.98, establishing a reliable gold standard.

Conclusion and Future Work

This work provides the first publicly available neural coreference models for Danish and establishes strong benchmarks for entity linking. While the current coreference data is partial—omitting singletons and associative anaphors—it serves as a critical foundation. Future research may focus on expanding these annotations or developing joint models that perform coreference and entity linking simultaneously to leverage their complementary nature.

All data and models are publicly available on GitHub.

Summary updated

Abstract

Automatic coreference resolution is understudied in Danish even though most of the Danish Dependency Treebank This paper describes a conversion of its partial, yet well-documented, coreference relations into coreference clusters and the training and evaluation of coreference models on this data. To the best of our knowledge, these are the first publicly available neural coreference models for Danish. We also present a new entity linking annotation on the dataset using Wiki-Data identifiers, a named entity disambiguation (NED) dataset, and a larger automatically created NED dataset enabling wikily supervised NED models. The entity linking annotation is benchmarked using a state-of-the-art neural entity disambiguation model.
BibTeX
@misc{barrett2021resources,
  author = {Maria Barrett and Hieu Lam and Martin Wu and Ophélie Lacroix and Barbara Plank and Anders Søgaard},
  title = {{Resources and Evaluations for Danish Entity Resolution}},
  year = {2021},
  doi = {10.18653/v1/2021.crac-1.7},
}
Figure