Elamur Research

Isolating LLM Performance Gains in Pre-training versus Instruction-tuning for Mid-resource Languages: The Ukrainian Benchmark Study

Paper · 2025 · Yurii Paniv

Summary

A system that can work with Ukrainian text may still struggle when asked to do a specific job in Ukrainian. Paniv asks where that ability develops in large language models. Pretraining builds the base version through exposure to text. Instruction tuning is a later stage of fine-tuning that prepares a system to respond to requests. To see how much the base version can already do, the paper puts examples of each task in its prompt. The main comparison uses 3-shot prompts for base versions and 0-shot prompts for instruction-tuned versions. In other words, the base version sees examples at test time and the tuned version receives the task without demonstrations.

The Ukrainian tests cover summarization, question answering from passages, general-knowledge questions, and machine translation into and out of Ukrainian. The paper also introduces LongFlores. It puts sentences from FLORES back into their original paragraph order so the translation system has to handle a whole passage at once. The reconstructed development set contains 281 items. The benchmark inherits problems in the underlying sentences, which makes it a provisional way to test translation over longer stretches of text.

Few-shot base versions generally placed ahead of their zero-shot instruction-tuned counterparts in the paper’s task-average ranking, where a lower value is better. Qwen3-14B-Base achieved 11.00, while its instruction-tuned counterpart recorded 18.00. The overall pattern also held for Qwen3-8B, EuroLLM, Llama, and Mistral. On individual tasks the picture was more varied. Base versions had a consistent advantage on XLSum within the ordinary matched pairs, and several tuned versions had very low scores there. The paper describes a general advantage for base versions in translation, but the reported sentence and paragraph scores favor the tuned versions in several families.

The Ukrainian-adapted MamayLM placed ahead of both Gemma versions with an average rank of 14.17 and led the displayed results on both translation benchmarks. Qwen3-14B-Base had the lowest average rank in the same table, in spite of a passage in the paper that describes MamayLM as the overall leader. The prose also reverses the ordering implied by the ordinary Gemma pair’s ranks. Taken together, the comparisons show how much Ukrainian task performance the pretrained versions can deliver when given examples, and how well a Ukrainian-specific adaptation can do on particular tasks. They leave open how much of each difference comes from training and how much comes from the way the task is presented.

Deep dive: Isolating LLM Performance Gains in Pre-training versus Instruction-tuning for Mid-resource Languages: The Ukrainian Benchmark Study

A Ukrainian benchmark study compares pretraining and instruction tuning and introduces LongFlores to test translation across whole paragraphs. · about 31 minutes to read

The problem and its context

Where Ukrainian task performance comes from

There are two points in a system’s development at which working with Ukrainian can become easier. During pretraining, the system can acquire the language patterns and knowledge that it will later draw on. During instruction tuning, it can learn how to use those resources in response to a request, such as a request to give a short answer or translate a passage. The distinction matters because a developer trying to improve Ukrainian performance has to decide where to put data and effort. Evidence that a pretrained system can already do a task when shown examples would make the answer different from evidence that the task only becomes possible after instruction tuning.

A benchmark result combines the ability to handle the text with the ability to recognize the job. Consider passage-based answering. The system must understand a passage and a question in Ukrainian. It must also recognize whether it is expected to supply a short answer from the passage. An answer presented with an explanation could reflect adequate understanding of the passage while fitting the expected response poorly. Translation makes these demands visible in a different way. The input has meaning to carry across languages, while the requested output has a particular target language and form. A test can expose a difficulty at either point.

The paper situates the problem in multilingual and cross-lingual NLP, where a system may be trained and assessed unevenly across languages. Much of the performance evidence discussed in the paper concerns English. The author illustrates the imbalance with the pretraining mixture described for Llama. The paper gives 50% for general-knowledge English text, 25% for mathematics and reasoning tokens, 17% for code tokens, and 8% for multilingual tokens. Those categories describe the mixture at a broad level. In particular, a multilingual share cannot reveal the amount assigned to Ukrainian. The study also says that it lacks corresponding information about the multilingual share in instruction tuning. The Llama 3 Herd of Models

This is the practical difficulty behind the training-stage question. The researcher can run a published checkpoint and observe its behavior, even when the language composition of its training material is unavailable. A checkpoint is a saved version of the trained system. A base checkpoint gives access to behavior before instruction tuning, and a related instruction-tuned checkpoint gives access to behavior after further training. Their comparison can show when an ability is already accessible. To establish exactly what happened to that ability during tuning would require more information about the training and the conditions under which the checkpoints are tested.

What earlier studies had measured

The related work discusses a study by Gao and colleagues on cross-lingual knowledge alignment. Alignment here concerns whether knowledge can be accessed across languages. As Paniv describes it, Gao and colleagues found greater downstream gains from instruction tuning than from multilingual pretraining in their setup. Their evaluation used material translated from English and prompts without examples. Paniv emphasizes that they did not examine base checkpoints with demonstrations. A study focused on cross-language access under those conditions therefore leaves room for a different question about what an example-guided base checkpoint can already do in Ukrainian.

The paper also discusses work by Jindal and colleagues on expanding a system’s knowledge and examining how that knowledge affects downstream performance. Paniv describes their account as placing much of knowledge acquisition in pretraining, with later instruction tuning able to draw on what was learned. Here too, the related work leaves open the particular comparison Paniv wants to make. Knowledge carried forward from pretraining might be accessible directly through examples, and the ability to use it that way needs to be tested on the base version itself.

