Elamur Research

Continued Pretraining and Interpretability-Based Evaluation for Low-Resource Languages: A Galician Case Study

Paper · 2025 · Pablo Rodríguez, Silvia Paniagua Suárez, Pablo Gamallo et al.

Summary

A system can write more naturally in Galician after seeing more Galician text and still become less reliable at answering questions. The authors examine that possibility through continued pretraining, the practice of taking an existing system and resuming its training on a new collection of text. They start from Llama-3.1-8B and vary the amount and composition of its additional training data. Some versions see ordinary text alone. Others also see instructions paired with responses. The study asks which mixtures improve Galician writing while preserving the ability to carry out a range of tasks.

The larger multilingual baselines generally do better on structured tasks than the versions adapted on ordinary text alone. Two versions trained on smaller, curated collections with added instructions come closer to those baselines. One uses Galician examples of question answering and entity recognition. The other adds a wider variety of tasks and languages. A version that receives translation instructions improves on the Galician translation benchmark relative to its plain-text counterpart, with more limited benefits elsewhere. On measures of Galician writing quality, the paper finds a broad advantage for continued pretraining over the starting checkpoint. The version of training that produces better continuations and the version that best preserves performance on a particular task can therefore be different.

The authors also ask what an evaluation score can explain. Their framework, simil-eval, lets a system generate an answer and then checks which of the available choices it most closely resembles. For the multiple-choice results the paper compares, the Pearson correlation between the hit rates obtained with this procedure and those obtained by directly scoring the supplied choices is 0.87. For the open-ended tasks assessed by native speakers, the overall correlation between the automatic results and the human results is 0.17. Automatic tests of writing quality also correlate weakly with human judgments. The agreement on multiple choice applies to a setting where both procedures ultimately score a choice against a known answer. Evaluating a freely written response requires deciding whether it fulfills the request, and evaluating a continuation requires noticing problems in its wording and meaning.

The authors release Galician checkpoints, instruction data, evaluation resources and simil-eval. The new benchmarks cover sentence inference, the choice of a plausible story ending and the prediction of a missing final word. Together with the human assessments, they show why a study of language adaptation needs several kinds of evidence. An adapted system can raise the standard of the prose it writes, preserve some of its original task performance and still earn automatic scores that give an incomplete account of either change.

Deep dive: Continued Pretraining and Interpretability-Based Evaluation for Low-Resource Languages: A Galician Case Study

A Galician study tests how continued pretraining changes writing quality and task performance, and how well automatic scores reflect human judgments. · about 36 minutes to read

The problem and its context

Adapting a system that already knows how to do things

Continued pretraining starts with an existing set of learned parameters. The system has already spent its original training learning regularities in text and acquiring behaviors that can be elicited with prompts. A second round of training changes those parameters using another corpus, a collection of text assembled for training. In this paper the immediate reason for that round is to improve Galician, a language the authors describe as underrepresented in the multilingual starting point. The case belongs to a broader problem in low-resource languages.

Galician adaptation has a practical objective that can be observed in generated text. Given the beginning of a passage, can the system continue in comprehensible, well-formed Galician? Improving that ability calls for exposure to examples of the language in use. But a system that can continue a passage also serves as a starting point for other activities, such as answering a question, identifying a paraphrase or choosing a plausible ending. Additional training can change those behaviors alongside the quality of the language. The experiment therefore needs to follow both outcomes through the training change.

The paper places this concern in the literature on catastrophic forgetting, where learning from new data can erode abilities acquired earlier. The authors discuss a risk to other languages when the additional corpus consists only of the new target language. They also frame a related risk within Galician evaluation. A system may acquire better Galician writing habits yet struggle to complete tasks that the starting point handled more successfully. These are separate empirical questions. Multilingual training data addresses the concern about language coverage at the level of design, while Galician task benchmarks test whether particular task behaviors survive the adaptation.

An ordinary passage of prose offers a sequence of words to predict. An instruction example supplies a relationship between a request and an appropriate response. A corpus can contain both while supporting the same broad training procedure. The authors investigate whether making those relationships visible during continued pretraining helps keep task behavior accessible. They also ask whether a narrowly targeted set of instructions, such as translation examples, has the same effect as a collection that exposes the system to different kinds of work.

Where the training approach comes from

The paper traces its use of instruction examples to earlier work that inserts task supervision directly into pretraining. Cheng and colleagues synthesize instruction–response pairs from raw material and train on the resulting mixture of ordinary text and simulated tasks. In the account given by the Galician paper, their approach improves the starting system when training begins from scratch and also improves the gains available from later adaptation. Rodríguez and colleagues take up the idea of mixing instructions into pretraining and apply it to an already trained multilingual starting point. Instruction Pre-Training

The authors also describe earlier work on creating synthetic instruction data for new tasks. This offers a way to assemble task examples under conditions where ready-made instructions are scarce. Another study they discuss examines the balance between further pretraining and instruction fine-tuning, a subsequent training stage aimed at more specific behaviors. The Galician experiment puts instruction examples inside the continued pretraining corpus. This choice lets the authors study what the mixture does before a separate instruction-tuning stage.

Earlier prompt-based continued pretraining supplies a related idea. The paper describes a method that combines task-related text with prompt templates during further unsupervised training and improves later fine-tuning performance. It also cites MiniCPM for a training strategy that varies the instruction signal through annealing, a scheduled change during training. These studies motivate decisions about when and how a system encounters instructions. The Galician comparison concentrates on the content of the additional corpus, including the range of requests represented in it. MiniCPM

Why writing and task completion call for different evidence

