Elamur Research

Irish-based Large Language Model with Extreme Low-Resource Settings in Machine Translation

Paper · 2024 · Khanh-Tung Tran, Barry O'Sullivan and Hoang Nguyen

Summary

A translation system needs to make sense of a sentence in one language and express its meaning in another. With Irish, both parts of that job are difficult to train. There are relatively few Irish–English sentence pairs, and Irish accounts for less than 0.005% of the training corpus the authors describe for the Llama series. The paper asks whether a system already strong in English can learn enough from Irish text to make better use of the parallel sentences available for machine translation. It tests translation in both directions because understanding an Irish input and writing an Irish output can pose different problems.

The authors start from Llama 2-13B and examine what its internal representations preserve as a sentence passes through the network. At each layer, they ask whether the representation of an Irish sentence can identify its English counterpart from a set of candidates. The earlier Irish-adapted UCCIX system retrieves counterparts particularly well in its intermediate layers. The authors use the layer-by-layer retrieval profile of the original Llama system to choose which layers to update on Irish text. Their procedure selects 11 of the 41 reported layers and trains approximately 25% of the parameters during this stage. A separate round of fine-tuning then uses paired sentences to teach translation directly and allows updates throughout the network.

Before translation fine-tuning, the selective adaptation reaches 46.07 BLEU for Irish to English on the LoResMT-2021 evaluation set, close to 46.36 for the earlier, fully adapted UCCIX. The corresponding English-to-Irish scores are 30.69 and 33.34. Updating the intermediate layers in a separate adaptation experiment gives lower translation scores in both directions than updating the selected layers near the input and output. The result supports the choice of where to train. The retrieval test itself measures whether equivalent sentences are close in the representation space, so the authors’ interpretation of the middle layers as a place for reasoning remains a hypothesis.

After training on parallel data, the selective variant reaches 80.74 BLEU for Irish to English, against 34.6 for the previous task-specific benchmark system. For English to Irish, the best result comes from fine-tuning the earlier UCCIX system, which reaches 49.22 against the previous 36.0. The English-centric starting system also improves when trained directly on those pairs, and the adapted variants score higher in both directions. Together, the results show the value of Irish pretraining and direct translation supervision in this health-domain setting. Which adaptation gives the best result depends on the direction of translation.

Deep dive: Irish-based Large Language Model with Extreme Low-Resource Settings in Machine Translation

This study uses sentence retrieval to guide Irish adaptation of Llama 2 and tests how it affects translation between English and Irish. · about 33 minutes to read

The problem and its context

A shortage of paired sentences

A parallel corpus gives a translation system a sentence alongside a rendering of that sentence in another language. It supplies direct evidence about which words, phrases, and constructions can express the same meaning. A monolingual corpus supplies a different kind of evidence. Irish text on its own shows how the language is written and how words and constructions occur together. It leaves the connection to any particular English rendering implicit. A central question in the paper is how much of the work can be done with this second kind of evidence before the system encounters the first.

The distinction matters for low-resource languages because resources come in different forms. The survey cited by the authors classifies a translation setting as low-resource when the parallel corpus has fewer than 0.5 million sentences, and as extremely low-resource when it has fewer than 0.1 million. The paper cites earlier collections of 25,000 and 52,000 parallel sentences for Irish. These measures concern the amount of paired material available. They differ from a count of everything written in Irish that could be used for training and from the size of any particular benchmark split.

The authors present Irish as an endangered language and connect the work to efforts to expand its digital use. The immediate research question is narrower than that aim. Can a system trained on a great deal of English acquire useful Irish ability and then learn to translate with a relatively small collection of sentence pairs? The project requires attention to both languages. The system needs to gain enough Irish ability for the new task, and the English it learned during its original training remains valuable for both directions of translation.

What translation systems already share across languages

The account of earlier work starts with neural machine translation. A sequence-to-sequence system receives a sequence and produces another, which makes it a natural fit for translation. Attention lets the computation draw on relevant positions in a sequence. The Transformer made attention central to the architecture, and the paper describes Transformer-based approaches as a foundation for much of the subsequent progress in neural translation. Their success nevertheless left the data problem in place. A system can have a strong architecture and still receive too few paired examples to learn a particular language pair well. Attention Is All You Need

Earlier responses included transfer learning and multilingual translation. In a transfer setup, training in a setting with more resources supplies a starting point for one with fewer. In a multilingual setup, the same system can share what it learns across languages. The authors also describe previous approaches that draw on monolingual material to improve low-resource translation. These approaches establish the broader motivation for reusing training across settings. The paper changes what is being reused by starting from a general text predictor that has already undergone extensive pretraining. Transfer Learning for Low-Resource Neural Machine Translation, Google’s Multilingual Neural Machine Translation System

For a large language model, earlier training provides the ability to continue text in context. A translation prompt can turn the task into a continuation problem by presenting an instruction, examples of the expected exchange, and a final source sentence. This approach makes it possible to try translation before carrying out any task-specific training. It also raises a question about the evidence the system encountered during pretraining. A corpus can include many languages while consisting mostly of individual passages written in just one language. Being exposed to English and Irish in separate passages is a different learning experience from seeing English and Irish sentences aligned by meaning.

The paper places Llama and BLOOM within the broader shift toward this kind of general-purpose system. It describes an uneven distribution of ability across languages, with English and other widely represented languages typically in a stronger position. Prior investigations discussed by the authors had found that language-model-based approaches could translate well in some high-resource settings. The authors use Irish to examine what happens farther from those settings, where the starting system has seen little of the language and the available translation data are also scarce. Llama 2, BLOOM, The Translation Performance of BLOOM, How Good Are GPT Models at Machine Translation?

