Few-Shot Regularization to Tackle Catastrophic Forgetting in Multilingual Machine Translation
Paper · 2022 · Salvador Carrión and Francisco Casacuberta
Summary
A translation system that works well for English and Spanish can lose much of that ability when it is trained to translate English and French. The loss is called catastrophic forgetting. It matters when the translator needs to keep serving its existing language pairs, especially if their original training data are no longer available. Salvador Carrión and Francisco Casacuberta study this problem in multilingual machine translation. They start with English–Spanish and add English–French, English–German and English–Czech in sequence, measuring how well the translator still handles earlier pairs after each addition.
The first experiments show how much depends on the presence of old examples during fine-tuning. The initial English–Spanish translator scores 35 points on BLEU, an automatic measure of overlap with human translations. When English–French training uses only French-pair data, the English–Spanish score drops to zero. With English–Spanish examples making up 1.0% of each batch, it retains around 60% of its earlier score. At a replay share of 20%, it retains 95%. Repeating scarce examples to give them more influence can help further. The paper reports gains of up to +4 BLEU points when the available past data are especially limited, alongside slower learning on the incoming pair when repetition gives the old and new tasks equal weight.
The final experiment tests a training objective the authors call few-shot regularization. Here, few-shot learning refers to working with very few examples from already learned pairs. The objective changes how much each pair contributes to training and gives the updated translator a reason to preserve its earlier predictions on replayed examples. Those predictions come from the version used to start the current training stage. The objective also scales the loss by task and adds a penalty on parameter magnitude. During the addition of English–Czech, ordinary replay with 1% past data allows earlier scores to decline as training progresses. With regularization and the same replay share, English–Spanish and English–French improve over their scores at the start of the stage, and English–German gives up less ground.
The new pair learns more slowly with the regularizer. The authors report that the approaches ultimately reach similar English–Czech performance, and that a smaller learning rate and further training let both reach the same performance. The result gives a practical role to a small collection of old translations. Those examples can supply direct practice on the earlier pairs and provide inputs on which the previous translator can guide the updated one.
Deep dive: Few-Shot Regularization to Tackle Catastrophic Forgetting in Multilingual Machine Translation
Few-shot regularization helps a multilingual translator retain earlier language pairs when it learns a new pair with little past data. · about 32 minutes to read
The problem and its context
Adding a language pair changes a shared translator
The task in this paper is to extend the language coverage of an existing translator. Each language pair counts as a task. Initial training establishes English–Spanish, and subsequent stages build on the translator produced by the preceding stage. At each handoff, the system is expected to acquire the incoming pair while keeping the pairs it already serves. The difficulty comes from using the same network for both purposes. An update made for the incoming pair changes the parameters that the translator also relies on for earlier pairs.
The training signal follows the data. A batch of English–French examples can tell the network whether its French-pair predictions match their targets. That batch has no English–Spanish targets against which to check the consequences of the update. The network can therefore improve on the data it sees while moving away from settings that worked for Spanish. Evaluating only the latest pair would give an incomplete account of what the update accomplished. The old pairs need their own evaluations after the update has begun.
Carrión and Casacuberta place this problem within continual learning. A continually trained system accepts tasks over time, so the conditions of training change as the system accumulates responsibilities. The paper connects forgetting to the stability–plasticity dilemma. Stability is the ability to preserve useful behavior established by earlier training. Plasticity is the ability to change enough to learn something new. The amount of freedom that helps with French, German or Czech can also alter behavior that earlier training made useful. The question is how to guide those changes while the system is still learning.
The authors trace the problem of catastrophic interference to McCloskey and Cohen and cite earlier work by Carpenter and Grossberg on learning with limited memory. In the translation setting, the paper makes preservation observable through output quality. A translator can remember enough to produce good Spanish, or it can lose enough that its translations match the Spanish references poorly. Such an evaluation tells the reader about translation behavior. The mechanism behind a change in score is a separate question, since the score alone does not identify which internal parameters or representations changed.
Why access to old data matters
If all past and incoming translations are available, a developer can assemble a combined corpus and train on it. That arrangement gives each pair a continuing place in the training objective. The practical setting motivating the paper is different. Earlier data may have been lost, access may be restricted by licensing or privacy, or the full original corpus may simply be unavailable. Repeated training from scratch also uses resources each time coverage expands. The authors mention both the inefficiency of that workflow and its environmental cost over time.
A small collection of past input and target sentences offers a middle ground. The work asks what can be done with that collection when it is much smaller than the data for the incoming pair. An available collection might come from retained examples or from suitably similar material that can still be obtained. The authors also discuss the possibility of annotating a small set. These are motivations for the experimental constraint. Their controlled experiments use parallel data from Europarl.
A useful distinction is between how many different past sentences are available and how frequently the trainer encounters them. Repeating an old sentence gives it another opportunity to affect the update. The sentence itself provides the same example on each encounter. Giving its error a larger coefficient can also increase its influence, this time on the occasions when it is presented. A small corpus and a small training influence are therefore separate conditions. The paper varies them through ordinary replay, repetition and loss weighting.
This distinction also clarifies the role of the incoming data. Suppose the trainer devotes more of each batch to past examples. Fewer examples of the incoming pair can then appear in each batch of the same size. Weighting changes the contribution of the examples in another way. At a given mix of sentences, a larger weight increases the loss assigned to a particular task. How much to preserve and how much to adapt depends on both the examples that reach the trainer and the importance the objective gives their errors.
Earlier approaches to keeping old abilities
The related work describes several ways to act on the stability–plasticity tradeoff. One family controls how the existing network changes. Li and Hoiem used shared and task-specific parameters. Kirkpatrick and colleagues identified parameters important to earlier tasks and penalized updates to them. Jung and colleagues applied a constraint to changes in the last hidden layer, while Zenke and colleagues accumulated information about how individual parameters mattered to training. Hu and colleagues combined parameters shared across tasks with parameters generated for adaptation. These approaches place the preservation mechanism in the treatment of the network and its updates. Overcoming catastrophic forgetting in neural networks
A second family makes room for additional tasks by increasing capacity. Rusu and colleagues retained previously trained networks and learned connections to support new tasks. Draelos and colleagues added neurons to deep layers, drawing inspiration from neurogenesis. Lee and colleagues developed a network that controls its expansion dynamically. The shared issue is the amount of capacity available as responsibilities accumulate. A growing architecture can allocate additional capacity at a stage when a fixed-size one must accommodate the incoming task using parameters that already serve earlier ones. Progressive Neural Networks
Replay puts the preservation mechanism in the data available during training. Lopez-Paz and Ranzato kept a subset of observed examples as an episodic memory. Shin and colleagues generated examples of earlier tasks and used them during later training. Both approaches make some signal from earlier tasks available when optimization would otherwise be driven by the incoming task. Actual examples and generated examples make different demands on what must be kept or trained. Carrión and Casacuberta work with a small amount of real parallel text and use an earlier translator as an additional source of guidance on that text.
The paper describes several lines of work closer to language processing. Xu and colleagues used knowledge from previous domains to help form embeddings for a new domain. An embedding is a learned numerical representation, such as a vector associated with a word or token. Qi and colleagues studied the usefulness of pretrained embeddings for translation with limited data. Liu and colleagues updated sentence encoders across corpora, and Sato and colleagues adapted embeddings by projecting them across domains before further training. These examples concern how a system carries useful language representations forward as its data change. When and Why Are Pre-Trained Word Embeddings Useful for Neural Machine Translation?
The closest translation settings in the paper’s account include vocabulary adaptation and domain adaptation. Garcia and colleagues changed the vocabulary to extend the languages supported by a multilingual translator. Thompson and colleagues applied Elastic Weight Consolidation during domain adaptation, where the risk was that adapting to a new domain would harm general-domain translation. In Carrión and Casacuberta’s setup, the division between old and new is drawn at the language-pair level. The vocabulary is shared from the start, and the experiments track how the scores for the original pairs respond as each subsequent pair receives translation training.
The method, step by step
Prepare a shared vocabulary and an initial translator
The experiments draw parallel sentences from Europarl, a collection based on European Parliament text. A parallel example supplies the sentence to be translated and a corresponding target sentence. The authors give each language pair the same number of training sentences and describe the token totals as similar. This keeps the original corpora comparable in size before past data are deliberately restricted during sequential training.
The authors pool text from all the pairs to train a shared inventory of units using a Unigram method in SentencePiece. This is subword tokenization. A sentence is represented as a sequence of tokens that can include pieces of words, allowing a shared inventory to represent text across the different languages. The inventory has 16,000 tokens plus 256 for byte fallback. Byte fallback provides a way to represent material through bytes when needed. The vocabulary is consequently multilingual from the outset, even though the supervised translation stages encounter the language pairs in succession. SentencePiece
The translator is a compact encoder–decoder. The encoder forms a representation of the input sentence, and the decoder uses that representation to produce the output sequence. The implementation is a simplified Transformer with 3 layers, 8 attention heads, an embedding dimension of 256 and a feedforward dimension of 512. The layer count describes the depth of the specified architecture. The attention heads provide multiple attention computations. The embedding dimension is the size of the token representation, and the feedforward dimension describes the intermediate width of the feedforward computation. The paper gives a parameter range of around 4.1M to 25M for the implementation, depending on vocabulary size. It does not assign that entire range to separate comparisons in the forgetting experiments.
Attention lets the network relate positions in a sequence and connect the input with the output it is producing. The architecture uses positional embeddings to convey order and masking to control access to positions. This gives the authors a common translation architecture on which to test different ways of training. The method changes the availability of samples and the objective applied to them. Its repeated use of the same compact architecture is important when interpreting a decline on earlier pairs as more tasks accumulate. Attention Is All You Need
The authors use AutoNMT for preprocessing, training and evaluation. Their starting objective is cross-entropy, which penalizes the network for assigning too little probability to the target token. They train without label smoothing, so there is no softening of the supervised target through that technique. The optimizer is Adam. The paper reports 4096 tokens/batch or a batch of 128 sentences, a maximum token length of 150 and a gradient clipping norm of 1.0. It reports a maximum of 50 epochs with early-stopping patience of 10. An epoch is a pass through the training data, and patience determines how long the run can continue under the stopping rule while waiting for improvement.
Carry forward the checkpoint and some past sentences
The first stage trains the translator on English–Spanish. Once that stage is complete, the authors use its saved parameters to start English–French training. The next stages introduce English–German and then English–Czech. This order is fixed throughout the experiments. A checkpoint is the saved state from which a stage can start. For the regularized update, the checkpoint at the beginning of a stage also supplies the earlier predictions used by the loss.
The most direct way to protect an old pair is to interleave a small number of its examples with data from the new pair. The training batches thus carry evidence about what the translator should do on tasks of different ages. Every old example with an expected translation gives cross-entropy a way to penalize poor predictions for that example. The replay comparison varies the fraction of past data in the batches. It includes a setting where the incoming pair accounts for all the training data and settings where the past supplies a reminder.
At later stages, “past” can include several pairs. When English–German is introduced, both English–Spanish and English–French are earlier tasks. When English–Czech arrives, English–German is also a past task. The total old-data share describes the amount of replay as a whole. It should not be read as a separate full share for every earlier pair. Keeping that distinction in view prevents the Czech-stage comparison at 1% past data per batch from sounding as though each previously learned pair had its own independent 1% allocation.
The following flow describes the final update procedure. The earlier experiments isolate parts of that procedure by varying replay and by trying oversampling before adding the full regularized loss.
Adding a language pair with few-shot regularization
The steps in order.
Increase the influence of a scarce collection
Ordinary replay gives old examples a place in training. When the collection is very small, the authors also want a way to make those examples count more. Their first approach is physical oversampling, which repeats sentences. They set repeat weights so that the old collections can have the same training weight as the incoming collection. A sentence belonging to a small old task may therefore be presented more frequently across training. Equalizing exposure this way does not enlarge the collection of distinct examples.
The paper illustrates the procedure with a hypothetical incoming task containing 10,000 samples and earlier tasks containing 1,000 and 2,000 samples. It assigns the incoming task a weighting coefficient of 1.0 and the earlier tasks coefficients of 10.0 and 5.0, respectively. These are illustrative oversampling weights. The corpus partitions in the experiments follow a separate arrangement. The example explains why replay frequency can be high even when storage requirements for the actual examples are low.
The authors also test virtual oversampling. They keep the ability to vary the contribution of a task by multiplying its cross-entropy terms by a task weight. The motivation is to make smaller adjustments than equal physical oversampling offers and regain some freedom to favor the new pair when convergence is slow. Repetition and weighting both raise the importance of an old example, but they enter the procedure at different points. Repetition affects which examples appear and how frequently the trainer sees them. Virtual oversampling changes the error contribution when an example appears.
The paper’s first equation gives the weighted cross-entropy as a collection of loss terms. Its softmax fraction is written using input scores. The expression below preserves that indexing, with the summation bounds written out in Unicode.
L_w(x, y, t) = {ℓ₁, ℓ₂, …, ℓₙ}, ℓᵢ = −wₜ · log(exp(xᵢ) / Σ(j = 1 to K) exp(xⱼ)) · 𝟙{yᵢ ≠ ignore_index}
Here L_w is the weighted supervised loss, x is the input to the loss, y supplies the target, and t identifies the task to which the example belongs. In the softmax expression, an entry of x is a score supplied to the loss. ℓᵢ denotes an individual loss term, i indexes it, and n is the number of terms in the collection. wₜ is the coefficient assigned to task t. exp exponentiates a score, log takes its logarithm, and Σ adds over the K choices indexed by j. The index i on the numerator is the paper’s notation for the score in that term. In an ordinary cross-entropy reading, the probability of interest is the one assigned to the supervised target among the available choices. The paper leaves the mapping from target to score implicit in its notation.
The symbol 𝟙 indicates whether the condition in braces holds. yᵢ is the target at the indexed term and ignore_index is the designated value for a target excluded from the loss. The condition ≠ asks whether the target differs from that value. As a consequence, ignored targets contribute nothing. For a retained target, the minus sign makes a small assigned probability incur a larger positive penalty, and the multiplication by wₜ sets the scale of that penalty for the task. The authors present the individual terms as a collection and do not state a separate reduction rule in the equation.
The authors try selecting the task weights by hand and learning them during training. They report that automatic weighting puts too much emphasis on the task that is easiest to learn. Manual choices let them account for tasks they consider harder, while also making it easy to put too much emphasis on a particular pair. The point of the weights is to choose a compromise among the pairs. The paper reports that better performance on some could come at the expense of gains on another, even after moving from physical repetition to adjustable loss weights.
Use the previous predictions as a reference
The final objective gives an old example a second role. Its human translation supplies the supervised target. The checkpoint used to start the stage supplies an earlier prediction to compare with the current one. This comparison draws on knowledge distillation, in which the output of one trained network guides another. Here the teacher is the previous version of the same translator. It is the reference because its behavior was established before training on the incoming pair began.
The distinction between the two signals matters. The supervised term asks how well the current prediction fits the target sentence. The reference term asks how much the current output differs from the earlier output on a past task. The earlier prediction can preserve information about the translator’s behavior that the task weight alone cannot express. A task weight sets the importance of an error. The reference gives an additional basis for deciding which changes should incur a penalty.
The authors describe their aim as discouraging parameter changes that disturb old tasks. The term they specify acts on outputs. Its influence on parameters comes through training on the discrepancy between the current output and the reference output. This is a different mechanism from explicitly finding an important parameter and measuring its distance from its original value. The final objective also includes a separate penalty on the size of the translator’s parameters. That term addresses overfitting in the authors’ formulation.
The paper’s second equation combines these parts. The block uses the authors’ notation except that it writes the past-task condition on the distillation term with an indicator. This makes explicit the condition that accompanies the reference term.
L(x, y, t) = (α · L_w(x, y, t) + β · 𝟙{t ≠ T} · Lₘ(y, y_ref))^(δᵢ) + γ · ∥θ∥₂, δ_T = 1
L is the full objective for the input x, the associated output or target notation y, and task t. L_w is the weighted supervised term from the preceding equation. Lₘ is the distillation penalty. The paper uses y for the target in its weighted cross-entropy and describes y as the current translator output when explaining the arguments of Lₘ. The distinction is between the reference translation used for supervision and the current prediction used for distillation. y_ref is the prediction from the reference checkpoint, described as the translator at epoch 0 of the incoming stage. T identifies the new task. The indicator 𝟙{t ≠ T} includes the distillation term for an earlier task. The coefficients α and β set the relative influence of the supervised and distillation terms.
The parentheses group the two task loss terms. The symbol ^ raises their combined value to the power δᵢ, where δ is the vector of task-dependent exponents and i selects the entry for the relevant task. This is the mechanism the authors describe as changing the response to errors on the older pairs. Its effect depends on the exponent and the value of the combined loss, so it is distinct from multiplying that loss by a fixed task weight. δ_T is the entry for the incoming task. The displayed normalization makes its exponent neutral, and the authors say they set it to 1.0 in their experiments.
Finally, θ denotes the translator’s trainable parameters. The double bars with subscript ₂ indicate the L2 norm as written in the equation. γ scales that term, and the final plus sign adds it outside the task-dependent power. The description identifies the norm as regularization against overfitting. It does not provide a separate expression for Lₘ beyond identifying its inputs and its basis in distillation. The objective is therefore precise about where the penalty enters and when it applies, while leaving its detailed calculation unspecified.
Set the balance for the new stage
The authors’ starting intuition is that fewer old samples should not automatically make a task unimportant. Equal weighting is the initial target in the oversampling discussion. The final procedure allows the weights to move away from equality so that the incoming task can progress. It also gives past tasks a task-dependent response to errors and the extra constraint from the reference output. Together, these choices make the objective more protective of the older pairs than straightforward training on the combined batch.
The authors try setting α and β manually and also learning them. In their fully automatic attempt, they learn them together with δ during the new stage. They report better results from manual adjustment and connect this to the tendency to favor easy tasks and to competing goals across the pairs. They then try a semiautomatic variant, which learns values while clamping them within a pre-defined range. Clamping limits the range of choices available to the automatic procedure. The paper describes these alternatives without giving a full schedule of values or bounds that would uniquely specify a reproduction.
Training on the new pair and evaluating all pairs are separate operations. During sequential training, the old examples that enter the update can be scarce. During evaluation, each pair still has its own held-out material. The authors also evaluate a merged set. This lets them ask whether an incoming pair is improving, whether each earlier pair is holding up, and how the broader translation system fares when the pairs are considered together.
Experiments and results
Data, evaluation and comparisons
The four Europarl tasks are English–Spanish, English–French, English–German and English–Czech. The partition table gives a training size of 100K for each pair and an entry of 1000 for each pair under the heading Val/Test size. The training and evaluation material serve different purposes. The training sizes describe the available corpora before replay restrictions are imposed. The Val/Test entries give the scale of the held-out material. The paper reports pair-level training trajectories without consistently identifying whether every value quoted from those trajectories is a validation or test measurement.
BLEU measures the similarity between translations and human references through overlap in sequences of tokens, with a penalty for short output. The overlap component is based on n-gram precision. An n-gram is a sequence of adjacent tokens, so the score considers whether stretches of the generated text occur in a reference. A score of 35 BLEU points for the initial Spanish task is a result on this translation metric. It is not a percentage of sentences translated correctly. BLEU: a Method for Automatic Evaluation of Machine Translation
The authors use SacreBLEU because BLEU scores can depend on the implementation and its settings. They also report using BERTScore as a complementary check. The specific numerical comparisons described for forgetting and oversampling are BLEU comparisons. The paper does not give a parallel set of BERTScore values for those comparisons. Thus the detailed quantitative account of the effect rests on the English–Spanish scores and replay settings, along with the change in BLEU reported for the oversampling experiment. A Call for Clarity in Reporting BLEU Scores
The baselines change with the experiment. The initial sequential experiment compares different replay shares, including training on the incoming pair alone. It also compares sequential learning with a translator trained jointly from scratch on English–Spanish, English–French and English–German. The oversampling experiment compares ordinary replay with replay that repeats scarce samples, then explores how virtual weighting affects the tradeoff. The last experiment starts with the same previously trained translator and contrasts simple replay with the full regularized objective during the addition of English–Czech. The authors ran the training on two NVIDIA GeForce RTX 2,080 cards with 8GB each.
How much performance replay preserves
At the end of the English–Spanish stage, the paper reports 35 BLEU points for that pair. The clearest instance of catastrophic forgetting occurs when English–French training starts from that checkpoint and presents only new-pair data. The old English–Spanish score drops to zero. This supplies a direct baseline for the replay experiments. Under the same sequence of tasks, the addition of earlier examples changes what the trainer sees and what its supervised objective continues to reward.
When the past-data share goes from 0.0% to 1.0% per batch, the paper estimates that the translator preserves around 60% of its previous English–Spanish performance. A share of 20% preserves 95% of that earlier performance. Those figures are retention percentages for English–Spanish BLEU relative to the starting level. They are separate from the percentages that describe the batch composition. The chart compares the reported retention estimates without converting them into absolute BLEU scores.
English–Spanish BLEU retention on Europarl during English–French training
The larger replay share preserves more of the earlier English–Spanish score.
The numbers
| System or setting | Prior BLEU retained % |
|---|---|
| Replay at 1.0% | 60 |
| Replay at 20% (this paper) | 95 |
The result establishes a useful difference between a scarce but present training signal and its complete absence. Replay at 1.0% does not preserve the whole initial Spanish score, but it gives the network repeated evidence of how it should handle that pair during French training. At 20%, the preservation result approaches the starting score much more closely. The paper presents this comparison as evidence that full access to the earlier corpus is unnecessary for substantial retention in this setup. The degree of retention still depends on how much past data reaches the update.
The next stage, English–German, shows the same broad pattern for the earlier tasks. With no replay, both English–Spanish and English–French deteriorate sharply. Adding past examples reduces the decline. The paper describes earlier-pair performance as fairly stable during much of the incoming training once replay is present. Sustained declines become noticeable after more tasks accumulate, particularly at small replay shares such as 1%. This adds a time dimension to the result. The authors examine how the old score moves across the new stage as well as how much remains at its end.
The Czech addition makes that movement clearer. With the small old-data share used for the final comparison, the earlier scores fall as Czech training progresses under ordinary replay. The authors interpret this pattern as a sign that the network is approaching its capacity. Earlier examples still give information about the old pairs, but in this run the reminders are insufficient to keep their scores steady under the unregularized update. The observed trajectory supplies the reason to test additional preservation constraints at this stage.
How sequential training compares with joint training
The joint comparison uses the same architecture and trains it from scratch on the English–Spanish, English–French and English–German corpora together. This gives it access to the pairs at the same time. The sequential counterpart starts with Spanish and learns the following pairs in order while replaying past examples. The authors report no substantial performance difference between joint training and the comparable sequential runs in this part of the study. They describe the comparison through the plotted trajectories and do not report a separate statistical test in the discussion.
The comparison is informative because it tests whether earlier learning can still be useful when the translator expands in stages. If sequential training had given much lower scores with replay, keeping old examples in the batch would have been only a partial substitute for the joint training condition. The authors instead observe similar performance for the pairs included in that comparison and take it as evidence that the architecture has room for those tasks. English–Czech is outside this joint comparison. The close result for the earlier pairs therefore supplies context for, but does not settle, the question of what happens when Czech is added.
The authors also emphasize the workflow difference. Joint training from scratch requires the training corpora for all included pairs at the time of the run. A sequential update starts from learned parameters and uses the incoming data with whatever past examples are available. The comparison shows how similar translation scores can arise under those different access arrangements in the earlier part of the sequence. It does not attach a measured resource saving to the difference.
Where repeating examples helps
The oversampling experiment asks whether a small collection can pull more weight. At a past-data ratio around 1%, repeating the old samples improves performance by up to +4 points of BLEU compared with the non-oversampled runs. The paper reports this as the largest benefit in the sparse replay regime, and the figure caption emphasizes availability below 1%. The authors do not assign the quoted gain to a particular pair and held-out split in the accompanying discussion. It is a reported maximum under small-data conditions instead of a gain to attribute to every old task.
At 4.5% past data or more, the authors find little meaningful benefit from oversampling in their comparisons. Repeated exposure is also associated with greater susceptibility to overfitting on the earlier pairs. A small collection already provides some reminder of the task. Increasing its frequency can help when it would otherwise have very little influence, but the additional exposures contain the same examples. As the available share rises, the study finds less reason to enforce the same weight for every pair through repetition.
The effect on the incoming task follows from how the batches are populated. The paper illustrates this with an ordinary mixture of 1% English–Spanish and 99% English–French and an oversampled mixture of 50% English–Spanish and 50% English–French. The French-pair data occupy less of the batch in the latter case. In the reported experiment, the ordinary replay runs perform slightly better on the new task during learning, and equal-weight oversampled runs need more time to reach similar performance. Virtual weighting gives the authors a way to back off from strict equality and look for intermediate outcomes.
What changes when Czech is added
The final comparison begins at the checkpoint reached after English–German. Both conditions learn English–Czech with 1% past data per batch. One uses ordinary replay and the other applies the proposed loss. This controls for the presence and stated share of historical examples. The regularized condition differs in how the objective uses them and in the additional penalties it introduces. The authors display several regularized runs to show the behavior across more than a single trajectory.
The English–Spanish and English–French curves with regularization rise above their starting performance for the stage. English–German still loses some performance relative to its starting point, but the decline is smaller than with ordinary replay. These are distinct outcomes within the same update. The same objective can coexist with improvement on older pairs and residual forgetting on another. The paper reports these changes through the curves and its account of them. It does not give exact endpoint BLEU values for the Czech-stage comparison in the discussion.
English–Czech improves more slowly under the regularized objective. The authors report similar eventual performance for the incoming pair and add that, with a smaller learning rate and further training, both approaches reach the same performance. This matters when comparing curves at a common point during training. The preserved performance on old pairs comes alongside a slower trajectory on the new pair. The eventual result is reported under the training adjustment described by the authors, whose numerical learning rate and additional duration are unspecified.
What the ablations show
Replay has a measurable role before regularization enters
The strongest controlled comparisons vary the availability or influence of the past data. The paper also compares the final loss with ordinary replay. It does not provide a component-by-component ablation of that loss. These designs support different kinds of conclusions. Changing the replay share shows what can happen when earlier examples re-enter training. Comparing the complete loss with replay alone tests whether the combined regularization procedure changes the outcome. It leaves the separate contribution of each term open.
The no-replay setting is particularly revealing because it removes the old supervised training signal entirely. The English–Spanish decline occurs after the English–French update begins. Once the batches contain old examples, the scores show substantial retention, and increasing the share preserves more. This makes replay a useful intervention in its own right. It also establishes a meaningful baseline for the later method. The regularizer is tested after the authors have already found a simple way to protect earlier tasks, so its contribution is measured against a setting that can preserve some performance.
The comparison across stages shows a qualification. Replay can keep earlier scores fairly steady through much of the earlier training, yet the small-share condition is accompanied by persistent decline during the Czech stage. The observed difference suggests that the effectiveness of the same kind of reminder can change as the sequence progresses. Since each stage also introduces a different pair, the experiment does not isolate a pure effect of the number of tasks. It demonstrates how the behavior changes along the actual sequence that was trained.
The joint-training comparison adds another boundary around that interpretation. The compact architecture can reach similar performance through joint and sequential training on the Spanish, French and German pairs under the reported conditions. That makes it harder to attribute every difficulty to sequential training as such. The result supports a narrower explanation in which the data available during the update, the training objective, and the tasks currently sharing the architecture all matter. The experiment leaves open how those factors would combine with joint training that also included Czech.
The value of oversampling depends on scarcity
The comparison between ordinary and oversampled replay distinguishes the size of the old collection from the amount of attention training gives it. The gain reported for very scarce data shows that a collection can be useful enough to revisit repeatedly. When the available share is larger, equalizing exposure produces much less benefit and makes fitting the replay data too closely a concern. This is why the paper treats oversampling as most promising when the retained collection is particularly small.
The new-pair result helps explain the limit of repeating past examples. Adjustment toward equal exposure can strengthen the old supervised signal and reduce the incoming pair’s place in the batches. A slower new-task trajectory is an observable part of that choice. Physical oversampling changes the data stream, so the comparison captures the combined effect of seeing more old examples and fewer incoming ones at a given batch size. It cannot say which of those would dominate in a setup that independently controlled their exposure.
Virtual oversampling probes a related but distinct question. Once the amount of influence can be changed through weights, the authors can test compromises without committing to equal physical repetition. They report that hand-selected weights do better than automatically learned weights in their attempts. Their explanation is that the automatic procedure tended to put extra weight on the easiest task. The observation matters because the desired outcome requires performance across all pairs, including those whose translation errors are harder to reduce.
The paper invokes the Pareto frontier to explain the compromises encountered while changing weights. A frontier describes outcomes where gaining on one measured objective would require giving up something on another. In the experiments, favoring a task frequently improved it at the cost of improvement elsewhere. That is a report about the observed adjustments. A systematic frontier across all feasible weight combinations would require a broader comparison than the paper presents. What the experiments do show is why the authors treat weight selection as a choice about the relative importance of tasks rather than as an automatic route to uniformly higher scores.
The full objective improves retention under the same replay budget
The comparison during English–Czech learning is the most direct test of the added objective. It holds the starting stage and the 1% replay share in common. The ordinary replay curves show the decline that the authors want to prevent. With the proposed objective, two earlier pairs improve over the starting checkpoint and the German-pair decline becomes smaller. Displaying multiple runs makes it possible to see whether the reported pattern is confined to a single illustrated trajectory. The paper does not quantify variation across runs.
The full-loss comparison supports a contribution from the recipe as a whole. Inside that recipe, the weighted supervised term favors selected tasks, the reference term constrains changes in predictions on old examples, the exponent alters the response to the combined task loss, and the norm term discourages large parameter values. Each has a stated purpose. The experiment does not establish that each is necessary. For example, the paper gives no Czech-stage comparison in which all other choices are retained while the distillation term alone is removed.
The authors also report trials of manual, automatic and constrained automatic adjustment of the loss hyper-parameters. Those trials identify a practical difficulty in learning coefficients alongside the translator. Giving the optimizer freedom to choose weights can favor a task whose loss is easier to improve, whereas the retention goal concerns how all the tasks fare. Bounding the range is one way the authors try to preserve control. Because the paper does not give performance values for each adjustment scheme, the evidence is strongest for the existence of the weighting difficulty and weaker for any ranking beyond the comparisons the authors explicitly describe.
Limitations
Limits reported by the authors
The authors report slower convergence on the incoming pair with few-shot regularization. This is the most direct cost visible in the final learning curves. An update that soon needs to serve the new pair may value its early progress differently from an update that can continue training until performance stabilizes. The paper’s qualification that a smaller learning rate and further training led to the same eventual performance matters when comparing eventual quality with the work required to reach it.
Oversampling has its own stated limits. The paper finds that its main benefit occurs at very small past-data shares. Giving equal exposure to old and new samples can slow progress on the new pair and make the old tasks more prone to overfitting when their samples are repeated. The authors therefore reduce the weight of the old tasks from the equal-weight setting. They also report that manual weighting can overfit a particular task. These observations put limits on the idea that a scarce task should receive the strongest possible reinforcement.
The authors link increasing forgetting to limited capacity. Their explanation is that a fixed-size translator eventually struggles to accommodate additional tasks while preserving all of its earlier performance. In their experiments, the decline becomes clearer with very little replay during the Czech stage. They also recognize that adjusting task weights involves tradeoffs across the pairs. Together, these points limit what one loss or sampling adjustment is expected to accomplish when the shared network is already under pressure to learn several tasks.
The claimed resource benefit is expressed in terms of simplicity and little extra computational cost. The intervention uses a small amount of past data and supplements the loss used during an update. The paper simultaneously reports slower convergence and gives a condition involving more training for matching eventual Czech performance. Its cost claim should be read alongside those observations. Comparing end-to-end expense would require measurements that distinguish work per update from the amount of training used to reach a given level of translation quality.
Limits of the evidence
The data come from one corpus, and all the pairs involve English. This makes the experiment internally coherent because the tasks are drawn from a shared source and are given comparable training sizes. It narrows the range of translation settings directly covered by the results. The study does not test a transition between dissimilar corpora or a sequence of pairs without a common language. The reported replay shares therefore describe the behavior of this configuration rather than thresholds that can be transferred directly to another system.
The task order is also fixed. Spanish is always first, French follows it, German follows French, and Czech comes last. This means task identity and position change together. The stronger decline at the end is consistent with the authors’ saturation interpretation. An alternative task order or a comparison across capacities would help separate the effect of the number of existing responsibilities from the difficulty of adding a particular pair at that position. The joint baseline covers the earlier pairs and gives no corresponding all-pairs comparison for the Czech stage.
Vocabulary construction also qualifies the form of sequential learning on display. The tokenizer is trained on pooled text from the language pairs in advance. The experiments therefore show how translation ability can be added sequentially when a shared vocabulary has already been prepared. A deployment that encounters a completely unforeseen pair would also have to decide how to represent its text. The experiments do not establish how the same regularization would work if tokenization or the vocabulary changed at the time of the new task.
The paper motivates replay with examples of historical data loss or access restrictions. Its Europarl experiment can test the effect of restricting available examples from a common data source. It does not test whether a small newly annotated collection would be as helpful as the past examples used in the experiments. The usefulness of a replacement collection would depend on the behavior it represents. A result obtained with the paper’s replay data leaves that aspect of deployment open.
There is also a difference between the score and the abilities it summarizes. BLEU provides a consistent way to track the translation output against references under the reported evaluator. A fall in BLEU supplies evidence of worse reference overlap on the old pair. It does not show that every earlier translation competence has disappeared. Conversely, an improving score on the Spanish or French pair during Czech training does not show that every kind of sentence improved. The paper does not report a breakdown by linguistic phenomenon or a human assessment that could locate the changes more precisely. BERTScore is mentioned as a complementary check, but its values are not given for the central comparisons.
The treatment of uncertainty is chiefly visual. Several curves in the final comparison show how the regularized training behaves across runs, and the authors say the runs were included to represent that behavior. The discussion gives no complete list of scores and no uncertainty intervals for the Czech-stage effects. For the joint comparison and the larger replay shares, the authors describe some differences as insignificant without presenting an inferential test in the discussion. The qualitative directions are reportable. Their precision and reproducibility beyond the displayed runs are harder to judge.
Finally, reproducing the last objective exactly requires choices the paper leaves open. It identifies the reference as the starting checkpoint, gives the structure of the objective and describes manual and constrained automatic weighting. It leaves the exact distillation calculation, the full parameter settings and the clamping bounds unspecified. The combined comparison cannot determine whether a simpler subset of the terms would achieve much of the same retention. The paper establishes that the full procedure can preserve more earlier-pair performance under its experiment’s conditions. It leaves the size of each component’s contribution and the least expensive way to obtain that improvement unresolved.
What came after
No later citing work is available for discussion. Whether subsequent studies reproduced the replay results, separated the contributions of the loss terms, or tested the procedure under a different language order remains open here.
Cite
Cite as Salvador Carrión and Francisco Casacuberta. 2022. Few-Shot Regularization to Tackle Catastrophic Forgetting in Multilingual Machine Translation. Proceedings of the 15th biennial conference of the Association for Machine Translation in the Americas (Volume 1: Research Track).
@inproceedings{carrion2022few,
title = {{Few-Shot Regularization to Tackle Catastrophic Forgetting in Multilingual Machine Translation}},
author = {Salvador Carrión and Francisco Casacuberta},
booktitle = {Proceedings of the 15th biennial conference of the Association for Machine Translation in the Americas (Volume 1: Research Track)},
year = {2022},
url = {https://aclanthology.org/2022.amta-research.14/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/carrion-2022-few-shot-regularization-tackle-catastrophic/