The paper organizes evaluation and benchmarks around what is being assessed, how it is scored and where the test items come from. The first question distinguishes the ability to complete a task from the qualities of the language produced in doing so. The authors connect it to a distinction in cognitive science between functional linguistic competence, which encompasses abilities used to accomplish things with language, and formal linguistic competence, which concerns knowledge of linguistic patterns and rules. The evaluation translates that distinction into measurements of particular behaviors. A Survey on Evaluation of Large Language Models

Consider a response to a mathematical question. A reader can check whether it contains the right answer and separately inspect whether its Galician is readable. An acceptable passage of Galician may contain an incorrect answer, while the correct answer can appear in a poorly written response. The difference also applies to a summary. Its task is to convey important information from the source, and its sentences can be judged for fluency and consistency. A score for one property provides limited evidence about the other. That is why the paper keeps human judgments of task validity separate from human judgments of language quality.

The choice of scoring procedure becomes especially important when the response is open-ended. In a multiple-choice test, success can be defined by a known option. A benchmark can specify in advance which continuation completes a story. In a freely generated continuation, many passages may fit the context. A reader can notice that the prose maintains the topic even when it uses wording that differs substantially from an available reference. An evaluation of text generation has to decide which of those properties its score is intended to represent.

As the paper describes the earlier work, benchmark libraries make prompt formatting and evaluation procedures easier to standardize. They matter because even small changes to the way a request is presented can influence the response. The authors draw on lm-eval for structured probabilistic scoring and on IberoBench for Galician datasets. IberoBench covers Galician alongside Basque, Catalan, European Spanish and Portuguese. It provides standardized settings with 0-shot and 5-shot prompts, meaning prompts with no task demonstrations or with demonstrations supplied in the prompt. The description of what IberoBench supports gives the context for the authors’ dataset selection. The ICL Consistency Test · IberoBench

For free responses, the earlier work reviewed in the paper identifies limitations of comparing the words in an answer with the words in a reference. BLEU and ROUGE are established automatic evaluation metrics associated with translation and summarization. The authors note that such metrics can diverge from judgments about qualities such as relevance, fluency and coherence. Methods that use contextual representations can recognize more relationships between differently worded responses. Assessing originality and other features of an entire passage remains difficult even with those representations. BLEU · ROUGE · MoverScore

The authors also consider systems that act as automatic judges. They cite prior work exploring that approach and emphasize the need to verify its agreement with human assessment. For Galician, an automatic judge can face the same shortage of language exposure that motivates the adaptation study in the first place. The authors consequently use native speakers for the evaluation of generated text. The resulting design gives them several views of performance and lets them check where agreement between those views breaks down.

The method, step by step

Start from the same checkpoint and change the corpus

The authors use Llama-3.1-8B as the common starting point for the adaptation runs. A checkpoint is a saved set of parameter values. Starting each run from the same checkpoint means that the adapted systems bring the same initial training history into the experiment. The comparison can then focus on the differences introduced by the new data and, where training settings differ, on those settings as well. The paper describes each newly adapted system as having 8B parameters. The words large and small in the names of the adapted variants refer to the amount of additional training text.

The common starting point is multilingual. The authors include Spanish and English in the new training material because those languages were present in its original training. They add Catalan and European Portuguese because of their relationship to Galician among the Ibero-Romance languages. Galician is the target of adaptation. The presence of several languages is intended to reduce the risk associated with shifting the entire additional training corpus to Galician. The larger Portuguese share in one run also gives the authors a way to explore whether the allocation among languages matters.

From multilingual training data to Galician evaluation

The steps in order.

From multilingual training data to Galician evaluationStep 1: Assemble multilingual text with Galician as the target1. Assemble multilingual text with Galician as the targetStep 2: Adapt or generate instruction and response examples2. Adapt or generate instruction and response examplesStep 3: Build plain-text and instruction-enriched training mixtures3. Build plain-text and instruction-enriched training mixturesStep 4: Continue pretraining from a shared checkpoint4. Continue pretraining from a shared checkpointStep 5: Score choices, generated answers and language diagnostics5. Score choices, generated answers and language diagnosticsStep 6: Compare selected outputs with native-speaker judgments6. Compare selected outputs with native-speaker judgments

The plain-text runs establish which changes might arise before instruction examples are added. Model-large draws on all the available raw-text corpora selected for the study. Model-small-1 uses a curated Galician collection with the other languages represented in equal amounts in the appendix’s corpus accounting. Model-small-2 uses the same amount of Galician text as Model-small-1, with a larger allocation to Portuguese and changes to other languages. The appendix lists 232 million Galician tokens for both runs. It gives Model-small-1 29 million tokens from each of the other languages. In Model-small-2, the Portuguese allocation is 47 million tokens and the English allocation is 35 million tokens. Spanish and Catalan each contribute 16 million tokens.

These quantities matter because the contrast between the two smaller plain-text runs changes the mixture while keeping the Galician allocation fixed. A difference between them can be associated with the mixture as tested. Several language shares change together, so the observation belongs to the combined allocation of the non-Galician portion. The comparison with Model-large is broader. It changes the corpus scale and the selection of Galician material at once.

The method section describes the largest corpus as containing more than 20 billion words. For the remaining runs, the paper puts the plain-text total at about 350 million words and the instruction count at no more than 35 million words where instructions are used. The corpus appendix reports language allocations in million tokens. A token is a unit presented to the system for processing, and the paper uses that unit explicitly for the appendix and for training sequence length. The prose figures give the approximate scale in the authors’ terminology, while the appendix gives the allocation by language in its stated unit.

Add instructions with different purposes

