Johns Hopkins University
Hyperparameter Optimization for Neural Machine Translation Systems
Abstract
dc:description.abstractMachine translation, a sequence-to-sequence task, involves translating text from one language to another. Currently, transformer-based systems dominate the field of neural machine translation (NMT). To optimize these systems, various critical decisions regarding architecture design and training processes must be made—these decisions are the hyperparameters of the system. Typically, these hyperparameters are set before training begins and remain unchanged until convergence. Traditionally, they are tuned manually based on intuition, heuristics, previous studies, or default settings provided in open-source frameworks. This approach often leads to suboptimal exploration of the hyperparameter space, which can cause exaggerated performance differences and potentially misleading conclusions. Despite the proliferation of hyperparameter optimization (HPO) methods under the umbrella of Automated Machine Learning (AutoML), their effectiveness in NMT has not been thoroughly evaluated, primarily due to the significant computational demands of NMT models and their vast hyperparameter search spaces. This challenge is further complicated by the need to optimize multiple objectives simultaneously, such as translation accuracy and decoding speed. This thesis addresses these challenges by conducting a comprehensive study of HPO specifically within the context of NMT. First, we introduce a benchmark dataset employing a ``table-lookup" based benchmarking procedure, designed to promote reproducible research in HPO for NMT. Second, we propose a novel HPO algorithm using graph-based optimization, which flexibly incorporates prior knowledge about hyperparameters. Third, we develop a post-hoc interpretation framework to better understand the significance and interrelationships of individual hyperparameters. Fourth, we evaluate the efficacy of a multi-fidelity HPO method, successive halving, and propose best practices for its application in NMT and large language models. Finally, this work includes the creation of an HPO toolkit tailored for NMT research, designed to streamline the experimental process and allow researchers to concentrate on innovation instead of the mundane.
Degree
thesis:*- Name thesis:degree_name
- Ph.D.
- Level thesis:degree_level
- Doctoral
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor dc:publisher
- Johns Hopkins University
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zhang, Xuan
- Advisor dc:contributor.advisor
-
- Duh, Kevin
- Committee members dc:contributor.committeemember
-
- Koehn, Philipp
- Murray, Kenton
- ORCID person:identifier.orcid
Subjects
dc:subject × 2Rights
- Language dc:language.iso
- en_US
Identifiers
dc:identifier.*- Repository record dc:identifier.uri
- https://jscholarship.library.jhu.edu/handle/1774.2/70275