The earlier studies motivate two plausible explanations for a good instruction-following system. It may have had substantial knowledge before tuning, with tuning making that knowledge easy to elicit through a request. Alternatively, the later stage may have made an important contribution to performance on the tasks that users care about. The training stages can also benefit different aspects of the same task. For example, understanding a news article and producing a brief summary in the expected form are related accomplishments. A benchmark that expects the finished summary observes their combined effect.

Ukrainian evaluation before this study

The study builds on an existing collection of Ukrainian evaluation benchmarks. The paper discusses UA-CBT in connection with Eval-UA-tion and also names a Ukrainian Winograd-style challenge. It points to the use of ZNO examination material in the UNLP shared task. These efforts already supplied ways to examine particular skills in Ukrainian, including performance on material drawn from the country’s educational setting. Eval-UA-tion 1.0 · The UNLP 2024 Shared Task on Fine-Tuning Large Language Models for Ukrainian

The release of MamayLM also came with a battery of adapted benchmarks. The paper describes evaluations covering such areas as commonsense completion, general knowledge, mathematical problems, and instruction following. The ZNO material discussed in that context includes questions tied to the Ukrainian secondary-school curriculum. Paniv’s study uses a different assembly of tasks, spanning conditioned generation, comprehension, general knowledge and translation. That mixture matters for the training-stage comparison because each task places a different demand on the prompt and response.

For its general approach, the paper follows IberoBench in bringing established downstream tasks into a common evaluation. A downstream task is a concrete job used to examine what a trained system can do. With a set of such jobs, the researcher can ask whether a checkpoint’s standing carries across response types. A system may find it easier to choose an answer from options than to produce a reference-like summary or a translation. Putting those jobs in the same battery makes the difference visible. IberoBench

Translation posed a separate evaluation problem. Paniv describes existing practice as largely sentence-based. A sentence can be a convenient aligned unit, while a paragraph gives the translator more of the text that a reader would actually see. The paper connects this wider unit to a potential use for translation in languages with fewer resources. If instructions developed in English can be translated well, they can become material for adapting systems to other languages. A test that stops at isolated sentences provides a partial view of how well a system could handle such material.

The paper identifies earlier paragraph-level work for Finno-Ugric languages. Paniv says that the work used a related setup and followed it with translation and validation because of problems with the source sentences. This precedent is relevant to the distinction between recovering paragraph boundaries and establishing reference quality. Metadata can help assemble a longer benchmark item. It takes a separate judgment to establish whether all of its constituent text is suitable for scoring a translation.

The method, step by step

Assemble tasks with different kinds of answers

Paniv begins with established datasets and selects the material for Ukrainian. The inputs differ across tasks. For summarization, there is a news article to condense. For passage-based comprehension, there is material to read and a question to answer. For general knowledge, there is a question with options. For translation, the source text is given and the output should be in the requested target language. These differences are central to the comparison. They let the study observe whether a checkpoint responds well when the desired answer ranges from a short selection to a stretch of generated prose.

The summarization test uses the Ukrainian part of XLSum. Its articles come from BBC news, with summaries prepared through professional annotation. The article functions as input, and the associated summary gives the evaluator a reference. The task puts pressure on both content selection and expression. A system has to decide which information to carry into the shorter response, then express it in a form the benchmark can compare with the reference. The study uses the Ukrainian split of this corpus.

For passage-based answering, the author uses the Ukrainian SQuAD adaptation and the Ukrainian split of Belebele. The SQuAD material was translated and annotated by students. In an extractive task like SQuAD, the desired answer is grounded in the passage and can be supplied as a short piece of text. Belebele supplies a parallel reading-comprehension benchmark. Both columns concern the use of given text, which distinguishes them from a general-knowledge question under the study’s setup. They remain separate tasks in the evaluation, with their own inputs and reported results. The Belebele Benchmark

General knowledge is evaluated with Global MMLU. The Ukrainian material comes from a multilingual adaptation of MMLU that covers subjects from science and technology to the humanities. The paper describes the translated questions as having been annotated and checked by people. The system’s job is to select the correct option. Accuracy directly represents success on that choice, so the scoring question is simpler than it is for a freely worded summary or translation. Global MMLU

For translation, the study uses FLORES at its existing sentence granularity and builds LongFlores from the same material. Ukrainian serves as the common side of the translation pairs. Testing both directions makes Ukrainian the source in some requests and the target in others. These are different uses of the language. Reading Ukrainian and rendering its meaning in a second language mainly exercises Ukrainian on the input side. Translating into Ukrainian places the requirements for Ukrainian wording and fluency in the output as well. The Flores-101 Evaluation Benchmark

Recover the paragraphs behind the sentences

LongFlores begins from the observation that FLORES preserves information about where its sentence records came from. There is metadata identifying their paragraph membership, along with information about their positions. Without those fields, simply joining sentences presented next to each other would give no assurance that they formed a coherent passage. Paragraph membership supplies the grouping, and sentence position supplies the sequence within the group.