Model-small-instr-1 extends the corpus used for Model-small-1 with Galician examples of named entity recognition and question answering. In entity recognition, the requested output identifies names or other entities of a specified kind in the input. In question answering, the system is shown a request for information and a suitable answer. Both give the learner repeated exposure to a task expressed in Galician along with an example of what completing it looks like.

Model-small-instr-2 also extends the Model-small-1 corpus, with a different kind of supervision. Its instructions concern machine translation involving Galician and English or Spanish. The paper identifies the pairs using EN-GL and ES-GL. This branch addresses a narrower question than the first instruction branch. It tests what happens when the added requests repeatedly exercise a particular operation, producing corresponding text in another language.

Model-small-instr-3 extends the recipe of Model-small-instr-1 with more tasks and with instruction material spanning the corpus languages. The paper gives sentiment analysis, in which a system classifies the attitude expressed in text, as an example of the additional tasks. This branch broadens exposure along multiple dimensions. It changes the kinds of instructions, the languages in which they occur and the amount of instruction material. It tests the broader recipe as assembled.

The instruction inventory explains how the authors obtained material in languages where ready-to-use datasets were scarce. They took some existing datasets and recast their contents as requests paired with responses. A dataset of definitions, for instance, already contains the information needed to associate a word with its meaning. Adapting its format can turn that relationship into a task the system encounters during pretraining. The Galician inventory also includes material for orthographic correction and morphological analysis, alongside tasks based on existing translation data.

For some datasets the authors generated examples from scratch with Salamandra-7B-Instruct. The Galician Wikipedia multiple-choice question dataset contains 1,486 generated entries. The CódigoCero summarization dataset contains 342 generated entries. The inventory also gives the creation method for examples in the other languages. It lists, among other resources, adapted Catalan paraphrase and sentiment data, generated Portuguese Wikipedia questions and adapted English entity recognition data. These are examples of how the pool was assembled. The inventory describes material across the instruction recipes, whose definitions specify different directions for its use.

The paper reports releases of the adapted checkpoints, evaluation resources, instruction data and simil-eval under open licenses. The instruction appendix identifies Parafraseja, CASSA and the Real Academia Galega resource as subject to license restrictions that prevent public release. This distinction matters when reading the inventory as an account of the experiment. It describes a collection that includes materials with differing terms of access.

Keep the training procedure comparable

Each smaller run uses a pair of nodes equipped with two NVIDIA A100 GPUs apiece. Model-large uses five such nodes. DeepSpeed with ZeRO stage 2 distributes the training load. The effective batch size, the amount of training input grouped for an update, is 128 for the smaller runs and 320 for Model-large. The learning rate begins at 10⁻⁴ and declines linearly, so the size of updates is governed by a schedule that decreases through training.

Each run lasts a single epoch, meaning a pass through its own training corpus. The sequence length is fixed at 2048 tokens, and the authors use BF16 mixed precision. A common epoch count gives the runs the same number of passes through their respective corpora. A much larger corpus supplies more material during its pass. The difference in the large run’s batch size and hardware belongs to the interpretation of that comparison. Within the smaller set, the shared training settings make the data recipes the central experimental differences.

The instruction examples are part of this pretraining stage. The paper evaluates the resulting pretrained checkpoints before the kind of separate instruction tuning ordinarily used to specialize a system for interacting with users. A system can therefore encounter examples of requests and answers in its continued pretraining data and still belong to the paper’s pretrained evaluation group. The distinction is a matter of when and how the examples enter training.

Choose tests that ask different questions

The structured tests cover several ways of using Galician. In belebele_gl, the system uses a reading passage to choose an answer. In openbookqa_gl, the task is open-book question answering. parafrases_gl asks whether sentences are paraphrases, and paws_gl supplies adversarial paraphrase cases, where similarity in wording can make the decision difficult. In these settings the expected outcome can be represented as a choice or class, even though the language a system might generate in response to the prompt is unconstrained.

Other tests exercise different behaviors. mgsm_direct_gl uses multistep mathematical questions. summarization_gl uses news articles and asks for summaries. flores_gl evaluates translation, and truthfulqa_gl provides both choice-based and free-response evaluation. galcola asks about linguistic acceptability, whether a sentence is well formed for a speaker. The inclusion of both task tests and acceptability judgments allows the paper to compare several aspects of performance without folding them into a single definition of improvement.

The authors also construct Galician versions of existing tests. xnli_gl presents a premise and a hypothesis. The system decides whether the premise supports the hypothesis, contradicts it, or leaves its truth open. The dataset was translated automatically and then revised by professional translators. Its test split contains 5,009 entries. An item tests the relationship between the meanings of the two sentences, whose plausibility when read individually is a different matter.

xstorycloze_gl asks the system to identify a sensible continuation of a story. It was translated from English and likewise reviewed by professional translators. According to the paper, the total is 1,841 entries, and the counts assigned to training and testing are 360 and 1,511, respectively. These are dataset partitions. The benchmark’s evaluation role is to test whether the context of a story guides the choice of ending.

calame_gl comes from a Portuguese dataset and was translated into Galician and revised by professional translators. It contains 931 entries, each pairing a short passage with its final word. The passage is designed to give enough context for a reader to make a plausible prediction while retaining some uncertainty. Here the authors are interested in how much probability the system gives to that expected word. Though this is also a completion problem, the score concerns a particular word in a supplied passage. The human continuation study concerns the quality of longer passages the systems generate themselves.

Score the probability of a supplied answer

In the probabilistic multiple-choice procedure, each proposed answer can be treated as a sequence of tokens that might follow the input. The system assigns a probability to each successive token, using the prompt and the already supplied part of the answer as context. The log-likelihood brings those token-level judgments together into a score for the answer sequence.

