---
title: "Yurii Paniv; Bohdan Didenko; Mykola Haltiuk; Vladyslav"
description: "How Lapa adapts Gemma 3 to Ukrainian through a new tokenizer, filtered training text, and instruction data, and what its benchmarks show."
canonical: "https://research.elamur.ai/free/en/papers/paniv-2026-data-efficient-adaptation/"
---
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/paniv-2026-data-efficient-adaptation/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2026](https://md.research.elamur.ai/free/en/papers/2026/) / Yurii Paniv; Bohdan Didenko; Mykola Haltiuk; Vladyslav Humennyy et al.. Data-Efficient Adaptation of Multilingual LLMs to Ukrainian // UNLP 2026

# Yurii Paniv; Bohdan Didenko; Mykola Haltiuk; Vladyslav Humennyy et al.. Data-Efficient Adaptation of Multilingual LLMs to Ukrainian // UNLP 2026

Paper · 2026 · Yurii Paniv, Bohdan Didenko, Mykola Haltiuk et al.

**Authors:** [Yurii Paniv](https://md.research.elamur.ai/free/en/authors/yurii-paniv/), Bohdan Didenko, [Mykola Haltiuk](https://md.research.elamur.ai/free/en/authors/mykola-haltiuk/) and Vladyslav Humennyy et al. · **Year:** 2026 · **Venue:** UNLP 2026 · **Licence:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

UNLP 2026 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2026.unlp-1.14/)
- [PDF](https://aclanthology.org/2026.unlp-1.14.pdf)

## Summary

A multilingual system can read Ukrainian and still use its vocabulary inefficiently. When the tokenizer breaks a Ukrainian word into several short pieces, a passage takes up more of the available context and requires the system to process more tokens. Adding Ukrainian training material raises separate problems. Raw web text varies in quality, and examples of how to answer instructions in Ukrainian are harder to find than unlabelled prose. The authors tackle all of these issues in Lapa, an adaptation of Gemma-3-12B that combines more efficient [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), quality filtering, and instruction tuning.

The authors make room in Gemma’s vocabulary by removing its original Cyrillic entries and reducing the allocation for selected other scripts. They fill the freed positions with pieces learned from Ukrainian text, then train the numerical representations of the new pieces so the rest of Gemma can make sense of them. The paper reports a reduction from about 2.5 to 1.6 tokens per Ukrainian word, with English and the tested EU languages staying close to their original rates. The transfer experiment shows why a shorter encoding is only part of the job. Reading comprehension held up after the vocabulary change, but long-passage translation lost ground before continued pretraining.

The authors assembled 96,918,916 documents in their source inventory and retained roughly 30B tokens after filtering. To score Ukrainian text for qualities such as educational value, they translated a sample into English, scored the translations with existing classifiers, and trained Ukrainian classifiers from those scores. They also trained classifiers from Ukrainian resources for propaganda and disinformation, manipulative language, and grammatical correctness. They used the resulting quality scores to decide both which documents to remove and which to emphasize late in pretraining. For instruction tuning, they translated English examples, converted existing Ukrainian tasks into requests and answers, and generated examples to fill gaps.

The pretrained Lapa checkpoint placed ahead of the other pretrained systems in the reported Ukrainian leaderboard comparison. The instruction-tuned version performed strongly on translation, summarization, and [question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/). It scored 33.37 BLEU on English-to-Ukrainian FLORES, while the pretrained version scored 33.44 under a different prompting setup. Ukrainian IFEval, which checks adherence to instructions, remained a weakness. The paper also reports a vision improvement after training on rendered documents and an exploratory identity edit that reduced old self-identification responses at the cost of greater changes to output distributions in its stronger settings. The authors released the checkpoints, datasets, classifiers, and code under the MIT license.

## Deep dive: Yurii Paniv; Bohdan Didenko; Mykola Haltiuk; Vladyslav Humennyy et al.. Data-Efficient Adaptation of Multilingual LLMs to Ukrainian // UNLP 2026

How Lapa adapts Gemma 3 to Ukrainian through a new tokenizer, filtered training text, and instruction data, and what its benchmarks show. · 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

#### Multilingual coverage and the cost of reading Ukrainian

The paper treats adaptation as a problem of making better use of an existing multilingual system. The starting checkpoint already handles Ukrainian, which gives the authors a base from which to improve. What they want to change is how economically it reads the language, how much useful Ukrainian text it learns from, and how well it responds when someone asks it to perform a task. Each objective calls for a different kind of data and a different test.

The issue begins before the system interprets a sentence. A tokenizer turns text into vocabulary entries and passes along their numerical identifiers. In [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/), those entries can represent whole words or smaller fragments. The inventory is shared across languages, so the pieces available for one writing system affect how compactly it can represent words written in that script. Even if a system already reads Ukrainian, its vocabulary may represent common Ukrainian forms in more pieces than a vocabulary learned specifically from Ukrainian text.

This distinction matters because the context budget is measured in tokens. A passage that takes more tokens consumes more of that budget, even though the reader receives the same words. It also gives the system more positions to process. The authors present this as a practical disadvantage for using a multilingual system in one’s own language. They connect it to what goes into multilingual training in the first place. As an example, they cite a Llama 3 training mix with 75% English, 17% code, and 8% spread across other 70 languages. The example illustrates the allocation problem the paper starts from. [The Llama 3 Herd of Models](https://md.research.elamur.ai/free/en/papers/grattafiori-2024-llama-3-herd-models/)

Ukrainian also motivates a distinction between the prevalence of a language and the resources available for a particular training job. The paper describes the task in the setting of [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/) and languages with intermediate levels of resources. Ukrainian web text exists at substantial scale. The more specific shortage concerns text with dependable quality labels and examples that show how to respond to a wide variety of instructions. A corpus can contain millions of documents and still leave those needs unresolved.

#### What the authors build on

In the paper’s account of [multilingual NLP](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/), recent multilingual systems gained capability from larger training runs and improved data, while adaptation work pursued more specific changes. Continued pretraining exposes an existing checkpoint to more text. Vocabulary adaptation changes the units through which that text is represented. Cross-lingual transfer uses resources or learned representations from one language to help with another. The paper brings these approaches together because they operate at different points in the training process. [Unsupervised Cross-lingual Representation Learning at Scale](https://md.research.elamur.ai/free/en/papers/conneau-2020-unsupervised-cross-lingual-representation-learning/) · [Gemma 3 Technical Report](https://md.research.elamur.ai/free/en/papers/gemma-2025-team-gemma-3-technical-report/)

The Ukrainian tokenizer literature already included bilingual vocabularies and an approach that combined morphemes with byte-pair encoding. A morpheme is a meaning-bearing part of a word. Byte-pair encoding learns increasingly long pieces by merging recurring units. The Lapa authors developed their tokenizer alongside those efforts. Their design problem was specific to Gemma. They wanted to fit better Ukrainian pieces into its existing vocabulary, keep the same interface, and avoid overlap between old and new merges of the kind discussed in earlier Slavic adaptation work.

The authors also draw on earlier work about choosing what to train on. In their account, FineWeb-Edu found that filtering for educational value improved downstream results. DataComp-LM and Nemotron-CC showed that selective filtering could get more performance from a given quantity of training data. Lapa uses that general approach but has to decide how to estimate quality in Ukrainian and which dimensions matter there. The paper frames that effort alongside work on compute-optimal training. Having abundant pretraining text and instruction examples would make the construction of a training mixture easier. Where those resources are uneven, careful selection and augmentation become part of the adaptation itself. [DataComp-LM](https://md.research.elamur.ai/free/en/papers/li-2024-datacomp-lm-search-next-generation/) · [Nemotron-CC](https://md.research.elamur.ai/free/en/papers/su-2025-nemotron-cc-transforming-common-crawl/) · [Training Compute-Optimal Large Language Models](https://md.research.elamur.ai/free/en/papers/hoffmann-2022-training-compute-optimal-large-language/)

Prior Ukrainian work supplied several of the ingredients. The authors point to benchmarking efforts, earlier resources such as UAlpaca, and datasets produced through the Ukrainian NLP workshop series. Among the tasks covered were [grammatical error correction](https://md.research.elamur.ai/free/en/topics/grammatical-error-correction/), [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/), and [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). Each task dataset has its own format and purpose. A collection that marks names in text, for example, can help teach an assistant to identify names once those markings are expressed in a form that pairs a request with an answer.

The authors describe their contribution as bringing together capabilities that previous work had pursued separately. They were looking for a single openly available Ukrainian adaptation that combined an economical vocabulary, large-scale continued pretraining on filtered data, and instruction following. That goal also explains why the evaluation spans more than one kind of task. Better reading comprehension would say little about whether a new tokenizer uses fewer positions, and stronger translation would leave open how well the instruction-tuned system obeys a formatting constraint.

### The method, step by step

#### Choose a checkpoint with enough capability to preserve

The authors start from Gemma-3-12B-PT, where PT identifies the pretrained checkpoint. It already performs competitively on the Ukrainian tests used for selection. The authors also want a size they consider practical for deployment on a consumer GPU with 24 GB of VRAM, support for both text and images, and a license that permits commercial use. They treat Ukrainian capability as one consideration alongside the hardware, licensing, and modality requirements.

Starting from a pretrained checkpoint lets the project reuse the language and vision capabilities already present in Gemma. It also creates constraints. A token identifier is a position in the vocabulary, with a learned representation associated with that position. Reassigning a position changes what it means. The authors therefore make the vocabulary change first and train the representations of the new entries before continuing pretraining on the larger Ukrainian corpus. They then use instruction tuning to make the resulting checkpoint respond to requests.

From Gemma’s vocabulary to the Lapa checkpoints The steps in order.

#### Replace vocabulary entries within Gemma’s existing interface

The authors modify the SentencePiece tokenizer from Gemma 3, whose vocabulary has 256 thousand entries. They first identify positions that can be reused. Their analysis covers more than sixteen writing systems, and they make substantial reductions in the allocations for selected scripts they regard as less central to Ukrainian use. The appendix records, for instance, 16,488 Han entries removed and 4,122 retained, and 1,740 Thai entries removed and 435 retained. The authors keep the vocabulary for Latin-based EU languages and languages important in Ukraine such as Turkish, Armenian, and Georgian mostly intact.

Cyrillic receives a different treatment. The authors remove all 13,398 original entries in that category and also free some positions marked as unused. In the appendix the placeholder category accounts for 6,139 removed entries and 102 retained entries. The reason for removing the old Cyrillic inventory as a group is tied to the design of the replacement. The project will learn a fresh set of Cyrillic pieces centered on Ukrainian and use those pieces in the available positions. The paper reports that the resulting old and new merges do not conflict.

The replacement pieces come from a donor tokenizer, meaning a separately trained tokenizer whose vocabulary supplies the new entries. The authors use the same tokenizer settings as Gemma 3. The deployed Lapa tokenizer draws on the full Kobza corpus and the Cyrillic portion of the QIRIM Crimean Tatar corpus. The latter also appears in the earlier tokenizer used in the appendix experiment, but that version uses Malyuk in place of Kobza. The difference matters later when interpreting the precise compression figures.

The authors then assign the donor pieces deterministically to the freed identifiers. Given the same inputs to this reassignment, the pieces receive the same positions. Entries outside the replacement inventory retain their text strings and identifiers. The final vocabulary stays the same size, and the tokenizer preserves Gemma’s special tokens and its text processing conventions before and after segmentation. This makes the new tokenizer fit the existing interface even though a substantial set of ordinary identifiers now refers to different pieces.

The target is better compression for Ukrainian. Imagine a recurring Ukrainian word whose original segmentation uses several short fragments. The donor inventory can provide a longer piece for part or all of that form if the piece was useful frequently enough in its training corpus. That gives the system fewer token positions for the same string. The gains are measured as averages over words in a corpus. A word that Gemma already represents economically has less scope for improvement than one that had been heavily fragmented.

#### Teach the network what its new entries mean

An [embedding](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) is a learned numerical representation. For an input token, it gives the rest of the network a vector to work with. Preserving a position in the vocabulary preserves where that position is read from, but the old learned vector may represent an entirely different piece of text. The new entries therefore need representations suited to the new vocabulary.

The authors use FOCUS to initialize the new embeddings and Model-Aware Tokenizer Transfer, or MATT, to train them. FOCUS supplies the starting values. MATT then uses the original checkpoint as a teacher through cross-tokenizer self-distillation. The same underlying text can be segmented under the original vocabulary and under the revised one. The training signal draws on the original checkpoint’s internal behavior, with attention to how tokens communicate across positions. This allows the adaptation to use what Gemma has already learned even when a passage has different token boundaries under the two vocabularies.

The transfer uses 240 million tokens drawn from the pretraining corpus. The authors use the AIM objective with mean squared error, abbreviated MSE, at the 12th layer out of 34. Mean squared error gives more weight to larger discrepancies by squaring the differences it measures and averaging them. The named objective determines what is compared in this transfer. The paper gives the objective, loss, layer, and training subset without writing out the objective or the alignment calculation as equations.

This is a stage with a distinct purpose. Training the embeddings is meant to make the pretrained network usable with a changed interface. Continued pretraining then exposes the adapted checkpoint to much more Ukrainian text. Scores taken immediately after MATT can therefore reveal where the transfer itself preserves behavior and where it leaves the checkpoint weaker, before the longer training run changes it again.

#### Assemble the text for continued pretraining

Kobza supplies heavily deduplicated Ukrainian web text assembled across multiple sources. In the initial inventory, the authors attribute 24,942,577 documents and 15,002,455,535 tokens to CulturaX. FineWeb 2 accounts for 32,124,035 documents and 19,114,177,138 tokens. HPLT 2.0 contributes 26,244,485 documents and 20,709,322,905 tokens. Document counts and token counts describe different aspects of the mixture: HPLT 2.0 accounts for more tokens than FineWeb 2 even though its entry lists fewer documents. [CulturaX](https://md.research.elamur.ai/free/en/papers/nguyen-2023-culturax-cleaned-enormous-multilingual-dataset/) · [FineWeb2](https://md.research.elamur.ai/free/en/papers/penedo-2025-fineweb2-one-pipeline-scale-them/)

The inventory also includes 6,431,848 UberText 2.0 documents with 2,904,208,874 tokens and 7,175,971 Ukrainian news documents with 1,852,049,111 tokens. The reported total before filtering is 96,918,916 documents and 59,582,213,563 tokens. The authors use news partly to give the training material coverage of events and cultural context. They identify CulturaX, FineWeb, HPLT, and Ukrainian news as constituents of Kobza in this inventory.

The paper separately describes a small Ukrainian contribution from Institutional Books, which the authors say scored well in their quality assessment. They also use licensed public data. The Ukrainian portion of YODAS2 provides speech that the authors transcribed with Whisper and incorporated as text. The source inventory does not give separate counts for the books or transcribed speech. Their inclusion shows the variety of text the authors sought alongside webpages and news. [Robust Speech Recognition via Large-Scale Weak Supervision](https://md.research.elamur.ai/free/en/papers/radford-2022-robust-speech-recognition-large-scale/)

#### Remove duplicates and screen out noisy text

The filtering pipeline begins with language identification and Unicode normalization. Language identification selects material judged to be Ukrainian. Normalization handles encoding irregularities in scraped documents so that inconsistencies in how characters are represented do not carry forward into later processing. The authors then deduplicate the collection. Exact matching catches copies, while fuzzy matching addresses passages that are similar enough to be redundant even after some variation. The stated goal is to remove repetition while keeping distinct ways of expressing similar information.

The next checks use simple measurements of document form. These measurements provide an early screen for pages with a high concentration of symbols, numbers, links, or whitespace. The authors keep the general rules from the Nemotron approach and drop checks that depend specifically on the prevalence of English characters. They give the acceptance conditions as inequalities.

```
rₐ < 0.25
```

Here `rₐ` denotes the non-alphanumeric character ratio for the document. The sign `<` requires the ratio to be strictly below the cutoff, which is `0.25` for this check.

```
rₛ < 0.1
```

Here `rₛ` is the ratio of symbols to words. The sign `<` sets a strict upper bound of `0.1` on that ratio.

```
rₙ < 0.15
```

Here `rₙ` is the number-to-text ratio. The acceptance condition requires it to fall below `0.15`, as indicated by `<`.

```
rᵤ < 0.2
```

Here `rᵤ` represents the URL-to-text ratio. The sign `<` means that `0.2` is an excluded upper boundary.

```
r𝓌 < 0.25
```

Here `r𝓌` is the whitespace ratio. The sign `<` requires a value below `0.25`.

The ratios retain the paper’s names. Their exact counting conventions are left implicit in its description. The authors report discarding roughly 14% of the data at this heuristic stage. A document can pass these checks and still have little informational value or contain manipulative prose. The next stage uses judgments about document content to make those distinctions.

#### Transfer quality judgments into Ukrainian

The central filtering tool is [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/). A classifier takes a document and assigns a category or score for a defined property. Large collections with the necessary quality judgments in Ukrainian were unavailable to the authors, so they used English classifiers to generate training targets. They sampled 500K documents from their corpus and translated them into English. They then used the English tools to score the translations and trained Ukrainian classifiers to predict those scores from the corresponding Ukrainian documents.

Translation here serves as a bridge for labeling. The English classifier reads the translated version. Its student learns to give a corresponding judgment when it reads the original. Once trained, the Ukrainian classifier can score the larger corpus directly. For choosing a translator, the authors used LongFLORES because the samples could be long documents and they wanted evidence about translation over that length. They reserved 10% of the translated sample as a test set for the classifier transfer.

The English teachers addressed separate notions of useful text. FineWeb-Nemotron-Edu and FineWeb-Mixtral-Edu assign educational value on a scale of 0-5. FastText-OH-ELI5 distinguishes material like the higher-quality explanations in Reddit’s ELI5 community from generic Common Crawl documents. That classifier operationalizes informational value through the distinction it was trained to make. Across translated examples, the student can learn the teacher’s judgments to the extent that the Ukrainian original and the English rendering support corresponding decisions.

Other judgments draw directly on Ukrainian data. A classifier for propaganda and disinformation uses Ukrainian propaganda and fact-checking material connected to VoxCheck. Its scale runs from 0 for propaganda to 1 for a factual claim. The authors use data from the UNLP 2025 Shared Task to train another classifier to detect manipulative wording, and Ukrainian grammatical error correction data to train a classifier for grammatical correctness. The paper also links the concern with grammatical quality to code-switching in the corpus. The tools supply different signals, so a high score in one dimension and a low score in another can coexist.

These two ways of building classifiers lead to different interpretations of their test scores. For a transferred classifier, the held-out F1 evaluates how well the Ukrainian tool reproduces judgments derived from its English teacher. A score for a Ukrainian-trained classifier reflects its own labeled task. The source of supervision matters as much as the metric name when deciding what kind of judgment the filtering stage can support.

#### Turn scores into filtering decisions and a training order

The authors combine the classifier outputs into a quality measure and use cumulative distribution function binning. A cumulative distribution describes where a score lies relative to the scores observed in a collection. Binning turns that ordered range into groups. In this setup a document’s resulting score lies from 0 to 20. The authors manually inspect documents across the quality range as a check on what the buckets contain.

The paper gives one explicit exclusion rule. It removes a document if even its maximum score across the classifiers is at or below the cutoff.

```
maxᵢ sᵢ(d) ≤ 10
```

Here `d` denotes a document, `i` indexes the classifiers, and `sᵢ(d)` is the score for that document and classifier on the scale used for filtering. The operation `maxᵢ` takes the largest score across the classifiers. The sign `≤` includes the boundary value `10`. If a document satisfies the condition, every classifier score is at or below the cutoff.

The retained documents go into high-quality and regular-quality groups. The high-quality group includes bucket 19 and selected high-scoring documents from other buckets. The remaining accepted documents make up the regular-quality group. The paper does not give a full expression for how it combines classifier output or a complete rule for selecting the extra documents in the high-quality group. Its description does establish the purpose of the groups: they control the order of exposure during pretraining.

In the filtering account, the authors describe reducing a pool of 60B tokens to approximately 30B tokens. They use regular-quality data for the first 70% of continued pretraining and high-quality data for the last 30%, during the learning-rate decay phase. Their rationale is to give the system broad coverage early and emphasize the more selective material late. A document that lands in the regular group can therefore still contribute to training. Selection decides whether it is retained, and the group assignment decides when it is used.

#### Continue pretraining on the filtered mixture

The pretraining configuration lists 30 billion training tokens and a maximum sequence length of 8,192. It uses sample packing, which places examples within a sequence so that short documents leave less of the training allocation empty. The loss is cross-entropy, which penalizes assigning low probability to the observed next token. For this stage the global batch contains roughly 458,752 tokens, and the run lasts roughly 65,394 steps. The global batch measures data processed across workers for an update.

The optimizer is fused AdamW. The peak learning rate is 1e-5, with a warmup, a stable period, and decay. Warmup gradually raises the rate at the start, and decay lowers it toward the end. The configuration lists 6,539 warmup steps, 20,926 decay steps, a minimum learning-rate ratio of 0.05, and weight decay of 0.005. The training hardware for this stage is 56x H100 80GB. The distributed setup partitions training state within a node and uses distributed data parallelism between nodes. The table also lists BF16 precision and Flash Attention 2.

These settings describe continued pretraining on the new data after the vocabulary transfer. In particular, the maximum training sequence length describes how examples were presented in this run. The paper also uses a 32k-token context as a way to explain how much more Ukrainian text a compact encoding can fit. That context-budget illustration answers a different question from the configured length of a training sequence.

#### Build instructions by translation and task conversion

Instruction tuning is a form of [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) in which examples pair a request with a response. It gives the system a direct example of the desired behavior in a setting where the user asks for an answer, correction, translation, or other output. The authors assemble the data from translation, conversion of existing task datasets, and generation of additional examples. They also describe synthetic material used in pretraining, so the presence of a generated question or response does not by itself identify which stage used it.

For translation, the authors choose Gemma-3-27B-IT, the instruction-tuned Gemma checkpoint they judged strongest for long Ukrainian translations at the time. They translate suitably licensed English instruction datasets. Some examples contain both prose and code. Their translation prompt asks the translator to translate the language while leaving code intact. They calibrate that prompt by reviewing 100 randomly sampled examples. The training mixture includes Hermes-3-Dataset in both its original and translated forms, with the original retained to support English capability. The LeetCode Dataset provides code generation examples.

The conversion route starts with tasks that already have Ukrainian text and labels or answers. UA-GEC pairs text with corrections and can be presented as a request to fix a passage. NER-UK 2.0 and UberText-NER-Silver supply examples for identifying named entities. The silver designation distinguishes the supplementary annotations from a manually established reference standard. UA-Lawyer provides requests and answers in the Ukrainian legal context. Converting these resources lets the existing supervision specify the expected response to an instruction.

For bilingual translation examples, the authors use FiftyFiveShades. It is a deduplicated collection of parallel sentences, meaning texts paired with their counterparts in the other language. Its quality estimates come from six scorers and a combined score that, in the account cited by the authors, aligned best with human judgments. The Lapa training mixture uses the top 10% of the collection ranked by that score. This selection is separate from the choice of translator for English instructions. In one case, the authors select from available parallel sentences. In the other, they produce translations of examples whose original format already contains a task and an answer.

#### Generate examples with passages, rules, and rendered pages

The authors use Gemma-3-27B-IT to generate text grounded in high-quality Ukrainian documents. They describe this work in connection with the high-quality pretraining material, following the approach of Nemotron-CC. The question-answer collection has more than 1.3 million entries and draws on documents of different lengths and subjects. To generate an entry, the authors give the generator the full document and ask for five questions, a correct answer to each, and two or three incorrect alternatives. The collection covers yes-or-no, open-ended, and multiple-choice formats.

Other prompts ask the generator to rewrite material concisely, extract key information, or organize facts into lists. The first targets the ability to express a passage more clearly and compactly. The extraction task asks the system to select what is important. List generation also changes the presentation of the selected material. The authors additionally use the cleaned Wikipedia portion of UberText 2.0 to create more than 30 thousand examples involving entity recognition, paraphrasing, and simplification.

A separate grammatical correction dataset uses rules to generate errors in text sampled from the fiction portion of UberText. The authors alter or delete word endings, remove vowels, duplicate letters, and make similar local changes. Here the original passage supplies a correction target because it is available before the corruption is applied. This procedure can produce examples of specified error types, while the converted UA-GEC examples carry supervision from an existing correction corpus.

For vision, the authors create training examples by rendering a subset of 500K high-quality documents as images using Markdown formatting. The result is synthetic data for optical character recognition, the task of recovering text from an image. The textual source is already available, which gives the rendered example a reference without a separate transcription step. The vision experiment then uses MMZNO, a benchmark involving images and Ukrainian text, to look for gains beyond the generated training examples. [Vision & language](https://md.research.elamur.ai/free/en/topics/multimodal/)

#### Train the instruction checkpoint

The instruction-tuning configuration lists a maximum sequence length of 16,384 and uses sample packing. It specifies a global batch of approximately 2 million tokens, gradient accumulation of 10 steps, and approximately 600 training steps. Gradient accumulation combines information from successive smaller batches before updating the weights. The peak learning rate is 2e-5, with 100 warmup steps and 100 decay steps. The listed loss is DFT, which the paper attributes to earlier work without giving an equation for it. The optimizer is again fused AdamW, with weight decay of 0.005. The instruction run uses 12x GH200 96GB.

The hyper-parameter table lists roughly 1.2 billion instruction training tokens. The narrative describes training on a combined 1.5B-token dataset. These are reported in different places, under a training total in one case and a description of the combined dataset in the other. The authors leave the relationship between the quantities unspecified, so both are relevant to reading the procedure.

The paper accompanies the checkpoints with the filtered pretraining collection, the instruction datasets, the classifiers, and the training code. The release is part of the proposed adaptation method’s usefulness. The source checkpoint, vocabulary changes, data selection, and instruction construction can be examined separately even though the main performance comparison evaluates the complete training recipe.

### Experiments and results

#### The comparisons answer different questions

The authors use the Ukrainian LLM Leaderboard to select a starting checkpoint and to compare the finished systems. Its tasks include Belebele for reading comprehension, Ukrainian MMLU for understanding across multiple subjects, and FLORES for translation. Ukrainian [SQuAD](https://md.research.elamur.ai/free/en/papers/rajpurkar-2016-squad-100-000-questions-machine/) tests answers to questions about passages. Ukrainian XL-Sum tests [summarization](https://md.research.elamur.ai/free/en/concepts/text-summarization/), and MMZNO adds images alongside Ukrainian text. The main leaderboard table also includes Long FLORES and Ukrainian IFEval, which measures how reliably responses meet specified instructions.

The checkpoint-selection table compares Gemma-3-27B, Gemma-3-12B, and Qwen3-14B. On its Ukrainian Belebele comparison, their scores are 91.56, 89.56, and 90.56, respectively. On MMLU they score 71.16, 64.07, and 70.64. On FLORES they score 22.46, 21.98, and 11.02. Gemma-3-12B’s average rank in that selection table is 7.00. The authors choose it as the basis for Lapa given its translation score, size, and other deployment criteria. This table belongs to checkpoint selection, and the later leaderboard comparison gives a separate set of scores.

The paper also runs narrower tests. Tokens per word measures how much vocabulary space a piece of text occupies at inference, averaged over words in the test corpus. Belebele and Global MMLU accuracy, and Long FLORES translation quality, help diagnose what happens immediately after the vocabulary change. Classifier F1 gives another view of quality, this time for the tools used to select documents. F1 combines precision and recall. For a transferred classifier, those measurements are taken against teacher-derived targets on the held-out translated sample. Each experiment measures a different component of the recipe.

#### Ukrainian takes fewer tokens to encode

The paper describes the Ukrainian compression result as a drop from about 2.5 to 1.6 tokens per word, or approximately 35% fewer tokens. It gives an illustration of ≈1.5× as much Ukrainian text fitting in the same 32k-token context. The appendix provides a more detailed comparison against multilingual tokenizers on the Ukrainian Malyuk corpus. That experiment uses the initial adapted tokenizer, whose donor training data differs from the deployed Lapa tokenizer’s data. The finer-grained values therefore belong to the initial version.

Multilingual tokenizers on Ukrainian Malyuk, average tokens per word The initial adapted tokenizer uses the fewest tokens per word in this comparison.

**The numbers**

| System or setting | tokens per word |
| --- | --- |
| Qwen3-8B | 3.686 |
| Phi-4-mini-instruct | 2.596 |
| Gemma-3-12B-it | 2.506 |
| Llama-3.1-8B-Instruct | 2.499 |
| Aya-Expanse-8B | 2.226 |
| Initial adapted tokenizer (this paper) | 1.628 |

In the same appendix comparison, on C4-en the Gemma-3-12B-it tokenizer uses 1.307 tokens per word, and the initial adapted tokenizer uses 1.308. For the pooled Spanish, French, Italian, and German sample, both are at 1.788. Cyrillic Crimean Tatar goes from 3.341 with the original Gemma tokenizer to 2.356 with the initial adaptation. The changes go in the other direction for the Russian and Bulgarian samples. Russian goes from 2.245 to 2.556, and Bulgarian from 2.329 to 2.514. Belarusian goes from 3.045 to 3.057. The appendix therefore gives evidence about which languages benefit from the reallocation under that setup and which require more tokens afterwards.

#### Translation is the clearest leaderboard gain

The main leaderboard reports average rank across 17 tasks, as well as selected task scores. Pretrained Lapa is evaluated with 3-shot prompts, which give demonstrations before the test item. Instruction-tuned Lapa is evaluated with 0-shot prompts, which ask it to do the task without demonstrations. The baselines follow the same distinction between pretrained and instruction-tuned variants in this table. A score comparison between the two Lapa checkpoints consequently includes a change in prompting.

The pretrained Lapa checkpoint has an average rank of 3.76. This is ahead of the other pretrained checkpoints displayed, including the source Gemma-3-12B-PT at 4.24. The best average rank in the full table belongs to MamayLM-Gemma-3-12B-IT at 3.18. The instruction-tuned Lapa checkpoint has an average rank of 4.53, compared with 6.18 for Gemma-3-12B-IT. This places the paper’s strongest aggregate result with its pretrained checkpoint under the published evaluation settings.

On English-to-Ukrainian FLORES, both Lapa versions score strongly. The metric is [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/), which rewards overlap between a translation and the reference wording. The authors summarize the instruction-tuned result as 33 BLEU. The table gives the more precise scores and allows a comparison with both Gemma baselines and MamayLM.

Gemma-based systems on English-to-Ukrainian FLORES, BLEU Both Lapa checkpoints lead the displayed baselines, with pretrained Lapa narrowly ahead.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Gemma-3-12B-IT, zero-shot | 3.58 |
| MamayLM-Gemma-3-12B-IT, zero-shot | 29.40 |
| Gemma-3-12B-PT, three-shot | 30.75 |
| Lapa instruction-tuned, zero-shot (this paper) | 33.37 |
| Lapa pretrained, three-shot | 33.44 |

The longer-passage comparison has a similar ordering for these systems. English-to-Ukrainian Long FLORES gives pretrained Lapa 33.14 BLEU and instruction-tuned Lapa 32.50. Gemma-3-12B-PT scores 31.47, MamayLM scores 30.13, and Gemma-3-12B-IT scores 15.63. The authors connect translation quality back to the data problem. A stronger Ukrainian translator can help produce future training examples from English material. The translation benchmark provides evidence about the translation step in that argument.

The authors also describe the instruction-tuned checkpoint as strong for practical question answering and summarization. The main table gives numerical results for selected tasks and an average over the wider suite. It gives no separate XL-Sum result or general question-answering breakdown for that comparison. The SQuAD figures elsewhere in the paper come from the persona-editing experiment, where they serve as a check on what happens to question answering after a targeted edit.

#### Instruction adherence and subject tests show a different ranking

On Ukrainian IFEval, instruction-tuned Lapa scores 31.79. That is below MamayLM at 61.18, Qwen3-8B at 59.52, and Gemma-3-12B-IT at 58.41, all under 0-shot prompting. Pretrained Lapa scores 20.70 with 3-shot prompts, compared with 19.59 for Gemma-3-12B-PT. The task measures compliance with instructions, so a strong translation score can coexist with a low score here. A system may produce useful text on a task it knows while handling explicit constraints less reliably.

Instruction-tuned systems on Ukrainian IFEval, zero-shot scores Instruction-tuned Lapa trails MamayLM, Qwen, and the original Gemma instruction checkpoint.

**The numbers**

| System or setting | IFEval score |
| --- | --- |
| Lapa instruction-tuned (this paper) | 31.79 |
| Gemma-3-4B-IT | 48.61 |
| Gemma-3-12B-IT | 58.41 |
| Qwen3-8B | 59.52 |
| MamayLM-Gemma-3-12B-IT | 61.18 |

The Ukrainian MMLU column also tempers the aggregate ranking. Pretrained Lapa scores 62.84 with 3-shot prompts, while Gemma-3-12B-PT scores 66.54 and Qwen3-8B-Base scores 67.15. In the 0-shot comparison, instruction-tuned Lapa scores 61.85, ahead of Gemma-3-12B-IT at 53.77 and behind MamayLM at 64.29. Ukrainian subject questions, translation, and instruction adherence reward different behaviors, and the highest average placement can include weaker scores on individual tasks.

#### Classifier fidelity and the vision result

On the held-out translated test set, the transferred FineWeb-Nemotron-Edu classifier reaches F1 of 0.96 and FineWeb-Mixtral-Edu reaches 0.94. FastText-OH-ELI5 reaches 0.67 on the same kind of transfer evaluation. The authors observe few very high informational quality scores in the Ukrainian collection and suggest that this feature of the score distribution helps explain why that transfer was harder. The scores show stronger replication of the educational teachers’ judgments than of the informational classifier’s judgments.

Among the classifiers trained on Ukrainian data, propaganda detection reaches F1 of 0.96, manipulative content detection reaches 0.74, and grammatical correctness reaches 0.71. These numbers come from different classification tasks. For example, the propaganda classifier can score well against its task labels while offering little evidence about error detection or document quality in a different domain. The full filtering decision uses these signals together, with a separate manual inspection of documents at different quality levels.

On MMZNO, the authors report an improvement from 51.78% for the original Gemma-3-12B-it comparison to 58.54% with the vision fine-tune. The intervention uses the synthetic images created from text documents. This comparison gives the vision experiment a direct test in the paper, while training on rendered pages and evaluating on Ukrainian multimodal questions remain distinct stages with distinct inputs.

### What the ablations show

#### The vocabulary swap preserves some abilities better than others

The paper offers component-level comparisons, with the clearest one examining Gemma immediately after the new vocabulary and MATT transfer. Original Gemma 3 12B PT scores 89.33 on Belebele accuracy, and the transferred checkpoint scores 89.56. On Global MMLU accuracy, the score moves from 67.03 to 64.98. On Long FLORES, it moves from 14.36 to 8.70 BLEU. The authors keep this comparison separate from the Ukrainian leaderboard scores reported after continued pretraining.

The result gives substance to the claim that a changed tokenizer can preserve much of a checkpoint’s behavior. The reading test is close to its starting score, and Global MMLU shows a decline. Long translation is more sensitive in this experiment, with a visibly larger loss on its own metric. Looking only at Belebele would make the transfer seem essentially costless. Looking only at Long FLORES would hide the tasks on which it carried capability across much more successfully.

This comparison concerns the vocabulary surgery and embedding adaptation as used together. The paper does not give a FOCUS-only checkpoint, a vocabulary swap with untrained embeddings, or alternative MATT layers evaluated alongside the chosen one. The numbers show what the chosen procedure preserves in the immediate transfer. The later translation results show what the full adaptation can achieve after more training, with separate baseline values and prompts. Treating them as a single score trajectory would exceed what the published setups establish.

For the data pipeline, the paper offers classifier evaluations, an account of manual inspection, and aggregate results after training. It leaves open how the finished checkpoint would perform with no transferred classifiers, a different cutoff, a constant data mixture, or just one source of instruction examples. High classifier fidelity is evidence about reproducing quality judgments. Improvement on the leaderboard is evidence about the recipe as a whole.

#### The reasoning experiment identifies an uneven transfer

An additional training run explores [reasoning](https://md.research.elamur.ai/free/en/topics/reasoning/). The authors describe the direction as inspired by DeepSeek-R1. They translate mathematical and coding dialogues from OpenThoughts, including the reasoning traces and final answers, and generate additional examples from high-quality Ukrainian material. The resulting reasoning run uses approximately 1B tokens. The authors report that math and code examples helped the system generalize to other kinds of questions, even when starting from the pretrained checkpoint. [DeepSeek-R1](https://md.research.elamur.ai/free/en/papers/deepseek-ai-2025-deepseek-r1-incentivizing-reasoning-capability/) · [OpenThoughts](https://md.research.elamur.ai/free/en/papers/guha-2025-openthoughts-data-recipes-reasoning-models/)

The reasoning checkpoint performed worse than the ordinary instruction-tuned checkpoint in the authors’ account. The paper provides no numerical breakdown of the gains on other question types or of the overall shortfall. The experiment supports a modest conclusion. Reasoning data could transfer beyond the source domains in their setup, but the tested mixture did not yield the preferred general-purpose checkpoint. The authors leave further investigation of reasoning for future work.

#### Stronger identity edits suppress leakage and increase drift

The persona experiment asks whether Lapa can be made less likely to give the self-identification associated with its base checkpoint. The authors use [LoRA](https://md.research.elamur.ai/free/en/papers/hu-2021-lora-low-rank-adaptation-large/) to edit selected weights. LoRA represents changes through compact, low-rank updates. The edits use negative task-vector updates, which move the parameters against an update associated with the behavior targeted for removal. A regularization term based on KL divergence penalizes departures from the reference output distribution. [Editing Models with Task Arithmetic](https://md.research.elamur.ai/free/en/papers/ilharco-2022-editing-models-task-arithmetic/)

Using causal tracing as motivation, the authors compare edits that touch different components. Attention projections are involved in how the network uses information across token positions. The multilayer perceptron, or MLP, is a feedforward part of a layer. Some edits span attention and MLP components, while others target the MLP alone or mask out updates to selected components. One masking approach uses Gumbel-Softmax selection to choose which MLP components can change. The circuit-guided setting directs changes towards components associated with the identity behavior. [Locating and Editing Factual Associations in GPT](https://md.research.elamur.ai/free/en/papers/meng-2022-locating-editing-factual-associations-gpt/) · [Gumbel-Softmax](https://md.research.elamur.ai/free/en/papers/jang-2016-categorical-reparameterization-gumbel-softmax/)

The authors track multiple outcomes because removal and replacement are different objectives. Leakage measures the persistence of the old self-identification. Persona measures compliance with the desired identity constraints. KL divergence tracks changes in the output probabilities relative to a reference, and activation drift tracks changes in internal representations. Ukrainian SQuAD F1 checks whether the edit changes performance on a question-answering task. That benchmark acts as a separate behavioral check alongside the distribution and activation measurements.

In the comparison, the unmodified checkpoint has leakage of 0.652, persona compliance of 0.007, and SQuAD F1 of 56.83. Gentle editing across attention and MLP components produces leakage of 0.102 with KL divergence of 7.89 and activation drift of 1.08. The MLP-only setting has higher leakage, 0.225, along with lower KL divergence of 4.97 and lower activation drift of 0.72. Those settings illustrate a choice between more suppression and less change to the system’s other behavior as measured in the experiment.

The neuron-masked MLP setting gives leakage of 0.012 with KL divergence of 24.04. The stronger attention-and-MLP edit and the circuit-guided edit both report leakage of 0.001. Their KL values are 47.31 and 47.36, and their activation drift values are 3.37 and 3.38. The strongest settings thus bring leakage close to the bottom of the observed range while causing larger changes by both drift measures.

SQuAD F1 remains near the unmodified score across the edits, with 56.49 for the MLP-only edit, 55.91 for the stronger attention-and-MLP edit, and 55.89 for the circuit-guided edit. The authors interpret that stability as evidence that a localized edit can retain question-answering competence. Persona compliance remains low. Even the highest reported value, 0.030 for the MLP-only edit, leaves a substantial gap between suppressing an old response and establishing the requested identity.

### Limitations

#### Limits the authors identify

The authors say Lapa can inherit biases both from Gemma and from the training data. Quality filters can remove examples that score poorly against their criteria, but those criteria capture only some forms of bias or unsafe content. The discussion also identifies the possibility that a fluent system will generate misleading material or that people will rely on an answer without checking it. The authors present the open release as a way for others to examine the data and behavior and improve them.

The filtering tools have uneven performance. The authors identify F1 values in the 0.67-0.74 range as an area for improvement and mention SetFit as a possible avenue for learning with limited labeled data. The same limitation takes different forms depending on the classifier. For FastText-OH-ELI5, an error on the transfer test is a disagreement with the reference derived from the English teacher. For grammatical correctness or manipulation, the score reflects the Ukrainian classification task used for that tool. A single description of the scores as moderate leaves out this distinction.

The paper identifies instruction following as a weakness on IFEval-type tasks. The authors did not run reinforcement learning on the target tasks and say that it could help generalization and instruction following. They also left checkpoint merging unexplored, mentioning it as a possible means of adding capabilities while preserving earlier ones. These are proposed directions. The work it actually reports also leaves room for improved reasoning evaluation, broader multimodal capability, and more data-efficient fine-tuning.

#### Limits visible in the experiment design

The principal result is a Ukrainian case study with Gemma-3-12B as the starting point. It demonstrates the combined recipe in that setting. Moving to another language would require different decisions about which vocabulary entries to keep, where to find appropriate raw text, and which teachers or labeled resources can supply trustworthy quality judgments. Even within the languages measured in the appendix, the new tokenizer helps some writing patterns while increasing fragmentation for others. The paper’s wider claim is that the procedure can be reproduced, with its effectiveness in another setting still a separate empirical question.

The exact appendix rates apply to the initial tokenizer. The deployed tokenizer was trained on a different Ukrainian corpus, and the authors expect similar general behavior. The table gives the strongest directly documented comparison on Malyuk, C4-en, the pooled EU sample, and the other language corpora for that initial version. It does not give equivalent detailed comparisons for the final one. English and EU coverage are also described more broadly as design goals than the appendix tests can verify. The pooled EU measurement covers Spanish, French, Italian, and German, while retained identifiers by themselves establish continuity of the vocabulary entries rather than continuity of downstream task results.

The inference argument comes primarily from how many token positions the same text occupies. The paper presents shorter input and larger effective context as grounds for practical savings, but supplies no timed deployment comparison across workloads and hardware. Application latency and resource use remain separate questions from average tokens per word. The authors’ account also distinguishes their intended deployment environment from training. The configurations use substantial accelerator resources, and the paper provides no matched alternative run to establish how much total training compute the recipe saves.

Classifier transfer creates a second measurement limit. A strong score against the teacher means that much of the English scoring behavior survives the trip through translation and student training. It does not establish how a Ukrainian reader would independently judge the document. A translation may carry across the information needed for an educational rating while changing nuance relevant to another category. The native classifiers and manual inspection supply additional evidence, but the paper gives no independent human evaluation of all quality dimensions across the retained corpus. Its threshold and score combination also leave the effects of specific filtering decisions hard to separate from the effects of the training order and corpus composition.

Benchmark comparisons depend on their prompting conditions. The published average rank across 17 tasks compresses different performance profiles into a single quantity. It places pretrained Lapa favorably in the reported suite, while the displayed Ukrainian MMLU and IFEval values expose weaker areas. The article’s evidence for practical question answering and summarization is also less granular than its evidence for English-to-Ukrainian translation. Detailed general-purpose conclusions would need task-level breakdowns under matched prompting, and the published evaluation provides those comparisons only for selected tasks.

Finally, the supplementary experiments probe narrow changes. The MMZNO improvement is evidence for the reported vision training and benchmark, with broader multimodal behavior left open. In the persona experiment a small leakage score records the tested responses, while unchanged performance on other capabilities cannot be inferred from a nearby SQuAD F1. The observed changes in KL divergence and activation drift give concrete reasons to keep that preservation claim tied to the measured task. The instruction training totals are also described in two forms, roughly 1.2 billion in the configuration and 1.5B for the combined dataset in the narrative. The unexplained difference limits how precisely a reproduction can account for training exposure from the paper alone.

### What came after

There is no documented later work to discuss yet.

## Cite

Cite as Yurii Paniv, Bohdan Didenko, Mykola Haltiuk and Vladyslav Humennyy et al. 2026. Yurii Paniv; Bohdan Didenko; Mykola Haltiuk; Vladyslav Humennyy et al.. Data-Efficient Adaptation of Multilingual LLMs to Ukrainian // UNLP 2026. UNLP 2026.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{paniv2026yurii,
  title = {{Yurii Paniv; Bohdan Didenko; Mykola Haltiuk; Vladyslav Humennyy et al.. Data-Efficient Adaptation of Multilingual LLMs to Ukrainian // UNLP 2026}},
  author = {Yurii Paniv, Bohdan Didenko, Mykola Haltiuk and Vladyslav Humennyy et al.},
  booktitle = {UNLP 2026},
  year = {2026},
  url = {https://aclanthology.org/2026.unlp-1.14/}
}
```

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