[Paper Review] Constant-Time Machine Translation with Conditional Masked Language Models.
This paper proposes a constant-time machine translation model that uses conditional masked language modeling to predict target words non-autoregressively, iteratively refining low-confidence predictions in a fixed number of steps. It achieves 92–95% of autoregressive Transformer performance while decoding significantly faster, improving SOTA constant-time models by over 3 BLEU on average.
Most machine translation systems generate text autoregressively, by sequentially predicting tokens from left to right. We, instead, use a masked language modeling objective to train a model to predict any subset of the target words, conditioned on both the input text and a partially masked target translation. This approach allows for efficient iterative decoding, where we first predict all of the target words non-autoregressively, and then repeatedly mask out and regenerate the subset of words that the model is least confident about. By applying this strategy for a constant number of iterations, our model improves state-of-the-art performance levels for constant-time translation models by over 3 BLEU on average. It is also able to reach 92-95% of the performance of a typical left-to-right transformer model, while decoding significantly faster.
Motivation & Objective
- To address the speed-performance trade-off in neural machine translation by enabling constant-time inference.
- To improve upon existing non-autoregressive translation models that suffer from low accuracy due to simultaneous token generation.
- To develop a decoding strategy that iteratively refines predictions based on model confidence, enabling high-quality translation without autoregressive generation.
- To achieve state-of-the-art performance among constant-time models while maintaining significantly faster inference speeds.
Proposed method
- Train a model using a masked language modeling objective that predicts any subset of target words, conditioned on the input and a partially masked target.
- Initialize decoding by generating all target tokens non-autoregressively in a single step.
- Iteratively identify and regenerate the subset of target words the model is least confident about.
- Repeat the refinement process for a fixed, constant number of iterations to improve translation quality.
- Use conditional masking to allow the model to attend to both input and masked target context during prediction.
- Leverage the model's confidence estimates to dynamically select which tokens to re-predict in each iteration.
Experimental results
Research questions
- RQ1Can a non-autoregressive model achieve high translation quality without relying on iterative refinement?
- RQ2Does iterative refinement based on model confidence improve translation performance in constant-time decoding?
- RQ3Can a masked language modeling objective enable effective non-autoregressive generation while maintaining speed advantages?
- RQ4How does the performance of this approach compare to autoregressive Transformers and prior constant-time models?
- RQ5What is the trade-off between inference speed and translation quality when using a fixed number of refinement iterations?
Key findings
- The proposed model improves state-of-the-art constant-time translation models by over 3 BLEU on average.
- It achieves 92–95% of the performance of a standard left-to-right Transformer model while decoding significantly faster.
- The iterative refinement strategy based on confidence estimates effectively improves translation quality in a constant number of steps.
- The model demonstrates strong performance across multiple translation benchmarks, outperforming prior non-autoregressive approaches.
- The use of conditional masked language modeling enables effective non-autoregressive generation with high-quality output.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.