log P(y | x) = ∑(i = 0 … m−1) log P(yᵢ | x, y₀, …, yᵢ₋₁)

Here x is the input sequence, whose length is n, and y is the target answer sequence, whose length is m. The index i begins at 0 and runs through m−1, and yᵢ denotes the token at that position. The tokens y₀, …, yᵢ₋₁ form the part of the target that comes before it. For the first target token that part is empty. P denotes the probability the system assigns, | means that the material to its right is treated as context, and log takes the logarithm of a probability. ∑ adds the resulting terms across the target positions. The whole expression is the log-probability of the answer conditional on the input.

The benchmark uses such scores to compare provided choices. The evaluation result can still be an ordinary hit rate, the fraction of items on which the selected option matches the benchmark’s answer. Log-likelihood describes the evidence used to rank the options. A hit rate describes how frequently the ranking put the known answer first. This distinction is useful when the paper compares lm-eval with a method that produces a choice through a different route.

The authors also use surprisal, which expresses how unexpected a token is for the system in a given context. A token assigned a smaller probability has higher surprisal. In the final-word test, a lower score means that the word supplied by the dataset was easier for the system to anticipate.

S(yₙ | y) = −log P(yₙ | y)

S denotes surprisal. In this expression, y is the preceding sequence, consisting of y₀ through yₙ₋₁, and yₙ is the next token being scored. The index n identifies the position immediately following that context. P(yₙ | y) is the assigned probability of the next token given the preceding sequence. log takes its logarithm, and the minus sign reverses the direction so that a smaller probability yields a larger surprisal value.

Generate an answer that can be inspected

Simil-eval starts by asking the system to complete a prompt. It saves the resulting text and compares it with a reference or with the available options. In the multiple-choice case, the generated answer is compared with the text of each choice. The choice with the largest similarity becomes the evaluation prediction. The benchmark’s answer key then determines whether that prediction is a hit. A generated answer can thus be attributed to a choice even when the system expresses it in its own wording.

The paper calls this procedure more interpretable because there is a response for a reader to inspect. A generated response may resemble an incorrect option because it expresses the same mistake. It may also be vague enough that its automatic assignment to an option is open to question. The actual text and the similarity scores give a reader evidence for distinguishing those cases. This form of interpretability concerns how an evaluation decision is made from visible output.

The paper tests several ways of measuring semantic similarity. Cosine similarity compares the direction of representations derived from the last layer for the response and the reference. These representations, called embeddings, encode the text as vectors so the procedure can compare the vectors mathematically. Larger cosine values indicate closer resemblance according to those representations. BERTScore uses contextual BERT embeddings and a modified cosine comparison. MoverScore also uses BERT-based embeddings and estimates how much change would be required to transform one representation of the text into the other. A smaller estimated transformation effort indicates closer texts.

Each of these measures supplies evidence about resemblance. The evaluation still needs a rule for deciding what constitutes success. In the multiple-choice version, there is an explicit rule that chooses the closest option and checks it against the key. In a comparison of free responses with references, the meaning of an average similarity score depends on the task and on how much freedom there is to answer it. The appendix gives examples of the output of simil-eval and presents both choice accuracy and average similarity analyses.

Compare sentence pairs for grammatical sensitivity

The paper extends galcola with a comparison based on surprisal. The system scores an acceptable sentence and its unacceptable counterpart. The authors want to know whether it assigns the two sufficiently different scores in the expected direction. To put the difference on a relative scale, they divide it by the larger of the two surprisal values and multiply by 100.

difsur = ((S(xₙₐ) − S(xₐ)) / max{S(xₐ), S(xₙₐ)}) × 100

difsur names the relative difference in surprisal. xₐ is the acceptable sentence, with a identifying acceptability, and xₙₐ is its unacceptable counterpart, with na identifying nonacceptability. S gives the surprisal used for each sentence. The numerator subtracts the acceptable sentence’s value from its counterpart’s. max selects the larger value enclosed by the braces, / divides by that value, and × 100 expresses the relative difference on a percentage scale.

A positive result indicates that the unacceptable member of the pair was more surprising. A value near zero indicates that the two received similar scores. A negative result indicates that the expected direction was reversed. The comparison is intended to relate a system’s score to a contrast about grammatical acceptability. It measures that contrast on paired test sentences. The paper then checks whether performance on this diagnostic tracks properties that native readers observe in generated continuations.

Ask native speakers about form, meaning and task success

The writing-quality assessment starts from generated continuations of shared contexts. The authors adapt an earlier Galician perception experiment that compared human and machine continuations. In this study the passages to be rated are generated by the systems under comparison. The use of shared contexts lets differences in wording and coherence be examined against a common beginning. The design retains the earlier study’s procedures for selecting and splitting passages and for counterbalancing their presentation.

Four native speakers participate in the assessment, with each assigned the output of a single system. The linguistic annotation instructions distinguish form errors from content errors. For form, the evaluator counts identifiable problems in the wording or grammatical structure of a comprehensible continuation. Several form errors can be recorded in the same text. For content, the evaluator records whether there is any inconsistency within the continuation or with the context it was supposed to follow. A single such problem can place the entire continuation in the content-error category.

This difference affects how the human scores are read. A count of form errors asks how many identifiable problems a continuation contains. The share of passages with a content error asks how widely meaning problems occur across continuations. The paper also plots the proportion of passages free of each kind of error. A system can have errors concentrated in a few passages or spread them across the test. Reporting error frequencies and the proportion of error-free texts gives different views of those patterns.