To understand the reconstruction, imagine reading only the records for a single paragraph. Each record contains an individual sentence. Grouping them identifies the pieces that belong together, and ordering them recovers the progression of the paragraph. Applying the reconstruction to the corresponding language material supplies the passage to translate and the reference passage for evaluation. At test time, the system receives the longer unit as the input. Having the whole unit available makes it possible for a sentence to be interpreted in light of the surrounding text.

The procedure yields 281 items from the FLORES development set. The distinction between this development split and a separately produced test collection is worth preserving. These are new evaluation units assembled from existing data. A paragraph combines material that sentence-level FLORES presents separately, while its underlying content and reference wording come from those sentence records. It is this combination that gives LongFlores both its efficiency as a benchmark construction procedure and its dependence on the quality of FLORES.

The paper draws its translation languages from communities relevant to Ukraine. It mentions languages used by minorities in the country, languages of neighboring countries, and languages of countries with a sizable Ukrainian diaspora. The benchmarks discussion names English, Crimean Tatar, and Polish, as well as Russian, Romanian, and German. It also names Czech, Hungarian, and Slovak. The introductory description says that Ukrainian is paired with eight other languages, while the benchmark discussion supplies the longer list. The paper establishes Ukrainian as the anchor and says that directions into and out of it are tested, but its descriptions leave the exact count unresolved.

The language selection gives the study a practical focus. Because the partner languages serve different communities and purposes, a single result labeled Ukrainian translation can cover quite different requests. The use of a Ukrainian anchor also defines the extent of that focus. The experiment is about translation involving Ukrainian, and the language list describes the selection of its partners. Looking at translation in both directions is especially important when the research question concerns the use of Ukrainian across tasks, since an output in Ukrainian is a different test from an output in a partner language.

Pair checkpoints and specify what they see

The experiment compares released base and instruction-tuned versions within the same family where those versions are available. That choice makes the comparison more specific than placing unrelated systems side by side. A family pair shares a development lineage. The study can therefore ask how the base and tuned releases behave on the same set of Ukrainian tasks. MamayLM adds a Ukrainian-specific point of comparison within the Gemma lineage. The checkpoint selection takes account of popularity and claims about training on Ukrainian.

Prompting is the other part of the design. A prompt is the material given to a checkpoint to elicit its output. In the base setting it includes solved task examples before the item to be scored. This is few-shot learning in the sense used by the study. The examples supply a pattern that the system can continue, and their use leaves the saved parameters unchanged. When the paper calls a test 3-shot, it means the prompt has three demonstrations. A 0-shot test gives the checkpoint the task without such examples.

A translation demonstration can show what a source and target look like together. Its effect can extend to the way the output begins and ends, since the sample also illustrates how the benchmark expects the task to be completed. In passage-based answering, a demonstration can show how much text to return, while in summarization it can illustrate the form of the intended response. These are ways a prompt can make a skill accessible at inference time, when the benchmark runs a saved checkpoint on a new item.

The experimental setup says that tuned versions were evaluated with both 0-shot and 3-shot prompts and that base versions were evaluated only with 3-shot prompts. The main table answers a narrower comparison. It places the 3-shot base checkpoint beside the 0-shot instruction-tuned version. That comparison asks whether examples can elicit as much task performance from a base release as direct instruction can elicit from its tuned counterpart. A comparison in which both releases receive matching demonstrations would address a separate question about checkpoint behavior under a shared prompt condition.

The paper uses standardized prompt sets and takes its generation settings from existing task implementations for other languages in lm-evaluation-harness, adapting them for the evaluations. Generation settings govern the way the system produces a response. The harness provides a common way of running benchmark tasks. vLLM serves the checkpoints for the evaluations. These components belong to the procedure for obtaining outputs from released systems. The study has no new training run in which the researcher varies Ukrainian data between stages. Efficient Memory Management for Large Language Model Serving with PagedAttention

From Ukrainian benchmark data to checkpoint comparisons

The steps in order.

From Ukrainian benchmark data to checkpoint comparisonsStep 1: Select Ukrainian tasks and translation directions1. Select Ukrainian tasks and translation directionsStep 2: Recover paragraphs from ordered FLORES sentences2. Recover paragraphs from ordered FLORES sentencesStep 3: Choose related base and instruction-tuned checkpoints3. Choose related base and instruction-tuned checkpointsStep 4: Prepare prompts with or without demonstrations4. Prepare prompts with or without demonstrationsStep 5: Evaluate checkpoints on the benchmark tasks5. Evaluate checkpoints on the benchmark tasksStep 6: Score responses and average task ranks6. Score responses and average task ranks

Score responses and combine standings

Paniv reports using BLEU for most benchmarks, explicitly including paragraph translation, and accuracy for Global MMLU. BLEU compares the wording of an output with reference wording through matching sequences of words. This makes it possible to evaluate generated text automatically. Its scores express a kind of reference overlap. Two wordings can convey the same meaning and receive different scores, which matters when interpreting a low value on an individual task. The paper invokes earlier work on evaluating translation at the paragraph level in connection with using BLEU there. Bleu: a Method for Automatic Evaluation of Machine Translation

Accuracy addresses a different scoring question. Global MMLU specifies the correct answer option, and the evaluation checks how often the system selects it. That gives the reader a direct interpretation for the MMLU column. The paper describes BLEU as the general rule and accuracy as the exception, but gives much less detail about each other column’s scoring implementation. For interpreting the results, the strongest numerical comparisons are within a task and under its reported metric. The same score written beside two benchmark names need not represent the same level of competence.