Why the direction of translation matters

An English-to-Irish test and an Irish-to-English test may involve the same languages, but they give each language a different role. For Irish to English, the system has to derive the meaning of an Irish source and generate a sentence in the language that dominated its initial training. For English to Irish, it has to express the meaning of a familiar English source in Irish. The authors use the directions to explore a possible imbalance between handling Irish input and producing Irish output. Each score still measures a complete translation, which depends on operations at both ends.

The paper also builds directly on earlier work called UCCIX. That work adapted an English-centric Llama system by continuing its training on Irish text. The authors describe an issue observed with this kind of adaptation as catastrophic forgetting. Gains in the new setting can come with losses in capabilities acquired during the original training. For a system meant to translate in both directions, an adaptation strategy therefore has to account for the language it starts with as well as the one it adds. The authors want to find out whether updating a selected part of the network can improve this balance. UCCIX

That question gives the paper its connection to multilingual and cross-lingual NLP. The authors study whether different depths of a decoder show different degrees of alignment between Irish and English. They can then use that pattern to choose where to intervene during Irish training. The selection rule ties an internal measurement to a concrete training decision. The translation experiments supply a separate way to evaluate the consequence of that decision.

The method, step by step

Establish what prompting can do

The authors first ask pretrained systems to translate using few-shot learning. Here the shots are examples included in the prompt. They demonstrate the task by showing source text followed by its translation, and the final item leaves the translation for the system to produce. There is no training update during this preliminary test. The examples can influence what the system does for the current input because they are part of the text it processes. Language Models Are Few-Shot Learners

The default prompt uses an instruction in Irish and 5 examples originally chosen at random from the development subset. Irish and English are labeled explicitly. The paper’s examples range from a disease name and a short image description to public-health announcements. To switch directions, the authors reverse the order of the two languages in the instruction and demonstration pairs. A fresh source sentence appears at the end, followed by the label for the language in which the continuation should be written.

That arrangement communicates the format as well as the task. An example can show that the expected answer is a translated phrase or sentence where a label has left a space for it. An instruction by itself has to communicate those expectations in words. The preliminary comparison therefore gives the authors a way to observe how the systems respond to demonstrations, including whether they follow the requested format. The authors then turn to a test that uses internal sentence representations and does away with the need to generate a continuation.

How retrieval guides Irish adaptation and translation training

The steps in order.

How retrieval guides Irish adaptation and translation trainingStep 1: Encode Irish and English sentences at each depth1. Encode Irish and English sentences at each depthStep 2: Retrieve English counterparts from pooled sentence representations2. Retrieve English counterparts from pooled sentence representationsStep 3: Use retrieval thresholds to select interface layers3. Use retrieval thresholds to select interface layersStep 4: Add Irish tokens to the tokenizer4. Add Irish tokens to the tokenizerStep 5: Continue Irish pretraining with selected layers trainable5. Continue Irish pretraining with selected layers trainableStep 6: Fine-tune on paired sentences in both directions6. Fine-tune on paired sentences in both directionsStep 7: Score only target sentence predictions during training7. Score only target sentence predictions during training

Read the sentence at each layer

The starting architecture is a decoder-only Transformer. When preparing a sentence for the network, subword tokenization breaks it into units that have entries in a vocabulary. A unit can be smaller than a word. The embedding matrix associates each unit with a vector, a list of learned numerical values. The sequence of vectors then passes through the layers of the decoder. At each depth, the vector at a given position represents the token in light of what the network can see in its preceding context.

In the notation below, subscripts identify layers and superscripts identify positions. The paper writes the update for an individual token position as follows.

hₗʲ = fₗ(hₗ₋₁⁰, …, hₗ₋₁ʲ)

The vector hₗʲ is the representation at token position j after layer l produces its output. The function fₗ is the Transformer block at layer l. Its inputs in this expression are the preceding layer’s vectors hₗ₋₁⁰ through hₗ₋₁ʲ. The superscript 0 denotes the first token position, and the ellipsis covers the positions between that one and j. The subscript l − 1 denotes the depth immediately before l. The initial input vector at position j is h₀ʲ. The paper uses L for the number of layers in its indexing and reports L = 41 for Llama 2-13B and UCCIX. The range [0, L) includes its starting index and excludes L.

The upper endpoint j in the update captures the causal structure of the decoder. The representation used at that position can incorporate information from the current and earlier positions. As a consequence, the vector for a short string near the beginning of the sentence and the vector at the end summarize different amounts of preceding text. The retrieval probe uses all the positions, giving the authors a consistent way to obtain a whole-sentence vector from a sequence of contextual token vectors.

eₗ = (1/K) ∑ₖ₌₀ᴷ⁻¹ hₗᵏ

Here eₗ is the pooled sentence vector at layer l, and K is the number of token positions in the sentence. The index k runs from the first position, 0, through the final one, K − 1. The term hₗᵏ is the token vector at position k at layer l. The summation sign ∑ adds the vectors component by component, and the factor 1/K divides the result by the number of positions. An Irish sentence and its English counterpart can have different token counts and still yield pooled vectors of the same dimensionality at the same layer.