A separate human assessment judges the answers from open-ended benchmark tasks. The evaluators use Label Studio to review the original prompt, the benchmark reference and the generated response. The paper’s limitations section reports 50 examples per task for this evaluation. Each assessor covers the chosen tasks for a single system. The outcome for an item is a validity judgment made under the criterion for its task.

For summarization, a response is valid if it conveys at least one central point from the article. Copying the opening paragraph without summarizing the article fails the criterion. Small language errors are tolerated when the answer remains readable. This is a test of whether the response performs a minimum summarization function, with the reference helping the assessor identify the substance of the source.

In truthfulness evaluation the response needs to agree in meaning with an accepted answer. In mathematics it must include the correct answer, with flexibility about the exact characters used to present it. The assessors can disregard extra text when the required answer is present and can enter comments to explain their decisions. These rules provide a basis for comparing automatic scores with judgments about whether a reader can recover the required content from the response.

Experiments and results

Compare adaptation with the starting point and existing baselines

The unadapted Llama-3.1-8B is the direct baseline for measuring changes after continued pretraining. It is especially informative because it shares its initial weights with the adapted versions. The experiment also includes Salamandra-2B and Salamandra-7B, multilingual baselines that cover European languages including Galician. Carballo-Bloom supplies a Galician-only comparison. The inclusion of these systems puts the shared-checkpoint runs in the context of existing systems with different training histories and capacities.

The comparisons answer different questions. A comparison between Llama-3.1-8B and one adapted version shows how the additional training recipe changed a system built from that starting point. A comparison with Salamandra shows how the result stands alongside a multilingual alternative that includes Galician. Carballo-Bloom shows what a Galician-focused system can do in the same evaluation. Because these outside baselines differ in several respects, their rankings describe relative performance under the tests. The common-starting-point comparisons bear more directly on the effects of the authors’ adaptations.

The datasets also set different levels of difficulty. In belebele_gl and openbookqa_gl, a random choice has a hit rate of 0.25. In xstorycloze_gl, the random hit rate is 0.5. The questions in truthfulqa_gl have between 4 and 10 options, giving an approximate average random hit rate of 0.196 for the comparison discussed in the paper. These are chance references for their respective multiple-choice settings. The same raw hit rate can sit very differently above chance depending on the number of options.

Structured tasks depend on the adaptation recipe

Across the multiple-choice comparisons, the authors report that the larger multilingual baselines generally outperform the smaller external baselines and the systems adapted on plain text alone. The baselines they single out are Llama-3.1-8B and Salamandra-7B. The authors identify Model-small-instr-1 and Model-small-instr-3 as the most competitive of the small adapted variants across these tasks. The individual benchmarks show what that broad characterization includes. The strongest system can change with the task, and a recipe that performs favorably on one benchmark can be much less successful on another.

Reading comprehension on belebele_gl gives a clear example. In the lm-eval results, the unadapted Llama-3.1-8B reaches 0.807 accuracy. Model-small-instr-1 reaches 0.563, and Model-small-instr-3 reaches 0.500. The smaller plain-text reference for the instruction runs, Model-small-1, reaches 0.431. Model-large reaches 0.320. Adding the Galician task instructions or using the broader multitask recipe therefore improves on the curated plain-text run on this benchmark, with the original checkpoint still well ahead.

Multiple-choice reading comprehension accuracy on belebele_gl with lm-eval

The unadapted checkpoint leads, while the strongest instruction-enriched runs exceed the curated plain-text run.

Multiple-choice reading comprehension accuracy on belebele_gl with lm-evalLlama-3.1-8B: 0.807Llama-3.1-8B0.807Model-large: 0.320Model-large0.320Model-small-1: 0.431Model-small-10.431Model-small-instr-1 (this paper): 0.563Model-small-instr-1 (this paper)0.563Model-small-instr-3: 0.500Model-small-instr-30.500
The numbers
System or settingaccuracy
Llama-3.1-8B0.807
Model-large0.320
Model-small-10.431
Model-small-instr-1 (this paper)0.563
Model-small-instr-30.500

Other datasets put the adapted variants closer to the strongest external results reported for the same task. On xstorycloze_gl, Salamandra-7B achieves 0.736 accuracy in lm-eval. Llama-3.1-8B achieves 0.680, while Model-small-instr-1 records 0.690 and Model-small-instr-3 records 0.686. Model-large also performs well here, at 0.713. A correct choice in this setting concerns which ending fits the preceding story. The ordering on reading comprehension therefore gives an incomplete account of which training recipes work on story completion.

On adversarial paraphrase detection in paws_gl, the same appendix reports 0.667 accuracy for Llama-3.1-8B, 0.655 for Model-small-instr-1 and 0.628 for Model-small-instr-3. The plain-text Model-small-1 scores 0.629. The Galician instruction mixture associated with Model-small-instr-1 is competitive with the starting point in this comparison. The broader instruction mixture is close to the plain-text reference. The results support a selective description of task preservation, where the content of the test remains important.

Semantic inference provides another view. On xnli_gl, Model-small-instr-1 scores 0.520 accuracy in lm-eval. Model-small-instr-3 scores 0.509, while Llama-3.1-8B scores 0.501. In this Galician test of premise–hypothesis relationships, both versions with nontranslation instructions score above the original checkpoint. Alongside the reading comprehension result, this shows the range of what the paper means by calling the smaller instruction-enriched systems competitive. Some comparisons are close, some favor the adaptation, and some leave a substantial gap.

Translation responds to translation examples