The aggregate uses ranks. The paper describes recording each system’s position on each task and taking its average position. A higher task score can produce a better position, while a lower average rank is the better aggregate result. Rank aggregation lets the benchmark battery include scores on different scales. An accuracy value on Global MMLU and a BLEU value on FLORES each contribute through the ordering of systems in their own task.

This aggregation keeps track of order and leaves out the size of the score gaps. A small advantage and a large one can have the same effect on relative order. Conversely, a checkpoint can lead on a prominent test and still have a weaker average rank if it places lower elsewhere. The paper gives the ranking operation in prose and supplies no equations for it or for the underlying metrics. It also does not spell out a tie rule or give a full intermediate ranking record. The published averages can therefore be read as reported standings without assuming details about how all the intermediate ranks were assigned.

The author reports releasing the evaluation scripts, the LongFlores benchmark, results, and a leaderboard together. These outputs serve different purposes within the same experiment. The benchmark defines the paragraph items, the scripts implement the procedure for testing, and the results record the performance obtained with that procedure. The new data resource is the reconstructed translation set. The larger comparison depends on the combination of that set with the existing tasks and the chosen checkpoint and prompt conditions.

Experiments and results

The settings represented in the results

The paper concentrates on popular open-source releases with parameter counts from 4 to 32 billion. Paniv presents that range as a practical choice under a limited budget. Most evaluations used a single node equipped with 2x RTX A6000 Ada GPUs. The reported compute account gives roughly 2 weeks of GPU time for most models. The budget shaped the checkpoint sample and the scale of the exercise, which uses released systems and a standardized evaluation pipeline.

The main results table has separate scores for Belebele Ukrainian, MMLU Ukrainian, and Ukrainian SQuAD. It also reports Ukrainian XLSum and distinguishes sentence FLORES from LongFlores. Those benchmark columns represent the Ukrainian selections described in the method, with the reconstructed development set used for LongFlores. Beyond the development split used to create LongFlores, the paper does not consistently identify a split for every numeric result. The reported figures are best understood by naming the benchmark and prompt condition alongside the score.

The baselines are the other checkpoint versions. For the ordinary family comparisons, the base version receives 3-shot prompting and the corresponding instruction-tuned version receives 0-shot prompting. The Ukrainian adaptation is reported at 0-shot and can be compared with the generic tuned Gemma at that same shot count. The average-rank column is the paper’s means of comparing performance across the assembled task battery. Each individual task score gives a second perspective on what the aggregate is capturing.

The overall standings within families

The lowest average rank in the main table belongs to Qwen3-14B-Base at 11.00 with 3-shot prompting. Its 0-shot instruction-tuned counterpart has 18.00. For the Qwen3-8B pair, the base version has 16.00 and the tuned version has 20.67 under the same respective conditions. Both comparisons point in the same direction. Within each size label, the example-guided base version has the better combined standing. Qwen3 Technical Report

EuroLLM follows the same pattern. Its Ukrainian task-average rank is 17.17 for EuroLLM-9B with demonstrations and 25.33 for EuroLLM-9B-Instruct without them. The Llama pair gives 24.17 for Llama-3.1-8B and 34.17 for Llama-3.1-8B-Instruct. Mistral-7B-v0.3 has a base average of 26.83 and a tuned average of 30.83. These families occupy different positions overall, yet each gives the edge to the base-plus-examples condition in the main comparison. EuroLLM · The Llama 3 Herd of Models

The Gemma figures require reading the numerical column separately from the narrative. The generic Gemma-2-9B instruction-tuned checkpoint has an average rank of 18.83. The base checkpoint has 17.00. Since lower ranks are better under the study’s method, the reported figures favor the base version. The prose describes the generic tuned version as an exception that has the better rank, which reverses the order of the published values. Gemma 2

MamayLM-Gemma-2-9B-IT-v0.1 achieves 14.17 with a 0-shot prompt. On the reported averages, it places ahead of both generic Gemma checkpoints and is the highest-placing instruction-tuned checkpoint in the displayed comparison. The paper describes MamayLM as the overall best, but the Qwen3-14B-Base value of 11.00 is lower. The evidence for MamayLM’s advantage is clear within Gemma and in several task columns. The broader leadership claim depends on how performance is defined, and the reported average ranks resolve it in favor of Qwen3-14B-Base.

Average task rank across the Ukrainian benchmark battery

The Qwen base checkpoint leads this comparison, and MamayLM places ahead of both generic Gemma releases.

