Optimizing transformer-based machine translation model for single GPU training: a hyperparameter ablation study

Luv Verma, Ketaki N. Kolhatkar
8/11/2023
cs.CLcs.AI
transformer-attention

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

In machine translation tasks, the relationship between model complexity and performance is often presumed to be linear, driving an increase in the number of parameters and consequent demands for computational resources like multiple GPUs. To explore this assumption, this study systematically investigates the effects of hyperparameters through ablation on a sequence-to-sequence machine translation pipeline, utilizing a single NVIDIA A100 GPU.

Show full abstract

Contrary to expectations, our experiments reveal that combinations with the most parameters were not necessarily the most effective. This unexpected insight prompted a careful reduction in parameter sizes, uncovering "sweet spots" that enable training sophisticated models on a single GPU without compromising translation quality. The findings demonstrate an intricate relationship between hyperparameter selection, model size, and computational resource needs. The insights from this study contribute to the ongoing efforts to make machine translation more accessible and cost-effective, emphasizing the importance of precise hyperparameter tuning over mere scaling.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{verma2023optimizing,
  title  = {Optimizing transformer-based machine translation model for single GPU training: a hyperparameter ablation study},
  author = {Luv Verma and Ketaki N. Kolhatkar},
  year   = {2023},
  eprint = {2308.06017},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.06017v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.06017.svg)](https://codeofpaper.com/paper/2308.06017)

Discussion