The average is a choice made by the probe. The decoder already supplies representations at every position, and the test needs a single object to compare with another sentence. Averaging makes the output size independent of the sentence length, while giving every position the same direct weight in the readout. Information can still influence the pooled vector indirectly through the contextual token representations. The retrieval profile describes what this particular readout can recover at a given depth.

Find the English counterpart

The retrieval test begins with an aligned collection of Irish and English sentences. The paper denotes it as follows.

D = {(sᵍᵃᵢ, sᵉⁿᵢ) : i ∈ [0, N)}

Here D is the parallel collection, and an item contains the paired sentences sᵍᵃᵢ and sᵉⁿᵢ. The superscript ga identifies Irish and en identifies English. The subscript i is the shared index of a matched pair. The symbol ∈ says that i belongs to the indicated range. N is the number of pairs, and [0, N) gives the range of their indices, with N excluded. The braces collect the indexed pairs, and the colon within them introduces the condition on which indices are included.

For each Irish sentence, the authors compare its pooled vector with the English candidates’ vectors from the same layer. They use cosine similarity, which compares the directions of vectors. The highest-scoring English candidate is the retrieval system’s choice. The aligned collection supplies the correct answer because it records the English sentence paired with that Irish query. To make the distinction between the query index and the candidate index explicit, the retrieval formula can be written with a separate index j for the candidates.

accuracyₗ,ᵢ = {
  1  if argmaxⱼ∈[0,N) cos(eᵍᵃₗ,ᵢ, eᵉⁿₗ,ⱼ) = i
  0  otherwise
}

The quantity accuracyₗ,ᵢ records success for Irish query i at layer l. The vector eᵍᵃₗ,ᵢ represents that query, and eᵉⁿₗ,ⱼ represents English candidate j. The function cos is cosine similarity. The expression argmax returns the candidate index j that gives the highest similarity among the English sentences indexed by [0, N). A returned index equal to i earns a 1 because it identifies the aligned counterpart. Any other returned index earns a 0. The layer score accuracyₗ summarizes these retrieval outcomes across the Irish queries.

Retrieval and translation use the relationship between the sentences in different ways. A retriever sees a set that already contains the English counterpart and has to rank it above the other candidates. A translator has to produce its own sequence. The diagnostic is useful because it asks whether the meaning shared by two sentences is accessible from the network’s representations, even when the network struggles to generate a translation. It also provides a score at each depth, whereas translation BLEU evaluates the finished output.

Turn the retrieval profile into a training decision

The comparison of retrieval profiles motivates a distinction between the ends of the network and its middle. The authors call the groups near the input and output the interface layers. They hypothesize that the first group helps process features specific to the incoming language and that the final group helps return a representation to the space from which the decoder predicts tokens. They describe the intermediate group as reasoning layers, where they expect more of the computation shared across languages to take place. The terms describe the authors’ functional hypothesis and are also used as labels for the sets of layers in their experiments.

The selection rule is applied to the retrieval profile of the original English-centric system. To find the input group, the authors start at the beginning of the network and look for the first layer whose retrieval accuracy exceeds an input threshold. A compact statement of the rule separates the index of that boundary from the set it defines.

lᵢₙₚᵤₜ = {l : 0 ≤ l ≤ min{p : accuracyₚ > αₛ}}

The symbol lᵢₙₚᵤₜ denotes the set of selected input-layer indices, and l is an index tested for membership in that set. The temporary index p ranges over the layers. The term accuracyₚ is the retrieval accuracy at depth p, and αₛ is the threshold for the start of the network. The inner braces collect the qualifying indices, and min selects the earliest one. The outer braces include the layers from the initial index 0 through that boundary, inclusive. The threshold comparison is strict, so equality alone does not satisfy the condition.

The output group is defined as a final interval. The paper describes scanning backward from the last layer to the first one encountered with retrieval accuracy below the output threshold. Its displayed maximum selects the latest qualifying index.

lₒᵤₜₚᵤₜ = {l : max{p : accuracyₚ < αₑ} ≤ l < L}

The symbol lₒᵤₜₚᵤₜ denotes the selected indices at the output end. The temporary index p again runs over the layers, and accuracyₚ is the retrieval score at p. The threshold αₑ applies to the end of the network. The inner braces give the indices whose scores fall strictly below αₑ, and max returns the largest such index. The set includes that boundary and all later indices smaller than L, the layer count used by the paper. The inequality on each threshold and the inclusive boundary in each resulting interval belong to the selection rule as written.

The authors set αₛ and αₑ to 0.075 and report that the procedure gives 11 interface layers out of the 41 they count in Llama 2-13B. The principle is to let a measured property of the starting system determine the part of the network selected for adaptation. This is the sense in which the authors call the approach dynamic. In the experiment, layer selection precedes the Irish training run. The paper reports the selected total and does not give the individual indices needed to reconstruct the two intervals from the text alone.

Continue pretraining with Irish text

The first training stage takes Llama 2-13B as its starting point. This is also the basis of the earlier UCCIX, so both approaches build on the same English-dominant pretraining. The original Llama 2 corpus is reported as 2T tokens. The adaptation corpus comes from UCCIX and contains approximately 500M Irish tokens. Its sources include Irish material from CulturaX, Glot500, and Irish Wikipedia. The unit in both corpus sizes is a token, whereas the supervised translation corpus is described in samples.

The tokenizer is expanded to include 10k native Irish tokens, following the procedure used for UCCIX. This gives the system additional vocabulary entries for representing Irish text before it learns from that text. Tokenizer expansion and layer selection address different parts of the setup. One changes the units available when text enters or leaves the system. The other decides which existing blocks of the network can change during adaptation. The paper’s claim about avoiding additional adapter parameters concerns the layer-training strategy. The expansion of the vocabulary is a separately reported part of the procedure.