Average task rank across the Ukrainian benchmark batteryQwen3-14B-Base, 3-shot (this paper): 11.00Qwen3-14B-Base, 3-shot (this paper)11.00MamayLM, 0-shot: 14.17MamayLM, 0-shot14.17Qwen3-8B-Base, 3-shot: 16.00Qwen3-8B-Base, 3-shot16.00Gemma-2-9B base, 3-shot: 17.00Gemma-2-9B base, 3-shot17.00EuroLLM-9B base, 3-shot: 17.17EuroLLM-9B base, 3-shot17.17Qwen3-14B tuned, 0-shot: 18.00Qwen3-14B tuned, 0-shot18.00Gemma-2-9B tuned, 0-shot: 18.83Gemma-2-9B tuned, 0-shot18.83Qwen3-8B tuned, 0-shot: 20.67Qwen3-8B tuned, 0-shot20.67EuroLLM-9B tuned, 0-shot: 25.33EuroLLM-9B tuned, 0-shot25.33
The numbers
System or settingaverage task rank
Qwen3-14B-Base, 3-shot (this paper)11.00
MamayLM, 0-shot14.17
Qwen3-8B-Base, 3-shot16.00
Gemma-2-9B base, 3-shot17.00
EuroLLM-9B base, 3-shot17.17
Qwen3-14B tuned, 0-shot18.00
Gemma-2-9B tuned, 0-shot18.83
Qwen3-8B tuned, 0-shot20.67
EuroLLM-9B tuned, 0-shot25.33

Reading comprehension and general knowledge

On Ukrainian Belebele, the gaps within some families are small and the direction varies. Qwen3-14B-Base with demonstrations achieves 90.56, compared with 87.22 for the tuned checkpoint without examples. Qwen3-8B-Base has 86.56 and the tuned Qwen3-8B has 84.78. For generic Gemma, the direction is reversed. The base result is 86.78 and the 0-shot tuned result is 87.56. MamayLM records 88.00. These values show how the adapted system can improve the Gemma comparison while the highest displayed score belongs to a different family.

Belebele also gives Llama an individual result that runs against its overall rank comparison. The 0-shot Llama-3.1-8B-Instruct scores 77.00, and the 3-shot base checkpoint scores 76.22. The direction shifts for EuroLLM. EuroLLM-9B-Instruct achieves 69.44 and the base checkpoint achieves 72.44. The aggregate ordering can be a useful description of performance across jobs, while a reader interested specifically in Ukrainian reading comprehension has reason to examine this column separately.

Global MMLU accuracy favors the base checkpoint in each ordinary family pair shown in the main table. Among the Qwen releases, the 3-shot Qwen3-14B-Base scores 70.64 compared with 65.35 for its 0-shot tuned counterpart. Qwen3-8B-Base records 67.26 against 61.63 for the tuned release. MamayLM’s accuracy on the same Ukrainian benchmark is 63.18, ahead of the generic Gemma base at 60.94 and tuned Gemma at 60.38. The Ukrainian-specific adaptation improves the position within Gemma without leading this particular general-knowledge comparison.

For Llama, the reported MMLU accuracy is 51.13 at 3-shot for the base and 48.86 at 0-shot for the tuned checkpoint. EuroLLM shows 52.56 against 50.86, and Mistral shows 48.43 against 44.54, in the same base-to-tuned order. Here the observed pattern across families is more consistent than in Belebele. Its interpretation remains tied to the question format. A correct choice demonstrates success on a Ukrainian version of a general-knowledge question under that prompt. It combines access to subject knowledge with the ability to interpret the question and select an option.

Ukrainian SQuAD offers a different comparison. The 3-shot Qwen3-8B-Base has a score of 51.80, while its 0-shot tuned counterpart has 35.26. Qwen3-14B-Base records 50.91 and the tuned counterpart records 21.66. These families therefore show substantial separation on the passage-grounded task. Qwen3-8B-Base has the higher SQuAD value of the two base checkpoints, even though Qwen3-14B-Base places higher across the battery. A family or size ordering drawn from the aggregate can miss that distinction.

The SQuAD results also help explain the narrower scope of MamayLM’s improvement. MamayLM scores 34.13, compared with 36.39 for generic tuned Gemma and 36.99 for base Gemma. In this column, the Ukrainian adaptation sits behind the generic checkpoints from its own lineage. In the comparison with generic tuned Gemma, both checkpoints are tested without examples. That gives the SQuAD result particular value alongside MamayLM’s stronger scores elsewhere. The adaptation is associated with a different balance of performance across tasks.

Summarizing Ukrainian news

For Ukrainian XLSum, 3-shot base checkpoints score above their matched 0-shot generic instruction-tuned versions throughout the displayed pairs. The lowest tuned score is 0.00 for generic Gemma, whose base checkpoint obtains 5.20. The Qwen3-14B pair reports 5.36 for the base and 1.61 for the tuned release. For Qwen3-8B the respective scores are 3.75 and 1.14. On this benchmark, the base-checkpoint advantage visible in the aggregate is also visible in each of these direct family comparisons.

The other matched pairs extend the pattern. Base Llama scores 3.67, with its instruction-tuned version at 1.00. Base Mistral scores 4.27, with its instruction-tuned version at 1.86. EuroLLM records 4.69 for the base and 1.55 for the tuned version. MamayLM reaches 2.59 with no demonstrations. Its score is higher than the ordinary tuned Gemma value of 0.00 and below the example-guided Gemma base at 5.20.

XLSum is important to the paper’s case because the performance differences involve producing a useful form of text in Ukrainian. The test expects a news summary, and an output can score poorly because of the content it selects, the wording it uses, or the form in which it presents the result. Paniv identifies the very low tuned scores as a sign of difficulty. The paper does not provide examples of the generated summaries or a separate rating of their adequacy. The numerical result establishes the weakness under this benchmark and scoring setup, with the underlying response errors still unresolved.

Translating sentences and paragraphs

