---
title: "Improving Named Entity Recognition for Low-Resource"
description: "A Ukrainian named entity recognition study compares trained encoders, prompted language models, and supervised tuning on the NER-UK…"
canonical: "https://research.elamur.ai/free/en/papers/radchenko-2025-improving-named-entity-recognition-low/"
---
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/radchenko-2025-improving-named-entity-recognition-low/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Improving Named Entity Recognition for Low-Resource Languages Using Large Language Models: A Ukrainian Case Study

# Improving Named Entity Recognition for Low-Resource Languages Using Large Language Models: A Ukrainian Case Study

Paper · 2025 · Vladyslav Radchenko and Nazarii Drushchak

**Authors:** Vladyslav Radchenko and Nazarii Drushchak · **Year:** 2025 · **Venue:** Proceedings of the Fourth Ukrainian Natural Language Processing Workshop (UNLP 2025) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the Fourth Ukrainian Natural Language Processing Workshop (UNLP 2025) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.unlp-1.3/)
- [PDF](https://aclanthology.org/2025.unlp-1.3.pdf)
- [DOI 10.18653/v1/2025.unlp-1.3](https://doi.org/10.18653/v1/2025.unlp-1.3)

## Summary

Finding a name in Ukrainian text means finding the words the writer actually used. The same name can take different grammatical forms, and a recognizer has to mark where each occurrence begins and ends as well as decide what it denotes. Those decisions matter when a document is searched for facts, used to answer a question, or checked for information that needs to be removed. The paper asks how much [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/) can be done from instructions and a few demonstrations, and how that approach compares with recognizers trained on labeled Ukrainian text.

The authors use NER-UK 2.0, which they identify as the largest public collection of manually labeled Ukrainian text for this task. Its 560 texts contain 21,993 annotated mentions belonging to 13 categories. The study trains dedicated encoders in spaCy and tests generators with instructions alone, instructions accompanied by examples, and prompts that ask for intermediate reasoning. Selected generators also undergo supervised training with LoRA adapters. The authors score prompted answers at successive stages. Bronze evaluates the answer as returned. Silver removes unsupported candidates and tries to match imperfectly copied mentions to the source. Gold adds rules that screen out candidates such as pronouns labeled as people.

On NER-UK 2.0, the trained roberta-large-NER achieves the highest overall entity-level F1, at 0.890. Supervised adaptation brings Gemma-3-27B-IT to 0.888, with greater computational demands and an uneven record on scarce categories such as TIME, MISC, and DOC. In the main comparison, GPT-4o scores 0.724 with instructions alone, Gemma-3-27B-IT scores 0.712 with examples, and the generalist recognizer GLiNER reaches 0.670 without Ukrainian task training. Demonstrations help many of the tested generators, while requests for intermediate reasoning give mixed results. Processing the returned mentions can materially change both the score and the ordering of prompt settings.

For this benchmark, the dedicated encoder combines the best reported recognition score with the more economical supervised approach described by the authors. Prompting gives a usable route when labeled examples are scarce, and supervised adaptation can bring a generator into the same performance range as the leading encoders. The authors make their experiments and prompt templates available in the NER-Ukrainian-LLMs repository. They also propose applying the strongest recognizer to social media material from UberText 2.0 to produce a new collection of automatically labeled Ukrainian text.

## Deep dive: Improving Named Entity Recognition for Low-Resource Languages Using Large Language Models: A Ukrainian Case Study

How a Ukrainian named entity recognition study compares trained encoders, prompted generators, and supervised adaptation on NER-UK 2.0. · about 33 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

#### An entity is a passage of text as well as a category

An entity recognizer supplies two pieces of information about a mention. It identifies the stretch of the document that contains it, and it assigns a category to that stretch. A phrase can contain a recognizable organization name while also including nearby words that belong outside the annotation. A prediction that extends through those words can convey the right general meaning to a reader while giving the wrong span to a program. A prediction can also select the right passage and assign it the wrong category. Separating these decisions explains why the authors judge the complete typed mention.

Different applications put different demands on those decisions. An extraction system can use a recognized organization as the starting point for finding facts about it. A question-answering system can use a category to find plausible answers of the requested kind. An anonymization procedure needs the occurrence in the document so it can determine what to remove. The authors mention healthcare, legal documents, and finance as settings where recognition can support privacy-sensitive work. Their experiment examines the underlying extraction task on Ukrainian annotations. [Information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/) · [Question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/)

Ukrainian makes the difference between a familiar name and its local wording especially important. Inflection changes the form that a name takes in a sentence. Someone familiar with the name may recognize it immediately and still give its usual form when asked to list the names in the passage. For span extraction, the relevant form is the one occurring in that particular passage. Flexible word order adds a separate difficulty. A useful clue to an entity’s role may occur in a position that a recognizer cannot anticipate from a fixed sequence of words. The authors point to both properties in explaining why techniques developed with other languages need to be tested on Ukrainian. [Morphology](https://md.research.elamur.ai/free/en/concepts/morphology/)

The inventory of labels supplies another part of the problem. A person and an organization are familiar categories, but the Ukrainian benchmark also distinguishes such types as dates, times, and document mentions. Recognition involves learning the level of detail expected by the annotation. A reader may understand that a passage refers to a document while finding several plausible places to start or stop marking its title. A benchmark makes one of those readings the reference for comparison. When examples of a category are scarce, both the linguistic variation and the annotation convention can be hard to learn from the examples available.

#### How earlier approaches obtained their evidence

The authors begin their account of earlier work with systems built from dictionaries, regular expressions, and handwritten rules. A rule can work well in a text whose format regularly signals where a name appears. A dictionary can supply evidence when the same name occurs in a familiar form. Extending those methods across domains and languages frequently requires further manual work because the available names and patterns change. In the paper’s account, this limited the flexibility of early rule-based recognition.

Feature-based statistical approaches moved part of the work into an estimation procedure. The paper gives conditional random fields and support vector machines as examples. Developers could describe linguistic features and use labeled text to learn which combinations predicted an entity. This reduced the burden of writing individual extraction rules. A supply of annotations remained necessary for learning the relationship between those features and the desired boundaries and types.

Recurrent networks, including long short-term memory networks, subsequently learned useful features from text. The authors then describe the shift to encoders based on attention. An encoder of this kind represents each part of an input in relation to other parts of the same input. The surrounding words can therefore contribute evidence about whether a phrase is a name, how far it extends, and which type fits it. The paper cites BERT as an influential example and emphasizes continued dependence on suitable data for generalization across linguistic settings. [Transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/) · [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/) · [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/)

The scarcity of task-specific Ukrainian labels motivated several other responses in the literature the authors review. Transfer learning tries to reuse what a system has acquired from other languages or sources. Data augmentation expands the material available for learning. Active learning directs annotation towards selected items. Prompting moves some task specification into the request itself. These strategies address different bottlenecks. Reusing a pretrained representation can reduce the amount of Ukrainian text needed to learn useful language features, while labeled Ukrainian instances can still be important for communicating what the benchmark means by a particular span or type. [Low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/) · [Multilingual & cross-lingual NLP](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/)

There is a connection between the earlier rule-based approaches and the experiment even though the main recognition mechanisms have changed. The paper’s rules act late. They screen output proposed by a system that has already examined the whole input. A capitalization rule can reject a questionable person prediction without serving as the main means of finding people in documents. The historical contrast helps explain the role of the filters in the experiment. The trained system provides the candidates, and a small amount of explicit linguistic information can still affect which candidates are usable.

#### What the available Ukrainian corpora cover

The authors distinguish the available resources by how the labels were obtained, what types they cover, and what text genres they represent. They discuss a Ukrainian news annotation effort whose material was unavailable publicly. Work of that kind can demonstrate an annotation approach while being difficult to reuse for a common benchmark. The paper also describes automatically labeled collections such as POLYGLOT-NER, WikiANN, and Ukr-Synth. These broaden the material available to researchers, with limits on their label inventories and human verification. [Cross-lingual Name Tagging and Linking](https://md.research.elamur.ai/free/en/papers/pan-2017-cross-lingual-name-tagging-linking/)

SlavNER contains human-annotated Ukrainian material. Its coverage is restricted to five entity types and texts derived from Wikipedia. This illustrates a different tradeoff. The way labels are produced affects the value of a corpus as a reference, while the origin of its documents affects the range of writing it can represent. A manually marked example of a name in an encyclopedia article can be useful even when the intended application is different. Its relevance to a difficult mention in a contract or informal message still depends on which linguistic and annotation properties the two examples share.

NER-UK 2.0 gives the study a broad public reference with one annotation scheme. This matters when the same extraction task is approached through token tagging, instructions, demonstrations, or supervised generation. If each approach were evaluated on its own resource, a score could move because the genre or inventory had changed. Holding the reference corpus fixed makes it possible to compare what the approaches deliver under their different supervision requirements. The selected collection also retains the scarcity and unevenness that motivate the work. A wide inventory provides more distinctions to learn even when some of those distinctions have few examples. [Linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) · [Evaluation & benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/)

#### Why generation was worth testing

The paper’s account of prompted recognition starts from large-scale pretraining. A generator may have acquired enough linguistic and contextual information to understand an extraction instruction before it has received any training specific to the Ukrainian benchmark. In zero-shot prompting, the request describes the task and supplies the text to analyze. Few-shot prompting adds labeled demonstrations. The demonstrations can show how to give an answer as well as which expressions qualify for a label. The same short example can communicate both requirements because it pairs an input with the form of its expected output. [Few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/) · [Language Models Are Few-Shot Learners](https://md.research.elamur.ai/free/en/papers/brown-2020-language-models-few-shot-learners/)

The authors point to GPT-NER and PromptNER as precedents for using prompts in entity extraction. They also discuss prior instruction tuning and prompted or supervised approaches to specialized recognition, including biomedical applications. This earlier work makes Ukrainian NER a specific test of a broader possibility. Whatever was learned before the experiment has to be expressed in the form required by Ukrainian text and by the chosen benchmark. Access to a system through a proprietary service and availability of an open alternative also matter to the authors, who want to compare what each can deliver in a low-resource setting. [GPT-NER](https://md.research.elamur.ai/free/en/papers/wang-2025-gpt-ner-named-entity-recognition/)

The paper adds a condition that requests intermediate reasoning, an approach commonly called chain-of-thought prompting. The premise is that a request to work through intermediate decisions may help the generator arrive at a better final answer. Recognition makes the requirement unusually concrete. Any benefit has to reach the selected words and their category. An explanation can identify the kind of expression under discussion and still lead to the wrong boundaries. The prompt comparison asks whether the intervention improves the resulting mentions. [Chain-of-thought prompting](https://md.research.elamur.ai/free/en/papers/wei-2022-chain-thought-prompting-elicits-reasoning/)

Generation also creates a measurement problem that is less visible when a recognizer assigns tags directly to the input. A generated answer is a new piece of text. It may refer correctly to something in the document while changing its inflection or leaving its location ambiguous. It may also include a plausible expression unsupported by the source. The authors respond by testing the raw predictions and then measuring what source alignment and explicit filtering contribute. This makes output handling part of the comparison between practical extraction approaches.

### The method, step by step

#### Define the target in the source document

Each branch of the study aims to recover the same kind of answer from a Ukrainian passage. The answer identifies the location of a mention and its category. The reference annotations use the Inside-Outside-Beginning scheme, known as IOB. An outside tag marks material beyond the annotated mentions. A beginning tag signals the start of a mention, and an inside tag continues it. The entity category specifies the kind of mention those positions form. The beginning distinction lets consecutive mentions of the same type remain separate where the annotation calls for it.

This representation gives a precise meaning to a boundary mistake. If the annotation includes a qualifying word within an organization name and the prediction begins farther along, the two spans differ even though they share words and a label. The same principle applies when the recognizer extends a mention into surrounding text. Entity-level scoring judges what those tags form as a unit. Recovering individual words inside the unit can be a step toward finding the name, but the benchmark question is whether the recognizer found the complete typed expression.

The authors give the systems several ways to get to that target. A supervised encoder learns from annotated Ukrainian examples. A pretrained generator can be asked to perform the task directly, or first adapted using labeled training data. A generalist recognizer supplies a further route with no training on the target task for its zero-shot comparison. The branches share the evaluation target. The staged processing in the diagram follows the route used to examine returned candidate entities.

From Ukrainian annotations to comparable mention predictions The steps in order.

#### Fit encoders to Ukrainian annotations

The authors train the supervised encoder recognizers through spaCy. A pretrained encoder already has representations of text. During [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/), the Ukrainian examples provide a supervised signal about the spans and categories to predict. The procedure can draw on recurring contexts across the training data. It can also learn the benchmark’s decisions about what to include in a span, which may be difficult to infer from the name of a label alone.

The comparison includes different pretrained starting points. The multilingual xlm-roberta-large represents an approach in which language representations are learned across languages and adapted to the target task. Modern-BERT-large represents another encoder family. The study also evaluates roberta-large-NER and a supervised version of gliner-multi-v2.1. Varying these starting points provides a more informative supervised reference than selecting a single encoder and treating it as representative of all direct recognition systems. [Unsupervised Cross-lingual Representation Learning at Scale](https://md.research.elamur.ai/free/en/papers/conneau-2020-unsupervised-cross-lingual-representation-learning/) · [ModernBERT](https://md.research.elamur.ai/free/en/papers/warner-2024-smarter-better-faster-longer-modern/) · [GLiNER](https://md.research.elamur.ai/free/en/papers/zaratiana-2024-gliner-generalist-model-named-entity/)

The authors also revisit the released uk-ner-web-trf-13class recognizer. Choosing a checkpoint means choosing which saved state of training to retain for evaluation. The earlier release used the test set to make this choice. That allows the evaluation examples to influence which trained recognizer is reported. In the new comparison, the authors retrain the system with a proper validation setup for selection. The corrected run belongs alongside the other supervised encoders because its test result is evaluated under the intended separation between selection and measurement.

An encoder trained on NER-UK 2.0 has two kinds of evidence at its disposal. Its pretrained representations help it make sense of the text, and the annotated examples show it which interpretations should become predictions. The dedicated training run is therefore a strong reference for what can be achieved when Ukrainian labels are available. The zero-shot generalist comparison asks how much of the same work a ready-made recognizer can do with a smaller preparation requirement.

#### Give generators three ways to read the task

For the prompting experiments, the authors select strong open systems from the Hugging Face Open LLM Leaderboard and include proprietary access through an API. The methods describe the open selection as limited to 27 billion parameters for computational reasons. The size inventory reports 27.4B for Gemma-3-27B-IT and 27.2B for Gemma-2-27B-IT, which gives the actual scale of the largest listed open entries. The prompting setup uses vLLM for decoding returned answers.

At inference, the zero-shot condition supplies natural-language instructions and the passage. The generator can draw on pretraining and instruction-following experience when deciding what to return. The “zero” refers to labeled demonstrations in the request. It leaves room for the instruction itself to give substantial information about the task. This matters when comparing zero-shot use with a generalist recognizer, which also receives a task to perform even though its interface and way of returning results differ from a generator’s.

The few-shot condition gives the generator worked examples as part of the request. Demonstrations make it possible to show an answer in the desired form, including which material is selected and how it is categorized. Their contribution can therefore occur at several points. They may lead to a better category decision, help the response preserve the wording of a mention, or make the returned candidates easier to interpret. The experiment measures what the complete few-shot configuration delivers on the same recognition task as the instruction-only condition.

The chain-of-thought condition asks the generator to work through intermediate reasoning. In this branch, the requested intermediate work is an intervention on how the answer is elicited. The final extraction remains the scored object. A shift in F1 can show that the reasoning request changed the usable predictions. It leaves open what the intermediate text contributed to an individual prediction or whether the generator would have made the same decision under a differently worded request.

These settings are lightweight in task-specific training terms. The authors can change what the generator sees in the request while keeping the underlying system fixed. This makes a comparison within the same generator informative. A comparison between different generators is broader, since those systems also differ in pretraining, architecture, and how they respond to instructions. The released prompt templates in NER-Ukrainian-LLMs are part of the experimental specification because the observed scores attach to the formulations the authors actually used.

#### Adapt selected generators with supervision

In the supervised generative branch, annotated examples influence training. A generator sees the extraction task paired with the response it is expected to produce. Across training examples it can adapt to the Ukrainian data and the conventions of the task. This differs from relying on demonstrations at the moment of inference, where the examples contribute through the current request. Both branches still produce generated responses, so the trained generator remains a different route to the answer from an encoder that predicts over the input positions.

The authors train through Unsloth using LoRA adapters and perform inference with Transformers. LoRA is a parameter-efficient way to adapt a pretrained system. It places the trainable updates in smaller components associated with existing weights. This reduces how much must be trained. The underlying generator is still used to produce the answer, so efficient adaptation and efficient inference are distinct considerations. The supervised run can be practical to adapt with LoRA while remaining comparatively demanding to use as a generator. [Efficient models & compression](https://md.research.elamur.ai/free/en/topics/efficient-models/)

The adjustable rank, written `r` in the appendix, determines the flexibility available to the adapter updates. A larger rank allows the adapter to express a wider range of changes. Whether that extra flexibility helps depends on what can be learned from the training examples. The authors compare `r=16`, `r=32`, and `r=64` in a setting they call 80% Data. They use limited hyper-parameter tuning for the supervised runs. The rank appendix accordingly examines a specific choice inside the adaptation procedure, while the final supervised comparison shows the performance of the resulting selected configurations.

The supervised branch also gives the authors a way to study the full label inventory under stronger task-specific supervision. Prompting may recover common categories from familiar cues with relatively little information about the benchmark. Annotated training examples offer more direct evidence about labels such as DOC and MISC. The useful question is how far that evidence carries the trained generator on each label. This is why the paper includes a category breakdown alongside the overall score.

#### Map generated wording back to the input

At Bronze, the authors evaluate output before validation or cleaning. A Bronze score reflects a system’s ability to deliver an immediately usable prediction under the study’s scoring setup. If a generated name has different wording from the passage, the answer may remain intelligible while failing to identify the annotated span. If the response supplies an entity whose expression cannot be supported by the text, the raw prediction also carries that error into the score.

Silver adds cleaning. The authors describe removing unsupported entities and using character-level similarity to match noisy candidates to valid input spans. The idea is that a prediction can preserve much of a name’s spelling while varying its form. Comparing local sequences of characters gives the procedure evidence of that connection. Through alignment, the form returned by the generator can lead to the form written in the document. In terms of the extraction task, that can turn an approximate response into a candidate at the right source location. [N-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/)

The paper identifies the matching measure as cosine similarity over character n-grams. Its conventional expression makes clear what kind of evidence the alignment uses.

```
cos(u, v) = (u · v) ÷ (‖u‖ × ‖v‖)
```

Here `u` represents the character n-gram features of the returned mention and `v` represents those of a candidate span. `cos(u, v)` is their cosine similarity, and the comma separates the two arguments. The equals sign defines the value. The dot in `u · v` is a dot product over the corresponding features. The doubled bars in `‖u‖` and `‖v‖` give the respective vector lengths. The multiplication sign forms the product of those lengths, and the division sign scales the dot product by that product. Parentheses group the operations on each side of the division.

The similarity calculation describes overlap in written form. Which source spans are considered and when an alignment is accepted are additional implementation decisions. An overlap score also gives evidence about spelling rather than the annotation category of the matched phrase. A candidate can be well aligned and still be tagged as the wrong kind of entity. By reporting Silver separately, the authors can examine the effect of cleaning and alignment before adding rules about which predictions to keep.

#### Screen candidates and score complete mentions

Gold adds explicit constraints to the processing chain. The examples given in the paper concern predicted people. A candidate can be rejected if it starts with a lower-case letter or if it is a pronoun. The pronoun rule relies on grammatical tags produced by Stanza. This introduces different evidence from character similarity. Alignment asks whether the returned form can be grounded in the wording of the source. The rules examine whether a grounded candidate is plausible for its assigned type under the benchmark procedure. [Part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/)

The stage names describe what has been done to the predictions. Human annotations serve as the reference throughout. Gold is therefore the final processed output condition in this experiment. The authors’ proposed silver-standard data resource uses a related term for a different property, namely the automatic origin of the labels. Keeping the reference and the prediction stage straight makes the stage comparisons interpretable. The experiment can hold the human labels fixed and ask how much the system’s score changes as its output is processed.

The main measure is entity-level F1. Precision is the share of returned mentions that match the reference as typed entities. Recall is the share of reference mentions that the recognizer recovers. A procedure that proposes more spans may recover some entities while also adding bad candidates. One that removes candidates can discard errors or lose genuine mentions. F1 summarizes the balance between precision and recall. The conventional expression for the score is:

```
F₁ = (2 × P × R) ÷ (P + R)
```

`F₁` denotes F1, with the subscript identifying the version of the F measure that weights precision and recall equally. `P` is precision and `R` is recall at the level of complete mentions. The equals sign defines the score and `2` is the factor in the harmonic mean. The multiplication signs form the scaled product of precision and recall. The plus sign forms their sum, and the division sign divides the numerator by that sum. Parentheses identify the numerator and denominator.

The reported overall score places the systems on one benchmark comparison. Scores for the individual categories show which parts of the recognition task contribute to that performance. The staged appendices give a further view for prompting and the zero-shot generalists. They make it possible to compare alternative ways of eliciting predictions and alternative amounts of processing under a fixed dataset and metric.

### Experiments and results

#### The benchmark behind the scores

The 560 texts in NER-UK 2. Procurement contracts, legal documents, news, and social media are all included in 0. The 21,993 annotated entities are distributed across 13 categories. PERS and ORG occur relatively often, whereas DOC and TIME occur less often. The authors also single out MISC as a category involving subjective annotation judgments. Scarcity and subjectivity affect what a score can tell a reader in different ways. A scarce type gives limited evidence about the range of forms that qualify. A subjective category can present difficult boundary or classification decisions even when a relevant training example is available.

The experiments compare several kinds of preparation for the same benchmark. The trained encoders provide a reference for recognition with labeled Ukrainian data. The instruction-only and demonstration-based runs test what generators can do without task-specific parameter updates. The generalist systems add a zero-shot baseline with a simpler setup. The adapted generators show how close generation can come to the trained encoders when labeled data are used in training. All of the F1 values discussed below concern NER-UK 2.0. Where the paper names an output stage or a training-data condition, it identifies an additional condition within that benchmark.

Leading configurations on NER-UK 2.0 by overall entity-level F1 The strongest trained encoder and supervised generator score close together and lead the low-supervision configurations.

**The numbers**

| System or setting | F1 |
| --- | --- |
| roberta-large-NER, trained encoder (this paper) | 0.890 |
| Gemma-3-27B-IT, supervised adaptation | 0.888 |
| GPT-4o, zero-shot prompting | 0.724 |
| Gemma-3-27B-IT, few-shot prompting | 0.712 |
| GLiNER, zero-shot generalist | 0.670 |

The chart uses the paper’s main comparison of the leading entries. The preparations represented by those rows are important. The two Gemma entries describe the same named starting system under different kinds of task supervision. The GLiNER entry is a zero-shot comparison, and the paper also reports a separately trained GLiNER. The chart consequently gives the ranking of the tested approaches as configured, with per-category and per-stage results supplying the rest of the comparison.

#### Several trained encoders are close at the top

The encoder appendix reports 0.890 overall entity-level F1 for roberta-large-NER, 0.889 for xlm-roberta-large, and 0.887 for the retrained uk-ner-web-trf-13class. The authors identify the first as a new best result on this benchmark. The other two results place it in a group of encoders with similar aggregate performance. Their individual type scores supply evidence about which baseline is strongest on a particular part of the task.

For PERS, roberta-large-NER and xlm-roberta-large each record 0.968 F1. The retrained uk-ner-web-trf-13class has 0.967 for the same label and achieves 0.918 for ORG, where roberta-large-NER has 0.916. These values show that the overall leaders also handle common labels well. They also give an instance where the overall order changes at the category level. The retrained system takes the higher ORG score among those entries while landing below the overall leader across the full inventory.

The order changes more clearly on TIME and DOC. The retrained uk-ner-web-trf-13class records 0.700 on TIME, xlm-roberta-large records 0.609, and roberta-large-NER records 0.500. For DOC, the retrained system reaches 0.574, and the overall leader reaches 0.561. A reader interested primarily in recognizing those kinds of expressions encounters a different comparison from the one in the headline chart. In both cases, these are entity-level category scores, so the order concerns the ability to recover complete mentions of that type.

The encoder leader also has areas of strength beyond PERS and ORG. It reaches 0.737 on ART and 0.699 on JOB. The paper highlights these as examples of performance on less frequent types. The same entry records 0.344 on MISC. Frequency alone gives an incomplete account of the resulting profile. Which distinctions the category asks the recognizer to make and how consistently they are represented in the examples can also matter. The table shows the pattern of performance without assigning weights to those explanations.

The supervised gliner-multi-v2.1 reaches 0.855 overall F1. Modern-BERT-large is the conspicuously lower encoder result at 0.762. Its weakness is visible in common labels such as PERS, where it scores 0.862, and ORG, where it scores 0.791. It also records 0.000 on TIME. The paper suggests its monolingual orientation and limited Ukrainian exposure as possible reasons. The comparison evaluates whole systems with different starting representations. A direct estimate of the effect of Ukrainian pretraining would require varying that exposure within a common setup.

#### Prompting gives substantial recognition with uneven category coverage

The leading instruction-only result in the main table is GPT-4o at 0.724 overall F1. Its Gold zero-shot result in the stage appendix is written as 0.72. For few-shot prompting, the main comparison gives Gemma-3-27B-IT 0.712 overall F1. The stage appendix writes its Gold few-shot score as 0.71. The detailed category comparison lists 0.713 overall for the prompted Gemma entry. The two finer-precision Gemma values belong to their respective tables, and the chart follows the main comparison.

These runs show how much can be extracted without supervised updates on the target task. They also establish the size of the remaining separation from the tuned runs on the chosen benchmark. A reader can observe both facts especially clearly in the Gemma comparison. The generator can respond to the extraction task with demonstrations alone, while supervised adaptation of the same named system brings the overall score much closer to the strongest encoder. The preparation and inference requirements are part of what makes those settings different practical choices.

The category breakdown clarifies what the prompted scores encompass. GPT-4o’s selected zero-shot run reaches 0.900 F1 for PERS and 0.809 for ORG. It scores 0.122 on DOC and 0.077 on MISC. In the selected prompted Gemma-3-27B-IT run, PERS is 0.870 and LOC is 0.782, while DOC and MISC each have 0.000. These configurations can therefore find familiar categories with considerable success while having difficulty with other parts of the annotation scheme. The overall number alone gives little indication of just how wide that category variation can be.

The two prompted leaders also have different strengths. The detailed comparison gives Gemma-3-27B-IT 0.738 on DATE and GPT-4o 0.650. For MON, the same comparison gives Gemma-3-27B-IT 0.525 and GPT-4o 0.916. The configurations differ both in the generator and in the use of demonstrations. Those results describe how the selected approaches behave on particular labels. Attribution to a particular feature of the generator or prompt would require a comparison that holds the other factors fixed.

The stage results show that the open-system comparison has several competitive entries once examples and processing are applied. On NER-UK 2.0 at Gold, the few-shot Gemma-2-27B-IT scores 0.70 and the few-shot Gemma-3-27B-IT scores 0.71. The few-shot Gemma-2-9B-IT reaches 0.62 at the same stage. There is meaningful variation even within the Gemma family. The authors describe larger systems as generally stronger while also emphasizing the contribution of architecture and pretraining. Size is one property of the entries being compared, alongside the other choices embodied in their starting points.

#### Generalist recognition uses a smaller setup

The zero-shot generalist comparison covers gliner-multi-v2.1, gliner-multi-pii-v1, and NuNER-Zero. Their Gold scores on NER-UK 2.0 are 0.67, 0.62, and 0.58 overall F1, respectively. The main comparison gives the leading GLiNER entry as 0.670, while the detailed cross-approach table prints 0.669. As with the prompted Gemma values, each figure has its own reporting context. The main-table value is the one used in the chart.

The paper presents this branch as an option requiring little setup. Its leading aggregate result is below the selected instruction-only GPT-4o and demonstration-based Gemma runs. The detailed category figures nonetheless show substantial recognition for some types. GLiNER records 0.863 on PERS and 0.812 on MON. Its DOC value is 0.111 and its MISC value is 0.000. This gives the generalist route a profile that matters independently of its overall rank, particularly when the extraction of interest concerns a narrow set of labels.

The supervised and zero-shot results for gliner-multi-v2.1 show why the name of a system is only part of an experimental result. At 0.855 overall F1, the supervised entry reflects learning from Ukrainian annotations. The Gold score of 0.67 reflects zero-shot use with additional rules applied to the predictions. Together the results describe what the system can deliver as a generalist and what it can deliver after being adapted to the corpus. The comparison is informative about the available configurations and combines changes in task preparation and evaluation route.

#### Supervised Gemma approaches the encoder leaders

The final supervised generator results put Gemma-3-27B-IT first in that branch with 0.888 overall F1. Qwen2.5-14B-Instruct reaches 0.867. The final runs establish that adaptation can yield a competitive generative recognizer on NER-UK 2.0, with the strongest configuration close to the best aggregate encoder results. They also show that the result depends on the starting system and the resulting trained configuration. Supervised adaptation is a family of runs in the paper instead of a single performance level.

The leading tuned generator and encoder reach their overall results through different category profiles. Gemma-3-27B-IT scores 0.929 on LOC and 0.906 on DATE, compared with 0.916 and 0.895 for roberta-large-NER. On ORG, the tuned Gemma has 0.923, while the encoder has 0.916. In the other direction, the encoder has 0.699 on JOB and 0.737 on ART, where the tuned Gemma has 0.642 and 0.716. The aggregate near tie contains several categories where the order differs. Consequently the generator is competitive with the encoder in a richer sense than a single overall value suggests, and the encoder retains clear advantages on parts of the inventory.

The results for TIME, DOC, and MISC put the authors’ conclusion about rare labels in context. The adapted Gemma scores 0.632 for TIME, above the overall leading encoder’s 0.500 and below the retrained uk-ner-web-trf-13class’s 0.700. Its DOC score is 0.514, compared with 0.561 for roberta-large-NER. On MISC the same pair have 0.350 and 0.344, respectively. Supervision improves the generator’s coverage substantially over the selected prompted entry. The stronger aggregate showing coexists with relatively low scores for some scarce categories and with different systems leading different labels.

The authors describe the supervised generative approach as more resource-intensive. Their F1 results quantify recognition under the tested conditions. Their efficiency comparison is expressed in terms of the greater demands of adaptation and generation, alongside the relatively simple generalist route and resource-efficient encoder setup. This is the basis for their practical conclusion that the trained encoder offers the strongest combination on this benchmark. Gemma’s close result answers a different question about how well a generator can perform at recognition given access to training data and computing resources.

### What the ablations show

#### Demonstrations give the clearest prompting benefit

The most direct prompting comparisons hold the generator and output stage fixed. In Gemma-3-27B-IT’s Bronze results, the zero-shot and few-shot scores are 0.39 and 0.67. After Silver processing, they are 0.41 and 0.69. At Gold, they are 0.56 and 0.71. The demonstrations improve the measured output at every stage for this generator. Their advantage is already present before repair or filtering, and the final processing still leaves the few-shot configuration ahead.

GPT-4o illustrates why it matters to specify the stage. At Bronze, the instruction-only run has 0.67 overall F1 and the few-shot run has 0.71. At Gold, zero-shot has 0.72 and few-shot has 0.71. The ordering at Bronze favors the demonstrations, while the ordering at Gold favors the instruction-only run. This provides a concrete qualification to the paper’s broad description of few-shot improvement. An example can help the raw answer, and cleanup can change how that benefit compares with the instruction-only alternative.

The few-shot intervention bundles several kinds of information into the request. The examples can teach a label convention, illustrate the boundaries of a name, and demonstrate an answer format at the same time. Comparisons at a common stage show the effect of adding those demonstrations as used. The source of the improvement within the answer remains open. A gain can reflect recovered mentions, more accurate types, or a response that can be aligned more successfully. The stage results can indicate when an advantage appears without tracing it to any particular part of an example.

#### Intermediate reasoning varies by generator and comparison

At Gold, Gemma-3-27B-IT scores 0.58 with a reasoning prompt, against 0.56 in zero-shot and 0.71 in few-shot. Gemma-2-9B-IT has 0.60 for reasoning, between its zero-shot figure of 0.55 and its few-shot figure of 0.62. GPT-4o records 0.68 with reasoning, below both its zero-shot and few-shot Gold scores. The reasoning request can beat the ordinary instruction for some entries while losing to demonstrations, and its effect can also go in the other direction.

DeepSeek-R1-Distill-Qwen-14B illustrates a different ordering. Its Gold result is 0.42 for zero-shot, 0.13 for few-shot, and 0.46 for the reasoning prompt. This gives a case where the reasoning condition is strongest among the tested prompts for that system and where demonstrations perform poorly. Combined with the Gemma and GPT-4o results, it suggests a practical interpretation of the authors’ finding. The prompting setting is part of the tested configuration, and its value depends on which generator receives the request.

The authors relate the mixed results to the span-based nature of the task. Any benefit from reasoning has to be carried into a short, precise extraction. A generator could use the extra instructions to consider the entity type and still copy the phrase inaccurately. The endpoint used here offers a direct measure of the final answer’s quality. How the intermediate reasoning affects particular mistakes, and what a different reasoning prompt might do, remain open.

#### Cleaning and filtering make distinct contributions

When the generator and prompt are fixed, the Bronze, Silver, and Gold comparison shows what additional processing contributes to the recognition procedure. Gemma-3-27B-IT in zero-shot use offers a clear example. The Silver step gives some improvement over its Bronze answer, and the further Gold step produces the strongest score.

Zero-shot Gemma-3-27B-IT on NER-UK 2.0 by processing stage and overall F1 The largest increase for this configuration appears when rule-based filtering is added.

**The numbers**

| System or setting | F1 |
| --- | --- |
| Bronze, raw output | 0.39 |
| Silver, cleaning and alignment | 0.41 |
| Gold, additional filtering (this paper) | 0.56 |

Silver can improve extraction through more than one mechanism. Removing a candidate unsupported by the passage can reduce erroneous predictions. Matching a variant to the source can recover a true mention that the raw answer represented imperfectly. Gold screens the candidates that remain. If the rejected entities are largely mistakes, precision can improve even when the system recovers no additional correct spans. The stage scores establish the combined effect of each intervention without identifying individual rejected or repaired mentions.

The same distinction is visible for the generalists. Gliner-multi-v2.1 has 0.53 overall F1 at both Bronze and Silver. The corresponding earlier-stage results are 0.46 in both cases for gliner-multi-pii-v1 and 0.41 in both cases for NuNER-Zero. All three improve at Gold. At the displayed precision, the measurable advantage for those generalist runs comes with the additional rules. This extends the evidence for filtering beyond the prompting experiment. It also shows why a higher processed score alone gives limited evidence about whether a system frequently returns altered forms that can be normalized.

The authors interpret some of the improvements as evidence of near-correct answers that can be made usable through cleaning. Gains that appear at Silver are directly consistent with that account. Gains concentrated at Gold support the value of screening the candidates. The two mechanisms have different implications for recognition. Successful alignment recovers a prediction from wording the generator approximately reproduced. Successful rejection prevents an inaccurate candidate from reaching the scored answer. Separate rules and separate precision and recall figures would help determine how much each mechanism contributed.

#### Adapter rank helps some supervised runs more than others

The LoRA study varies rank within the 80% Data condition. For Gemma-3-27B-IT, overall F1 rises across the tested settings. This is the most direct evidence in the paper about what additional adapter flexibility does for that particular starting system under the stated data condition.

Gemma-3-27B-IT adapter ranks on NER-UK 2.0 in the 80% Data condition The highest tested rank gives the strongest overall F1 for this generator.

**The numbers**

| System or setting | F1 |
| --- | --- |
| LoRA rank 16 | 0.867 |
| LoRA rank 32 | 0.879 |
| LoRA rank 64 (this paper) | 0.882 |

The other rows qualify the pattern. Qwen-2.5-14B-Instruct records 0.851 at `r=16`, 0.851 at `r=32`, and 0.853 at `r=64`. Gemma-2-27B-IT reaches 0.865, 0.860, and 0.864 at those respective ranks, with the strongest displayed score at the smallest rank. The sweep shows a clearer sensitivity to rank for Gemma-3-27B-IT than for those entries. Its strongest setting in the sweep and its final supervised score come from separately reported conditions. The clean rank comparison is the one across settings within the named data condition.

The category tables provide a different kind of analysis. For example, the detailed prompted Gemma-3-27B-IT entry has 0.000 on DOC, while its supervised result has 0.514. The comparison shows that supervised adaptation can make a type accessible to this generator in the benchmark. It also leaves the adapted result below several supervised encoders for DOC. On TIME the adapted generator does better than the aggregate encoder leader, while another encoder does better still. These diagnostics help explain how aggregate quality can improve without producing a general advantage on infrequent labels.

### Limitations

#### Limits the authors identify

The authors restrict the comparison to NER-UK 2.0. Its inclusion of several genres broadens the range of text in the experiment. All the genres still belong to one corpus with a shared annotation policy and its own domain biases. The authors also emphasize differences in label frequency and the subjective decisions associated with MISC. The evidence establishes what the systems achieved under that particular mix of texts and annotations. Transfer to another Ukrainian corpus, to a changed label inventory, or to another low-resource language remains open.

The studied open generators occupy a computationally bounded range. The authors describe their focus in terms of 27B parameters, and the inventory gives the individual sizes. Proprietary access is limited. This provides a practical comparison between specific available open and proprietary configurations. Broader claims about either group would require a larger selection and a design that separates access conditions, pretraining, and architecture. The strongest open and proprietary prompted entries also achieve their reported results with different prompt conditions.

Time and resource limits restricted how extensively the authors could apply prominent techniques for generative recognition. The supervised experiments use limited hyper-parameter tuning, with the rank sweep providing a focused look at one setting. The reported configurations show what could be obtained within that search. The potential of a broader search over training choices and prompts remains uncertain. This affects the interpretation of both a strong result and a disappointing one, because either could change under a different preparation that the study did not test.

The authors also identify the generative treatment of the tested systems as a boundary of the experiment. They leave encoder-style use of their pretrained representations for future work. This matters because the extra decoding and alignment steps follow from the form of output the current approach produces. Predicting labels at source positions could change those requirements. The current comparison supplies evidence about generated answers and trained encoders as implemented in the paper.

#### Limits visible in the comparisons

The headline figures establish an observed order among the strongest trained entries. Their close scores give little information about how stable the order would be across fresh training runs or a differently composed test set. The paper presents point estimates for the leading comparisons. In the absence of reported run-to-run variation or uncertainty intervals for those figures, the aggregate performance range is easier to establish than a durable advantage for one closely placed system. The category breakdown already shows that the order changes when the recognition target is narrowed.

The supervision setups answer practical questions about what can be done with instructions, demonstrations, or labeled training data. They leave the relationship between annotation budget and performance unresolved. A few examples in the request serve a different function from examples used to update parameters, and the rank comparison at 80% Data addresses a parameter choice under a specific training condition. A study of sample efficiency would need comparable curves over label budgets. The current results give reference points for the tested preparations.

The efficiency conclusions are qualitative. The paper identifies the greater resource demands of generators and the relatively light setup of the generalist route. It gives no common set of measurements for training time, inference latency, memory, or resource use per document across all approaches. The encoder, prompting, and supervised generator branches also use different software pipelines. The conclusions about practical cost concern the configurations described by the authors. Hardware and workload would affect a more detailed comparison of operating costs.

The post-processing gains apply to rule sets tested under the corpus conventions. The examples given for Gold illustrate a dependence on the source’s expected use of capitalization and grammatical categories. In a collection that includes social media, an unusual lower-case spelling could make a potentially valid person prediction difficult to distinguish from a bad candidate. The reported F1 gains tell how the rules work collectively on the benchmark. Their separate effects on false positives and missed entities, including whether those effects vary by genre, remain unresolved.

Finally, the category breakdown shows where difficulties concentrate while leaving much of their cause open. For a scarce type, the score by itself gives limited information about how many examples account for the result. For a type involving judgment, disagreement about which expressions qualify can be a different obstacle from difficulty identifying a familiar string. The paper names both kinds of challenge. The results support a conclusion about the relative performance of the tested systems on the annotated examples. Establishing which additional data or changes to annotation would best help an individual category requires further evidence.

### What came after

There is no documented later citing study here from which to trace a completed follow-up experiment. The paper itself proposes directions for subsequent work. They address two issues exposed by the comparison, the cost and form of generative predictions and the supply of annotated Ukrainian material. Both proposals follow from the experiments. Their outcomes remain open.

The architectural proposal is to adapt pretrained generators for encoder-style prediction at the level of input tokens, the units over which a recognizer makes tagging decisions. Producing tags attached to the text would tie each prediction to positions from the start. That changes the problem faced by the current generative pipeline, where a returned form sometimes has to be matched to an occurrence in the document. The authors also propose exploring reinforcement learning from human feedback as a tuning route. The paper presents both ideas as future investigation and gives the current encoder and generative results as the experimental starting point. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/)

The data proposal would apply the best-performing recognizer to the social media portion of UberText 2.0. This would create a silver-standard resource, with the recognition system supplying labels automatically. The proposal connects the supervised result on NER-UK 2.0 to a way of covering more Ukrainian text in a genre already represented in the benchmark. Because the new labels would come from the recognizer, their usefulness would depend on how its benchmark strengths and weaknesses transfer to that collection. The quality of those annotations, their coverage of scarce types, and their value as training data remain questions for the proposed work.

## Cite

Cite as Vladyslav Radchenko and Nazarii Drushchak. 2025. Improving Named Entity Recognition for Low-Resource Languages Using Large Language Models: A Ukrainian Case Study. Proceedings of the Fourth Ukrainian Natural Language Processing Workshop (UNLP 2025).

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

```bibtex
@inproceedings{radchenko2025improving,
  title = {{Improving Named Entity Recognition for Low-Resource Languages Using Large Language Models: A Ukrainian Case Study}},
  author = {Vladyslav Radchenko and Nazarii Drushchak},
  booktitle = {Proceedings of the Fourth Ukrainian Natural Language Processing Workshop (UNLP 2025)},
  year = {2025},
  doi = {10.18653/v1/2025.unlp-1.3},
  url = {https://doi.org/10.18653/v1/2025.unlp-1.3}
}
```

> 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)