During continued pretraining, the selected interface layers are trainable and the intermediate layers are frozen. Freezing means their parameters keep their existing values through the training updates. The intermediate layers still process the sequence and contribute to the final prediction. The paper places the trainable share at approximately 25% of the total parameters. This comparison concerns the share updated during Irish adaptation. A frozen block still participates in the forward computation, even though its parameter values stay fixed.

The authors run the Irish adaptation for 2 epochs, with an epoch representing a pass through the training data. They use AdamW to make the parameter updates and report a learning rate of 1e − 4. The learning rate controls the size of an update. The reported batch size is 96 samples, each 4096 tokens long. Training uses 6 NVIDIA H100 GPUs, DeepSpeed, and a gradient accumulation step of 8. Accumulation combines gradient contributions before updating the parameters. These settings describe the scale of the actual experiment alongside the fraction of parameters the procedure trains.

Because the stage uses monolingual Irish, its training text can teach the predictor about Irish usage without presenting a corresponding English sentence. The intended transfer is indirect. The system already has a set of representations learned in English-dominant pretraining, and the chosen updates aim to let it process and produce Irish through that existing network. The later supervised stage is where the system receives explicit evidence about which English and Irish sentences are translations of one another.

Teach the translation task with paired sentences

The supervised training stage uses the health-domain corpora LoResMT and ga-Health. Together they provide 17k training samples. In a training example, the source sentence and task prompt give the context, and the reference in the other language supplies the target continuation. The authors train in both translation directions between English and Irish. The same underlying prediction mechanism can handle both directions because the input tells the system which language to produce and the reference supplies the corresponding target.

The authors compute the training loss only on the target sentence. Loss measures how poorly the system predicts the tokens it is asked to learn. In this setup, the instruction and source stay visible and shape the predictions, while their own tokens are excluded from the loss. Each target prediction can depend on the prompt, the source, and the preceding target context. The direct supervised signal therefore concerns the quality of predicting the target given those inputs.

The proposed pipeline uses full fine-tuning at this stage, so the blocks frozen during Irish pretraining can now change. The authors motivate this by treating translation as a task that may need adjustments both in handling the languages and in the computation between input and output. It also marks the boundary of the efficiency claim. Restricting updates to a subset of layers is the design of the continued pretraining stage. The final translation variant has subsequently been through task training with the whole network available for updates.

The translation experiments run for at most 10 epochs. The setup reports AdamW with a learning rate of 1e − 4 for full fine-tuning and 1e − 3 for parameter-efficient training, chosen through a grid search over candidate settings. The authors again use DeepSpeed, a batch size of 96 samples, sequences of 4096 tokens, and 6 H100 GPUs. They report repeating experiments across 3 random seeds and averaging the results. At inference, a translation prompt supplies the source and identifies the desired output language. The authors make the code and weights available through the UCCIX project.

Experiments and results

What each evaluation measures

The primary translation evaluation uses the held-out LoResMT-2021 data. The English-to-Irish evaluation contains 500 samples, and the Irish-to-English evaluation contains 250. The supervised training examples come from the LoResMT training split and the ga-Health corpus. The paper cites the use of the established LoResMT split as protection against training directly on its evaluation pairs. The continued pretraining corpus is separate in purpose and contains Irish monolingual text.

BLEU measures agreement between generated translations and reference translations through overlap in sequences of words or tokens, with a penalty for outputs that are too short. It gives the authors a common automatic measure across systems in the same translation direction. The English-to-Irish and Irish-to-English columns involve different target languages and evaluation sets, so the comparisons that carry the clearest meaning are within a column. In particular, a score in one direction cannot be read as a percentage of the language that the system understands.

The translation tables answer distinct questions. The first asks what pretrained systems can do from a prompt. The second compares alternate ways of adapting Llama 2-13B to Irish before translation fine-tuning. The final translation table tests what happens when the systems receive supervision on the paired sentences, including the English-centric base as a control. The paper also reports a separate benchmark suite of tasks in Irish and English to assess changes that translation alone might miss. Evaluation and benchmarks

What pretrained systems can do from examples

The previous task-specific LoResMT-2021 system scores 36.0 BLEU for English to Irish and 34.6 for Irish to English. It gives the authors a reference for what specialized translation training had already achieved on the benchmark. The general-purpose systems in the preliminary comparison are asked to translate under prompting. That difference in preparation is central to the experiment, since the authors want to know how far pretraining alone will take them on this pair.

On the Irish-to-English evaluation, gpt-3.5-turbo reaches 42.57 BLEU and Llama 2-70B reaches 41.66. Both exceed the task-specific reference on that evaluation. When tested on English to Irish, the same systems reach 18.64 and 9.63 respectively, below the earlier translation system. This directional result is the basis for the authors’ suggestion that these systems have some ability to interpret Irish inputs while finding Irish generation considerably harder. It is an inference from the pattern of complete translations, since the experiment does not score the two operations separately.

The smaller English-centric Llama 2-13B, which the authors use as their adaptation starting point, reaches 3.25 BLEU into Irish and 25.60 into English. BLOOM-7B1 reaches 0.61 into Irish and 1.84 into English. The wide spread among prompted systems is part of the result. Access to a generative interface and translation examples is shared across the comparison, yet the value a system can extract from those examples depends on what it brings to the prompt.

