paper-with-me

Papers

Neural Machine Translation with 4-Bit Precision and Beyond

2019-09-13 · Alham Fikri Aji, Kenneth Heafield

Neural Machine Translation (NMT) is resource intensive. We design a quantization procedure to compress NMT models better for devices with limited hardware capability. Because most neural network parameters are near zero, we employ logarithmic quantization in lieu of fixed-point quantization. However, we find bias terms are less amenable to log quantization but note they comprise a tiny fraction of the model, so we leave them uncompressed. We also propose to use an error-feedback mechanism during retraining, to preserve the compressed model as a stale gradient. We empirically show that NMT models based on Transformer or RNN architecture can be compressed up to 4-bit precision without any noticeable quality degradation. Models can be compressed up to binary precision, albeit with lower quality. The RNN architecture seems to be more robust to quantization, compared to the Transformer.

📄 PDF Abstract BibTeX arXiv:1909.06091

Code (0)

등록된 구현이 없습니다.

Tasks

Machine TranslationNMTQuantizationTranslation

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…

Similar Papers 제목 키워드 기반

Machine Translation Impact in E-commerce Multilingual Search

2023-01-31 · Bryan Zhang, Amita Misra

Previous work suggests that performance of cross-lingual information retrieval correlates highly with the quality of Machine Translation. However, there may be a threshold beyond which improving query translation quality…

Cross-Lingual Information RetrievalInformation RetrievalMachine TranslationRetrieval+1

Beyond Correlation: Interpretable Evaluation of Machine Translation Metrics

2024-10-07 · Stefano Perrella, Lorenzo Proietti, Pere-Lluís Huguet Cabot, Edoardo Barba 외

Machine Translation (MT) evaluation metrics assess translation quality automatically. Recently, researchers have employed MT metrics for various new use cases, such as data filtering and translation re-ranking. However, …

Machine TranslationRe-RankingTranslation

Mixed-Precision Training for NLP and Speech Recognition with OpenSeq2Seq

2018-05-25 · Oleksii Kuchaiev, Boris Ginsburg, Igor Gitman, Vitaly Lavrukhin 외

We present OpenSeq2Seq - a TensorFlow-based toolkit for training sequence-to-sequence models that features distributed and mixed-precision training. Benchmarks on machine translation and speech recognition tasks show tha…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)Machine Translationspeech-recognition+3

A Study of Style in Machine Translation: Controlling the Formality of Machine Translation Output

2017-09-01 · EMNLP 2017 9 · Xing Niu, Marianna Martindale, Marine Carpuat

Stylistic variations of language, such as formality, carry speakers{'} intention beyond literal meaning and should be conveyed adequately in translation. We propose to use lexical formality models to control the formalit…

Domain AdaptationMachine TranslationTranslation

A Survey of Machine Translation Tasks on Nigerian Languages

2022-06-01 · LREC 2022 6 · Ebelechukwu Nwafor, Anietie Andy

Machine translation is an active area of research that has received a significant amount of attention over the past decade. With the advent of deep learning models, the translation of several languages has been performed…

Machine TranslationSurveyTranslation