The translation-specific recipe improves on Model-small-1 in flores_gl. The lm-eval table gives Model-small-instr-2 a BLEU score of 16.317 and Model-small-1 a score of 14.664. Model-small-instr-1 records 22.669, and Model-large records 20.771. The paper’s claim about the translation instructions concerns their benefit on the target task when added to the curated plain-text recipe. The adapted systems’ ordering also shows that strong performance on the translation benchmark occurs under other training recipes.

BLEU on flores_gl for selected continued pretraining recipes with lm-eval

The translation-instruction recipe improves on the curated plain-text run, and the Galician task-instruction recipe scores highest.

BLEU on flores_gl for selected continued pretraining recipes with lm-evalModel-small-1: 14.664Model-small-114.664Model-small-instr-2: 16.317Model-small-instr-216.317Model-large: 20.771Model-large20.771Model-small-instr-1 (this paper): 22.669Model-small-instr-1 (this paper)22.669
The numbers
System or settingBLEU
Model-small-114.664
Model-small-instr-216.317
Model-large20.771
Model-small-instr-1 (this paper)22.669

The transfer from translation instructions to other structured tasks is limited in the authors’ overall comparison. The belebele_gl accuracy of Model-small-instr-2 is 0.293, below the 0.431 of the plain-text recipe it extends. On xnli_gl, the corresponding values are 0.477 and 0.496. The result is task-specific in a practical sense. Training examples that directly exercise one operation can improve its score while providing little support for other operations tested in Galician.

Automatic methods agree more on choices than on free answers

One of the central comparisons uses the same multiple-choice tasks but changes how a choice is obtained. In lm-eval, the choices are scored by their log-likelihood. In simil-eval, the system first writes an answer, and the evaluator maps it to the closest choice using MoverScore. The study reports a Pearson correlation of 0.87 between the hit rates from these two procedures. Pearson correlation measures how closely paired values tend to rise and fall together in a linear relationship. Here the paired values are the reported hit rates, each computed after a procedure has predicted options.

A high correlation at that level means the procedures generally give a similar picture of which settings have stronger performance. The generated-answer procedure has an additional artifact for inspection, namely the answer itself. This matters if a researcher wants to understand what a score represents. In an open-book item, for example, the text can reveal what answer the system actually offered before the similarity calculation assigned it to an option. Log-likelihood supplies evidence about the ranking of candidate text. The generated response supplies evidence about the system’s own formulation.

The appendix reports broadly similar trends when cosine similarity supplies the choice mapping. It also presents average BERTScore similarity on openbookqa_gl alongside cosine and MoverScore. The authors find the average-similarity view more difficult to interpret. A multiple-choice hit rate has a direct interpretation as successful selections. Mean similarity describes how close texts were according to an embedding-based measure, a quantity for which the level that counts as success is less immediate.

The comparison with human assessments of open-ended tasks yields a different result. For summarization, mathematical reasoning and truthfulness, the overall Pearson correlation between the automatic and human results is 0.17. The human evaluation concentrates on the base checkpoint, the large-corpus adaptation and the two small instruction-enriched variants selected for stronger quantitative performance. The authors compare scores on the same tasks and examine the direction of disagreement for each system. For plotting the comparison in Figure 3, they divide BLEU by 100 to put it on the scale used for that display.

Summarization shows the most consistent directional difference in the paper’s discussion. The automatic results score the systems below the human results, with Model-large the exception for which the two assessments are close. The human criterion lets a summary pass if it conveys at least one key point. That rule leaves room for different wording and content selection. BLEU responds to correspondence with the particular reference. The gap is therefore informative about what the two procedures reward, even where both start with the same generated summary.

The differences for mathematics and truthfulness are generally less pronounced. The authors describe a tendency for automated scoring to slightly underestimate Model-small-instr-1 and Model-small-instr-3, and to overestimate Llama-3.1-8B on the other open-ended tasks. Their interpretation is that the direction and size of the gap depend on the task and the system. A strong agreement between two ways of arriving at a multiple-choice option gives little basis for assuming comparable agreement on a freely generated response judged by a reader.

Automatic language diagnostics diverge from judgments of prose

The linguistic assessment asks whether the system can produce a continuation in Galician that is well formed and makes sense given the context. The authors conclude that the continued pretraining runs substantially improve on the original Llama-3.1-8B in Galician text quality. The evidence combines the automatic diagnostics run across the broader group with human assessments of selected versions. The human continuation analysis uses 60 evaluated texts per system for the systems included in that analysis.

In the figures the paper presents human form and content errors in several ways. It reports how many continuations are error-free in each category. It also normalizes error frequency by the number of evaluated continuations. The normalized form count can exceed 1.0 because a reader can identify several form errors in a continuation. For content, the evaluator assigns each continuation a binary judgment, so the normalized frequency is bounded between 0 and 1.0. These values represent different units of error even when they appear alongside each other in a figure.

The first linguistic comparison places galcola difsur values next to the human shares of continuations free of form or content errors. The human shares are scaled to 5 in that figure for readability. Better separation of acceptable from unacceptable sentences is expected to go with higher proportions of error-free continuations. The second comparison places calame_gl final-word surprisal next to the shares of continuations containing form or content errors. In that display, the expected direction is that less surprise at the final word goes with fewer observed errors.

Neither automatic linguistic measure closely follows the human scores across the compared systems. The paper reports a Pearson correlation below 0.25 for both comparisons. It identifies a conspicuous case for each metric. Model-small-instr-3 has a negative difsur value, which puts its preference for the sentence pairs in the unexpected direction. This sharply weakens the apparent agreement with the human judgments. On calame_gl, the base Llama-3.1-8B receives low final-word surprisal, a favorable score on that automatic task, even though the human evaluation identifies problems in its generated Galician.