UCCIX, the earlier system pretrained further on Irish, records 33.34 BLEU for English to Irish and 46.36 for Irish to English. It has the strongest scores among the prompted systems in both directions. In the English-to-Irish direction, the earlier specialized translator remains ahead. In the Irish-to-English direction, UCCIX also exceeds that reference. The comparison with its Llama 2-13B starting point is particularly informative because it illustrates how different the resulting translation behavior can be after Irish adaptation on a shared architectural base.

The authors also vary the number of demonstrations in the prompts and display the effects in their prompting figure. They describe a general tendency for examples to improve adherence to the task format. That observation bears on how the scores should be read. Some of the value of an example can come from eliciting the expected kind of answer. The resulting BLEU measures the generated text as a whole and gives no separate accounting of improvements in formatting and improvements in the translation itself.

How the Irish adaptation variants compare

The language-adaptation experiment tests versions of the same Llama 2-13B base after different approaches to continued pretraining. Full UCCIX adaptation is a reference for what can be achieved when training throughout the network. The paper also includes LoRA and (IA)³ as parameter-efficient comparison methods. LoRA learns a low-rank adjustment to existing weights. The proposed variant uses direct updates in the selected layers. A further comparison updates the intermediate layers that the authors label as reasoning layers. LoRA, Few-Shot Parameter-Efficient Fine-Tuning

Irish adaptation variants on LoResMT-2021 Irish-to-English BLEU before translation fine-tuning

Interface-layer adaptation comes close to full UCCIX adaptation and leads the restricted-update variants.

Irish adaptation variants on LoResMT-2021 Irish-to-English BLEU before translation fine-tuningLlama 2-13B: 25.60Llama 2-13B25.60UCCIX: 46.36UCCIX46.36UCCIX with (IA)³: 39.48UCCIX with (IA)³39.48UCCIX with LoRA: 43.65UCCIX with LoRA43.65UCCIX with reasoning layers trained: 42.71UCCIX with reasoning layers trained42.71UCCIX with interface layers trained (this paper): 46.07UCCIX with interface layers trained(this paper)46.07
The numbers
System or settingBLEU
Llama 2-13B25.60
UCCIX46.36
UCCIX with (IA)³39.48
UCCIX with LoRA43.65
UCCIX with reasoning layers trained42.71
UCCIX with interface layers trained (this paper)46.07

The interface-layer variant’s 46.07 BLEU into English places it close to fully adapted UCCIX at 46.36. It leads the other restricted-update settings on that column. In the reverse direction, full UCCIX reaches 33.34, while interface-layer training reaches 30.69. The latter also leads the restricted-update settings on this evaluation. The pattern supports the authors’ claim that this choice of layers can recover much of the translation benefit of full Irish adaptation while updating a smaller share of the parameters.

The other English-to-Irish scores help distinguish the comparisons. The reasoning-layer variant reaches 29.27 BLEU, LoRA reaches 26.14, and (IA)³ reaches 19.53. Into English, their ordering changes, with LoRA at 43.65 ahead of the reasoning-layer variant’s 42.71, and (IA)³ at 39.48. Hence, performance in one direction does not determine the relative ordering of every adaptation method in the other. The interface-layer variant’s lead within this group holds in both directions under the paper’s prompting setup.

Does the English capability survive?

The paper examines Irish and English capabilities using a broader group of tasks from the earlier UCCIX work. These include a cloze test, in which the system must fill a gap, and topic classification with the Irish subset of SIB-200. The suite also includes question answering. IrishQA has Irish and English evaluations, and the English tasks extend to Natural Question, Winogrande, and HellaSwag. The evidence is broader than translation because the system has to succeed at different output decisions, such as selecting a topic, filling a blank, or producing an answer.

Those tasks use different measures and numbers of prompt examples. The cloze column is accuracy in a 0-shot setting. SIB-200 reports accuracy with 10-shot prompting, and the IrishQA columns give exact match with 5-shot prompting. Exact match means the produced answer must match the answer used by the evaluation. The paper also records 5-shot exact match on Natural Question, 5-shot accuracy on Winogrande, and 10-shot normalized accuracy on HellaSwag. Its overall score is the mean across the benchmark metrics. That mean describes the suite as the authors assembled it and is distinct from a translation score.

The interface-layer system has an overall mean of 0.5982, compared with 0.5897 for Llama 2-70B and 0.5635 for fully adapted UCCIX. The LoRA variant records 0.5836. The mean gives a concrete basis for the paper’s claim of a favorable balance between the two languages. The results on individual tasks show what produces that balance and which capabilities remain weaker.

On the Irish subset of SIB-200, interface-layer adaptation reaches 0.7892 accuracy against 0.7794 for full UCCIX. On IrishQA in Irish, both systems record 0.3889 exact match. On IrishQA in English, interface-layer adaptation and LoRA both reach 0.5370, while full UCCIX records 0.3704. The Irish cloze test gives a different ordering. Full UCCIX scores 0.75, ahead of 0.69 for the interface-layer variant. There is evidence of parity or a gain on some Irish tasks and an advantage for full adaptation on another.

The English results are also mixed. Measured by 5-shot accuracy on Winogrande, the interface-layer variant scores 0.7451, while the unadapted Llama 2-13B reaches 0.7609. On 10-shot normalized HellaSwag accuracy the scores are 0.7971 and 0.8223, respectively. The English Natural Question exact-match values are 0.2404 and 0.3069. Interface-layer adaptation improves the English IrishQA result compared with the base’s 0.4444, but the other comparisons qualify a broad preservation claim. The aggregate reflects a particular balance of improved and reduced scores across the chosen tasks.

