paper-with-me

홈 › Papers

Fast Vocabulary Projection Method via Clustering for Multilingual Machine Translation on GPU

2022-08-14 · AMTA 2022 9 · Hossam Amer, Young Jin Kim, Mohamed Afify, Hitokazu Matsushita, Hany Hassan Awadallah

Multilingual Neural Machine Translation has been showing great success using transformer models. Deploying these models is challenging because they usually require large vocabulary (vocab) sizes for various languages. This limits the speed of predicting the output tokens in the last vocab projection layer. To alleviate these challenges, this paper proposes a fast vocabulary projection method via clustering which can be used for multilingual transformers on GPUs. First, we offline split the vocab search space into disjoint clusters given the hidden context vector of the decoder output, which results in much smaller vocab columns for vocab projection. Second, at inference time, the proposed method predicts the clusters and candidate active tokens for hidden context vectors at the vocab projection. This paper also includes analysis of different ways of building these clusters in multilingual settings. Our results show end-to-end speed gains in float16 GPU inference up to 25% while maintaining the BLEU score and slightly increasing memory cost. The proposed method speeds up the vocab projection step itself by up to 2.6x. We also conduct an extensive human evaluation to verify the proposed method preserves the quality of the translations from the original model.

📄 PDF Abstract BibTeX arXiv:2208.06874

Code (0)

등록된 구현이 없습니다.

Tasks

ClusteringDecoderGPUMachine TranslationTranslation

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Efficient Inference for Multilingual Neural Machine Translation

2021-09-14 · EMNLP 2021 11 · Alexandre Berard, Dain Lee, Stéphane Clinchant, Kweonwoo Jung 외

Multilingual NMT has become an attractive solution for MT deployment in production. But to match bilingual quality, it comes at the cost of larger and slower models. In this work, we consider several ways to make multili…

DecoderMachine TranslationNMTTranslation

Character-based Neural Embeddings for Tweet Clustering

2017-03-15 · WS 2017 4 · Svitlana Vakulenko, Lyndon Nixon, Mihai Lupu

In this paper we show how the performance of tweet clustering can be improved by leveraging character-based neural networks. The proposed approach overcomes the limitations related to the vocabulary explosion in the word…

Clustering

Simplifying Multilingual News Clustering Through Projection From a Shared Space

2022-04-28 · João Santos, Afonso Mendes, Sebastião Miranda

The task of organizing and clustering multilingual news articles for media monitoring is essential to follow news stories in real time. Most approaches to this task focus on high-resource languages (mostly English), with…

ArticlesClustering

Clustering-based Phonetic Projection in Mismatched Crowdsourcing Channels for Low-resourced ASR

2016-12-01 · WS 2016 12 · Wenda Chen, Mark Hasegawa-Johnson, Nancy Chen, Preethi Jyothi 외

Acquiring labeled speech for low-resource languages is a difficult task in the absence of native speakers of the language. One solution to this problem involves collecting speech transcriptions from crowd workers who are…

Clustering

Towards Continual Learning for Multilingual Machine Translation via Vocabulary Substitution

2021-03-11 · NAACL 2021 4 · Xavier Garcia, Noah Constant, Ankur P. Parikh, Orhan Firat

We propose a straightforward vocabulary adaptation scheme to extend the language capacity of multilingual machine translation models, paving the way towards efficient continual learning for multilingual machine translati…

Continual LearningMachine TranslationTranslation