---
title: "WikiGoldSK — paper by Suba et al. (2023) — summary and ideas"
description: "WikiGoldSK provides human-annotated Slovak Wikipedia text and tests how well automatic systems recognize names with gold, silver, and…"
canonical: "https://research.elamur.ai/free/en/papers/suba-2023-wikigoldsk-annotated-dataset-baselines-few/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/suba-2023-wikigoldsk-annotated-dataset-baselines-few/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / WikiGoldSK: Annotated Dataset, Baselines and Few-Shot Learning Experiments for Slovak Named Entity Recognition

# WikiGoldSK: Annotated Dataset, Baselines and Few-Shot Learning Experiments for Slovak Named Entity Recognition

Paper · 2023 · David Suba, Marek Suppa, Jozef Kubik et al.

**Authors:** David Suba, [Marek Suppa](https://md.research.elamur.ai/free/en/authors/marek-suppa/), Jozef Kubik, [Endre Hamerlik](https://md.research.elamur.ai/free/en/authors/endre-hamerlik/) and Martin Takac · **Year:** 2023 · **Venue:** Proceedings of the 9th Workshop on Slavic Natural Language Processing 2023 (SlavicNLP 2023) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 9th Workshop on Slavic Natural Language Processing 2023 (SlavicNLP 2023) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.bsnlp-1.16/)
- [PDF](https://aclanthology.org/2023.bsnlp-1.16.pdf)
- [DOI 10.18653/v1/2023.bsnlp-1.16](https://doi.org/10.18653/v1/2023.bsnlp-1.16)

## Summary

To teach a computer to find names in Slovak text, researchers need examples that show both where a name starts and ends and what it refers to. They also need independent examples to check whether the system learned those decisions. Before WikiGoldSK, the public choices described by the authors were a small, manually labeled news collection and a much larger collection labeled automatically. [Named entity recognition](https://md.research.elamur.ai/free/en/topics/named-entity-recognition/) was possible with those resources, but Slovak lacked a sizable public collection made for both training and evaluation with human judgments. WikiGoldSK fills that gap with 412 articles from Slovak Wikipedia. Its annotators mark locations, people, organizations, and miscellaneous names such as those of films and festivals.

The authors began with suggested labels and had Slovak-speaking annotators review the text. Their guidelines specify how to handle cases where the name alone gives an incomplete answer. A museum, for example, generally counts as an organization, but a passage that clearly refers to the building can make the same name a location. The final annotations incorporate decisions reached through discussion. The authors divide the collection into training, development, and test portions and release the data under the same Creative Commons Attribution-Share-Alike License 3.0 as the Wikipedia material. They also make their code and trained systems available.

When evaluated on the WikiGoldSK test split, the strongest baseline trained on WikiGoldSK reached an F1 score of 0.9357. F1 balances how many proposed entities are correct with how many reference entities are recovered. The strongest baseline trained on the larger, automatically labeled WikiANN collection reached 0.6648 on the same test. Training with both collections improved on WikiANN alone, but the highest score still came from using WikiGoldSK alone. On the separate BSNLP2017 Slovak news collection, the highest reported F1 was 0.8085, showing how performance can change when the text and its labeling conventions change together.

The paper also tests [few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/), where the method starts with a small amount of labeled training data. The authors turn each token-labeling decision into a Slovak fill-in-the-blank question. The resulting predictions supply training labels for additional sentences whose human labels are withheld. The best configuration reached 0.5845 F1, below the conventional supervised baselines, including those trained on WikiANN alone. The comparison gives researchers a common test for future Slovak work and shows what the tested alternatives achieved under very different amounts and sources of supervision.

## Deep dive: WikiGoldSK: Annotated Dataset, Baselines and Few-Shot Learning Experiments for Slovak Named Entity Recognition

WikiGoldSK provides human-annotated Slovak Wikipedia text and tests how well automatic systems recognize names with gold, silver, and few-shot training. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Recognizing a name takes two decisions

A system that reads a sentence and notices a capitalized word has found a possible name. Named entity recognition asks it to go further. It needs to decide where the relevant expression ends, then assign it a category. In the case of a company, that can mean deciding whether a legal suffix belongs inside the name. In the case of a museum, it can mean using the surrounding sentence to decide whether the name refers to an institution or a place. A system can make the right choice about the category and still return the wrong span, or it can recover the full expression and assign it the wrong type.

These decisions matter because the names and their categories are frequently inputs to other tasks. [Information extraction](https://md.research.elamur.ai/free/en/topics/information-extraction/) can use them to locate references in running text. Entity linking needs a mention before it can connect that mention to an entry elsewhere. In [coreference resolution](https://md.research.elamur.ai/free/en/topics/coreference-resolution/), a name may be one of the expressions that point to the same referent. The paper also identifies [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) and [question answering](https://md.research.elamur.ai/free/en/topics/question-answering/) as applications. The details of how those applications use a name vary, but all can be affected by what the recognizer includes in the span and by the category it supplies.

The paper traces the task back to the Message Understanding Conference and describes token classification as its usual formulation. A token is a unit produced by splitting text into pieces that the system can label. A name can take up a single token or stretch across several. Token classification makes each position an explicit prediction target, while a sequence of such decisions expresses a name with boundaries. This connects a familiar machine-learning setup to a linguistic problem whose answers depend on the surrounding text and on rules agreed upon in advance.

The authors describe earlier progress as depending in part on shared tasks. A shared task gives participants a common collection and a common assignment, so reported performance can be compared against the same reference. The CoNLL tasks supplied resources for languages including English, Spanish, German, and Dutch. The [CoNLL-2003 shared task](https://md.research.elamur.ai/free/en/papers/sang-2003-introduction-conll-2003-shared-task/) is particularly relevant to WikiGoldSK because its category scheme is the one the Slovak collection adopts. The broader tradition matters as much as the category names. A dependable benchmark serves as a source of examples during development and as a common test after training.

#### Why the available Slovak resources served different purposes

The closest pre-existing public human-labeled resource the authors identify is the Slovak newswire portion of the BSNLP 2017 shared task. It contains less than 50 manually annotated articles. The paper treats it as suitable for evaluating Slovak name recognition, with too little material to serve as its training corpus. That is a difference in function. A set can be large enough to reveal recurring mistakes on a test without supplying the breadth of examples needed to train an automatic recognizer.

The earlier English WikiGold project offered a different precedent. Its authors drew attention to the prominence of newswire in shared tasks and manually labeled English Wikipedia articles. The WikiGoldSK authors borrow the idea of a human-labeled Wikipedia collection and reflect that lineage in the name. They also set out to make the Slovak collection large enough to train a recognizer and still reserve a meaningful test portion. The choice of Wikipedia gives the authors another text source alongside the existing newswire collection, while leaving open how the recognizers will fare outside that source.

For many languages, the paper explains, the cheaper route to a labeled collection has been to exploit Wikipedia’s existing links. A link may identify a phrase that refers to a person, place, or institution, while information associated with the target page can help assign a category. Such methods are described as silver-standard because their labels are derived automatically. Manually reviewed labels are called gold-standard. The names describe how the reference was produced and signal different expectations about how much judgment went into any particular label.

Wikipedia links are an incomplete source of evidence for this task. An unlinked name can still meet the annotation rules. A linked phrase also needs to be mapped to the particular categories the benchmark uses. The paper points out that this mapping is difficult and can depend on the availability of good knowledge bases for the language or domain. As a result, a procedure that can label many sentences cheaply can still omit examples or make systematic decisions that differ from how a human annotator would read them. The authors also note that subsequent silver-data methods have reported quality comparable to manual annotation, so the limitations of link-based labeling are reasons to measure it carefully across resources.

The authors distinguish the automatically produced WikiNER collections, which do not cover Slovak, from the work behind WikiANN, which does. The latter starts by assigning entity types to English Wikipedia pages and uses links across languages to transfer labels. It supplements the link signals with self-training and translation to handle entries that lack a direct match. Its reach is described in [Cross-lingual name tagging and linking](https://md.research.elamur.ai/free/en/papers/pan-2017-cross-lingual-name-tagging-linking/). In Slovak, it supplies a public training collection with approximately 50 thousand entities across the person, location, and organization categories. WikiGoldSK therefore enters a setting where extensive automatic supervision already exists and a human benchmark can help show what that supervision achieves.

#### What a shortage of resources meant here

The authors describe Slovak as a language with 5 million native speakers and official standing in the European Union. Their use of a low-resource setting concerns what researchers can actually obtain and reuse for a particular task. In particular, they find relatively few public tools and labeled resources for Slovak. They suggest that its linguistic and historical proximity to Czech, which has more available resources, may partly explain the situation. They present that connection as a possible explanation.

The paper also documents Slovak recognition research that had already taken place. An early study used capitalization to find candidates and Wikipedia to investigate the extent of entity names, producing a dataset with 1620 entities annotated by 60 human experts. Other projects used Slovak Wikipedia articles and established toolkits to train recognizers. Another project collected 10,000 annotated tweets from the account of a Slovak journal and used FastText representations with a bidirectional recurrent architecture. The authors report that the datasets and trained systems from these studies were unavailable to the public. These projects showed that Slovak recognition could be studied in several settings, while their availability limited what later researchers could reproduce or compare.

The arrival of SlovakBERT was a separate development. Pretraining gives a system experience with ordinary text before it is adapted to a particular job. [Fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) adapts that system by updating it on examples of the desired task, in this case text paired with entity labels. The authors see the availability of a Slovak-specific starting point as evidence of interest in Slovak resources. They also stress the corresponding need for labeled material. Pretraining supplies a starting representation of Slovak text, while a recognition benchmark supplies examples of where a name begins and which category the task expects.

Few-shot methods offered another way to deal with the shortage. The paper discusses earlier work that turns a task into a cloze question, a text with a blank to fill, so it resembles an activity already encountered during pretraining. Pattern-Exploiting Training uses this idea for classification, and PETER adapts it to the problem of identifying names token by token. WikiGoldSK makes it possible to test this approach under a deliberate constraint on labeled examples and compare it with conventional training. The same collection can support both questions because its held-out test gives the approaches a common target, even when the training information differs.

### The method, step by step

#### Selecting and preparing the articles

The authors started from the `skwiki-20210701` dump of Slovak Wikipedia and sampled 412 articles. To qualify, an article had to have been last changed in 2021 and have a length between 500 and 5,000 characters. They give a reason for each end of this range. Very long articles can give disproportionate weight to their subject areas, while short articles often contain no name to annotate. The filters describe which part of Wikipedia was eligible for selection. The length criterion is about the articles themselves, before any decisions about the frequency of particular entity types.

The raw text was then segmented with the generic English spaCy tokenizer. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) establishes the units that can carry labels. A segmentation error at the edge of a name can make it difficult to express the desired boundary through labels on the available units. The authors went through the results manually and corrected problems specific to Slovak. The automatic tokenizer thus supplied a starting segmentation, with human review before the final data were assembled.

The overview below follows the dataset construction from the article selection through the benchmark split. The central decisions about meaning are made during annotation, after segmentation and after an automatic system has proposed labels.

How the authors built WikiGoldSK The steps in order.

The underlying articles came from Wikipedia under the Creative Commons Attribution-Share-Alike License 3.0. The paper states that the annotated collection is released under that license as well. The authors intended the resulting corpus to be available for research and commercial use and released the code and trained systems alongside it. Public access matters to the experiment because the benchmark is meant to be reused with its splits and labeling decisions intact.

#### Deciding what counts as a name

The four classes are Location, Person, Organization, and Miscellaneous. Each specifies both the kinds of expressions that qualify and, in some cases, the words to include when marking them. The [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) guidelines draw on the BSNLP 2017 shared task, with changes suited to the WikiGoldSK scheme. The distinction between the short category definitions and the fuller decisions in the annotation manual matters. An annotator can agree with another reader that a phrase names a museum and still need a rule for choosing between Organization and Location.

Person, abbreviated PER, includes names, surnames, and nicknames of living beings, with titles left outside the span. It also covers certain group names. The manual gives examples of people identified by nationality, residence in a city, or family membership. It distinguishes these from general adjectives. The adjective in the Slovak expression for a Roman soldier is outside the entity categories in that use. A possessive adjective formed from an individual’s name can count as Person. In the example of Peter’s suitcase, the form *Petrov* receives the PER label. The difference is between an ordinary description and a form that identifies a person by name.

Location, abbreviated LOC, includes territorial and geopolitical entities, such as a country, a city, or a region. Named rivers, parks, buildings, and bridges also qualify. The rule for streets illustrates what happens at a span boundary. The street name is part of the location, while the building number is outside the selected expression. The position of the building number next to the street name has no power to override that convention. A recognizer that tags the whole address would have included more text than the reference specifies for the street.

Organization, abbreviated ORG, covers companies, political parties, public bodies, educational or sporting organizations, and bands. A company name includes its legal suffix under the manual’s rule. The authors illustrate this with *ESET, spol. s r.o.*, where the suffix stays inside the same entity as the company name. This is the reverse boundary decision from the street example in one important respect. The legal designation belongs within the named span by convention, while the street’s building number falls outside it.

Museums, zoos, and theaters sit close to the boundary between Organization and Location. The authors prefer Organization for an institution of this kind because it has a role beyond its physical premises. If the sentence makes it clear that the referent is a building or site, Location is appropriate. The manual reports that the earlier BSNLP guidelines always treat these entities as locations. A type assignment can therefore depend on both the sentence’s meaning and the particular benchmark’s treatment of that meaning.

Miscellaneous, abbreviated MISC, covers named works and events such as films, awards, and festivals, and includes names of newspapers and broadcasting stations. The manual also places sporting series, cups, and leagues in this category. The inclusion of media outlets creates another difference from BSNLP2017. The authors note that the earlier guidelines are less explicit on this point, and that the relevant names in that corpus are largely marked as organizations. Miscellaneous has concrete boundaries in WikiGoldSK, even though its name might suggest a catchall for anything left over.

Two other rules address the relation between nearby or overlapping names. If an entity contains another entity, the annotators select the outer name. For the National Bank of Slovakia, the institution is the marked expression, and the name of the country inside it receives no separate overlapping span. A following abbreviation is handled differently. When the full name of the Office of Public Health is followed by its abbreviation, the manual treats the two mentions as separate organizations. The authoring decision turns on whether the text contains a name inside a larger name or a second expression that repeats the reference in abbreviated form.

#### From automatic suggestions to a human reference

The authors used Prodigy for the annotation. They preloaded suggestions from SlovakBERT after adapting it to the training portion of Slovak WikiANN. This use of WikiANN was upstream of the supervised comparisons in the paper. The silver data trained the system that suggested labels in the annotation interface. Native speakers then reviewed the article text and could correct those suggestions. Later, the experiment compared a system trained on silver labels with systems trained on the completed human-reviewed reference.

Three native speakers who were also authors took part. Two annotated the entire collection, and another corrected half of it. The presence of multiple readers gives the study a way to check whether the annotation system produces consistent decisions before the readers resolve ambiguities together. It also means that the final result comes from discussion as well as individual review. The paper describes resolving ambiguous cases collectively to obtain the version used in the benchmark.

For the two full annotators, the authors report a token-level Cohen’s kappa of 0.90. Kappa assesses agreement relative to the agreement expected by chance under its calculation. The paper also reports 0.81 for a restricted token comparison, describing the subset in terms of tokens both annotators agreed were outside a named entity. That wording offers too little detail to reconstruct how the restricted comparison produced the coefficient. The full token-level value has a clearly identified comparison. The authors interpret the reported coefficients as very strong agreement under the benchmark they cite.

After adjudication, the collection was divided in a 7:1:2 ratio for training, development, and testing. The training split supplies examples that can change the recognizer’s predictions. The development split is a separate part of the resource for decisions made during development. The test split provides a fixed set for reporting results. The paper states that fine-tuning uses the training portions of the named datasets and that the reported in-domain evaluation uses the WikiGoldSK test set. The distinction between the roles of the splits is especially important when the same benchmark supports both a full-data baseline and a deliberately small labeled sample.

#### Setting up the supervised comparisons

The conventional experiments adapt pretrained systems to entity labels with three toolkits. spaCy embeds the words and treats name recognition as structured prediction, where the output has a sequence structure. Trankit uses XLM-RoBERTa and supports fine-tuning on a custom labeled collection. The Transformers toolkit supplies scripts for adapting Transformer-based systems to named entity recognition. The shared prediction problem is to assign the entity labels that express the spans and types. The toolkits are distinct implementations of that work, which allows a comparison even when they start from the same pretrained architecture. [Transformers](https://md.research.elamur.ai/free/en/papers/wolf-2020-transformers-state-art-natural-language/)

The starting systems represent different approaches to pretraining. XLM-RoBERTa base uses text from 100 languages, Slovak among them. SlovakBERT is specific to Slovak and was pretrained on almost 20GB of Slovak text, including material from a crawl of the Slovak web. mDeBERTaV3 uses the same pretraining dataset as XLM-RoBERTa with a different training objective, which the paper describes as improving training efficiency and performance on various benchmarks. This selection gives the experiments a Slovak-specific system and multilingual alternatives. [Unsupervised cross-lingual representation learning at scale](https://md.research.elamur.ai/free/en/papers/conneau-2020-unsupervised-cross-lingual-representation-learning/) and [DeBERTaV3](https://md.research.elamur.ai/free/en/papers/he-2021-debertav3-improving-deberta-using-electra/)

spaCy and Transformers are each used with all three starting systems. The Trankit comparison uses XLM-RoBERTa. The authors train on WikiANN alone, on the combination of WikiANN and WikiGoldSK, or on WikiGoldSK alone, using the training portions. All three choices are tested against the WikiGoldSK reference, so the input to training changes while the main test collection stays fixed. A separate evaluation takes the WikiGoldSK-trained recognizers to the Slovak newswire articles in BSNLP2017.

#### Turning a token label into a blank to fill

The few-shot experiment has a different training path. PETER starts from the idea that a pretrained system can fill a blank in a natural-language sentence. It converts each entity-labeling decision into that format. Instead of predicting directly from a dedicated set of entity tags at the first stage, a system reads a sentence and an added phrase about a chosen token, then predicts a word at the blank. The procedure maps the prediction back to an entity class.

The paper calls the two parts of this conversion a pattern–verbalizer pair, or PVP. The pattern constructs the text containing the blank, which appears as the special token `[MASK]`. The verbalizer connects the tokens predicted in that position to the categories the recognizer uses. The pattern controls what the system is asked. The verbalizer controls how its proposed completion becomes a label. Together they make the fill-in-the-blank task serve the original goal of classifying a position in a sentence. [Exploiting cloze questions](https://md.research.elamur.ai/free/en/papers/schick-2021-exploiting-cloze-questions-few-shot/)

The paper represents each sentence-and-token input as follows.

```
x = (s, t)
```

Here `x` is the input for a single labeling decision. The equals sign defines it as the ordered pair inside the parentheses. The first component, `s`, is the sentence, and the second, `t`, is the token in that sentence whose label is to be predicted. The comma separates the two components. The same sentence can occur in many such inputs, with attention directed to a different token each time.

```
|s|
```

The vertical bars around `s` denote the number of tokens in the sentence. That is also the number of inputs constructed from a labeled sentence, since each token is selected in turn. The positions are separate prediction targets even when several of them ultimately belong to the same entity.

```
(x, y)
```

The parentheses and comma again indicate a pair. Here `x` is the sentence-and-token input just defined. The second component, `y`, is the reference label for the chosen token. The collection of these pairs gives the initial fine-tuning stage its labeled examples.

The patterns are indexed as `P₁((s, t))` and `P₂((s, t))` in the paper’s notation. In both expressions, `P` denotes the pattern operation, and each subscript identifies its version. The inner pair contains the sentence `s` and the target token `t`. The outer parentheses show that this pair is the input to the operation. Both versions keep the original sentence visible and add one masked position. The longer version refers back to the preceding sentence and asks for the kind of entity the specified word denotes. The shorter version puts the target in a direct statement whose predicate is the blank. Both prompts are written in Slovak.

The distinction between the prompts is concrete. The longer phrasing tells the system explicitly that it is being asked about entity type. The shorter phrasing gives it a more direct completion after the token. A useful prediction in either case still has to pass through the verbalizer. The paper uses both prompts in its experiments but gives no full verbalizer mapping in its procedure, so the exact completion vocabulary and its relationship to the output labels remain unspecified.

#### Using additional sentences and recovering boundaries

PETER begins with SlovakBERT and fine-tunes a separate instance, denoted `M` in the paper, for each pattern–verbalizer pair used. These adapted systems label an additional sample. The authors draw 1000 sentences from the WikiGoldSK training split and treat them as unlabeled for this stage. Their predictions form a soft-label dataset. A soft label conveys the predicted support for candidate labels, allowing the final classifier to learn from more than a hard decision that one category won. The classifier trained on this dataset is the one used for the resulting prediction task.

This arrangement gives the method a small source of explicit supervision and a larger source of training text whose labels come from the adapted predictors. Those sources play different roles. The labeled examples establish the task that each prompt should perform. The additional sentences give the system more contexts on which to make predictions and provide material for the final classifier. The study compares runs based on each prompt separately and runs using both. It reports the results of these settings without giving a full account of the rule for combining their soft predictions.

A final step is needed because predicting a type for each token does not always locate the boundaries between names. To make predictions comparable with the supervised baselines, the authors convert the results to IOB2. In this representation, `B-` indicates the beginning of a span and `I-` indicates a continuation. A token outside any name has an outside label. The conversion starts a span at the first token in a run of the same predicted entity type and continues it for the rest of that run.

For a stream in which a two-token organization name is followed by ordinary words, this rule supplies the expected beginning and continuation. Its assumption becomes visible when two names of the same type occur directly next to one another. The predicted types then form one uninterrupted run, and the heuristic yields a single entity across the original boundary. The paper explicitly identifies this weakness. The few-shot result consequently includes the performance of both the token-type predictions and the procedure that turns them into spans.

### Experiments and results

#### What the evaluation collections contain

WikiGoldSK contains 6,696 sentences and 128,944 tokens across its 412 Wikipedia articles. Its 70% training split accounts for 4,687 sentences and 90,616 tokens. The 10% development split contains 669 sentences and 12,794 tokens. The 20% test split has 1,340 sentences and 25,534 tokens. The authors compare the test portion with the English WikiGold benchmark, which has 1,696 sentences and 39,007 tokens, to place the size of the Slovak evaluation in context.

The category counts indicate how unevenly the test draws on the four definitions. Its reference labels include 958 locations, 549 people, 378 organizations, and 324 miscellaneous entities. The training counts follow the same order, with 3,040 locations, 1,892 people, 1,361 organizations, and 1,184 miscellaneous entities. A result aggregated over the dataset reflects that composition. It should be read alongside the counts if the question of interest concerns a less frequent category or a specific rule inside it.

The automatic WikiANN collection has 30,000 sentences and 263,516 tokens. It has no document-level split and supplies labels for location, person, and organization, with no MISC category. Its distribution across those shared categories has the same order as WikiGoldSK, with locations most common, people next, and organizations after them. The Slovak newswire set from BSNLP2017 contains 49 articles, 741 sentences, and 14,400 tokens. Organizations are more frequent there than people or locations. The authors suggest the differing source material as a possible explanation for the change in order. The statistics describe both a difference in how much text is available and a difference in what a recognizer encounters.

#### How the scores are read

The experiments report precision, recall, and F1. Precision measures the share of returned predictions judged correct against the reference. Recall measures how much of the reference the system recovers. A system can be cautious and return relatively few predictions, placing more weight on avoiding false identifications. It can also return more possibilities in an effort to recover more of the reference. Because it takes the harmonic mean of recall and precision, F1 drops when either metric is low. The paper presents aggregate scores for each run. Class-specific behavior and the causes of individual errors require more detailed measurements than those aggregate scores supply.

The in-domain comparison evaluates each toolkit and training-source combination on the WikiGoldSK test split. In that comparison, a difference between training sources is a difference in the resulting system’s performance against one human reference. The newswire evaluation has a separate role. It asks how the WikiGoldSK-trained systems perform on another Slovak collection, with both a new text source and some different labeling conventions. The scores can be interpreted as evidence about transfer between the two benchmarks, provided those conditions are kept in view.

#### Supervised training on silver and gold text

A direct way to read the training-source experiment is to follow the same toolkit and starting architecture across the three choices. The chart does this with Transformers and mDeBERTaV3, which produced the highest F1 on the WikiGoldSK test. Its performance increases when WikiGoldSK is added to the training material, and reaches its highest value when the training material is WikiGoldSK alone.

Training-source comparison for Transformers with mDeBERTaV3 on the WikiGoldSK test set The highest F1 comes from training on WikiGoldSK alone.

**The numbers**

| System or setting | F1 |
| --- | --- |
| WikiANN | 0.6056 |
| WikiANN plus WikiGoldSK | 0.8948 |
| WikiGoldSK (this paper) | 0.9357 |

Each training-source column also has its own strongest configuration. Among the systems trained on WikiANN alone, the best F1 on the WikiGoldSK test was 0.6648, from spaCy with mDeBERTaV3. Its precision was 0.5925 and its recall was 0.7572. For mixed training, the strongest F1 was 0.9113, achieved by Transformers with SlovakBERT, with precision of 0.9020 and recall of 0.9208. With WikiGoldSK alone, Transformers with mDeBERTaV3 was strongest. Its F1 of 0.9357 came with precision of 0.9302 and recall of 0.9412. The paper describes the separation between the best WikiANN-only and WikiGoldSK-only F1 scores as over 0.27.

The other systems adapted with Transformers also achieved high scores on the WikiGoldSK test when trained on its gold training split. XLM-RoBERTa reached 0.9274 F1, and SlovakBERT reached 0.9221. Within spaCy on the same split, mDeBERTaV3 reached 0.9159, XLM-RoBERTa reached 0.9049, and SlovakBERT reached 0.9004. Trankit with XLM-RoBERTa reached 0.8941. Pretraining specific to Slovak did not give SlovakBERT a consistent lead over the multilingual alternative. At the same time, its strong mixed-data result shows why architecture rankings need to specify which training material was used.

The training-source ordering holds across the reported rows on the WikiGoldSK test. Combining the datasets improves on using only WikiANN. Using the WikiGoldSK training split by itself gives a higher F1 than the reported combined setup. This is the outcome behind the authors’ advice against pooling the collections when the goal is the best score in this experiment. The result is especially striking because WikiANN supplies more sentences. The two sources also differ in label inventory and how the labels were made, so the comparison is an assessment of the actual training choices available to the study.

#### Testing the supervised systems on Slovak newswire

The BSNLP2017 evaluation uses the recognizers trained on WikiGoldSK. The strongest F1 there is 0.8085 for Transformers with SlovakBERT, whose precision is 0.7900 and recall is 0.8278. With the same toolkit, mDeBERTaV3 reaches 0.8049 F1 and XLM-RoBERTa reaches 0.7986. The mDeBERTaV3 run has recall of 0.8322 and precision of 0.7793. SlovakBERT’s lead in F1 in this toolkit comes with higher precision and lower recall than mDeBERTaV3.

The other implementations are competitive on this test. spaCy with mDeBERTaV3 reaches 0.8073 F1, and Trankit with XLM-RoBERTa reaches 0.8063. The spaCy run with SlovakBERT reaches 0.7436, so the strongest newswire result for that pretrained starting point depends on the implementation. The paper describes mDeBERTaV3 and SlovakBERT as performing comparably on the newswire data. The scores also show that a configuration’s position on the WikiGoldSK test does not determine its position on BSNLP2017.

The separate newswire evaluation gives a reader a second baseline for future work on Slovak text. It also changes the meaning of any explanation for the score shift. Wikipedia and newswire can contain different kinds of names or use them in different contexts. The annotation manuals differ on some category boundaries as well. A predictor following the WikiGoldSK convention for institutional names may disagree with BSNLP2017 even when the text refers to an entity the predictor has correctly located. The aggregate test cannot separate those causes.

#### Few-shot performance on WikiGoldSK

The PETER experiments report settings of 10, 30, and 50 shots. At each setting, the authors compare the longer prompt, the shorter prompt, and the configuration using both. The chart follows the combined configuration across the three labeled-data settings on WikiGoldSK.

Combined PETER prompts across shot settings on the WikiGoldSK test set F1 rises across the reported shot settings for the combined prompts.

**The numbers**

| System or setting | F1 |
| --- | --- |
| Combined prompts, 10 shots | 0.5329 |
| Combined prompts, 30 shots | 0.5397 |
| Combined prompts, 50 shots (this paper) | 0.5845 |

At 10 shots, the combined system achieves precision of 0.4834, recall of 0.5937, and F1 of 0.5329. The shorter prompt alone has higher recall, at 0.6163, and lower precision, at 0.4320, yielding 0.5079 F1. The longer prompt alone yields 0.4720 F1. This is a setting where the combination’s improvement in precision is important to its aggregate lead. Its recall falls between the standalone results.

At 30 shots, the shorter prompt has the best F1, at 0.5602, with precision of 0.4921 and recall of 0.6502. The combined run yields 0.5397 F1, while the longer prompt gives 0.5353. At 50 shots, the combined run gives the best F1 in the table, at 0.5845, with precision of 0.5321 and recall of 0.6484. The shorter prompt has the highest recall at this setting, 0.6688, and achieves 0.5749 F1. The longer prompt reaches 0.5645 F1.

The strongest few-shot result of 0.5845 F1 is below the supervised baselines trained on silver data alone. Even the lowest reported WikiANN-only F1, 0.6056 from Transformers with mDeBERTaV3, is higher on the WikiGoldSK test. This comparison expresses the practical outcome of the paper’s low-label experiment. A small gold sample, prompts, and predictions on additional in-domain sentences did not bring this PETER implementation up to the systems trained conventionally on the larger silver collection. The methods in that comparison received different amounts and kinds of labeled evidence, which is part of the experimental question.

### What the ablations show

The paper has no dedicated component ablation. It offers controlled comparisons of training sources, toolkits, pretrained starting points, prompt settings, and shot counts, along with an evaluation on another corpus. Some of those contrasts keep nearly everything fixed except the setting under study. Others change several conditions together. These differences determine how far an explanation can go.

#### What changes when the training labels change

Within a row of the supervised results, the toolkit and pretrained system stay the same as the source of annotated training text changes. Within the in-domain part of that comparison, the test also stays the same. That structure makes the influence of training setup visible without having to compare different architectures. For instance, the chart follows one mDeBERTaV3 implementation through all three sources. The ordering also appears with the other implementations in the paper, so it persists across more than the configuration that set the strongest baseline.

The addition of WikiGoldSK to WikiANN gives higher F1 than WikiANN alone in every reported row. The comparison in the other direction is equally useful. Adding WikiANN to WikiGoldSK lowers F1 relative to WikiGoldSK alone in the tested setup. Those observations answer two separate questions about the training sources. The first is whether the combined training can improve on a system starting with silver labels. The second is whether pooling that material improves on a system that already has the gold split. They lead to different decisions for a researcher with the same collections available.

The experiment changes more than annotator involvement. WikiANN uses fewer categories and consists of a different selection of Wikipedia sentences. Its labels follow an automatic procedure, and the shared classes need not have precisely the same annotation decisions in every case. There is no condition in which exactly the same training sentences are labeled both ways and then used in equal amounts. Thus the data-source result shows that the WikiGoldSK training split is more effective for the WikiGoldSK test under the reported configurations. The separate contributions of label quality, task coverage, text selection, and correspondence to the test scheme remain open.

#### What the toolkit and pretraining comparisons establish

The comparisons with XLM-RoBERTa are useful because all three toolkits run it. When trained on WikiGoldSK and evaluated on its test split, the Transformers implementation achieves 0.9274 F1, spaCy achieves 0.9049, and Trankit achieves 0.8941. When trained on WikiANN alone, the Trankit implementation reaches 0.6533 F1 on the same test, above the XLM-RoBERTa results from spaCy and Transformers in that condition. The authors describe Trankit as generally weaker, and the individual comparisons show where that characterization holds and where it depends on the training labels.

For comparisons of pretrained starting points, the toolkits with all three options allow researchers to hold the implementation family fixed. In Transformers, mDeBERTaV3 leads on the gold-only WikiGoldSK setting. The mixed setting favors SlovakBERT in the same toolkit, and their ordering on BSNLP2017 also favors SlovakBERT. The results support the paper’s characterization of XLM-RoBERTa as a competitive baseline in spite of its multilingual training. They also show that choosing a starting system based simply on whether it is Slovak-specific would miss the effects of the toolkit and training corpus.

These comparisons evaluate complete configurations. The different starting systems come with different pretraining choices, and the toolkit runs use their respective training procedures. The paper notes an objective difference between mDeBERTaV3 and XLM-RoBERTa, for instance, but does not rerun the same starting architecture under different objectives as part of the Slovak study. The relative scores can guide the choice of a baseline, while the cause of a particular architecture’s advantage remains less well isolated.

#### Why the two prompts need to be compared at each shot setting

The prompt comparison is close to a component test. The PETER framework and SlovakBERT starting point are shared, while the run uses the longer pattern, the shorter pattern, or both. The general statement in the paper that combining the prompts improves the results is borne out by the F1 entries at 10 and 50 shots. The table shows an exception at 30 shots, where the shorter prompt on its own achieves 0.5602 F1 and the combination achieves 0.5397. The data support reporting the benefit with its shot setting.

The precision and recall columns clarify why a prompt can be best on one score and lose on another. The shorter prompt has the highest recall at every reported shot setting, while the combined configuration has the highest F1 in the settings where its extra precision compensates for reduced recall. At 50 shots, the short prompt’s recall is 0.6688 and the combined run’s recall is 0.6484. Their precision values are 0.5041 and 0.5321, respectively. At 30 shots, the shorter prompt has higher precision and recall than the combination, so there is no such tradeoff in favor of combining them at that setting.

Increasing the shot count is associated with higher F1 for each prompt choice in the reported runs. The per-metric values qualify that observation. For the shorter prompt, recall increases across the listed settings, while the longer prompt’s precision and recall show their own trajectories. The experiment gives observed scores for the tested label budgets. It does not report variation across alternative labeled samples or independent runs, so it leaves the stability of those trajectories unanswered. The pattern-level comparison can show which setting ended up ahead in the table without establishing which phrasing will win whenever a fresh few-shot sample is drawn.

#### What the newswire and boundary checks add

The newswire scores provide an evaluation on a new corpus for systems trained on WikiGoldSK. Their ranking differs from the in-domain ranking, and the reported F1 values are lower than those the same gold-trained configurations attain on the WikiGoldSK test. The corpus comparison gives a measure of how far the trained recognizers carry over with their existing task definitions. Since changes in genre and annotation come together, the evaluation does not estimate a separate penalty for either one.

The few-shot boundary issue offers an explanation for a particular kind of error. When adjacent names of the same type have been reduced to a run of undifferentiated type labels, the IOB2 conversion has no break to act on. Even correct type predictions for every token in the run can produce the wrong span output. This is a property of the stated heuristic, rather than an empirical count of how many errors the heuristic makes. The authors provide no alternate run using a different boundary decoder, so the reader can identify the failure case without assigning it a share of the few-shot performance gap.

### Limitations

#### Limits the authors state

The authors describe WikiGoldSK as the largest manually labeled Slovak named entity collection then available, while also stressing its modest scale compared with prominent benchmarks. They characterize its size as approximately 10 thousand labeled entities. They report 35 thousand labeled entities each for CoNLL-2003 and Czech Named Entity Corpus 2.0. WikiGoldSK gives Slovak researchers enough material to train and evaluate within the same resource, but the comparison puts the amount of supervision in perspective. In particular, broad categories can contain many difficult subcases that occur infrequently even in a collection of this size.

The authors also limit their few-shot conclusion to the experiment they carried out. They tested Slovak and WikiGoldSK, with PETER using SlovakBERT and the stated prompt configurations. The performance gap gives evidence about this setup. Its size and direction in another language, collection, or approach to few-shot recognition remain undetermined. The intended goal of the benchmark is to make further comparisons possible under a common reference, including comparisons with methods beyond those included here.

The appendix explicitly identifies a limitation of the PETER output conversion. Consecutive names of the same class can be merged by the heuristic for generating IOB2 boundaries. The paper describes the mechanism of the error and leaves its measured frequency open. Its effect on the overall score would depend on the prevalence of such cases and on the preceding token-type predictions.

#### Limits visible in the design

WikiGoldSK reflects a selection of articles within a specified length range and with recent changes as defined by the 2021 filter. The rationale is to avoid some pitfalls of very short or long articles. Those decisions also define the source population. The set gives direct evidence about recognizing names in material sampled under those conditions. Evidence about substantially different text would require a separate evaluation. The single newswire collection supplies one such check and introduces different annotation conventions at the same time.

The annotators began with labels proposed by a system trained on WikiANN. Human review and adjudication make the released labels a different resource from the suggestions, but the annotation design leaves the effect of those suggestions unmeasured. A second pass begun from unmarked articles would have supplied a comparison for that question. With the reported design, the token-level kappa chiefly supports consistency of the full annotators under the workflow they used. It does not identify how much that consistency owes to shared guidelines, shared initial suggestions, or independent agreement after reading the text. The paper’s brief description of the restricted kappa likewise gives insufficient detail to interpret it as an agreement measure for any particular name category.

The WikiANN comparison should also be read in light of the gold task definition. A recognizer trained only on WikiANN starts with examples from three categories, whereas the human test reference includes Miscellaneous. The paper does not present a parallel score restricted to the categories shared by both collections or fully describe the handling of this mismatch in the result table. Nor does it give a matched-size experiment designed to isolate the value of the human review. A conclusion about which training configuration works best on the reference is direct. A claim about how much of the difference comes from annotation accuracy alone would require a different control.

The aggregate look at precision, recall, and F1 also leaves finer questions unresolved. The annotation manual identifies difficult decisions around legal suffixes, nested names, and institutions that can be classified as places. There is no separate reported score for any of those cases. One therefore cannot tell from the headline number whether the strongest recognizer succeeds across them or gets much of its performance from more frequent patterns. The authors’ manual is valuable in this respect because it defines concrete cases that can be examined later, even though the first baseline table does not examine them individually.

For PETER, the paper identifies the shot settings and the source of the extra sentences, but does not spell out how shots were counted and selected across categories. It also gives no uncertainty estimates for the relative rankings of the prompts. The observed 30-shot preference for the shorter pattern is clear in the table. Whether its advantage is robust over different sets of examples is an unanswered experimental question. This matters when evidence from very little labeled training text is used to choose between two slightly different procedures.

Finally, the comparison between full supervised learning and PETER bundles together several differences. The supervised systems can use many labels directly. PETER starts with a limited number, uses prompt-derived soft labels, and converts predicted types into spans with a heuristic. The paper does not run a conventional supervised baseline on the identical few-shot sample, isolate the effect of the additional unlabeled sentences, or replace the conversion rule to test its contribution. The measured outcome answers which complete systems perform better under the options tried. It leaves room for a closer comparison of learning methods at the same labeled-data budget.

### What came after

The authors released WikiGoldSK to support subsequent training and evaluation of Slovak name recognition. The paired Wikipedia and newswire baselines give later evaluations two documented points of comparison, and the few-shot runs record what PETER achieved with the authors’ chosen prompts and label budgets. No later citing study is identified that documents a reuse of the dataset, the annotation guidelines, or these experimental baselines.

## Cite

Cite as David Suba, Marek Suppa, Jozef Kubik, Endre Hamerlik and Martin Takac. 2023. WikiGoldSK: Annotated Dataset, Baselines and Few-Shot Learning Experiments for Slovak Named Entity Recognition. Proceedings of the 9th Workshop on Slavic Natural Language Processing 2023 (SlavicNLP 2023).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2023.bsnlp-1.16](https://doi.org/10.18653/v1/2023.bsnlp-1.16)

```bibtex
@inproceedings{suba2023wikigoldsk,
  title = {{WikiGoldSK: Annotated Dataset, Baselines and Few-Shot Learning Experiments for Slovak Named Entity Recognition}},
  author = {David Suba, Marek Suppa, Jozef Kubik, Endre Hamerlik and Martin Takac},
  booktitle = {Proceedings of the 9th Workshop on Slavic Natural Language Processing 2023 (SlavicNLP 2023)},
  year = {2023},
  doi = {10.18653/v1/2023.bsnlp-1.16},
  url = {https://doi.org/10.18653/v1/2023.bsnlp-1.16}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