What parallel training changes

The final translation comparison applies task-specific fine-tuning to the unadapted English-centric base, the earlier full UCCIX, and the interface-layer variant. The English-centric control shows how much the paired training can accomplish without the separate Irish pretraining stage. The other rows show the results of using the same kind of task supervision after Irish adaptation. The scores in the paper’s translation results table give the following comparison for English to Irish.

Translation-fine-tuned systems on LoResMT-2021 English-to-Irish BLEU

Full UCCIX adaptation gives the strongest translation into Irish after training on parallel sentences.

Translation-fine-tuned systems on LoResMT-2021 English-to-Irish BLEUPrevious task-specific system: 36.0Previous task-specific system36.0Llama 2-13B with translation fine-tuning: 31.74Llama 2-13B with translation fine-tuning31.74Interface-layer UCCIX with translation fine-tuning: 39.10Interface-layer UCCIX with translationfine-tuning39.10Full UCCIX with translation fine-tuning (this paper): 49.22Full UCCIX with translation fine-tuning(this paper)49.22
The numbers
System or settingBLEU
Previous task-specific system36.0
Llama 2-13B with translation fine-tuning31.74
Interface-layer UCCIX with translation fine-tuning39.10
Full UCCIX with translation fine-tuning (this paper)49.22

English-to-Irish BLEU is higher following translation training for all the systems in the table than it is for their corresponding prompted versions. Full UCCIX rises from 33.34 to 49.22. The interface-layer variant moves from 30.69 to 39.10. The base Llama system starts at 3.25 and reaches 31.74 according to the table. The paper’s prose gives 34.16 at this point, which is inconsistent with that table entry. The overall ordering against the 36.0 task-specific reference is the same under either number. Both Irish-adapted variants beat it after translation training.

The best outcome in the other direction comes from the system adapted through interface-layer training.

Translation-fine-tuned systems on LoResMT-2021 Irish-to-English BLEU

Interface-layer UCCIX yields the highest score after translation fine-tuning, and every tuned system exceeds the earlier reference.

Translation-fine-tuned systems on LoResMT-2021 Irish-to-English BLEUPrevious task-specific system: 34.6Previous task-specific system34.6Llama 2-13B with translation fine-tuning: 62.52Llama 2-13B with translation fine-tuning62.52Full UCCIX with translation fine-tuning: 76.44Full UCCIX with translation fine-tuning76.44Interface-layer UCCIX with translation fine-tuning (this paper): 80.74Interface-layer UCCIX with translationfine-tuning (this paper)80.74
The numbers
System or settingBLEU
Previous task-specific system34.6
Llama 2-13B with translation fine-tuning62.52
Full UCCIX with translation fine-tuning76.44
Interface-layer UCCIX with translation fine-tuning (this paper)80.74

The English-centric base climbs from 25.60 BLEU when prompted to 62.52 after translation fine-tuning. That is evidence that the small parallel training set can teach a great deal even when Irish pretraining is limited. Further exposure to Irish before translation training yields stronger systems in the same table. The earlier UCCIX reaches 76.44, and the interface-layer variant reaches 80.74. The latter overtakes full UCCIX after the supervised stage, although it was slightly behind in the prompted comparison.

The paper reports improvements over the previous task-specific reference of 13.22 BLEU for English to Irish and 46.14 BLEU for Irish to English. Its abstract expresses the improvements as 36.7% and 133.4%, respectively. These are reported relative to the earlier benchmark system, while 49.22 and 80.74 are the resulting BLEU scores for the best systems in their respective directions. The conclusions are direction-specific. Full Irish adaptation has the best reported result when the system must produce Irish, and the proposed selective adaptation has the best reported result when it must produce English.

What the ablations show

Changing which layers learn Irish

The paper’s direct layer ablation compares training the selected interface layers with training the intermediate layers that the authors call reasoning layers. Both choices use the same kind of starting architecture and are tested on the same translation evaluations. The comparison changes where the Irish adaptation updates are allowed. If the useful effect came simply from exposing any part of the network to more Irish, either choice might perform similarly. The scores show a consistent advantage for the interface choice in this setting.

Before translation fine-tuning, the interface-layer variant scores 30.69 BLEU for English to Irish and 46.07 for Irish to English. The reasoning-layer variant scores 29.27 and 42.71 in those directions. The paper reports the gaps as 1.42 and 3.36 BLEU, respectively. The ordering supports the practical use of the retrieval profile to choose the groups for this experiment. It is especially informative alongside the parameter-efficient baselines, which give different ways of restricting the updates and also score below the interface choice on these translation columns.

The ablation tests the end groups together. Its result cannot tell a reader whether updating the early layers alone would recover most of the gain, whether updating the late layers alone would do so, or how the two interact. The reported layer sets also have different extents, so the experiment does not isolate location at a fixed update budget. It establishes that one complete layer-selection policy worked better than the other in the tested setup.

The scope of the comparison matters for the final translation scores. The reasoning-layer ablation is evaluated after Irish adaptation, while the last translation table compares a different collection of variants after full supervised fine-tuning. Because that table gives no corresponding reasoning-layer row, the ablation’s measured gaps apply to the prompted setting. The final Irish-to-English advantage of interface-layer UCCIX is a result of the whole sequence of training stages.