The metrics concern real behaviors. One probes whether the system assigns higher surprise to a sentence considered unacceptable. The other probes whether an expected word is easy to predict in a given passage. The human evaluation measures what happens across generated continuations, including whether a passage remains consistent in meaning. The disagreement shows the consequences of treating evidence about sentence preference or final-word prediction as evidence about the quality of a whole passage.

What the ablations show

Instruction content matters within a common training recipe

The closest comparison to an ablation in the paper starts from Model-small-1. This run supplies the same curated plain-text basis for both Model-small-instr-1 and Model-small-instr-2. The main experimental change between these branches is the addition of different instruction material. One branch adds Galician entity recognition and question answering. The other exercises translation. Because all these runs start from the same checkpoint and share the smaller-run training settings, their results speak directly to how the additional data recipes affect the adapted system.

The answer varies with the benchmark. The Galician task examples give Model-small-instr-1 a stronger reading comprehension score than the plain-text run and a competitive result in adversarial paraphrase detection. Its performance also extends to the new story completion and inference benchmarks. This pattern supports the authors’ interpretation that exposure to task-shaped examples helps the system retain a range of task behaviors during language adaptation. The individual results belong to the full addition of recognition and question-answering material. The experiment leaves the contributions of those two components unresolved.

The translation branch yields a narrower benefit. On the plain-text comparison underlying the recipe, its translation score rises, while reading comprehension and semantic inference illustrate the weaker transfer to other tasks. This contrast clarifies what instruction data means as an experimental variable. The training addition consists of examples with a particular purpose. Exposure to requests for translation gives the system repeated practice with that operation. Exposure to requests for information or entity recognition presents a different relationship between the input and the desired answer. The data suggest that the type of operation represented in the training mixture matters when interpreting any gains.

The comparison with Model-small-instr-3 broadens that observation. This recipe contains more tasks, more instruction material and instruction examples across more languages than the first Galician instruction variant. It is among the stronger adapted runs in the authors’ overall discussion, but the first instruction variant remains stronger on some benchmarks. Their relative scores on reading comprehension and adversarial paraphrase detection illustrate this. The experiment shows that the broader recipe can preserve competitive task performance while improving Galician writing. How much of that outcome comes from language coverage, task variety or instruction quantity remains open because these factors move together.

The plain-text comparisons test whole mixtures

Model-large asks whether additional training on a much larger collection of raw text can deliver the desired combination by itself. Its performance on story completion shows that this recipe can be strong on a particular benchmark. Its reading comprehension score shows the limits of using corpus size as a predictor of performance across tasks. The authors’ broader comparison favors the instruction-enriched small variants for retaining a range of task behaviors. It associates their performance with a curated mixture that includes requests and answers.

The large and small variants also differ in corpus selection, effective batch size and hardware configuration. The paper consequently gives evidence about training recipes that could be chosen as alternatives under the study’s constraints. A controlled estimate of a corpus-size effect would require holding the composition and other settings fixed while changing how much material the system sees. Here the comparison incorporates the authors’ decision to use a curated collection for the smaller runs and all the selected raw text sources for the large one.

Model-small-2 offers another kind of comparison. It changes the non-Galician allocation around the same amount of Galician text. In the lm-eval appendix, its belebele_gl accuracy is 0.272, compared with 0.431 for Model-small-1. On xstorycloze_gl, it reaches 0.509, compared with 0.656 for Model-small-1. Its performance on multiple-choice truthfulness depends on the scoring variant. On truthfulqa_gl with the mc2 metric it reaches 0.381, compared with 0.371 for Model-small-1. The tested mixture therefore produces different effects on different benchmarks. Because the Portuguese, English, Spanish and Catalan allocations change together, the evidence applies to those allocations as a package.

No branch removes all the other languages while holding the Galician material and training procedure fixed. The paper uses the multilingual mixture as a design response to the possibility of forgetting. Its Galician results establish how well the resulting systems handle Galician tasks. Preserving performance in the other corpus languages is a separate outcome that would need tests in those languages.

The metric comparisons identify where the evidence changes

The evaluation analyses vary the scoring procedure as well as the training recipe. On multiple choice, comparing log-likelihood with generated-answer matching tests whether two routes to an option lead to similar results. The known choices and the answer key give the comparison a common endpoint. The high correlation supports the use of generated-answer matching in this setting, where the response text adds something a reader can examine. Item-by-item agreement is a further question. Similar aggregate hit rates can arise when procedures succeed on different individual questions.

For open-ended tasks, the comparison changes the kind of evidence brought to bear on a response. A native speaker can recognize that a news summary includes a salient point even if its phrasing diverges from the reference. The human criterion also gives that judgment a defined threshold. In mathematics, validity depends more directly on the presence of a specific answer. These differing requirements explain why comparisons between automatic and human scores are most informative task by task. The overall correlation describes the experiment as a whole, while the direction of the disagreement on summarization gives a clearer picture of what happened on that task.

The linguistic diagnostics supply more specific cases to investigate. Model-small-instr-3 exposes a reversal in the paired-sentence surprisal test. The paper notes that differences on that test otherwise tend to follow the human assessment better. The base checkpoint exposes the favorable final-word score that can coexist with problems in freely generated Galician. The authors discuss these cases because each ties the disagreement to a particular system and a particular measure. The analysis identifies the points where an automatic proxy gives a misleading account of the performance the authors wanted to assess.

Limitations

Limits the authors identify

The authors focus on Galician. They present the training and evaluation procedure as applicable to other underrepresented languages in principle, while treating generalization as a question for further study. The languages included alongside Galician have particular relationships to it and to the original checkpoint’s training. A different target language may offer a different supply of suitable text, instruction sources or closely related languages. The results directly support conclusions about the Galician recipes and assessments examined here.

