Leveraging Auxiliary Domain Parallel Data in Intermediate Task Fine-tuning for Low-resource Translation

Shravan Nayak, Surangika Ranathunga, Sarubi Thillainathan, Rikki Hung, Anthony Rinaldi, Yining Wang, Jonah Mackey, Andrew Ho, En-Shiun Annie LeearXiv 2023 · DOI

Introduction

Pre-trained Multilingual Sequence-to-Sequence (PMSS) models, such as mBART and mT5, have fundamentally changed the landscape of Neural Machine Translation (NMT). By leveraging massive amounts of unlabeled or general-domain data, these models provide a robust starting point for many translation tasks. However, they frequently encounter a "cold start" problem when applied to low-resource languages or highly specialized domains (e.g., legal, religious, or administrative texts). This performance gap is often driven by domain divergence—the stylistic and lexical distance between the model's pre-training data and the specific target task.

This paper investigates Intermediate Task Fine-Tuning (ITFT) as a solution. By introducing an auxiliary fine-tuning step using available parallel data from a general domain before the final target-domain fine-tuning, the researchers demonstrate significant improvements in translation quality for low-resource South Asian languages.

Methodology: The ITFT Pipeline

The standard approach to NMT involves a two-step process: Pre-training followed by Target Fine-tuning. The authors propose a three-step sequential pipeline to bridge the gap between general pre-training and specialized low-resource tasks:

  1. Pre-training: Utilizing a massive, self-supervised model (e.g., mBART or mT5).
  2. Intermediate Fine-tuning: The model is fine-tuned on a relatively large, auxiliary parallel dataset. In this study, the authors used CCAligned (CC), which consists of general web-crawled text.
  3. Final Fine-tuning: The resulting model is then fine-tuned on a small, domain-specific target dataset, such as the PMIndia (news/government) or a newly introduced Web-scrap Bible dataset.

To analyze why this sequence works, the researchers quantified the "distance" between datasets using Jensen-Shannon (JS) divergence. This metric allowed them to correlate domain divergence with translation accuracy (measured via spBLEU scores), providing a mathematical basis for understanding performance drops in low-resource settings.

Experimental Setup

The study focused on four low-resource South Asian languages: Gujarati (GU), Kannada (KN), Sinhala (SI), and Tamil (TA), alongside Hindi (HI) and English (EN). The researchers evaluated performance across several benchmarks:

  • FLORES-101: An "Open" domain benchmark for general testing.
  • PMIndia (PMI) & Government (Gvt): Specialized administrative and news domains.
  • Religious Domain: A multi-way parallel dataset of 25,000 sentences from the Bible, specifically curated to test the model on highly specialized, low-resource data.

Key Insights and Results

1. The "Missing Language" Bridge

One of the most striking findings was ITFT's ability to support languages entirely absent from the initial pre-training. For instance, Kannada (KN) was not included in the original mBART pre-training. While a standard fine-tuning approach struggled, the ITFT step allowed the model to "learn" the language's structure through the intermediate web-crawled data, leading to massive performance gains in the final target domain.

2. The 10k Threshold

The utility of ITFT is inversely proportional to the size of the target dataset. The researchers found that the benefits are most pronounced when the target domain dataset contains fewer than 10,000 parallel sentences. As the target dataset grows (approaching 50,000 sentences), the advantage of the intermediate step begins to saturate, as the model eventually converges to a similar performance level regardless of the intermediate step.

3. Dampening Domain Divergence

The study revealed a strong correlation ($R^2 = 0.95$) between domain divergence and baseline performance. When the training domain is far from the test domain, performance predictably suffers. However, ITFT acts as a buffer. By exposing the model to an intermediate domain, the researchers found it "dampens" the negative impact of divergence, making the model more resilient to the stylistic gaps between the final training data and the test data.

4. Model Comparison: mBART vs. mT5

In nearly all scenarios, mBART consistently outperformed mT5. This held true across various domains and dataset sizes, with the notable exception of Kannada (where mBART lacked initial support, though ITFT largely closed this gap). Even with limited data (25k sentences), the combination of mBART and ITFT achieved strong results for challenging low-resource pairs.

Conclusion and Future Directions

Intermediate Task Fine-Tuning proves to be a highly effective strategy for low-resource NMT, particularly when dealing with domain-specific tasks and languages missing from pre-trained models. It effectively mitigates the "cold start" problem and dampens the effects of domain divergence.

Future work may explore multi-task fine-tuning, where models are trained on multiple auxiliary domains simultaneously rather than in a linear sequence. This could potentially offer even greater robustness and further reduce the reliance on large-scale target-domain parallel corpora.

Summary updated

BibTeX
@misc{nayak2023leveraging,
  author = {Shravan Nayak and Surangika Ranathunga and Sarubi Thillainathan and Rikki Hung and Anthony Rinaldi and Yining Wang and Jonah Mackey and Andrew Ho and En-Shiun Annie Lee},
  title = {{Leveraging Auxiliary Domain Parallel Data in Intermediate Task Fine-tuning for Low-resource Translation}},
  year = {2023},
  eprint = {2306.01382},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.01382},
}
Figure