A Systematic Analysis of Vocabulary and BPE Settings for Optimal Fine-tuning of NMT: A Case Study of In-domain Translation

J. Pourmostafa Roshan Sharami, D. Shterionov, P. Spronck
3/1/2023
cs.CLcs.AI

No official code found. Best implementation: JoyeBright/subword-ft-guide (0 stars, last commit 2026-01-08).

Abstract

The effectiveness of Neural Machine Translation (NMT) models largely depends on the vocabulary used at training; small vocabularies can lead to out-of-vocabulary problems -- large ones, to memory issues. Subword (SW) tokenization has been successfully employed to mitigate these issues. The choice of vocabulary and SW tokenization has a significant impact on both training and fine-tuning an NMT model. Fine-tuning is a common practice in optimizing an MT model with respect to new data. However, new data potentially introduces new words (or tokens), which, if not taken into consideration, may lead to suboptimal performance. In addition, the distribution of tokens in the new data can differ from the distribution of the original data. As such, the original SW tokenization model could be less suitable for the new data. Through a systematic empirical evaluation, in this work we compare different strategies for SW tokenization and vocabulary generation with the ultimate goal to uncover an optimal setting for fine-tuning a domain-specific model. Furthermore, we developed several (in-domain) models, the best of which achieves 6 BLEU points improvement over the baseline.

View on arXivView PDF

Code Implementations(1)

Repository for the experiments in my paper: "Analysis of Vocabulary and Subword Tokenization Settings for Optimal Fine-tuning of MT: A Case Study of In-domain Translation"

00Shell, PythonApr 1, 20229 months ago
bpefine-tuningmachinetranslationnmtsubword-segmentation+1 more

Similar Papers

Cite this paper

@article{sharami2023systematic,
  title  = {A Systematic Analysis of Vocabulary and BPE Settings for Optimal Fine-tuning of NMT: A Case Study of In-domain Translation},
  author = {J. Pourmostafa Roshan Sharami and D. Shterionov and P. Spronck},
  year   = {2023},
  eprint = {2303.00722},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.00722v1}
}

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/2303.00722.svg)](https://codeofpaper.com/paper/2303.00722)

Discussion