The authors also identify the quality of synthetic instructions as a limitation. Generating examples allows them to cover tasks for which suitable Galician instruction material is scarce. Adaptation of existing resources and synthesis from scratch give the study different ways to obtain examples, with different opportunities for problems in authenticity or quality. The observed task gains are evidence about the resources assembled for this experiment. How the same recipes would behave with a corpus of independently written Galician instructions remains uncertain.

Human evaluation is limited in scale and diversity of judgment. Four native speakers take part, each assigned to a single system. The authors report 50 examples per task in their discussion of the human evaluation’s limits. The continuation analysis uses 60 evaluated texts per system. The assessments provide direct evidence from people who know the language, within a small sample of tasks, prompts and raters. The authors identify broader task coverage, more examples and more annotators as ways to extend that evidence.

The authors regard the automatic metrics as candidates for refinement. They single out the negative difsur result for Model-small-instr-3 and the favorable final-word surprisal of the base checkpoint as cases requiring further investigation. They also propose evaluating automatic judges in future work and comparing them with both human ratings and conventional metrics. These proposals follow from the difficulty of obtaining automatic measures that consistently reflect the intended human judgments.

Limits implied by the comparisons

The claims about preserving task ability are principally claims about performance on Galician benchmarks at the end of continued pretraining. The systems begin from a multilingual checkpoint and the additional data retain other languages. The evaluation described in the paper nonetheless centers on Galician. The extent of preservation in the other languages, and the degree to which particular abilities changed within those languages, remain open. The same distinction applies to task gains observed in the instruction-rich runs. A post-training result can show that a behavior is still available or has become stronger on a test. It gives more limited evidence about whether the system retained the original behavior unchanged during training or acquired a new way to produce the expected response.

The composition experiments leave several causal questions unresolved. The large-corpus comparison changes volume, material and training settings. The broader instruction recipe changes language coverage, task variety and instruction quantity. The plain-text comparison involving Portuguese changes other language allocations simultaneously. The study can compare these concrete recipes and identify where an instruction addition helps. Assigning the benefit to one component of a mixture would require additional comparisons that vary that component independently.

The analysis of the human results is subject to the assignment of one evaluator to each system. Even with detailed instructions, readers can differ in how they count a form error or decide whether a continuation departs from its context. Since the assignment pairs the identity of the evaluator with the identity of the system, some variation attributed to outputs may also reflect how the individual evaluator applies the rubric. Shared source contexts and explicit criteria help make the judgments comparable. Repeated judgments of the same continuations by different speakers would provide direct evidence about agreement.

The open-ended human judgments also have a particular meaning. A valid summary needs a central point, and a valid mathematical answer needs the correct result. These thresholds answer whether the output accomplishes a specified part of the task. They leave further questions about completeness, the consistency of reasoning and the usefulness of the response as a whole. The writing-quality assessment can identify some of those problems in its own continuation setting. Its results concern different prompts and different judgment criteria from the open-ended task assessment.

The scope of the correlations follows from the comparisons used to obtain them. The 0.87 describes agreement between aggregate multiple-choice hit rates. It gives limited evidence about how frequently the two automatic procedures select the same wrong answers. The 0.17 for open-ended tasks describes a comparison involving a small set of systems and distinct scoring conventions. The correlations below 0.25 for writing quality describe a different set of pairings, between diagnostics and judgments of continuations. Reading each value with its paired measurements preserves the main empirical distinction in the study. Agreement depends on the task, the output and the rule used to score it.

Finally, the paper’s use of interpretability concerns the evaluation record. A saved response makes it possible to inspect what the system wrote before a similarity procedure matched it to a choice. A sentence-pair diagnostic gives a result that can be traced to the two surprisal values. These properties explain how the evaluator arrives at an observable score. The learned changes inside the checkpoint that lead to its new behavior remain outside the scope of those procedures.

What came after

EstLLM cites the Galician study in work on improving Estonian capabilities in a multilingual setting. Its stated focus places it alongside the Galician experiment’s question of how to strengthen one language within a multilingual system. The citation and topic establish that connection. The details of EstLLM’s training mixture, evaluation procedure and use of simil-eval remain unspecified. EstLLM

Reading the News cites the study in work that uses continued pretraining to adapt systems to Swedish journalism. The application shifts the target of adaptation to a domain within a language. Here the documented connection is the use of another stage of pretraining to specialize an existing system. Whether the Swedish work also takes up the Galician paper’s instruction mixtures or its separation of task performance from writing quality remains open. Reading the News

Cite

Cite as Pablo Rodríguez, Silvia Paniagua Suárez, Pablo Gamallo and Susana Sotelo Docio. 2025. Continued Pretraining and Interpretability-Based Evaluation for Low-Resource Languages: A Galician Case Study. Findings of the Association for Computational Linguistics: ACL 2025.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2025.findings-acl.240

@inproceedings{rodriguez2025continued,
  title = {{Continued Pretraining and Interpretability-Based Evaluation for Low-Resource Languages: A Galician Case Study}},
  author = {Pablo Rodríguez, Silvia Paniagua Suárez, Pablo Gamallo and Susana Sotelo Docio},
  booktitle = {Findings of the Association for Computational Linguistics: ACL 2025},
  year = {2025},
  doi = {10.18653/v1/2025.findings-acl.240},
  url = {https://doi.org/10.18653/v1/2025.findings-acl.240}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/rodriguez-2025-continued-pretraining-interpretability-based-evaluation/