Are Character-level Translations Worth the Wait? Comparing ByT5 and mT5 for Machine Translation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Edman, Lukas, Sarti, Gabriele, Toral, Antonio, van Noord, Gertjan, Bisazza, Arianna
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911883946098688
author Edman, Lukas
Sarti, Gabriele
Toral, Antonio
van Noord, Gertjan
Bisazza, Arianna
author_facet Edman, Lukas
Sarti, Gabriele
Toral, Antonio
van Noord, Gertjan
Bisazza, Arianna
contents Pretrained character-level and byte-level language models have been shown to be competitive with popular subword models across a range of Natural Language Processing (NLP) tasks. However, there has been little research on their effectiveness for neural machine translation (NMT), particularly within the popular pretrain-then-finetune paradigm. This work performs an extensive comparison across multiple languages and experimental conditions of character- and subword-level pretrained models (ByT5 and mT5, respectively) on NMT. We show the effectiveness of character-level modeling in translation, particularly in cases where fine-tuning data is limited. In our analysis, we show how character models' gains in translation quality are reflected in better translations of orthographically similar words and rare words. While evaluating the importance of source texts in driving model predictions, we highlight word-level patterns within ByT5, suggesting an ability to modulate word-level and character-level information during generation. We conclude by assessing the efficiency tradeoff of byte models, suggesting their usage in non-time-critical scenarios to boost translation quality.
format Preprint
id arxiv_https___arxiv_org_abs_2302_14220
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Are Character-level Translations Worth the Wait? Comparing ByT5 and mT5 for Machine Translation
Edman, Lukas
Sarti, Gabriele
Toral, Antonio
van Noord, Gertjan
Bisazza, Arianna
Computation and Language
Pretrained character-level and byte-level language models have been shown to be competitive with popular subword models across a range of Natural Language Processing (NLP) tasks. However, there has been little research on their effectiveness for neural machine translation (NMT), particularly within the popular pretrain-then-finetune paradigm. This work performs an extensive comparison across multiple languages and experimental conditions of character- and subword-level pretrained models (ByT5 and mT5, respectively) on NMT. We show the effectiveness of character-level modeling in translation, particularly in cases where fine-tuning data is limited. In our analysis, we show how character models' gains in translation quality are reflected in better translations of orthographically similar words and rare words. While evaluating the importance of source texts in driving model predictions, we highlight word-level patterns within ByT5, suggesting an ability to modulate word-level and character-level information during generation. We conclude by assessing the efficiency tradeoff of byte models, suggesting their usage in non-time-critical scenarios to boost translation quality.
title Are Character-level Translations Worth the Wait? Comparing ByT5 and mT5 for Machine Translation
topic Computation and Language
url https://arxiv.org/abs/2302.14220