MamayLM has the highest displayed BLEU score on each translation benchmark, with 18.98 for the Ukrainian FLORES sentence evaluation and 19.26 for the reconstructed Ukrainian LongFlores development set. Generic tuned Gemma is close behind at 17.52 and 18.01, respectively. The 3-shot Gemma base scores 10.46 on FLORES and 9.82 on LongFlores. The translation columns are consequently the clearest place to see both the strength of the Ukrainian-adapted release and a generic tuned release outperforming its base counterpart.

The 0-shot Qwen releases also have higher translation scores than their matched 3-shot base versions. For Qwen3-14B, the sentence scores are 17.03 tuned and 11.02 base. On LongFlores the pair records 16.03 tuned and 8.29 base. Qwen3-8B records 14.65 tuned and 8.73 base on the sentence benchmark, with 14.32 tuned and 6.86 base on the paragraph benchmark. Thus the family containing the best overall base checkpoint in the table also contains tuned checkpoints that score higher than their base counterparts on both translation tasks.

Llama and EuroLLM support the direction described in the results narrative. Llama’s base checkpoint scores 7.96 for sentence translation, while the tuned checkpoint scores 3.43. At paragraph level their BLEU scores are 6.99 and 3.94, respectively. EuroLLM’s base checkpoint records 16.38 for sentences and 15.10 for paragraphs. Its tuned counterpart has 16.00 and 13.85 on the respective benchmarks. Mistral goes the other way. Its tuned checkpoint records 9.90 on FLORES and 9.62 on LongFlores, while the base results are 7.76 and 6.37.

Translation checkpoints on the Ukrainian LongFlores development set

MamayLM has the highest paragraph score, and the matched family comparisons favor different prompt and checkpoint combinations.

Translation checkpoints on the Ukrainian LongFlores development setMamayLM, 0-shot (this paper): 19.26MamayLM, 0-shot (this paper)19.26Gemma-2-9B tuned, 0-shot: 18.01Gemma-2-9B tuned, 0-shot18.01Gemma-2-9B base, 3-shot: 9.82Gemma-2-9B base, 3-shot9.82Qwen3-14B tuned, 0-shot: 16.03Qwen3-14B tuned, 0-shot16.03Qwen3-14B-Base, 3-shot: 8.29Qwen3-14B-Base, 3-shot8.29EuroLLM-9B tuned, 0-shot: 13.85EuroLLM-9B tuned, 0-shot13.85EuroLLM-9B base, 3-shot: 15.10EuroLLM-9B base, 3-shot15.10Llama-3.1-8B tuned, 0-shot: 3.94Llama-3.1-8B tuned, 0-shot3.94Llama-3.1-8B base, 3-shot: 6.99Llama-3.1-8B base, 3-shot6.99
The numbers
System or settingBLEU
MamayLM, 0-shot (this paper)19.26
Gemma-2-9B tuned, 0-shot18.01
Gemma-2-9B base, 3-shot9.82
Qwen3-14B tuned, 0-shot16.03
Qwen3-14B-Base, 3-shot8.29
EuroLLM-9B tuned, 0-shot13.85
EuroLLM-9B base, 3-shot15.10
Llama-3.1-8B tuned, 0-shot3.94
Llama-3.1-8B base, 3-shot6.99

Paniv describes the few-shot base versions as consistently stronger in FLORES translation. The published scores support that description for Llama and EuroLLM, while Qwen, ordinary Gemma, and Mistral favor the tuned releases in the displayed comparisons. The same families favor their respective checkpoint types in both translation columns. The aggregate evidence for stronger base versions across the task battery can coexist with these translation results. In particular, the Qwen base checkpoints have strong results in general knowledge and passage-based answering alongside weaker translation values than their tuned counterparts.

The table labels these translation columns at the Ukrainian benchmark level. The paper refers to breakdowns by language pair, but the main numerical comparison does not give scores for each direction. The figures reported here support comparisons of the displayed aggregate translation scores. They cannot identify how much of a result came from translation into Ukrainian, how much came from translation out of it, or how consistently a system performed with its different partner languages.

What the ablations show

The effect of changing the checkpoint and the prompt together

The paper reports no ablation that holds the prompt fixed while independently changing the training stage. Its main analyses compare related checkpoint releases under different prompting regimes, compare the Ukrainian adaptation with ordinary Gemma releases, and examine the resulting task patterns.

Pairing releases within a family helps with interpretation. If the study compared only unrelated systems, a difference could reflect any number of unrelated development decisions. Starting with a corresponding base and tuned release makes the checkpoint comparison more informative. It still changes two important parts of the actual test. The training history differs, and the base system gets demonstrations that the tuned system in the main table does not. The question answered by the table is which of these two configurations places higher, with stronger control over family than over prompting.

A good base result has a direct implication. The ability to solve examples of these Ukrainian tasks is accessible before instruction tuning, provided the system gets sufficient information about the job in the prompt. The Qwen MMLU and SQuAD figures make that especially clear. It would be difficult to account for the base system’s answers as a product of instruction tuning, since those saved versions are the base releases. The demonstrations give the system a way to use what it already has, and that use is observable in the benchmark.

