How far can we get with one GPU in 100 hours? CoAStaL at MultiIndicMT Shared Task

Rahul Aralikatte, Héctor Ricardo Murrieta Bello, Daniel Hershcovich, Marcel Bollmann, Anders Søgaard

Introduction: The Compute Divide

State-of-the-art (SOTA) machine translation models are increasingly the playground of "Big AI" labs with access to massive compute clusters. This creates a barrier for smaller research groups and contributes to a significant carbon footprint. Researchers from the University of Copenhagen (CoAStaL) addressed this "compute divide" by participating in the MultiIndicMT Shared Task with a strict "green" constraint: one NVIDIA Titan RTX GPU and a 100-hour time limit.

Methodology: Models and Optimization

The team explored four distinct approaches to translate between English and 10 Indic languages:

  1. Moses (Statistical MT): A classic phrase-based baseline.
  2. Graph-to-Text: Using Graph Convolutional Networks (GCNs) to incorporate linguistic syntax trees.
  3. Seq2Seq (BERT/MuRIL): Initializing models with pre-trained weights (BERT for English, MuRIL for Indic).
  4. Text2Text (mT5-large): A 1.2 billion parameter model.

To fit the 1.2B parameter mT5-large model on a single 24GB GPU, they employed ZeRO (Zero Redundancy Optimizer), which offloads memory overhead to the CPU, allowing for the training of massive models on consumer-grade hardware.

Data Utilization

The study utilized the MultiIndicMT dataset, comprising 11 million parallel sentence pairs. Interestingly, the team found that training on the entire dataset wasn't always optimal under the 100-hour limit. Large models often performed better when trained only on the smaller, high-quality PMI corpus, as they could converge more effectively within the time constraint.

Results and Analysis

The experiments revealed that while BLEU scores continued to improve as training approached the 100-hour mark, the gains often showed diminishing returns after the first 80 hours.

BLEU score progression over 80, 100, and 105 hours across languages.

Key insights include:

  • mT5 Dominance: The mT5-large model excelled in Indic-to-English translation, benefiting from extensive English pre-training.
  • Directional Disparity: Translating into English was consistently more successful than translating into Indic languages, highlighting a gap in pre-trained decoders for non-Western languages.
  • Pre-training Gaps: Languages like Oriya (OR), under-represented in initial pre-training data (mC4), posed significant challenges for large models.

Competitive Performance

Despite the severe compute restrictions, the CoAStaL models remained highly competitive. Their best results were often within 4-5 BLEU points of the top leaderboard submissions, which likely utilized far greater resources.

Comparison of local 100-hour constrained results (Loc.) vs. official leaderboard scores (Off.).

Conclusion

The CoAStaL team demonstrated that high-quality machine translation is achievable on a budget. By leveraging pre-trained models and memory-efficient optimization like ZeRO, researchers can bridge the compute gap. Future work will focus on better "warming up" models for extremely low-resource languages without exceeding green compute limits.

Summary updated

BibTeX
@inproceedings{aralikatte2021how,
  author = {Rahul Aralikatte and Héctor Ricardo Murrieta Bello and Daniel Hershcovich and Marcel Bollmann and Anders Søgaard},
  title = {{How far can we get with one GPU in 100 hours? CoAStaL at MultiIndicMT Shared Task}},
  booktitle = {WAT @ ACL},
  year = {2021},
  doi = {10.18653/v1/2021.wat-1.24},
}
Figure