Reading the retrieval profile alongside the ablation

The paper’s retrieval figure compares Llama 2-13B with UCCIX across depth. It shows a region of very high retrieval in the middle of UCCIX, with weaker retrieval near the ends. The authors describe a similar but less pronounced pattern in the base Llama system. An Irish sentence can therefore have a representation at an intermediate depth whose nearest English candidate is its paired translation, even when the same pooling and scoring procedure is less successful at other depths.

The authors interpret this shape as a transition between language-specific processing and representations with more shared content. The interpretation is plausible under the probe. Patterns tied to the surface form of the language may be more prominent where the system reads the input or prepares token predictions, and a more closely aligned representation is useful for retrieval in the middle. The figure gives an empirical reason to consider a distinction across depth. Its observable result is the geometry of mean-pooled vectors under cosine similarity. The distinction between interface processing and reasoning adds a hypothesis about what produces that geometry.

That gap between measurement and interpretation explains the importance of the ablation. A layer can give low retrieval because information about sentence meaning is encoded in a way that this particular pooling operation cannot easily recover. It can also give low retrieval because the English and Irish information is organized differently there. Testing where to train asks whether the distinction is useful even when its internal explanation is unsettled. Here the layer-based intervention helps choose an adaptation strategy that performs well, while more detailed claims about what each block computes remain open.

Comparing adaptation with direct supervision

The comparison with the English-centric base helps separate the timing of the two training interventions. Translation fine-tuning improves a system even if it misses the additional Irish pretraining stage. The adapted systems provide better starting points for the same downstream task. On the evidence of the paper, having Irish exposure helps, and teaching the translation task directly also helps. The experiment gives each of those claims its own comparison.

The trained systems also reverse their ordering between the directions. The full-UCCIX starting point is better for the reported English-to-Irish evaluation once tuned for translation, while the interface-trained starting point is better for Irish to English. This prevents a single interpretation of the benefits of selective adaptation. The evidence is consistent with the authors’ reason for measuring both directions. An adaptation can serve the needs of a system reading Irish differently from those of one generating Irish, even when both receive explicit translation training.

The benchmark suite adds evidence about which capabilities survive the Irish training. Selective adaptation gives the highest suite average in the comparison and strong scores on the IrishQA variants and topic classification. The English-centric base keeps higher scores on several individual English tasks. That combination supports the more bounded claim that the interface variant attains a useful balance on the chosen tasks. It leaves the distribution of gains and losses visible rather than treating the mean as a complete measure of bilingual ability.

Limitations

Limits the authors identify

The authors describe the study as a case study of Irish in a bilingual setting. LoResMT-2021 is the main translation evaluation, and the paired training data are from the health domain. The authors say that the framework could in principle extend to other languages and multilingual scenarios, while calling for tests across more languages and datasets. The evidence for the particular thresholds, the selection of layers, and the resulting gains is limited to the reported setup.

The paper situates the research in efforts to improve the availability of digital tools for Irish. In experimental terms, its outcome is performance on translation and benchmark tasks. Whether those outcomes generalize to other kinds of Irish text, to contexts with very different source material, or to multilingual training involving more than the two languages remains a question under the authors’ stated scope.

Limits visible in the experimental setup

BLEU is an aggregate comparison to reference translations. It can show that one system’s outputs agree more closely with the benchmark references under the scoring procedure. The paper gives no human translation evaluation alongside those scores. That leaves open how systems differ in preserving precise meanings, maintaining idiomatic Irish, or handling errors that matter in health communication. The numerical gain is a result on the measured benchmark and has a narrower interpretation than an assessment of suitability for actual health-related use.

The two translation directions have different evaluation sets and numbers of samples. They also differ in the degree of prior training available for the language at each end. The results show a directional asymmetry under those conditions. They cannot resolve how much of that asymmetry comes from reading the source, writing the target, differences among evaluation items, or properties of the reference translations. Retrieval provides an independent view of useful representation alignment, yet it is designed as an Irish-query-to-English-candidate test and has its own dependence on the candidate collection and on the pooling operation.

The authors use the LoResMT training split for supervision and point out that pretraining is monolingual while the evaluation is parallel. These choices address contamination through direct reuse of the benchmark’s paired examples. A monolingual document can still include an individual evaluation sentence, and its presence would not be ruled out by the difference in corpus format alone. The paper’s argument explains the controls it uses. It does not report an item-level overlap audit that would settle that separate question.

The efficiency result measures a smaller fraction of trainable parameters during continued pretraining, with the same network retained for inference. The paper gives concrete hardware and training settings, but no measured comparison of elapsed time, peak memory, or compute expenditure across the adaptation methods. Its fraction of trainable parameters therefore supports a specific sense of efficiency. The task-specific phase uses full fine-tuning in the proposed pipeline, so the reduced training fraction should be attributed to the Irish adaptation stage.

The layer selection rule is tested at a shared threshold of 0.075 for the input and output ends. The authors describe the choice as a simplification. There is no reported sweep showing whether translation performance is stable as the thresholds move, and the paper does not provide a matched-budget comparison of different groups of layers. The notation gives a first qualifying layer at the input end and a last qualifying layer at the output end, but the exact boundaries used are absent from the reported settings. The experiment shows that the selected group is effective. Establishing how sensitive it is to its exact boundaries would require additional evidence.

