mlsanityData to 14 Oct 2026

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

arXiv 2208.06874 ↗First posted 14 Aug 2022cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 12 of its 20 references that are in the map. First posted on arXiv 14 Aug 2022.

Builds on

12 of 20 references.

References · 12

  1. 2017Attention Is All You Needcited by 60,361
  2. 2017Billion-scale similarity search with GPUscited by 2,497
  3. 2020On Layer Normalization in the Transformer Architecturecited by 922
  4. 2016Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translationcited by 469
  5. 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 105
  6. 2021Scalable and Efficient MoE Training for Multitask Multilingual Modelscited by 76
  7. 2016Efficient softmax approximation for GPUscited by 67
  8. 2021Multilingual Machine Translation Systems from Microsoft for WMT21 Shared Taskcited by 34
  9. 2014On Symmetric and Asymmetric LSHs for Inner Product Searchcited by 23
  10. 2018Learning to Screen for Fast Softmax Inference on Large Vocabulary Neural Networkscited by 10
  11. 2018Navigating with Graph Representations for Fast and Scalable Decoding of Neural Language Modelscited by 7
  12. 2018Fast Locality Sensitive Hashing for Beam Search on GPUcited by 1

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.