A lower result for the tuned configuration has more than one interpretation. Paniv proposes that Ukrainian may receive too little attention during instruction tuning. The paper also raises the possibility that training for instruction following, when mostly oriented toward English, interferes with capabilities that had been present before tuning. The setup allows an additional explanation involving elicitation. A checkpoint can respond differently with demonstrations, even when its trained parameters stay fixed. If the demonstration makes the task or answer form clearer, that change can affect a score independently of what the checkpoint learned during training.

The experimental setup says that both prompt conditions were used for tuned releases. A side-by-side report of those scores would help evaluate how much the tuned checkpoint benefits from examples. The displayed comparisons instead give the aggregate and task scores for the 0-shot tuned versions alongside the 3-shot base versions. The sizes of any gains from adding demonstrations to a tuned checkpoint remain unspecified there. The base-only 3-shot rule also leaves the base checkpoint’s response to switching from 0-shot to 3-shot unmeasured in the study.

What the Ukrainian-specific comparison contributes

The MamayLM comparison asks a more focused question. Generic tuned Gemma and MamayLM share a lineage, and both are listed at 0-shot. This removes the difference in number of examples that complicates ordinary base-to-tuned pairs. The result shows how a release adapted specifically for Ukrainian can perform against ordinary Gemma under the same number of demonstrations. Its standing improves across the overall comparison, and the strongest evidence comes from the translation columns.

The advantage has a task profile. MamayLM scores better than generic tuned Gemma in Belebele and MMLU. It does better on both forms of translation and on XLSum, with SQuAD favoring generic tuned Gemma. Comparing MamayLM with the base checkpoint changes the demonstration condition and produces another mixed profile. The adapted release has the better average rank and translation scores. The 3-shot Gemma base keeps the higher SQuAD and XLSum scores. This is evidence that a Ukrainian adaptation can be strong across the battery while its benefits vary with the kind of task.

The shared shot count makes the comparison informative about released checkpoints. It is less informative about which part of the adaptation produced the scores. The experiment gives no separate versions of MamayLM that vary the amount of Ukrainian instruction material. It also supplies no controlled series that changes only that material while holding the other adaptation choices fixed. MamayLM supports the paper’s case that instruction tuning or adaptation can be effective for Ukrainian. The observed differences cannot identify a particular data ingredient as the cause.

The Gemma result is also a lesson in reading an aggregate alongside its parts. The prose treats Gemma as an exception and uses the specialized adaptation to illustrate the usefulness of tuning. Those are separable comparisons. Ordinary tuned Gemma has a weaker reported average rank than the 3-shot base checkpoint, yet it performs better on translation and Belebele. MamayLM improves the average relative to both. The case for benefits on certain tasks and for a strong Ukrainian adaptation survives the error in the prose about the ordinary matched pair.

What the task breakdown can explain

The task columns reveal differences in what the prompting setups elicit. Global MMLU asks for a choice, so it places relatively clear boundaries around the answer. SQuAD grounds the answer in the supplied passage. XLSum requires the system to generate a much less constrained piece of text that reflects the source article. The repeated base advantage on XLSum and strong base results on parts of the question-answering battery suggest that demonstrations work across several kinds of request. The table alone leaves the source of the advantage within each task open.

The differences across question-answering tasks are informative in their own right. Belebele favors the tuned release in some families, whereas Global MMLU consistently favors the base condition in the displayed pairs. This means that a blanket statement about Ukrainian question answering would overlook differences already present within that category. The ability to interpret passage-bound questions and the ability to choose an answer to a general-knowledge question can move differently in these evaluated releases.

Sentence and paragraph translation give the study a comparison of evaluation granularity. LongFlores makes more context available and simultaneously changes the unit being generated and scored. A paragraph may contain surrounding wording that helps resolve a reference, and it also asks the system to sustain the translation over a longer stretch. The BLEU results reflect the combined output. They give no separate measurement of how often the system uses context to resolve an ambiguity or preserve a relationship across sentence boundaries.

The stability of the family-pair directions across the translation columns is useful within those limits. When an ordinary matched pair favors its base or tuned version at sentence level in the main table, it favors the same version at paragraph level. This suggests that switching the reported unit did not reverse those particular pairwise comparisons. The BLEU values themselves change in ways that depend on the checkpoint and evaluation unit. A change in score across the columns cannot be attributed specifically to the value of extra context, because the whole unit and the way it is compared with the reference have changed together.

Limitations

The limits the author identifies

Paniv presents the release selection as constrained by budget and practicality. The checkpoints are popular within the study’s scope or were selected in part because of claims about Ukrainian training data. They are a purposeful sample. The observed ranking trend therefore describes those releases and the chosen prompts. Other sizes, other releases, or later systems trained with different language priorities could give a different balance of base and tuned performance. The author frames the implications for other mid-resource languages as lessons that may transfer from the Ukrainian case.

The paper also identifies limitations in the underlying translation data. Some FLORES sentences have problems, and the reconstruction carries those problems into LongFlores. Ordering sentences accurately can recover their paragraph membership while preserving defects in an individual sentence or reference. This matters especially in a comparison based on matching reference text. A problematic reference can penalize a reasonable answer or otherwise blur the interpretation of a score. Paniv characterizes the resulting benchmark as a rough measure of translation at the two granularities and calls for better benchmarks.

