Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Local Byte Fusion for Neural Machine Translation

About

Subword tokenization schemes are the dominant technique used in current NLP models. However, such schemes can be rigid and tokenizers built on one corpus do not adapt well to other parallel corpora. It has also been observed that in multilingual corpora, subword tokenization schemes over-segment low-resource languages leading to a drop in translation performance. A simple alternative to subword tokenizers is byte-based methods i.e. tokenization into byte sequences using encoding schemes such as UTF-8. Byte tokens often represent inputs at a sub-character granularity i.e. one character can be represented by a sequence of multiple byte tokens. This results in byte sequences that are significantly longer than character sequences. Enforcing aggregation of local information in the lower layers can guide the model to build higher-level semantic information. We propose a Local Byte Fusion (LOBEF) method for byte-based machine translation -- utilizing byte $n$-gram and word boundaries -- to aggregate local semantic information. Extensive experiments on multilingual translation, zero-shot cross-lingual transfer, and domain adaptation reveal a consistent improvement over traditional byte-based models and even over subword techniques. Further analysis also indicates that our byte-based models are parameter-efficient and can be trained faster than subword models.

Makesh Narsimhan Sreedhar, Xiangpeng Wan, Yu Cheng, Junjie Hu• 2022

Related benchmarks

TaskDatasetResultRank
Machine TranslationFlores-101 (test)
Average Score19.9
24
Machine TranslationOPUS-7 (test)
Translation Score (X -> Ar)14.58
17
Multilingual Machine TranslationOPUS-7
Ar Score78.68
16
Machine TranslationWMT newstest 2019
BLEU21.5
12
Machine TranslationIT En-De out-of-domain WMT14 (test)
BLEU11.6
10
Multilingual Many-to-One Machine TranslationTED-59
AZ Score67.47
9
Machine TranslationTed Talk aze-eng (test)
BLEU7.8
9
Machine TranslationTed Talk bel-eng (test)
BLEU5.4
9
Machine TranslationTed Talk glg-eng (test)
BLEU17.2
9
Machine TranslationTed Talk slk-eng (test)
BLEU12.6
9
Showing 10 of 18 rows

Other info

Code

Follow for update