There are also reporting inconsistencies to keep in view. The translation table gives 31.74 BLEU for the fine-tuned Llama 2-13B on English to Irish, while the prose discussing that experiment gives 34.16. Another passage attaches the 49.22 versus 36.0 comparison to the wrong direction. The table headings and baseline values identify it as English to Irish, and the 80.74 versus 34.6 comparison as Irish to English. The table values are used throughout the main comparison here. The paper reports means across seeds without giving their variability, which limits interpretation of close scores such as 46.07 and 46.36.

Finally, the benchmark suite tests several English abilities and gives some evidence of preservation under selective adaptation. Some English scores still fall relative to the original base. The paper’s broader language about avoiding catastrophic forgetting should therefore be read in the context of the reported tasks, where the selective system often retains more than full Irish adaptation and achieves a better overall mean. The suite offers a measured picture of the tradeoff for the selected tasks. It cannot establish that English competence is generally preserved throughout the system.

What came after

Several later papers cite the study. They cover how to evaluate Irish, how to adapt systems with scarce data, and how to investigate the internal changes made by adaptation. The citation and each paper’s stated subject establish those connections. The individual purposes of the citations, along with any reuse of the Irish corpus, retrieval procedure, or trained weights, are unspecified.

Irish benchmarks, data, and translation

Irish-BLiMP concerns linguistic evaluation for Irish and includes human and system performance in its framing. It takes up a question that the translation study reaches through its benchmark suite. Once a system has been adapted to Irish, what kinds of tests can show what it knows about the language? LoResMT-2021 gives evidence about complete translations in a particular domain. A linguistic benchmark sets out a different object of evaluation, and the explicit inclusion of people in Irish-BLiMP’s scope broadens the comparison. Irish-BLiMP

Another citing paper takes data quality and appropriateness as its subject. Tran and colleagues use the UCCIX corpus to supply Irish monolingual text and describe its sources and size. Research on appropriateness addresses a further issue in the same setting. A corpus can make it feasible to train, while questions about which Irish its sources represent and how well that material serves a particular purpose require their own investigation. The later work’s connection is to this data side of Irish NLP. Quality and Appropriateness of Large Text Datasets for Irish NLP

SemiAdapt addresses low-resource Irish translation through semisupervised, LoRA-based domain adaptation. It shares the translation pair’s general resource problem and the interest in efficient training. Its stated emphasis is adaptation to a domain using LoRA, which the earlier study evaluated as one of several ways to restrict updates during Irish adaptation. This places the two studies near one another methodologically while distinguishing the role of the technique in their stated research questions. SemiAdapt

How adaptation changes a system

One later study concerns attention-driven routing and the preservation of semantic hubs during continued pretraining. It sits close to the earlier paper’s question about what can change as a system learns a language while retaining useful internal structure. The Irish study uses whole-sentence retrieval to distinguish depths and then varies which blocks can update. The later paper identifies attention routing and semantic hubs as the phenomena it examines. Its stated focus therefore moves the discussion of language adaptation towards more specific mechanisms inside the network. Disentangling Continued Pre-Training

LaCoMSA addresses multilingual self-alignment and identifies latent representations as part of a rewarding scheme for language consistency. Internal representations also matter in the Irish translation paper, where the authors compare sentence vectors as a diagnostic for choosing layers. In LaCoMSA’s stated framing, representations are connected instead to the reward used for alignment. The thematic connection lies in treating internal multilingual behavior as something the training method can draw on. LaCoMSA

Low-resource work beyond the Irish experiment

The Ladin paper concerns building an NLP benchmark for another extremely low-resource language. It shares a practical issue with the Irish study. Sparse data make both the training intervention and the choice of tests consequential, since evaluation determines which gains can be demonstrated in the first place. The later paper’s stated contribution is benchmark development for Ladin. The earlier paper gives a bilingual translation case that such a line of work can cite without establishing how its layer-selection method would fare on Ladin. Towards the First NLP Benchmark for Ladin

The paper on legal translation in a non-dominant language variety brings domain and variety into the same conversation. It examines reasoning-oriented approaches to legal translation in a study framed around going beyond simple term injection. The Irish work measures translation after supervised training in the health domain. The common concern is how a system handles translation demands outside the best-represented settings, while the later study’s title places terminology and legal translation at the center of its question. Beyond Simple Term Injection

The survey of multi-agent collaboration has a broader focus than the Irish translation experiments. Its subject is collaboration among language-model-based agents, whereas the translation study investigates adaptation within one decoder. It is a citing work with a distinct research focus, and the citation on its own does not identify a transfer of the translation method into an agent collaboration mechanism. Multi-Agent Collaboration Mechanisms

Cite

Cite as Khanh-Tung Tran, Barry O'Sullivan and Hoang Nguyen. 2024. Irish-based Large Language Model with Extreme Low-Resource Settings in Machine Translation. Proceedings of the Seventh Workshop on Technologies for Machine Translation of Low-Resource Languages (LoResMT 2024).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.loresmt-1.20

@inproceedings{tran2024irish,
  title = {{Irish-based Large Language Model with Extreme Low-Resource Settings in Machine Translation}},
  author = {Khanh-Tung Tran, Barry O'Sullivan and Hoang Nguyen},
  booktitle = {Proceedings of the Seventh Workshop on Technologies for Machine Translation of Low-Resource Languages (LoResMT 2024)},
  year = {2024},
  doi = {10.18653/v1/2024.loresmt-1.20},
  url = {https://doi.org/10.18653/v1/2024.loresmt-1.20}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/tran-2024-irish-based-large-language-model/