Skip to main content
LawSphereX

Integrating Multi-scale Contextualized Information for Byte-based Neural Machine Translation

Subject: Translation and Multilingual Computing

Author or source: Langlin Huang, Yang Feng

Updated:

Subword tokenization is a common method for vocabulary building in Neural Machine Translation (NMT) models.

Langlin Huang, Yang Feng. 2024. Integrating Multi-scale Contextualized Information for Byte-based Neural Machine Translation. Findings of the Association for Computational Linguistics: ACL 2024. Association for Computational Linguistics. DOI 10.18653/v1/2024.findings-acl.583. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.

Publication sources

Authors’ abstract

Source page 1–8

Subword tokenization is a common method for vocabulary building in Neural Machine Translation (NMT) models. However, increasingly complex tasks have revealed its disadvantages. First, a vocabulary cannot be modified once it is learned, making it hard to adapt to new words. Second, in multilingual translation, the imbalance in data volumes across different languages spreads to the vocabulary, exacerbating translations involving low-resource languages. While byte-based tokenization addresses these issues, byte-based models struggle with the low information density inherent in UTF-8 byte sequences. Previous works enhance token semantics through local contextualization but fail to select an appropriate contextualizing scope based on the input. Consequently, we propose the Multi-Scale Contextualization (MSC) method, which learns contextualized information of varying scales across different hidden state dimensions. It then leverages the attention module to dynamically integrate the multi-scale contextualized information. Experiments show that MSC significantly outperforms subword-based and other byte-based methods in both multilingual and out-of-domain scenarios. Code can be found in https://github.com/ictnlp/Multiscale-Contextualization.

Reading guide for translation and multilingual computing

Source page 1–8

List the languages and directions in the evaluation. Compare scores within a language pair before drawing conclusions across languages or domains.