Abstract
In this paper, we present NEREL, a Russian dataset for named entity recognition and relation extraction. NEREL is significantly larger than existing Russian datasets: to date it contains 56K annotated named entities and 39K annotated relations. Its important difference from previous datasets is annotation of nested named entities, as well as relations within nested entities and at the discourse level. NEREL can facilitate development of novel models that can extract relations between nested named entities, as well as relations on both sentence and document levels. NEREL also contains the annotation of events involving named entities and their roles in the events. The NEREL collection is available via https://github.com/nerel-ds/NEREL.
Introduction
Automatically populating Knowledge Bases (KBs) from text requires robust Named Entity Recognition (NER) and Relation Extraction (RE). However, the NLP community faces two major bottlenecks. First, most large, high-quality datasets are exclusively in English. Second, standard datasets (like TACRED or CoNLL03) often rely on "flat" annotations and single-sentence constraints.
Real-world text is much messier than these benchmarks suggest. Entities are often nested inside one another—for example, the organization "State Duma" is nested inside the profession "Chairman of the State Duma Committee." Furthermore, relations frequently span across multiple sentences. Because standard datasets ignore these complexities, state-of-the-art models are rarely trained to handle nested entities or document-level relationships. NEREL addresses this gap by providing a rich, complex, and large-scale Russian dataset designed to reflect the true intricacies of news text.
The NEREL Dataset
NEREL was constructed from over 900 Russian Wikinews articles, featuring a comprehensive annotation schema of 29 entity types and 49 relation types. It is significantly larger and structurally deeper than previous Russian datasets, supporting up to six levels of entity nesting.
As illustrated in the comparison above, NEREL's scale and nesting depth bring Russian-language resources on par with major English datasets like ACE2005 and NNE, while offering a significantly higher volume of annotated relations than other Russian benchmarks.
Annotation and Experimental Methods
The annotation process in NEREL captures complex structures where entities and relations overlap. This includes relations that exist entirely within the span of a nested entity, a feature often overlooked in traditional RE tasks.
To establish baselines, the authors evaluated several state-of-the-art deep learning models:
- Nested NER: Biaffine and Pyramid models were tested alongside a Machine Reading Comprehension (MRC) approach. The MRC approach treats NER as a Q&A task, using dictionary definitions of entity types as queries to leverage external semantic knowledge.
- Relation Extraction: SpanBERT, TRE, and OpenNRE were evaluated for standard in-sentence and document-level RE.
- Nested Relations: A novel, lightweight baseline called IntModel was designed to predict relations within a single nested entity span using fastText embeddings and entity type features, bypassing surrounding sentence context.
Key Insights and Results
- Nested Relations are Significant: Nearly 15% of within-sentence relations in NEREL occur entirely inside the span of a single nested entity. Standard RE models typically fail to capture these relationships.
- The Challenge of Document-Level RE: 24% of all annotated relations in NEREL cross sentence boundaries. While OpenNRE with RuBERT achieved an F1 of 84.9 for in-sentence extraction, performance dropped sharply to 51.7 for cross-sentence relations, highlighting document-level RE as a critical open challenge.
- NER Performance: The MRC model powered by RuBERT achieved the highest F1 score (79.64), outperforming Biaffine (76.38) and Pyramid (74.19) models. This suggests that framing NER as reading comprehension effectively handles complex, overlapping spans.
Conclusion
NEREL provides a vital resource for non-English NLP, pushing the boundaries of information extraction by incorporating nesting and document-level context. By providing a large-scale, high-quality Russian dataset, it enables the development of models that better reflect the complexity of natural language. Future work will include linking annotated entities to Wikidata to further enhance its utility for knowledge base population.
Summary updated