There is a related limit in what is known about training data. The paper can cite broad pretraining proportions for Llama and can compare releases with and without instruction tuning. The author observes that information about multilingual coverage during instruction tuning is unavailable in that example. Explanations centered on the amount of Ukrainian instruction data are consequently interpretations of the observed performance. The same applies to the proposed mechanism in which further training interferes with Ukrainian representations learned earlier. The experiment does not inspect those representations or audit the training mixture.

What follows from the design

The chief interpretive limit is the difference in prompts. A training-stage effect, in the narrow sense, would be the difference caused by instruction tuning under a defined, shared test condition. The main table compares checkpoints with different histories and different access to demonstrations. It establishes that a practical combination, a base release with examples, frequently has a better overall rank than a tuned release without examples. Assigning that full difference to training would overlook part of the test setup. This matters when reading the paper’s conclusion that the tuned checkpoints appear to lose Ukrainian ability.

The benchmark scores measure task behavior. A base checkpoint that succeeds demonstrates that its capabilities can be elicited before tuning under the study’s conditions. A tuned checkpoint that fails could have difficulty with the language, the task directive, the expected answer form, or some combination of those demands. The study does not provide a separate measurement of knowledge retained after tuning that could distinguish those explanations. The answer can be different across tasks even for the same checkpoint, as the ordinary Gemma and Qwen comparisons show.

The ranking scheme has its own limits. A rank depends on the systems included in the comparison and leaves out the size of the score gaps. A stronger average rank can come from placing well across many tasks, while a weaker overall checkpoint can be a better performer on a specific benchmark. Sentence and paragraph translation also contribute separate task columns even though they draw on related material. The reported battery includes several distinct views of Ukrainian use, with the balance among those views determined by the way the study assembles the tasks.

The paper’s main table gives point results without accompanying uncertainty estimates. Close scores can therefore be ordered as displayed, but the stability of those orderings under different examples, prompt variants, or benchmark samples remains open. The issue has practical consequences for reading the Gemma and EuroLLM comparisons. The table is adequate to identify which published score is higher. It gives less basis for deciding whether a close advantage should be expected to recur under another reasonable test condition.

The generation metrics add a different source of uncertainty. Word overlap is a practical basis for scoring a large set of outputs, while judgments about sense, style, or factual fidelity require other evidence. In XLSum, the near-zero scores are evidence of very poor performance according to the reported evaluation. The study gives too little output-level evidence to determine whether the systems omitted crucial facts, used alternate wording, added irrelevant explanations, or encountered another issue with the expected response. Likewise, paragraph BLEU summarizes reference overlap across a longer output and cannot on its own identify discourse-level errors.

The provenance of the test material matters. XLSum covers Ukrainian news, while the SQuAD adaptation and Global MMLU use translated material. Those resources make the tasks available in Ukrainian and preserve the job each benchmark was built to assess. Their results characterize those kinds of material. They do not on their own establish the same standing across Ukrainian writing more generally, particularly in settings with different subject matter, register, or conventions for what counts as a satisfactory answer.

LongFlores has a narrower claim than a general test of long-document translation. Its unit is a reconstructed paragraph, and the paper evaluates it on the FLORES development material. Aggregate BLEU can show which checkpoint better matches paragraph references on that set. The benchmark produces no separate evidence about how a system handles documents beyond that scale, how it uses distant information, or how it maintains consistency across paragraphs. Nor can the reported comparison establish that the setup measures a distinct context-use skill independently of ordinary translation quality.

Finally, several descriptions in the paper conflict with its displayed evidence. The introductory language count differs from the list in the benchmark discussion. The ordinary Gemma average ranks favor the base version in spite of the prose describing the opposite. The table gives Qwen3-14B-Base a better mean rank than MamayLM. And the broad claim about consistent translation gains from the few-shot base condition holds only for some families in the displayed scores. These discrepancies affect different parts of the interpretation. They leave the exact coverage by direction uncertain, narrow the case for the generic Gemma exception, and distinguish the system with the best aggregate rank from the one with the strongest reported translation scores.

What came after

Data-Efficient Adaptation of Multilingual LLMs to Ukrainian, by Paniv and colleagues at UNLP 2026, cites the benchmark study and takes Ukrainian adaptation as its subject. The change in question is visible in the title. The benchmark study compares already released checkpoints to see how much Ukrainian performance is accessible under different prompts. The later work centers on adapting multilingual systems to Ukrainian with attention to the amount of data required.

That connection is particularly relevant to the MamayLM comparison. Paniv’s benchmark establishes how a Ukrainian-specific release stands against its generic relatives and shows that the advantage depends on the task. The later title identifies adaptation efficiency as a research problem in its own right. The citation establishes that the later work draws on the earlier study as background. Whether it reuses LongFlores, adopts the same checkpoint comparison, or tests the proposed explanation about sparse Ukrainian instruction data cannot be established from the bibliographic record alone.

Cite

Cite as Yurii Paniv. 2025. Isolating LLM Performance Gains in Pre-training versus Instruction-tuning for Mid-resource Languages: The Ukrainian Benchmark Study. Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era.

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

@inproceedings{yurii2025isolating,
  title = {{Isolating LLM Performance Gains in Pre-training versus Instruction-tuning for Mid-resource Languages: The Ukrainian Benchmark Study}},
  author = {Yurii Paniv},
  booktitle = {Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era},
  year = {2025},
  url = {https://aclanthology.org/2025.ranlp-1.100/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/paniv-2025-isolating-llm-performance-gains-pre/