---
title: "Steering Large Language Models for Machine Translation with"
description: "How translation finetuning changes in-context learning, and how training with demonstrations preserves adaptation while reducing output errors."
canonical: "https://research.elamur.ai/free/en/papers/alves-2023-steering-large-language-models-machine/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/alves-2023-steering-large-language-models-machine/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Steering Large Language Models for Machine Translation with Finetuning and In-Context Learning

# Steering Large Language Models for Machine Translation with Finetuning and In-Context Learning

Paper · 2023 · Duarte M. Alves, Nuno M. Guerreiro, João Alves et al.

**Authors:** [Duarte M. Alves](https://md.research.elamur.ai/free/en/authors/duarte-m-alves/), [Nuno M. Guerreiro](https://md.research.elamur.ai/free/en/authors/nuno-m-guerreiro/), [João Alves](https://md.research.elamur.ai/free/en/authors/joao-alves/), [José Pombal](https://md.research.elamur.ai/free/en/authors/jose-pombal/), [Ricardo Rei](https://md.research.elamur.ai/free/en/authors/ricardo-rei/), [José G. C. de Souza](https://md.research.elamur.ai/free/en/authors/jose-g-c-de-souza/), [Pierre Colombo](https://md.research.elamur.ai/free/en/authors/pierre-colombo/) and [André F. T. Martins](https://md.research.elamur.ai/free/en/authors/andre-f-t-martins/) · **Year:** 2023 · **Venue:** Findings of the Association for Computational Linguistics: EMNLP 2023 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Findings of the Association for Computational Linguistics: EMNLP 2023 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.findings-emnlp.744/)
- [PDF](https://aclanthology.org/2023.findings-emnlp.744.pdf)
- [DOI 10.18653/v1/2023.findings-emnlp.744](https://doi.org/10.18653/v1/2023.findings-emnlp.744)

## What it is about

How translation finetuning changes in-context learning, and how training with demonstrations preserves adaptation while reducing output errors. · about 35 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [The problem and its context](#dd-the-problem-and-its-context)
3. [The method, step by step](#dd-the-method-step-by-step)
4. [Experiments and results](#dd-experiments-and-results)
5. [What the ablations show](#dd-what-the-ablations-show)
6. [Limitations](#dd-limitations)
7. [What came after](#dd-what-came-after)

### Summary

A translation system should produce a faithful translation, stop when it is finished, and adapt when a user supplies examples of unfamiliar terminology or style. These requirements can pull in different directions. A pretrained [large language model](https://md.research.elamur.ai/free/en/concepts/large-language-models/) may translate successfully after seeing a few demonstrations, yet continue generating additional material after the answer. [Fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) can make its behavior more reliable, but the resulting system may become less able to use demonstrations supplied later. Alves and colleagues investigate this tension in [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). Their central question is whether training can improve translation and output control while preserving the ability to adapt through examples in the prompt.

The authors study LLaMA 7B and 13B, with their main experiments covering 10 English-centered translation directions. They first compare ordinary fine-tuning, which updates the full system, with low-rank adaptation, or LoRA, which trains a smaller set of parameters. For LLaMA 7B, LoRA delivers translation quality comparable to full fine-tuning while requiring 50 times fewer trainable parameters. Both approaches generally outperform the pretrained system given translation demonstrations. Fine-tuning also changes how generation ends: the adapted systems stop after the translation instead of continuing the pattern of the prompt, removing the output cleanup required by the pretrained baseline.

The difficulty appears when demonstrations are added after ordinary translation fine-tuning. Translation quality frequently falls, including on specialized domains where examples should convey useful terminology, register, or formatting. The proposed remedy is simple: include demonstrations during fine-tuning itself. For each training item, the authors sample between 0 and 5 examples and place them before the source sentence. This exposes the system to translation requests both with and without contextual support. The resulting systems retain strong translation performance without demonstrations and generally recover the ability to benefit from them.

The evidence supports a practical improvement, with qualifications. Training with examples substantially reduces the paper’s measured rate of severe failures triggered by adding demonstrations, but it does not eliminate hallucinations. Some individual sentences improve greatly with examples, while others deteriorate. The experiments also rely on automatic evaluation instead of a human assessment of translation quality. The contribution is therefore a controlled account of how efficient translation fine-tuning interacts with in-context learning, together with a training procedure that makes those behaviors more compatible within the tested languages and domains.

### The problem and its context

#### Translation quality includes the behavior around the answer

A language system asked to translate a sentence must do more than produce plausible words in another language. It must identify the requested target language, preserve the source’s content, follow relevant conventions, and recognize where the answer ends. The paper examines these requirements together because the same prompting and training choices affect all of them.

In-context learning supplies examples inside the input rather than changing parameters for the current request. A translation prompt might show several source sentences paired with translations, followed by a new source sentence whose translation is missing. The demonstrations establish the task and can also communicate expectations about vocabulary or style. The pretrained system then continues the input in a way that completes the requested translation.

The attraction is flexibility. A user can change the examples when the task changes, without performing another training run. The authors describe this as particularly useful for adapting to a specialized domain. A small collection of demonstrations may convey conventions that a general translation system would otherwise miss.

The paper places this behavior in the line of work represented by [Language Models are Few-Shot Learners](https://md.research.elamur.ai/free/en/papers/brown-2020-language-models-few-shot-learners/). It also discusses earlier translation studies showing that pretrained systems can translate effectively when given demonstrations. The relevant achievement is translation through prompting rather than explicit task-specific parameter updates.

However, the authors emphasize that this route to translation is brittle. Its quality depends heavily on the demonstrations. Supplying examples also increases the amount of input processed at inference time. A translation request therefore carries the cost of repeatedly presenting material that serves as context rather than as the sentence to be translated.

A further problem concerns continuation. A pretrained system may recognize a prompt as a sequence of translation examples and extend that sequence after answering. It can produce the desired translation, then repeat instructions or start another example. The answer is present, but the raw output is unsuitable for direct use.

The authors call this overgeneration. Their pretrained baseline requires cleanup that removes material after the first newline. That intervention makes the generated text usable, but it introduces an additional processing rule and leaves the system spending computation on unwanted output.

#### What translation fine-tuning promises

Task-specific fine-tuning offers a different way to establish the desired behavior. Rather than showing demonstrations on every request, training presents many translation instructions and their answers. The system’s parameters change so that a source sentence and a language instruction become enough to elicit a translation.

The paper describes earlier work in which translation instruction training outperformed few-shot prompting. This gives fine-tuning an immediate practical appeal: better translation without the need to attach examples to each request. It may also teach a clearer stopping behavior, since the training task consistently ends with the translation.

The tradeoff is that conventional fine-tuning updates all parameters. For a large pretrained system, this makes adaptation computationally expensive. The authors therefore investigate whether parameter-efficient adaptation can obtain the same translation benefits.

Their comparison draws on the broader approach associated with [Parameter-Efficient Transfer Learning for NLP](https://md.research.elamur.ai/free/en/papers/houlsby-2019-parameter-efficient-transfer-learning-nlp/) and the specific method [LoRA](https://md.research.elamur.ai/free/en/papers/hu-2021-lora-low-rank-adaptation-large/). In the paper’s experimental design, these methods matter because they make translation specialization possible while changing a much smaller trainable component.

The context is not a contest between an entirely untrained translator and a fully supervised translator. The pretrained baseline receives translation examples through its prompt, while fine-tuned systems receive parallel examples through training. The authors explicitly prefer this comparison over using only an unsupported pretrained baseline. Both routes have access to examples, although those examples influence generation in different ways.

That distinction is central to interpreting the study. A few-shot prompt provides temporary task context. Fine-tuning changes the system used for subsequent requests. Their costs occur at different stages, and their effects on later adaptation need not be the same.

#### Why specialization might weaken adaptation

The paper’s main concern is that success on a fixed translation instruction does not guarantee continued success with contextual demonstrations. Fine-tuning can make the system better at the task format it sees during training while leaving it less effective when the input includes additional examples.

This matters even when translation without examples is already strong. A general translation system may still encounter legal wording, medical terminology, or conversational conventions that require local adjustment. If demonstrations remain useful, a user can adapt the output without preparing a new training run.

The authors connect this motivation to [In-context Examples Selection for Machine Translation](https://md.research.elamur.ai/free/en/papers/agrawal-2023-context-examples-selection-machine-translation/), which they discuss as evidence that a small pool of examples can support domain adaptation. They also cite [Prompting PaLM for Translation](https://md.research.elamur.ai/free/en/papers/vilar-2023-prompting-palm-translation-assessing-strategies/) in their account of example sensitivity and translation prompting.

There are two reasons why demonstrations might fail to help after fine-tuning. One is benign: examples from a familiar general domain might contain little information that the trained system still needs. The other is more concerning: the training procedure might impair the system’s ability to interpret and use examples at all.

The experimental design distinguishes these possibilities by examining specialized domains. If demonstrations are merely redundant on general text, examples from a new domain should remain useful. If those examples also cause degradation, the evidence points towards a broader incompatibility between the fine-tuning procedure and later few-shot prompting.

This is why the paper treats adaptation as a separate behavior worth testing. Strong translation quality without demonstrations is valuable, but it does not settle whether a system can respond productively to user-supplied evidence.

#### Output control and contextual learning are connected

The same prompt can encourage both useful learning and unwanted continuation. Demonstrations clarify what a translation should look like, yet repeated source–target patterns can also invite the system to generate more examples. A training procedure therefore has to preserve the informative role of context while teaching the system where the requested answer ends.

The authors’ proposed solution addresses this interaction through exposure. During fine-tuning, the system sees translation requests with varying numbers of demonstrations. It learns that examples are supporting context for a particular request, and that the output should still end after the requested translation.

The paper does not propose a new translation architecture or a new evaluation metric. Its contribution concerns the arrangement of existing ingredients: a pretrained language system, efficient adaptation, translation instructions, and demonstrations. The experiments ask what happens when those ingredients are combined in different ways.

That framing also explains the paper’s emphasis on controlled comparisons. The important question is not simply which configuration obtains the highest score. It is whether efficient fine-tuning preserves translation quality, whether ordinary fine-tuning disrupts contextual adaptation, and whether including demonstrations during training repairs that disruption.

### The method, step by step

#### Begin with parallel text and a multilingual backbone

The authors use [LLaMA](https://md.research.elamur.ai/free/en/papers/touvron-2023-llama-open-efficient-foundation-language/) as the pretrained foundation for their experiments. They study the 7B and 13B versions. The direct comparison between full fine-tuning and LoRA uses the 7B version because of computational constraints; subsequent experiments examine adaptation behavior at both sizes.

The main language coverage centers on English. Dutch and French are included in both directions with English. German and Portuguese are treated in the same way, as is Russian. Together, these form the paper’s 10 main translation directions.

Chinese receives a separate analysis because the authors describe it as unsupported by LLaMA. Keeping that investigation separate matters: it examines whether the main trends persist under an additional language condition, rather than silently treating all languages as having the same starting support.

Training examples come from general-domain parallel text in OPUS. The collection draws on parliamentary and web material, including Europarl and Paracrawl. It also uses Globalvoices, Tilde, Ubuntu, and Wikipedia data. The purpose is to train general translation behavior before testing whether prompt examples can provide more specialized information.

The authors filter this material before sampling training records. Bicleaner applies an initial quality threshold of 0.85. The surviving pairs must also receive COMETKiwi scores above 0.8 in both translation directions.

These filters are part of the method, rather than incidental preprocessing. Fine-tuning is intended to establish reliable translation behavior, so low-quality parallel records could teach incorrect correspondences or weaken the interpretation of the comparison with prompting. The paper does not isolate the effect of each filter, but it states the conditions under which the reported training data were obtained.

After filtering, the authors sample 250K records for each language pair. Training samples are drawn uniformly so that the different pairs receive comparable exposure. This prevents the available volume of a particular corpus or language from automatically determining its share of training.

Validation uses the Flores-200 development split for the languages represented in training. The held-out validation scores guide choices about prompts and training hyper-parameters. Test datasets serve a separate role in the final evaluation.

#### Express translation as an instruction

The basic training item consists of a direction instruction, a source sentence, and its target translation. The instruction names the source and destination languages. Labels distinguish the source text from the answer position.

At test time, this same general arrangement supports translation without demonstrations. The request identifies the languages and presents a source sentence, after which generation begins at the target position.

The term zero-shot needs care in this study. For a fine-tuned system, it means that the current prompt contains no translation demonstrations. It does not mean the system has never seen parallel training data or has received no translation supervision.

Similarly, five-shot evaluation means that the prompt contains five demonstrations before the current request. It does not describe the total amount of training data. Keeping these meanings separate prevents a misleading comparison between the supervision received during training and the examples supplied at inference.

The authors train with the standard cross-entropy objective. In this setup, training encourages the system to assign higher probability to the expected translation sequence. The paper names this objective but does not give a mathematical expression for it, so its methodological contribution lies in how examples and instructions are arranged around that objective.

#### Compare full updates with LoRA

Full fine-tuning changes the entire parameter set. LoRA instead uses low-rank adaptation to provide a smaller trainable component. The paper treats this as an efficient way to steer the pretrained system towards translation.

For the 7B comparison, the authors report 134M trainable parameters for LoRA. Their figure for full fine-tuning is 6,7B. They describe the resulting reduction as training 50 times fewer parameters.

These are trainable-parameter counts, not direct measurements of elapsed training time, total memory, or energy consumption. They establish the scale of the update mechanism. The experiments then determine whether restricting the trainable component materially harms translation quality.

The LoRA configuration includes a rank parameter, written as r. This controls the capacity of the low-rank adaptation. The authors report that preliminary settings with lower ranks underfit, which led them to investigate higher-capacity configurations.

Their hyper-parameter specification also relates the LoRA scaling setting to the rank:

```
α = 2 · r
```

Here, α is the LoRA scaling hyper-parameter and r is the adaptation rank. The multiplication sign indicates that the configured scaling value is twice the rank. This relation is a training setting reported by the authors, rather than a new learning objective introduced by the paper.

The search considers ranks of 128 and 256. It also varies weight decay and label smoothing, both of which regulate training behavior. Weight decay penalizes parameter magnitude during optimization, while label smoothing softens the training targets instead of treating the expected token as the sole possible outcome with complete certainty.

For LoRA, the paper employs the AdamW optimizer, sets the learning rate to 2e-4, and uses batches of 8. The learning-rate schedule is linear, with 500 warm-up steps and dropout of 0.05. These details specify the reported training configuration; the paper does not argue that each is independently necessary for the proposed example-mixing procedure.

The chosen setup for full fine-tuning keeps the learning rate fixed at 1e-6, applies no weight decay, and has no warm-up. The authors select configurations using average validation COMET across the language pairs.

There is a small reporting inconsistency in the final label-smoothing setting. The prose identifies 0.001, whereas the best-scoring row in the hyper-parameter table uses 0.01. Both are reported in the paper, and the discrepancy prevents an unambiguous reconstruction of that setting from the text alone.

#### Put demonstrations into training

The proposed procedure changes the input seen during fine-tuning. Rather than always presenting a translation request on its own, training sometimes places parallel examples before it.

For each training item, the authors uniformly sample a demonstration count between 0 and 5. They then obtain that many examples from a pool separated beforehand from the main training data. The selected examples and current source sentence are assembled into an instruction, and the system is trained to produce the current sentence’s translation.

Fine-tuning translation with contextual demonstrations The steps in order.

The separate pool gives demonstrations a distinct procedural role. They are context attached to the current training item rather than the answer being predicted for that item. The paper’s method therefore teaches the system to handle an input containing several completed translations while producing only the translation requested at the end.

Including 0 among the sampled counts is important. Training retains requests without demonstrations, so the proposed method does not abandon the convenient inference format established by ordinary translation fine-tuning. It expands the training conditions to include contextual support.

The authors relate this sampling approach to [Rethinking the Role of Demonstrations](https://md.research.elamur.ai/free/en/papers/min-2022-rethinking-role-demonstrations-what-makes/). Their own contribution is to apply demonstration-bearing instructions during translation fine-tuning and test whether this preserves later adaptation.

The procedure does not add a specialized domain retriever or an explicit domain classifier. Its central operation is training on variable-length sets of translation examples. At evaluation time, domain information comes from the demonstrations supplied in the prompt.

This distinction matters when interpreting the results. The paper tests whether a system can make productive use of examples under the chosen sampling procedure. It does not establish an optimal way to search for demonstrations or decide which example best matches a particular source sentence.

#### Choose a prompt format on validation data

The authors investigate three ways of presenting demonstrations. One repeats the basic translation instruction around each example. The alternatives separate the demonstrations more clearly from the final request, with one using an explicitly identified example section.

The motivation is behavioral. A repeated instruction–answer pattern may look like a sequence the pretrained system should continue. Separating the completed examples from the current request could make the intended boundary clearer.

Prompt selection uses a 7B system fine-tuned with demonstrations. The authors compare average COMET on the Flores-200 validation set and select the strongest format. When drawing validation demonstrations, they ensure that the item currently being predicted is absent from its own context examples.

The selected format is then used for few-shot evaluation. This makes prompt choice a validated experimental setting rather than an unexplained formatting preference.

However, formatting alone does not solve overgeneration in the pretrained system. The authors report unwanted continuation under every tested template before fine-tuning. Conversely, the fine-tuned systems avoid that problem under all the investigated formats. This comparison places more explanatory weight on training than on the exact arrangement of prompt labels.

#### Evaluate the same system under different contextual conditions

The main evaluation contrasts prompts without demonstrations against prompts containing five examples. For each test sentence, the authors sample demonstrations uniformly from the appropriate development set.

For specialized-domain tests, this gives the context examples a concrete purpose: they can communicate the domain’s translation conventions. The current sentence remains a held-out translation request, while the examples supply supporting evidence.

The design crosses two training conditions with two prompting conditions. A system trained without demonstrations can be evaluated either with or without them. The same is true of a system trained with variable demonstration counts.

This structure separates an improvement caused by a different training procedure from an improvement caused by adding examples at inference. It also reveals cases where the same inference intervention helps one training condition and harms another.

Finally, the authors inspect output length and sentence-level changes. Average translation scores provide the main performance evidence, but they cannot by themselves explain whether generation stops correctly or whether a small set of sentences undergoes severe failures. Those additional analyses address behaviors that the central average could conceal.

### Experiments and results

#### Datasets and evaluation conditions

The main general-domain benchmark is the Flores-200 test split, evaluated on the translation directions represented in training. The authors also use relevant WMT22 test sets. These datasets test whether the adapted systems translate general material successfully beyond the development data used for model selection.

Specialized evaluation introduces different demands. The Medical and Law datasets provide domain-specific translation conditions. TICO and WMT Chat add further settings in which terminology or conversational conventions may differ from general training material.

The domain tests are not interchangeable repetitions of the same benchmark. They ask whether examples can supply useful local information after general translation fine-tuning. This makes them particularly relevant to the paper’s claim about retaining adaptation through context.

The study reports more than 100,000 generated translations across its experiments. Its main metric is COMET, using wmt22-comet-da from version 2.0.1. The authors connect their evaluation to [COMET](https://md.research.elamur.ai/free/en/papers/rei-2020-comet-neural-framework-mt-evaluation/) and [COMET-22](https://md.research.elamur.ai/free/en/papers/rei-2022-comet-22-unbabel-ist-2022/).

COMET is a learned translation-quality metric. In this study, higher scores indicate better evaluated translations. The paper supplements it with [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/), [chrF](https://md.research.elamur.ai/free/en/concepts/chrf/), and COMETKiwi.

BLEU and chrF provide lexical comparison perspectives, using word-sequence and character-sequence overlap respectively. COMETKiwi supplies a learned quality-estimation perspective. Reporting these alongside COMET lets the authors assess whether the broad conclusions depend on a single scoring approach.

The paper does not perform a human translation-quality assessment. As a consequence, its numerical results establish differences under these automatic metrics. The qualitative examples help interpret those differences but do not replace a systematic human study.

#### Efficient fine-tuning versus pretrained prompting

The initial comparison asks whether LoRA sacrifices translation quality relative to full fine-tuning. On Flores-200, the reported pattern is that both adapted systems perform similarly and generally exceed the pretrained few-shot baseline.

English-to-Russian provides a clear numerical example:

LLaMA 7B English-to-Russian on Flores-200 test, COMET LoRA and full fine-tuning both exceed pretrained five-shot prompting, with closely matched scores.

**The numbers**

| System or setting | COMET |
| --- | --- |
| Pretrained, five-shot | 83.44 |
| Full fine-tuning, zero-shot | 84.91 |
| LoRA, zero-shot (this paper) | 84.73 |

This comparison holds the backbone size and test direction fixed while changing the adaptation mechanism and prompting condition. The pretrained system receives demonstrations at inference. The fine-tuned systems translate without them.

The precise ranking varies across directions. On German-to-English, the full and LoRA fine-tuned systems both score 88.66 COMET, while the pretrained five-shot result is 88.06. On Portuguese-to-English, the corresponding scores are 88.88 for full fine-tuning and 88.91 for LoRA, against 88.57 for pretrained five-shot prompting.

Dutch-to-English shows why the paper’s conclusion should be read as an overall pattern instead of a claim that every direction improves. The pretrained five-shot result is 86.46 COMET, compared with 86.44 for full fine-tuning and 86.40 for LoRA. These values are close, but they do not rank adaptation above prompting in that direction.

The main efficiency conclusion is therefore comparability between the adaptation methods. LoRA reaches roughly the same quality level as full updates across the tested directions while using the much smaller trainable parameter set. That finding motivates its use in the rest of the study.

The paper also evaluates reduced amounts of training data. Its reported data-size analysis finds that LoRA surpasses the pretrained few-shot baseline with as few as 2,000 training examples. This supports the claim that useful task steering does not require the full sampled corpus in this setting.

The result does not establish a universal data requirement for translation adaptation. It concerns the tested pretrained system, filtering procedure, language conditions, and benchmark. Its practical significance is that the improvement is already visible at a relatively small training-data setting investigated by the authors.

#### Why the pretrained zero-shot baseline is different

The paper includes pretrained translation without demonstrations in its detailed results, although its primary comparison uses the stronger five-shot baseline. The difference is especially apparent when translating away from English.

For English-to-Russian on Flores-200, pretrained zero-shot COMET is 57.63, while pretrained five-shot COMET is 83.44. For English-to-German, the corresponding scores are 71.56 and 82.74.

The authors suggest that the prevalence of English in pretraining may help explain weaker unsupported translation into other languages. This is an interpretation of the observed directional pattern, rather than a separately isolated causal finding.

Including demonstrations therefore does substantial work for the pretrained baseline. Comparing fine-tuned systems only against pretrained zero-shot generation would obscure how capable the original system already is when prompted more effectively.

At the same time, the strong pretrained few-shot results do not solve the operational problems motivating the study. The demonstrations still have to be processed for each request, their selection matters, and raw generation can continue beyond the translation.

#### Ordinary fine-tuning can make demonstrations harmful

The next comparison concerns a system already fine-tuned on translation instructions. Here the question is whether adding examples still helps.

For the 7B system on Flores-200, English-to-Russian COMET falls from 84.73 without demonstrations to 84.50 with five. English-to-French moves from 85.36 to 85.12. German-to-English changes from 88.66 to 88.53.

These examples illustrate the central concern: demonstrations can reduce quality even though the system has become a better translator overall. Translation competence and productive use of contextual examples are empirically distinct.

The specialized-domain results make the issue more consequential. In Law, examples should carry conventions that general training may not establish. Yet ordinary fine-tuning often performs worse when those examples are added.

The comparison below includes both training procedures:

LLaMA 7B English-to-German on Law test, COMET Demonstrations hurt ordinary fine-tuning, while training with demonstrations supports their later use.

**The numbers**

| System or setting | COMET |
| --- | --- |
| Trained without examples, zero-shot | 80.83 |
| Trained without examples, five-shot | 79.35 |
| Trained with examples, zero-shot | 81.55 |
| Trained with examples, five-shot (this paper) | 81.64 |

The same distinction appears in Law for German-to-English. Ordinary training yields 84.11 COMET without demonstrations and 82.67 with them. Training with examples yields 84.26 without demonstrations and 84.43 with them.

Medical evaluation also shows a decline under ordinary training. For German-to-English, the scores are 83.54 without examples and 83.03 with examples. With demonstration-bearing training, the corresponding results are 83.73 and 83.77.

These comparisons support the authors’ interpretation that the problem is more than redundancy on familiar text. Examples can harm performance in domains where they have a plausible informational role. Including them during training changes that pattern.

#### Recovery is a general tendency, not a universal gain

The proposed procedure often improves translation without demonstrations as well as with them. This is important because training for contextual flexibility does not simply trade away the convenient zero-shot inference format.

For English-to-French on Flores-200, demonstration-bearing training gives 85.76 COMET without examples and 85.98 with five. The ordinarily fine-tuned system gives 85.36 and 85.12 under the corresponding prompting conditions.

However, adding examples does not improve every result. For Portuguese-directed translation from English on Flores-200, the 7B system trained with examples scores 87.36 without demonstrations and 87.35 with them. The procedure preserves strong performance, but that particular comparison does not show a contextual gain.

WMT22 results likewise contain exceptions. For German-to-English, demonstration-bearing training yields 83.10 COMET without examples and 83.06 with examples. For Russian-to-English, it yields 82.97 and 83.12.

The appropriate conclusion is that training with demonstrations generally restores useful few-shot behavior. It does not make every prompt example beneficial or guarantee that five demonstrations are preferable for every sentence and direction.

#### Larger systems show a less uniform pattern

The 13B results broadly support the study’s motivation, but their details are more mixed. The authors note that degradation after ordinary fine-tuning is clearer with COMETKiwi than with lexical metrics.

On Flores-200 English-to-German, the 13B system trained without demonstrations scores 84.87 COMET without examples and 84.64 with them. The demonstration-trained version scores 85.01 in both prompting conditions.

For English-to-Russian, ordinary training gives 86.46 without examples and 86.08 with them. Demonstration-bearing training gives 86.92 and 86.64. The latter system is stronger in both conditions, yet adding examples still lowers its COMET score.

There are also cases where ordinary training already benefits from examples. Dutch-directed translation from English scores 84.10 without demonstrations and 84.63 with them. This prevents a blanket claim that translation fine-tuning necessarily destroys in-context learning.

Specialized-domain results provide another useful caution. In Chat English-to-French, the 13B ordinarily fine-tuned system scores 87.46 without demonstrations and 88.18 with them. The system trained with demonstrations scores 86.41 and 86.86.

That case favors the ordinary training condition under COMET. The paper’s overall argument is supported by many comparisons, but the detailed results show that the proposed procedure is not uniformly superior across every domain, direction, and system size.

#### Agreement across metrics has limits

For the initial comparison of LoRA with full fine-tuning, the supplementary metrics support the same broad conclusion: efficient adaptation is competitive with full updates and stronger than pretrained prompting overall.

The comparison involving contextual examples is more metric-dependent, particularly at 13B. The authors explain that lexical overlap may underrepresent good translations that depart from the reference’s wording. They connect this concern to [How Good Are GPT Models at Machine Translation?](https://md.research.elamur.ai/free/en/papers/hendy-2023-good-gpt-models-machine-translation/).

This does not make lexical metrics irrelevant. It means that disagreements need interpretation rather than automatic dismissal. A conclusion about translation quality becomes stronger when multiple measures agree, while differences between measures reveal uncertainty about how behavior should be judged.

The paper’s strongest empirical case combines average learned-metric performance with output-format analysis, sentence-level comparisons, and inspection of severe failures. Those pieces address different aspects of reliability rather than repeating the same measurement.

### What the ablations show

#### The main controlled comparison tests training exposure

The paper contains controlled comparisons and diagnostic analyses rather than an exhaustive decomposition of every component. Its central intervention is whether translation fine-tuning includes demonstrations.

The design is informative because the resulting systems can both be evaluated with the same broad prompting choices. A system trained without demonstrations may be tested with five examples, and a system trained with demonstrations may be tested without them.

This distinguishes two questions that could otherwise become confused. Does the new training procedure produce a stronger translator? Does supplying examples at inference help that trained translator? The reported results indicate that demonstration-bearing training often improves the underlying translation result and makes contextual examples safer or more useful.

The specialized-domain comparison further tests the interpretation. If ordinary fine-tuning merely made general examples unnecessary, domain-specific examples could still help. Their frequent negative effect under ordinary training supports the concern that the training format itself has reduced effective use of context.

The evidence remains behavioral. The authors do not trace an internal mechanism showing exactly how the representation of demonstrations changes. Their explanation is supported by outputs and scores under controlled input conditions.

#### Prompt formatting has a smaller effect than training

The prompt-format experiment compares the three demonstration arrangements on Flores-200 validation data. Their COMET scores are 85.25, 85.34, and 85.27 for Formats 1, 2, and 3 respectively.

Format 2 also has the highest reported validation values on the other metrics: COMETKiwi is 82.54, BLEU is 32.62, and chrF is 57.37. The authors select it because its ranking is consistent across those measures.

The close COMET values suggest that the fine-tuned system is not highly sensitive to these particular formatting alternatives. This finding is narrower than saying prompt design does not matter. The experiment compares a small set of related templates under a particular training condition.

Its most revealing result concerns overgeneration. Every investigated format permits unwanted continuation in the pretrained system. Every format avoids that behavior after fine-tuning.

The authors initially designed clearer example sections partly to reduce continuation. The comparison shows that formatting changes alone do not explain the successful stopping behavior. Training is the more decisive intervention within the tested alternatives.

#### More training without demonstrations is not clearly better

The main procedure samples demonstration counts uniformly between 0 and 5. An alternative mixture gives 50% of training items no demonstrations, while the remainder receive a uniformly sampled count between 1 and 5.

This comparison asks whether additional emphasis on the no-demonstration condition improves the balance between direct translation and contextual adaptation. It is a reasonable concern because the system should remain useful when no examples are available.

The authors find similar results for the mixtures, with the alternative performing slightly worse. They therefore retain the uniform-count procedure.

This supports the adequacy of a simple mixture in the investigated setting. It does not determine an optimal distribution over demonstration counts. The comparison is limited, and the authors do not pursue a broad search over mixture proportions or domain-dependent schedules.

The result also weakens the idea that preserving zero-shot behavior requires making demonstration-free instructions dominate training. Within the tested conditions, the simpler count sampling retains the desired behavior.

#### Rank and regularization do not explain the main effect

The LoRA search provides a separate view of training sensitivity. It considers ranks of 128 and 256, different regularization settings, and their effects on validation metrics.

The best COMET row in the table uses rank 256, weight decay 0.0, and label smoothing 0.01, with COMET 84.87. A rank-128 configuration with label smoothing 0.05 and weight decay 0.0 scores 84.80.

The table also shows weaker values under stronger smoothing. At rank 128 with label smoothing 0.2 and weight decay 0.0, COMET is 84.36. The authors describe the overall variation as small.

This search supports their choice of a sufficiently capable LoRA configuration. It does not establish that rank or smoothing causes the recovery of in-context learning. That recovery is tested through the separate intervention of including demonstrations during training.

The reporting discrepancy between the prose’s label-smoothing value and the table remains relevant for reproduction. It should not be concealed by presenting one setting as unambiguously established.

#### Chinese extends the pattern without resolving generalization

The Chinese analysis asks whether the principal findings persist for a language the authors describe as unsupported by the backbone. It repeats the comparison between full fine-tuning and LoRA, then examines fine-tuning with and without demonstrations.

For English-to-Chinese on Flores-200, pretrained five-shot COMET is 66.04. Full fine-tuning gives 72.94, while LoRA gives 72.43. These values support the same broad efficiency conclusion found in the main language set.

The 7B LoRA system trained without examples scores 72.43 without demonstrations and 71.77 with them. Training with demonstrations yields 74.25 without examples and 74.74 with examples.

Chinese-to-English follows the same direction of comparison. Ordinary training gives 83.15 without demonstrations and 82.57 with them. Demonstration-bearing training gives 83.71 and 83.73.

These results provide a useful extension beyond the main language conditions. They do not establish that the procedure works across low-resource translation generally, or across directions that exclude English. The additional analysis is evidence of persistence in the tested Chinese directions.

#### Output length reveals a change in task boundaries

The output-format analysis compares tokenized generation lengths with reference translation lengths. For the 7B systems, both fine-tuned conditions produce length distributions resembling the references.

The pretrained system behaves differently because it may continue after completing the translation. A qualitative example shows the desired Portuguese translation followed by repeated instruction material and another attempted continuation.

Both fine-tuned systems stop after the translation in that example. More generally, the authors report that the adapted systems terminate with an end-of-sentence token rather than using a newline as the practical boundary.

This matters because stopping behavior is part of the raw output’s usefulness. The pretrained baseline depends on a cleanup rule, whereas the fine-tuned systems produce a self-contained answer without that step.

The authors report a similar length pattern for 13B. Nonetheless, matching reference-length distributions is not proof of translation fidelity. A concise output can still omit content, choose the wrong meaning, or hallucinate. This analysis specifically supports improved control over continuation.

#### Sentence-level changes reveal hidden risk

Average scores can make contextual examples look mildly helpful or mildly harmful. The sentence-level analysis shows a more uneven picture.

The authors examine COMET changes between outputs generated without demonstrations and outputs generated with them. Their plots use the following interpretation:

```
∆ > 0
```

Here, ∆ denotes the change in COMET when demonstrations are added, and a value above 0 means the demonstrated translation receives the higher score. This is the sign convention used in the paper’s analysis.

For the 7B system trained with examples, many observations cluster slightly above zero. However, the distributions also have long tails. Some sentences improve substantially, while others become much worse.

The same broad tail behavior appears for ordinary fine-tuning and across specialized domains. This means that training with examples does not make their effects uniform. It improves aggregate behavior while leaving individual cases sensitive to context.

Manual inspection provides concrete explanations. Examples sometimes repair generation in the wrong language. In other cases, they improve domain terminology or conventional phrasing.

The legal examples include a source acronym for genetically modified organisms. Without demonstrations, the translation retains the source acronym. With demonstrations, it uses the appropriate English acronym. Another example improves the ordering of a legal document heading.

These cases show how domain information can enter through context. They do not imply that every terminology correction is caused by the same mechanism or that examples always establish the right convention.

#### Severe failures become less common, but remain

The authors define a diagnostic for failures triggered by adding examples. They identify cases where the no-demonstration output scores above 30 BLEU, but the output with demonstrations falls below 3.

This is a conditional test of deterioration under a prompt change. It is not a comprehensive count of every hallucination produced by the system. The authors connect the approach to prior analyses of hallucinations under perturbation, including [Hallucinations in Large Multilingual Translation Models](https://md.research.elamur.ai/free/en/papers/guerreiro-2023-hallucinations-large-multilingual-translation-models/).

The Law-domain rates illustrate the training effect:

Demonstration-triggered hallucination diagnostic on Law test data Training with demonstrations reduces the measured severe-failure rate at both backbone sizes.

**The numbers**

| System or setting | hallucination rate % |
| --- | --- |
| 7B trained without examples | 2.70 |
| 7B trained with examples (this paper) | 0.05 |
| 13B trained without examples | 0.48 |
| 13B trained with examples | 0.15 |

The reduction is visible in other domains. For 7B on Medical, the reported rates are 1.09% without demonstration-bearing training and 0.05% with it. On Chat, they are 1.80% and 0.23%.

For 13B on Flores, the diagnostic gives 0.02% under ordinary training and 0.00% under training with demonstrations. On TICO, both training conditions have a reported rate of 0.04%.

Manual inspection reveals several failure types. Some outputs become disconnected from the source, some repeat material, and some use the wrong target language. Ordinary fine-tuning can also lead the system to copy text from the instruction or its examples.

The authors report that this instruction-copying behavior disappears in their inspected outputs after training with demonstrations. Other hallucinations remain. The procedure therefore reduces an important failure mode without establishing complete reliability under contextual changes.

### Limitations

#### The authors’ stated limits on languages and resources

The authors explicitly limit their main claims to high-resource, English-centered translation. Their study does not determine whether the same results hold for language pairs that exclude English or for low-resource settings.

This boundary matters because the proposed procedure depends on several kinds of data. It uses parallel training examples, a separate pool for demonstrations, and development material from which evaluation examples are sampled. Other translation settings may not provide these resources in comparable quality or quantity.

The Chinese analysis extends the language coverage, but it does not remove this limitation. Its translation directions still involve English, and it is not a broad evaluation across low-resource conditions.

The authors’ question is therefore best understood as how fine-tuning and prompting interact in the tested multilingual setting. It is not a demonstration that a single training mixture preserves adaptation across all languages.

#### The authors’ stated lack of human evaluation

The paper explicitly acknowledges that it does not include a human assessment of translation quality. The stated reasons are the time and cost required.

Automatic metrics make the extensive comparison feasible, but they are an indirect measure of the translation qualities users care about. The results show how systems compare under the selected scorers, supported by inspected examples.

The supplementary metrics provide useful corroboration, especially for the initial LoRA comparison. Yet disagreement among metrics remains visible in the analysis of larger systems. That disagreement limits how confidently every small numerical change can be interpreted.

The ethics discussion adds another concern: learned evaluators depend on human preference judgments, and those judgments may fail to recognize better alternatives. This is a limitation of the evaluation chain described by the authors, rather than evidence that any particular result is incorrect.

The qualitative examples are valuable because they reveal recognizable errors and improvements. They are selected cases, however, so they do not establish how often every category of linguistic error occurs across the full evaluation.

#### The authors’ stated concern about hallucinations

The authors explicitly warn that hallucinations remain serious after the proposed training change. Lower diagnostic rates should therefore be read as a reduction in observed failures rather than a guarantee of safe translation.

Their examples make the risk concrete. Adding demonstrations can turn an otherwise reasonable translation into repetitive text or content unrelated to the source. Such changes are more severe than choosing a less preferred synonym.

The residual risk is especially important because demonstrations are intended to help. A user supplying examples may reasonably expect better adaptation, yet the paper shows that contextual intervention can occasionally make an answer much worse.

The authors call for further study of how examples influence generation. Their method improves the interaction, but the paper does not claim to explain or prevent every failure.

#### A careful reader’s limit: the hallucination measure is selective

The paper’s hallucination diagnostic requires a particular transition: an initially adequate BLEU result followed by a very low BLEU result after adding examples. This makes it useful for studying severe failures induced by the intervention.

It also leaves several cases outside the measure. A translation that is already poor without examples may remain poor with them. A subtle factual alteration may be serious without causing the required score collapse. An output might also fail in a way that lexical overlap does not fully expose.

As a consequence, the reported rates should not be treated as the total prevalence of hallucination or mistranslation. They measure a specified kind of deterioration under a specified prompt change.

Similarly, a reported 0.00% means that the diagnostic found no qualifying cases at the reported precision in that evaluation. It does not establish that the system cannot hallucinate.

This interpretive limit follows from the setup rather than from a separate claim by the authors. It preserves the value of the diagnostic while keeping its scope clear.

#### A careful reader’s limit: averages conceal uneven benefits

The detailed tables contain cases where demonstrations do not improve performance, including after training with examples. They also contain settings where ordinary fine-tuning remains competitive or better.

This means that recovering few-shot capabilities is an aggregate behavioral claim. It is not equivalent to making every supplied demonstration useful or making the proposed training procedure dominant in every comparison.

Sentence-level tails reinforce this point. A small average improvement can coexist with substantial deterioration for individual inputs. For a user translating a particular sentence, the average alone does not predict whether examples will help.

The paper does not provide a selector that determines when to use demonstrations, how many to attach, or when to prefer the output generated without them. Such a decision mechanism would require additional evidence beyond the reported training comparison.

#### A careful reader’s limit: demonstration selection is constrained

Evaluation examples are sampled uniformly from the relevant development sets. This is a clear and reproducible experimental choice, but it does not cover every way a system might receive context.

The study does not establish behavior under deliberately misleading demonstrations, conflicting translation conventions, or systematically poor examples. Nor does it compare a wide range of retrieval procedures for finding the most relevant context.

The results therefore show that the system can use the sampled examples more productively after demonstration-bearing training. They do not eliminate the earlier concern that example quality matters.

The separate example pool during training is also part of the tested procedure. A different arrangement of training and demonstration data could change the outcome, but the paper does not isolate that design choice.

#### A careful reader’s limit: efficiency has a specific meaning

The strongest numerical efficiency claim concerns trainable parameters. LoRA requires far fewer updates than full fine-tuning while achieving comparable translation scores in the reported comparison.

That is meaningful evidence for efficient adaptation, but it is not a complete systems benchmark. The paper does not establish a general conversion from parameter reduction to training-time reduction, financial savings, or energy savings.

Likewise, stopping after the translation avoids generating unwanted continuation, and translating without demonstrations avoids processing those examples. These mechanisms plausibly improve computational efficiency, as the authors argue. Their magnitude is not comprehensively measured through latency or throughput experiments.

The full-update comparison also uses only the 7B backbone because of computational constraints. The paper’s own experiments therefore do not directly establish the same full-fine-tuning versus LoRA equivalence at 13B.

#### A careful reader’s limit: reproducibility and causal explanation

The label-smoothing discrepancy between prose and table introduces uncertainty about the exact chosen setting. It is a local reporting issue, but it matters to anyone trying to reproduce the configuration precisely.

The broader explanation also remains at the behavioral level. Training with demonstrations improves later use of demonstrations, but the paper does not identify a unique internal cause of the original degradation.

Several behaviors may contribute: recognizing the current request, distinguishing examples from output, maintaining the target language, and resisting irrelevant continuation. The diagnostic analyses illuminate these behaviors without proving that a single mechanism explains all of them.

The ethics statement further notes risks inherited from large-scale pretraining, including toxic material in web data and substantial training energy use. Translation adaptation does not establish that these inherited risks have been removed. The paper’s tested improvements concern translation behavior and contextual adaptation.

### What came after

#### Language coverage and adaptation remained active questions

The later citing works span multilingual adaptation, translation preferences, conversational use, prompting, and output repair. Their recorded titles identify these research directions, but do not establish which experiments or findings they inherit from Alves and colleagues.

That distinction matters here. A citation demonstrates a connection in the research literature; it does not by itself show that a later study implements demonstration-bearing fine-tuning, reproduces the original results, or confirms the proposed mechanism.

[MaLA-500: Massive Language Adaptation of Large Language Models](https://md.research.elamur.ai/free/en/papers/lin-2024-mala-500-massive-language-adaptation/) is a later citing work from 2024. Its stated subject places language adaptation at the center. This connects to the original paper’s question of how a pretrained system can be adapted efficiently while retaining useful behavior.

The available information does not establish whether MaLA-500 adopts the same mixture of translation prompts or investigates the same loss of few-shot performance. Its relevance is therefore the continuing adaptation problem, particularly the question of language coverage that the original authors leave open.

[Layer-aware Dual-directional Modulation for Low-resource Machine Translation](https://md.research.elamur.ai/free/en/papers/zhang-2026-layer-aware-dual-directional-modulation/) addresses low-resource translation according to its title. This is directly adjacent to a stated boundary of the original experiments.

The connection should remain precise. Alves and colleagues do not establish generalization to low-resource conditions. The later title identifies work in that area, but supplies no result demonstrating that the earlier training procedure succeeds there. It marks an extension of the research landscape rather than a confirmed resolution of the limitation.

#### Evaluation and user preferences form another continuation

[Modeling User Preferences with Automatic Metrics: Creating a High-Quality Preference Dataset for Machine Translation](https://md.research.elamur.ai/free/en/papers/agrawal-2024-modeling-user-preferences-automatic-metrics/) is another 2024 citing work. Its title links automatic metrics, preferences, and translation data.

Those subjects connect closely to the original study’s reliance on automatic evaluation. Alves and colleagues use learned quality measures to compare training and prompting conditions, while acknowledging the absence of a human assessment.

The later work’s title identifies a focus on preference data construction. It does not provide enough information to claim that it validates the original rankings, supplies missing human judgments, or adopts the original adaptation method.

The research connection is nevertheless substantive: improvements in translation systems depend on how quality is represented and measured. The original paper’s metric disagreements make that issue visible, while the later title places user preferences explicitly within the evaluation agenda.

#### Conversation introduces a different setting for context

[A Context-aware Framework for Translation-mediated Conversations](https://md.research.elamur.ai/free/en/papers/pombal-2026-context-aware-framework-translation-mediated/) identifies conversational translation as its subject. The original paper already includes Chat evaluation, but its central contextual intervention consists of translation demonstrations attached to a request.

Conversation raises related questions about how surrounding material should influence the current translation. The later title makes context part of the framework’s stated focus, connecting it to the original concern that useful additional input can either support or disrupt generation.

The available record does not specify whether that context consists of demonstrations, previous conversational turns, or another representation. It therefore does not justify equating the later framework with the original method.

[Multilingual Communication in the Asylum Context: Evaluating LLM-Based Machine Translation with Fuzzy Match Augmentation and Adaptive NMT across Resource Conditions under Low-Data Constraints](https://md.research.elamur.ai/free/en/papers/moerman-2026-multilingual-communication-asylum-context-evaluating/) identifies a more specific communication setting. Its title names fuzzy-match augmentation, adaptive neural translation, and constrained data conditions.

This places contextual support and adaptation in a setting that differs from the original general-domain training experiment. It also intersects with the original paper’s unresolved resource question.

No comparative findings are recorded for this later work, so it cannot be used to claim that demonstration-bearing training is sufficient for that communication setting. Its place in the continuation is the move towards evaluating adaptation under explicitly stated application and data constraints.

#### Prompting and translation procedure became explicit subjects

[How Important is `Perfect' English for Machine Translation Prompts?](https://md.research.elamur.ai/free/en/papers/schmidtova-2026-how-important-is-perfect-english/) identifies prompt wording as its central question. This relates to the original paper’s template comparison, which finds similar results among the tested formats after fine-tuning.

The two questions are connected but distinct. Comparing prompt structures does not establish how grammatical quality affects an instruction. The later title signals attention to that additional dimension of prompting, without supplying an answer that can be reported here.

[Translation-CoT: A Human-Inspired Chain-of-Thought Framework for Multilingual LLM Translation](https://md.research.elamur.ai/free/en/papers/prama-2026-translation-cot-human-inspired-chain/) names a translation framework organized around chain-of-thought. Its title therefore places the procedure used to elicit translation at the center of the work.

Alves and colleagues study instructions, demonstrations, and parameter adaptation. The later title identifies another way of structuring translation behavior, but does not establish whether it preserves in-context learning through the same training mixture.

It would be unwarranted to infer improved quality, reduced hallucination, or particular intermediate reasoning stages from the title alone. The documented connection is that it cites the original study while addressing multilingual translation through a stated procedural framework.

#### Diagnosis and repair address the remaining reliability problem

[Diagnose, Then Repair: A Two-Stage MQM-Guided Post-Editing Framework for Domain-Specific Machine Translation](https://md.research.elamur.ai/free/en/papers/wang-2026-diagnose-then-repair-two-stage/) identifies diagnosis and post-editing as its approach to domain-specific translation.

This connects to a problem the original paper leaves unresolved. Training with demonstrations reduces severe failures but does not remove them, and average quality improvements do not guarantee correctness for an individual translation.

The later title places a diagnostic stage before a repair stage. That is a different stated intervention point from changing how the translator is fine-tuned. The available information does not establish its exact relationship to the original method, its measured performance, or whether it repairs the same hallucination categories.

Taken together, these citing works show continued attention to the interaction among adaptation, context, evaluation, and translation reliability. The original paper’s demonstrated contribution remains specific: efficient translation fine-tuning can preserve useful contextual adaptation when the training inputs themselves include demonstrations. Its unresolved questions concern how far that result generalizes, how examples should be chosen, and how to detect the individual cases where contextual help becomes harmful.

## Cite

Cite as Duarte M. Alves, Nuno M. Guerreiro, João Alves, José Pombal, Ricardo Rei, José G. C. de Souza, Pierre Colombo and André F. T. Martins. 2023. Steering Large Language Models for Machine Translation with Finetuning and In-Context Learning. Findings of the Association for Computational Linguistics: EMNLP 2023.

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

```bibtex
@inproceedings{alves2023steering,
  title = {{Steering Large Language Models for Machine Translation with Finetuning and In-Context Learning}},
  author = {Duarte M. Alves, Nuno M. Guerreiro, João Alves, José Pombal, Ricardo Rei, José G. C. {de Souza}, Pierre Colombo and André F. T. Martins},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2023},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.744},
  url = {https://doi.org/10.18653/v1/2023.findings-emnlp.744}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
