The University of Maryland, College Park Submission to Large-Scale Multilingual Shared Task at WMT 2021

Saptarashmi Bandyopadhyay, Tasnim Kabir, Zizhen Lian, Marine CarpuatWMT @ EMNLP 2021

Abstract

This paper investigates efficient fine-tuning strategies for the FLORES101_MM100 massively multilingual translation model. We evaluate the impact of data scale, layer pruning, and activation functions on translation quality for five Southeast and South Asian languages. Our results demonstrate that fine-tuning on a small, high-quality dataset (the Bible) can achieve performance comparable to web-scale datasets 340 times larger. Conversely, efficiency techniques like LayerDrop significantly degraded translation quality in this context.

Introduction

Massively multilingual models, such as Facebook’s M2M-100, have significantly advanced Machine Translation (MT) by enabling a single model to handle hundreds of language pairs. However, these models often underperform on low-resource languages. Participating in the WMT 2021 "Small Task #2," our team focused on Indonesian, Javanese, Malay, Tagalog, and Tamil. We explored two primary dimensions: data efficiency—determining the minimum data required for language specialization—and computational efficiency—evaluating methods to reduce model size and training time.

Methods and Architecture

We utilized the FLORES101_MM100 model as our baseline. The architecture consists of a 12-layer encoder and a 12-layer decoder.

The 12-layer Encoder-Decoder architecture used as the base for fine-tuning.

Our experiments involved several fine-tuning configurations:

  • Data Scaling: Comparing the 16 GB MultiCCAligned web-scraped dataset against the 125 MB bible-uedin corpus.
  • LayerDrop: Attempting to improve efficiency by dropping the last three layers of both the encoder and decoder.
  • Activation Functions: Evaluating ReLU versus GELU.
  • Hyperparameter Tuning: Adjusting learning rates (e.g., $3e^{-5}$ vs. $3e^{-7}$) to optimize convergence on limited data.

Results and Discussion

The performance of various configurations was evaluated using BLEU scores on the FLORES-101 benchmark.

Heatmaps comparing BLEU scores for different fine-tuning strategies: Layer Select (Drop), GELU, MultiCCAligned, and Bible-uedin.

The Efficacy of High-Quality Small Data

A key finding was the surprising effectiveness of the tiny Bible dataset. While the massive MultiCCAligned dataset yielded a peak BLEU score of 15.72, the Bible-tuned model reached 15.10. Despite using only 0.2% of the data volume, the Bible-tuned model achieved 96% of the best performance and even outperformed the larger model on specific pairs like English-to-Tamil and English-to-Tagalog.

Failure of LayerDrop

Contrary to expectations, LayerDrop proved detrimental. Pruning the top layers caused BLEU scores to drop from approximately 16 to 7.34. This suggests that the model's full depth is critical for maintaining translation quality during this specific fine-tuning task.

Activation Functions and Learning Rates

ReLU activations (15.72 BLEU) outperformed GELU (14.83 BLEU) in our tests. Furthermore, we found that a lower learning rate ($3e^{-7}$) was essential for stable fine-tuning on the smaller Bible dataset to prevent overfitting.

Conclusion

Our study highlights that high-quality, domain-specific data can be a powerful alternative to massive web-scale corpora for specializing multilingual models. However, common efficiency techniques like LayerDrop may not be universally applicable and can severely impact performance. Future work will focus on identifying more robust methods for model compression that preserve the gains achieved through fine-tuning.

Summary updated

BibTeX
@inproceedings{bandyopadhyay2021university,
  author = {Saptarashmi Bandyopadhyay and Tasnim Kabir and Zizhen Lian and Marine Carpuat},
  title = {{The University of Maryland, College Park Submission to Large-Scale Multilingual Shared Task at WMT 2021}},
  booktitle = {WMT @ EMNLP},
  year = {2021},
}
Figure