Elamur Research

Mask-Predict: Parallel Decoding of Conditional Masked Language Models

Paper · 2019 · Marjan Ghazvininejad, Omer Levy, Yinhan Liu et al.

Summary

Producing a translation word by word creates a chain of dependent decisions: the system must choose an earlier word before it can use that word to choose a later one. Mask-Predict investigates how much of that sequence can be replaced by parallel computation without losing too much translation quality. Its answer combines a different training task with a selective revision procedure. Instead of always predicting the next word, the system learns to recover missing words anywhere in a translation, using the source sentence and whatever target words remain visible. During generation, it starts with an empty target of a predicted length, proposes its words simultaneously, and then revises uncertain positions over a predetermined number of rounds.

The underlying architecture is a conditional masked language model, abbreviated CMLM. Here, “conditional” means that missing target words are predicted with access to a source sentence. The architecture follows the encoder–decoder transformer, but the target decoder can inspect context on either side of a missing position. Training varies how much of the target is hidden: some examples require recovering a small amount of missing information, while others require predicting the whole translation from the source. A separate prediction, obtained through a special encoder token called LENGTH, estimates the target’s size. This estimate matters because a system filling target positions simultaneously needs to establish those positions before it can populate them.

Mask-predict turns that training capability into a generation algorithm. After the initial parallel proposal, it ranks target positions by the probability assigned to their current words. It hides the least certain positions and fills them again while retaining the others as context. The amount hidden decreases as decoding progresses. Earlier decisions therefore help coordinate later revisions, while a low-confidence decision can still be reopened. This addresses a characteristic failure of independent parallel predictions: different positions can reflect incompatible ways of translating the same sentence, producing repetitions or awkward combinations. The paper’s analyses show that repetition declines sharply during the early refinement rounds, alongside substantial improvements in translation scores.

The experiments cover English–German, English–Romanian and English–Chinese translation in both directions. Against earlier systems that generate target positions in parallel, the authors report an average improvement exceeding 4 points on the BLEU score, an automatic measure of translation agreement with references. Their base CMLM also approaches a conventional transformer’s quality: across the English–German and English–Romanian directions, the reported gap is 0.5-1.2 BLEU. For English–Chinese, the same broad pattern holds, with iterative generation substantially improving over a single parallel prediction. These results establish that masked prediction can support competitive conditional generation, instead of serving only as a way to learn representations of existing text.

The practical benefit is a configurable balance between decoding time and translation quality. The authors report a 3x acceleration at a cost of up to 2 BLEU, while other settings preserve more quality with a smaller timing benefit. That conclusion has boundaries. The method still needs a target-length decision, and its strongest results generally depend on training translations supplied by an autoregressive teacher. A fixed number of refinement rounds also does not make computation independent of sentence length: each round processes the target positions. The achievement is a shorter chain of sequential decoding stages, demonstrated through translation experiments and wall-time measurements, instead of a guarantee that generation becomes equally fast or equally accurate under every workload.

Interesting ideas

Selective revision. A provisional output does not have to be discarded whenever part of it looks doubtful. Mask-predict retains the positions with stronger probability scores and directs the next prediction round towards weaker ones. This gives a system a way to spend additional computation on unresolved decisions while using its earlier work as context. The idea can transfer to structured prediction, completion and repair tasks where an output contains both reliable and unreliable components. Its usefulness depends on whether the confidence ranking helps identify mistakes. A confidently wrong component can mislead later revisions, so the selection rule deserves evaluation alongside the final output quality.

Train across missingness levels. The authors sample how many target positions to hide, exposing the same predictor to tasks ranging from small repairs to generation with no visible target words. The reusable principle is to vary the amount of available context during training when deployment will also involve different degrees of incompleteness. This avoids designing a separate predictor for every repair size. For an engineer, the important detail is that the training distribution includes difficult cases with almost no target information. A predictor trained mainly on easy completions might have little preparation for the much harder initial generation pass.

Use context to coordinate alternatives. Independent decisions can each appear plausible while combining into an incoherent whole. The paper’s explanation of repeated words is an example: alternative translations may place similar material in different positions, and a parallel pass can mix those alternatives. Keeping some target words visible gives the next pass evidence about which realization is being pursued. This principle applies wherever several internally consistent outputs are possible. It suggests that partial commitment can be useful even before the entire output is correct. The paper supports this interpretation through repetition measurements, although it does not prove that every gain comes from resolving competing alternatives.

Separate a global choice from local realization. Target length is predicted before individual words are filled. The authors then consider several likely lengths and realize each candidate in parallel, allowing a global structural decision to remain uncertain until complete outputs can be compared. Similar separation may help tasks where local predictions depend strongly on a shared plan. The caution is equally reusable: expanding the candidate set can expose weaknesses in the final scoring rule. In these experiments, considering more lengths eventually lowers BLEU, despite improving coverage of the reference length. Search breadth and candidate selection need to be designed together.

Treat teacher data as an experimental variable. Distillation supplies the student with translations generated by another system rather than only the original target sentences. It greatly improves several of the paper’s results, but the authors do not establish why. They discuss both teacher strength and possible removal of training noise. The general lesson is to separate the existence of a teacher-data benefit from an explanation of that benefit. A researcher can compare raw and teacher-produced targets while controlling the architecture and decoding procedure, then investigate what changed in the targets. Improved student performance alone cannot identify denoising as the causal mechanism.

Measure elapsed time against a strong implementation. Reducing the number of sequential prediction stages is an architectural advantage, but users experience waiting time. The authors therefore compare actual decoding runs, use an autoregressive implementation that caches prior computation, and keep the hardware constant. That is a useful evaluation pattern for work on efficient models and compression. A proposed decoding algorithm should be tested with its candidate search, batching and implementation costs included. Otherwise, a convincing account of parallelism can coexist with an unconvincing practical speed claim. The paper’s measurements make the tradeoff assessable while also exposing how much it depends on the chosen operating point.

Deep dive: Mask-Predict: Parallel Decoding of Conditional Masked Language Models

How Mask-Predict generates translations through parallel guesses and selective revision, with its method, results, trade-offs and limits. · about 41 minutes to read

How Mova uses it

For Mova, the small transparent language system implemented in Rust, these ideas suggest experiments across its tree, learn and back stages. They should be understood as proposed adaptations. The available Mova description does not establish that mask-predict decoding, randomized masking or parallel length search is already implemented. It also does not identify source-file paths or existing test results for these features. The concrete connection is therefore a set of changes that could be made to named stages, together with checks that would show whether those changes help.

Revisit uncertain dependency decisions

In the tree stage, gparse could begin by proposing every dependency head in parallel. A dependency head identifies the word to which another word is structurally attached; choosing these relationships is part of dependency parsing. After the initial proposal, Mova could retain high-confidence arcs and ask for revised predictions only at less certain positions. The resemblance to mask-predict is direct: an arc takes the role of a target token, and a partial dependency structure supplies context for repair.

The adaptation would need structural checks beyond the translation paper’s procedure. A collection of individually likely arcs still has to form an acceptable dependency structure under Mova’s rules. Tests should therefore inspect both prediction quality and structural validity. They should also examine cases where an incorrect arc receives high confidence, because retaining it may obstruct repairs elsewhere. Logging the original head, the revised head and the confidence that triggered reconsideration would make the process inspectable. Such a record would show what the system changed, while avoiding the stronger claim that a confidence score explains every cause of the decision.

Learn completion and repair together

In learn, Mova could train on silver trees while hiding a randomly chosen amount of their labels. Silver trees are automatically produced training annotations, whose correctness cannot simply be assumed. Some training cases would expose most labels and ask for a light repair; others would hide enough information to require broad prediction. This follows the paper’s central training design without assuming that linguistic labels behave exactly like translation tokens.

A useful evaluation would separate the conditions in which the system receives substantial correct context from those in which it receives little context or partially wrong context. The translation training procedure masks target words; it does not establish that the same procedure teaches robust recovery from arbitrary incorrect annotations. Mova would therefore need to test the difference between missing information and misleading information. The intended benefit is a shared predictor for completion and repair, but that benefit remains a hypothesis until the relevant held-out tasks have been evaluated.

Compare alternative realizations of a meaning graph

In back, the generator could propose several sentence lengths or broader realization plans from a meaning graph. A knowledge graph or other explicit meaning representation provides information that must survive the conversion into a sentence. Mova could realize the candidate plans in parallel and compare their completed outputs. The paper supplies a precedent for keeping a global decision uncertain while generating the local details.

The scoring test would need to cover meaning preservation as well as fluency. A short output can be easy to score highly while omitting required content, which resembles the paper’s concern about overly short translation candidates. Mova should check whether names, dates and intended relationships survive each candidate realization. It should also inspect whether a broader candidate set improves the selected sentence or merely increases the opportunity for a scoring mistake. The paper’s length experiment is a reason to measure this behavior, rather than assuming that more candidates must help.

Test what teacher relabeling changes

Mova’s learn stage could compare students trained on raw treebanks with students trained on annotations revised by an LLM teacher. The paper motivates the question of whether teacher outputs mainly remove noise, but explicitly leaves its own denoising explanation unresolved. For Mova, teacher relabeling should therefore be treated as an intervention to investigate, with negative controls that help distinguish correction from other changes in the training data.

The evaluation should examine which labels changed, whether those changes agree with an independent reference, and whether the student’s gains concentrate on the affected phenomena. An improvement after teacher relabeling would not by itself show that the teacher cleaned the data. It might reflect a more consistent annotation style or a different distribution of structures. The useful borrowing is the experimental question and the raw-versus-teacher comparison, together with the discipline of leaving the mechanism open when the evidence cannot distinguish it.

Anchor reliable content during generation

Another back experiment would realize a few dependable items first, such as names and dates, and condition the remaining wording on those anchors. Mask-Predict’s early refinement behavior suggests why this could help: visible commitments can reduce the mixing of incompatible realizations. For Mova, the desired effect would be fewer duplicated expressions and fewer sentences assembled from conflicting phrasings.

That proposal also needs failure cases. An anchor might be placed in an unsuitable position, or an incorrect realization might become difficult to dislodge. Tests should inspect duplication, content coverage and the ability to recover when an initially preferred anchor is wrong. These checks would preserve Mova’s emphasis on transparency: a successful adaptation should improve the output and leave a readable account of which decisions were retained, which were reopened and how the final wording relates to the intended meaning.

The problem and its context

Translation quality comes with a sequential dependency

The paper addresses an efficiency problem in machine translation. Conventional generation predicts a target word using the source sentence and the target words already produced. This is an effective way to coordinate a sentence, because each decision can depend on earlier decisions. It also means that decoding contains a sequence of dependent stages. Computing resources that could process many positions together cannot eliminate the need to wait for a previous target choice.

The authors seek a different balance between coordination and parallelism. Their aim is not to show that target words are unrelated. On the contrary, much of the paper concerns the damage caused by pretending that they can be chosen independently. The engineering question is whether a small collection of whole-sentence refinement rounds can supply enough coordination to approach sequential generation quality. If it can, the system may need fewer dependent decoding stages even though it revisits the sentence several times.

This distinction explains the paper’s terminology. The authors use parallel decoding for approaches capable of producing an entire target sequence simultaneously. They point out that an iterative system is independent of its previous target predictions only during its initial pass. Later passes condition on earlier outputs. Calling the whole process non-autoregressive can therefore conceal an important dependency: there is no left-to-right token chain within a pass, but there is a chain across refinement rounds.

Earlier parallel systems and the coordination problem

The paper describes a fertility-based approach introduced by Gu and colleagues. In that system, explicit word fertility helps determine how source material maps into the target. The associated work also identifies the multimodality problem that motivates much of Mask-Predict’s analysis. Translation admits several acceptable realizations. A predictor that assigns words independently can combine fragments of different realizations rather than selecting a coherent sentence from among them.

The problem is more specific than occasional bad wording. Suppose a concept can be expressed in different positions under alternative sentence constructions. Independent target predictions may place the corresponding word in several positions because each position is plausible under some translation. The resulting repetition is not necessarily caused by a failure to recognize the source concept. It can arise from a failure to coordinate which complete target construction is being used.

Another earlier approach, translation with CTC, addresses repetition through a connectionist temporal classification objective. As described by Mask-Predict, this approach collapses repeated outputs. That provides one way to confront the surface manifestation of incompatible parallel predictions. Mask-Predict instead investigates whether repeated conditional revision can reduce the underlying incompatibility by allowing uncertain positions to respond to already selected context.

The nearest comparison is iterative refinement. That earlier system first produces a parallel prediction and then passes the result through a denoising autoencoder repeatedly. Its training uses stochastic procedures to corrupt examples so the system can learn to repair them. Mask-Predict shares the broad idea that an initial parallel output can be improved, but changes both the training task and the decoding operation. It hides selected positions explicitly and preserves the others as observed context.

Masked prediction as a generation capability

A separate line of work studies masked language models. In a masked task, some words are concealed and a predictor reconstructs them from visible context. BERT is an important architectural and training reference for the authors. Mask-Predict borrows the ability to use context on both sides of a missing position, along with aspects of initialization and the use of a special encoder token.

The paper also discusses translation-based masked pretraining by Lample and Conneau. In that work, masked prediction over paired sentences helps learn representations useful for cross-lingual tasks, including subsequent autoregressive translation. Mask-Predict’s objective differs: the masked predictor is the generator itself. It does not learn a representation only to hand generation back to a left-to-right decoder. The same ability used to reconstruct missing target content is exercised repeatedly during decoding.

The authors distinguish their setup from MASS, which they describe as concurrent work. Both use separate source and target components, but MASS investigates pretraining with an autoregressive masked objective and monolingual data. Mask-Predict’s particular contribution is to exploit bidirectional target context and parallel prediction during generation. That difference matters because an architecture can benefit from masking during training without adopting a parallel decoding procedure.

Other ways to abandon a fixed generation order

The related-work discussion includes BERT as a Markov random field. As presented in the paper, that approach can generate from a masked sequence by sampling individual positions, including in an arbitrary order. It demonstrates that a masked predictor can produce text. However, updating positions individually requires a forward pass for each sampled token in the described procedure. Mask-Predict instead updates a selected group of positions together.

The paper also places its method beside insertion-based generation, including insertion-based decoding. Those approaches relax the conventional left-to-right order by inserting words according to other generation orders. The authors describe strong results for an insertion transformer operating in logarithmic time. Their own target is a predetermined number of refinement rounds, with target positions established through an explicit length prediction.

Training organization is another part of this comparison. The authors state that the insertion approaches treat individual insertions as separate training examples, which prevents all insertions from the same sentence being handled together in the same manner as their masked targets. In a CMLM, all hidden positions contribute to one parallel prediction task. The claimed advantage therefore concerns both how outputs are generated and how training examples are processed. The paper does not reduce its contribution to removing a single attention mask.

The method, step by step

The method has a training side and a decoding side. Training teaches a conditional predictor to recover any selected set of missing target words. Decoding decides which words to ask that predictor to produce, how to reuse earlier predictions, and when to stop. Keeping these roles separate helps explain why a bidirectional decoder alone is insufficient. It supplies the prediction capability, but the mask-predict procedure organizes that capability into a complete translation.

From a source sentence to a refined translation

The steps in order.

From a source sentence to a refined translationStep 1: Encode the source with a LENGTH token1. Encode the source with a LENGTH tokenStep 2: Choose likely target lengths2. Choose likely target lengthsStep 3: Fill masked target positions in parallel3. Fill masked target positions in parallelStep 4: Hide the least confident predictions4. Hide the least confident predictionsStep 5: Refill using retained target context5. Refill using retained target contextStep 6: Repeat with fewer hidden positions6. Repeat with fewer hidden positionsStep 7: Select the best-scoring completed candidate7. Select the best-scoring completed candidate

Define what is observed and what is missing

The source sentence is denoted by X. The target is divided into hidden positions, called Y_mask, and visible positions, called Y_obs. The visible part contains the target words available as context for predicting the hidden part. The total target length is N. Throughout decoding for a particular length candidate, those positions already exist; the system changes their contents instead of inserting new positions into the sequence.

N = |Y_mask| + |Y_obs|

The vertical bars indicate how many target positions belong to each part. Y_mask contains the positions currently requiring prediction, while Y_obs contains the remaining positions. N is their combined size. An important consequence is that the predictor has access to the target length through the arrangement of masked and observed positions, even when all the target words are hidden.

The CMLM estimates a probability distribution for each missing target word, conditional on X and Y_obs. Its simplifying assumption is that these missing-word predictions are independent once that conditioning information is given. This makes parallel prediction possible: a hidden position does not have to wait for another hidden position to receive a word. It also creates the need for refinement, because decisions made together cannot coordinate through newly selected words within the same pass.

This independence is conditional and local to a prediction round. Visible target words can influence all hidden positions, and those visible words may themselves have been generated during an earlier round. As a result, the complete decoding process can create dependencies among target choices over time. The architecture does not abandon context; it changes which context is available at each stage and permits several decisions to be made before further context is supplied.

Use a bidirectional target decoder

The encoder–decoder arrangement follows Attention Is All You Need. The encoder processes the source, and the decoder uses attention both over source representations and over target positions. The crucial architectural change concerns target self-attention. A conventional left-to-right decoder blocks access to positions that lie ahead of the current prediction. Here, that restriction is removed.

A missing word can therefore use visible words before it and after it. This is essential for arbitrary masking: if a target position near the beginning is hidden while later target words remain visible, the predictor should be able to exploit them. The authors state that the architecture otherwise has the same parameterization as the standard transformer. The generation difference comes from the objective, attention access and decoding procedure rather than a separate family of network components.

Bidirectionality should not be confused with knowledge of the eventual correct answer. During training, observed target positions contain reference words. During generation, they usually contain earlier predictions. Those predictions may be wrong. The algorithm can use them as useful provisional context, but their presence does not make the next conditional prediction reliable by definition. This difference between clean training context and generated decoding context becomes important when considering the method’s limits.

Train on a changing amount of hidden content

For each training example, the authors first sample how many target tokens to mask. The count is drawn uniformly from the range extending from one masked token to the whole target. Having selected a count, they choose the corresponding target positions randomly. Each selected input word is replaced with the special MASK symbol, leaving the other target words available to the decoder.

The loss is cross-entropy over the hidden positions. Cross-entropy penalizes the system when it assigns insufficient probability to the correct target word. Though the decoder could produce distributions at visible positions too, those positions do not contribute to this target reconstruction loss. Their role in that example is to provide context. All masked positions can contribute together because their predictions are conditionally independent within the forward computation.

This masking distribution connects training to several decoding situations. An nearly complete target resembles a small repair task. A heavily hidden target resembles an early refinement round. A fully hidden target resembles the initial generation pass. The training task therefore covers a range of available target evidence instead of assuming a single fixed masking level. It does not train a separate network for each stage of refinement.

The procedure also differs from general corruption-based repair. The missing positions are explicitly marked, and the remaining reference words are retained. The related-work discussion emphasizes that the authors do not replace target inputs with arbitrary noise in this scheme. This gives the predictor a clear distinction between what it should recover and what it may condition on. Whether the same objective would handle confidently incorrect visible context is a separate question.

Learn a target-length distribution

A left-to-right decoder can end generation by emitting an end-of-sentence symbol. For a parallel pass, the number of positions must be available before their words can be predicted. The authors address this by adding LENGTH to the encoder input. Its representation is used to predict a distribution over possible target lengths.

The length prediction is trained alongside target reconstruction. Its classification loss is added to the cross-entropy contribution from hidden target words. In effect, the source encoder supports both a global decision about the output’s size and the representations needed for individual word choices. The paper compares this special-token mechanism with previous approaches using fertility or pooled encoder outputs, but does not claim that exact target-length prediction has become easy.

At generation time, the source is encoded before target decoding begins. The system then selects the most probable length candidates and runs mask-predict separately for those candidates. Much of this work can be batched. Hence, the method does not have to commit irrevocably to the single most likely length before examining completed translations. It does, however, depend on the length candidate set and on the rule used to choose among the resulting sentences.

Initialize the target and its confidence scores

For a chosen length, the algorithm maintains a target sequence and a probability score at every position. The target words are written as y_i, where i identifies a position. Their associated scores are p_i. The procedure runs for T iterations, with t identifying the current iteration. The initial iteration is indexed by zero.

Every position is masked at the beginning. Because no target words are visible, the initial pass predicts from the source and the chosen length alone. This is the fully parallel, non-autoregressive stage. Each position receives its highest-probability word, together with that word’s probability score. The result is a complete provisional translation, but it can contain repetitions, grammatical problems and mixtures of incompatible word choices.

P(Y_mask⁽⁰⁾ | X, Y_obs⁽⁰⁾) = P(Y | X)

P denotes a conditional probability, Y is the complete target, and the superscript marks the initial iteration. Y_mask contains the entire target at this point, while Y_obs is empty. X is the source. The expression captures the absence of visible target words during initialization; the selected target length remains part of the prediction setup.

This first pass is useful in spite of its weaknesses. It supplies candidate words and confidence scores across the target, giving the refinement procedure something to rank. The paper’s results show that treating this pass as a finished translation is much less effective than allowing later passes. The design is therefore not based on an expectation that independent predictions will immediately form a coherent sentence.

Select uncertain positions for another pass

After initialization, the masking operation selects the positions whose current words have the lowest probability scores. The algorithm does not identify errors directly, because it has no reference translation during generation. It uses probability as a practical signal for deciding which commitments to reopen.

Y_mask⁽ᵗ⁾ = arg minᵢ(p_i, n)

Y_mask at iteration t is the selected set of positions. The operation on the right returns the indices i associated with the n smallest probability scores p_i. Here, arg min means selection of several lowest-scoring positions, instead of returning only a single minimum. The quantity n determines how much of the target will be reconsidered during that round.

Y_obs⁽ᵗ⁾ = Y \ Y_mask⁽ᵗ⁾

Y_obs is the part of the target retained as context at iteration t. The backslash denotes set difference: positions selected for masking are removed from the observed part of Y. The retained words remain available to the decoder, so a revised position can respond to commitments elsewhere in the sentence.

The number of masked positions follows a linear schedule.

n = N · (T − t) / T

N is the target length, T is the total iteration budget, and t is the current iteration index. The quantity n decreases as t advances. The paper illustrates the schedule with 10 iterations: at the next pass after initialization, 90% of positions are hidden again, followed by 80% at the subsequent pass. The intended progression is broad reconsideration early and more selective changes later.

This schedule allows large parallel revisions while gradually increasing the amount of visible target context. It also means that the procedure is not simply an error corrector applied to a small suspicious span. Early rounds may replace most of the sentence. Later rounds work with a more heavily specified target, giving the predictor a different conditional task even though its parameters are shared across all rounds.

Refill the masked positions

Once the positions have been chosen, the CMLM predicts them using the source and the retained target words. The selected word at each masked position is the vocabulary item with the greatest conditional probability.

y_i⁽ᵗ⁾ = arg max_w P(y_i = w | X, Y_obs⁽ᵗ⁾)

The left side is the word chosen for target position i during iteration t. On the right, w ranges over candidate vocabulary items. X supplies the source sentence, and Y_obs supplies the target words left visible in the current round. The arg max operation returns the candidate word receiving the highest conditional probability.

p_i⁽ᵗ⁾ = max_w P(y_i = w | X, Y_obs⁽ᵗ⁾)

The score p_i is updated to the probability of the selected word. The same source and observed target context condition this distribution. Unlike the preceding expression, which returns a vocabulary item, this expression returns the largest probability value. These updated scores influence which positions will be reopened during a later round.

Words outside the masked set are carried forward.

y_i⁽ᵗ⁾ = y_i⁽ᵗ⁻¹⁾

For an observed position i, its word at iteration t remains the word from the previous iteration. The superscripts distinguish consecutive rounds. A retained word is therefore a fixed input for the current prediction pass, though it can become eligible for masking again in a subsequent pass.

p_i⁽ᵗ⁾ = p_i⁽ᵗ⁻¹⁾

The retained word’s probability score also remains unchanged. This means the stored scores need not all describe predictions made under the same amount of context. Some may come from an early, difficult pass; others may reflect a later pass with more visible target words. The authors tried alternatives that updated or decayed these scores in preliminary experiments, but report that keeping them worked well.

This detail helps explain why retention is temporary. A word can survive a round and still be selected later because its older score remains low relative to scores produced with richer context. The algorithm does not progressively declare every retained word permanently correct. It repeatedly ranks the currently stored scores, allowing an earlier choice to return to the uncertain set.

Follow the translation example

The paper illustrates the process with a German-to-English example about French combat troops and a November withdrawal. The initial English prediction repeats a word expressing completion and lacks a satisfactory realization of the troop-related phrase. This is a concrete instance of the coordination problem: the source information is partly recognizable, but the parallel word choices do not yet form a good sentence.

During the next pass, 8 positions out of the 12-position target are masked. The retained context includes an article, the date’s numerical element, the month and punctuation. These anchors provide only a small amount of the intended sentence, but the resulting revision is substantially more grammatical. The authors interpret this as evidence that even limited target context can help settle which realization the remaining positions should follow.

A further pass reopens 4 positions. Some of these had been retained during the preceding round, demonstrating that the confidence ranking can bring older decisions back into consideration. The final revision improves lexical choice for describing troop movement and changes the date’s realization. The example illustrates the mechanism well, but its role is explanatory: the evidence for general effectiveness comes from benchmark results and the analyses across evaluation examples.

Rank complete length candidates

After refinement, the algorithm chooses among translations generated at different candidate lengths. It uses average log-probability instead of an unnormalized sum of token log-probabilities.

score(Y) = (1/N) ∑ᵢ log p_i⁽ᵀ⁾

Y is a completed candidate translation, N is its length, and the sum ranges over its positions i. The value p_i is the probability score stored for that position at the end of decoding; log transforms it into a log-probability. Dividing by N averages across positions. The selected candidate is the one with the largest resulting score.

The scoring rule is simple, but its interpretation needs care. Stored probabilities may come from different refinement rounds, and candidate lengths change the conditional prediction problem. The score is therefore the algorithm’s selection criterion, not a guarantee that candidates of every length are perfectly comparable. The length-candidate analysis later shows a practical consequence: additional candidates can hurt even while making it more likely that the reference length is available.

Experiments and results

Data, evaluation and implementation

The experiments use WMT’14 English–German with 4.5M sentence pairs, WMT’16 English–Romanian with 610k pairs, and WMT’17 English–Chinese with 20M pairs. Each dataset is evaluated in both translation directions. This provides variation in training-set size and language pairing, while keeping the experimental task focused on translation. It does not constitute an evaluation of every possible use of masked conditional generation.

The text is segmented with BPE, drawing on subword units for rare words. This means the positions predicted by the system are sub-word tokens, even when the discussion informally refers to words. The authors reuse previously prepared data associated with the cited transformer work for English–German, the cited convolution work for English–Chinese, and the iterative-refinement work for English–Romanian.

Most directions are evaluated with BLEU. English-to-Chinese uses SacreBLEU, associated with clarity in BLEU reporting. The metrics compare generated translations against references, so higher scores indicate better agreement under the chosen evaluation procedure. Scores from different language directions should be interpreted within their own tasks, rather than treated as measurements on a universal scale of linguistic ability.

The authors make their implementation publicly available and build both the CMLM and their sequential baseline on fairseq. That shared implementation framework matters especially for the timing comparison. The experiments are not only a comparison with published numbers from unrelated codebases; they also include autoregressive transformers trained and decoded within the authors’ experimental setup.

Architecture and training settings

The base configuration uses 6 layers in each stack, 8 attention heads per layer, a model dimension of 512 and a hidden dimension of 2048. A smaller configuration retains the 512 model dimension but uses a hidden dimension of 512. The smaller system is important for comparisons with earlier parallel decoders, since a stronger result from a larger hidden layer would leave model capacity as a possible explanation.

Initialization follows the BERT scheme described by the authors. Weights are sampled from a normal distribution centered at zero with a standard deviation of 0.02; biases start at zero, and layer-normalization parameters begin with beta at 0 and gamma at 1. Regularization includes dropout of 0.3, L2 weight decay of 0.01 and smoothing with epsilon of 0.1. These choices are part of the reported experimental recipe, rather than changes introduced specifically by mask-predict decoding.

Optimization uses Adam with beta values of 0.9 and 0.999 and epsilon of 10⁻⁶. Batches contain 128k tokens. The learning rate rises to 5 · 10⁻⁴ during 10,000 steps and then follows an inverse-square-root decay. Training lasts 300k steps, with validation loss checked after each epoch. The final parameters are obtained by averaging the 5 checkpoints with the best validation losses.

Training uses mixed-precision arithmetic on two DGX-1 machines. Each machine contains eight Nvidia V100 GPUs with 16GB memory, and the machines are linked through Infiniband. These are training resources, distinct from the single-GPU setting used for the decoding-time comparison. Reporting them helps keep the efficiency claims properly scoped: the central speed result concerns inference, not a demonstration that the whole training process requires little hardware.

Teacher-produced targets

The principal CMLM results use training translations generated by autoregressive teachers. For English–German and English–Chinese, the teachers are large transformers. For English–Romanian, the teacher is a base transformer. The authors follow the use of distillation in previous parallel and insertion-based translation work, while later testing how much their own approach depends on it.

They also train autoregressive base transformers on teacher-generated data for English–German and English–Chinese. This comparison helps distinguish the effect of a changed training target distribution from the effect of the decoding architecture. Distillation is therefore not merely background preprocessing. It is an important experimental condition, and claims about the CMLM’s quality should be read with that condition in view.

For the main quality evaluation, autoregressive systems use beam search with a beam size of 5. Mask-predict similarly considers 5 length candidates. These search procedures explore different objects: a beam maintains competing partial sequential outputs, whereas the CMLM comparison considers complete target layouts of different lengths. Equal candidate counts do not make the procedures computationally identical, which is why separate timing measurements remain necessary.

Gains over earlier parallel decoders

The English-to-German results show a clear separation between mask-predict and the earlier parallel approaches included in the comparison. The following chart preserves the distinction between the smaller CMLM, which supports the capacity comparison, and the base CMLM, which is the stronger reported setting. The sequential transformer is included as a quality reference.

WMT’14 English-to-German test translation quality

Selective refinement improves substantially over earlier parallel decoders and approaches the sequential baseline.

WMT’14 English-to-German test translation qualityFertility-based NAT: 19.17Fertility-based NAT19.17CTC-loss translation: 17.68CTC-loss translation17.68Earlier iterative refinement, 10 rounds: 21.61Earlier iterative refinement, 10 rounds21.61Small CMLM, 10 rounds: 25.51Small CMLM, 10 rounds25.51Base CMLM, 10 rounds (this paper): 27.03Base CMLM, 10 rounds (this paper)27.03Authors’ base sequential transformer: 27.74Authors’ base sequential transformer27.74
The numbers
System or settingBLEU
Fertility-based NAT19.17
CTC-loss translation17.68
Earlier iterative refinement, 10 rounds21.61
Small CMLM, 10 rounds25.51
Base CMLM, 10 rounds (this paper)27.03
Authors’ base sequential transformer27.74

The smaller CMLM is especially informative because its hidden dimension matches the earlier iterative-refinement configuration used in the comparison. The authors characterize its advantage on both English–German directions as roughly 4 BLEU. This weakens the explanation that the new method wins only because its principal configuration has a larger hidden layer. It does not isolate every training and architecture choice, but it makes the central comparison more meaningful.

The advantage is also visible with fewer rounds. On English-to-German, the small CMLM reaches 24.17 BLEU after 4 iterations. On German-to-English, its corresponding score is 28.55. The earlier refinement system’s 10-iteration German-to-English score is 25.48. The paper additionally reports that 3 mask-predict iterations suffice to exceed the earlier best result in both English–German directions, although those particular scores are not tabulated.

The base CMLM improves further. German-to-English reaches 30.53 BLEU with 10 iterations, compared with 31.09 for the authors’ base sequential implementation. English-to-Romanian reaches 33.08, while Romanian-to-English reaches 33.31. Their sequential counterparts score 34.28 and 33.99. These comparisons explain the paper’s conclusion that the remaining gap to a strong sequential transformer can be modest, while also showing that the parallel method does not generally eliminate it.

Translation beyond English–German

The English–Romanian results are important because they come from a substantially smaller training collection. The earlier iterative-refinement system reaches 29.32 BLEU for English-to-Romanian and 30.19 for Romanian-to-English with 10 rounds. The base CMLM’s stronger results therefore extend beyond the largest European-language dataset in the study. The authors describe improvements of up to 3 BLEU over the earlier parallel approach on this benchmark.

The comparison is not uniform across all configurations. A single pass can remain weak, and shrinking the hidden dimension matters. For English-to-Romanian, the small CMLM scores 20.12 in its initial parallel setting, while the base configuration scores 27.32. These numbers show why it would be misleading to describe mask-predict as a decoding trick whose performance is independent of the trained predictor’s capacity or training conditions.

English–Chinese supplies another test of the approach. English-to-Chinese uses SacreBLEU, while Chinese-to-English uses BLEU. The chart below compares settings within the English-to-Chinese direction, so all rows refer to the same metric and benchmark.

WMT’17 English-to-Chinese test translation quality

Additional refinement brings the CMLM much closer to the sequential transformer.

WMT’17 English-to-Chinese test translation qualityBase CMLM, single round: 24.23Base CMLM, single round24.23Base CMLM, 4 rounds: 32.63Base CMLM, 4 rounds32.63Base CMLM, 10 rounds (this paper): 33.19Base CMLM, 10 rounds (this paper)33.19Authors’ base sequential transformer: 34.31Authors’ base sequential transformer34.31Distilled base sequential transformer: 34.44Distilled base sequential transformer34.44
The numbers
System or settingSacreBLEU
Base CMLM, single round24.23
Base CMLM, 4 rounds32.63
Base CMLM, 10 rounds (this paper)33.19
Authors’ base sequential transformer34.31
Distilled base sequential transformer34.44

For Chinese-to-English, the CMLM scores 13.64 BLEU with a single round, 21.90 with 4 rounds and 23.21 with 10 rounds. The authors’ base sequential transformer reaches 23.74, and its distilled version reaches 23.99. The same broad lesson appears again: the first parallel proposal leaves considerable room for improvement, while selective refinement can recover much of the sequential system’s quality.

These results support a claim about the tested language directions, not a claim that the approach is insensitive to linguistic structure. The paper notes that the trend persists in spite of differences between English and Chinese. It does not provide a controlled linguistic explanation of which constructions are easiest or hardest for the method, nor does it evaluate enough language families to establish a general cross-linguistic law.

Measured decoding speed

The timing experiment uses WMT’14 English-to-German and compares the base CMLM with the base sequential transformer. The sequential baseline is tested with beam search at 5 and greedy decoding at 1. Mask-predict varies its iteration count from 4 through 10 and considers 1, 2 or 3 length candidates. Both systems decode batches containing 10 sentences.

Elapsed time is measured after loading the model and data and continues until the final translation has been produced. Every timing run is carried out on the same computer, using one and the same GPU. The sequential implementation caches earlier decoder state, an important optimization: the authors report 210 seconds without this benefit and 128.5 seconds with it. The CMLM does not use cached decoding.

The paper reports an operating point exceeding a 3x speed advantage while losing 2 BLEU relative to the beam-search baseline. It also describes a higher-quality operating point at 27.03 BLEU with a 30% speed improvement. The discussion says this latter point exceeds greedy sequential decoding in both quality and speed. Together, these observations support a practical tradeoff rather than merely an argument about the number of algorithmic stages.

There is a reporting problem in the accompanying prose: it attaches the same iteration and candidate setting to those different operating points. The quality–time conclusions can be reported as the authors state them, but the repeated configuration label does not support an unambiguous assignment of every point to a decoding setup. The reliable broader finding is that measured acceleration depends on how much refinement and length search the system performs.

What the ablations show

The paper offers several targeted analyses instead of a single exhaustive ablation of every design decision. They vary the number of refinement rounds, inspect sentence-length effects, change the number of target-length candidates, and compare raw with teacher-generated training targets. These experiments help explain where the gains arise and where the method remains vulnerable. They do not isolate every component under an otherwise identical training recipe.

Early rounds reduce repetition

The repetition analysis starts from the authors’ proposed explanation of the initial parallel pass. If target positions reflect competing translation alternatives, repeated words can appear where those alternatives place similar material differently. Repetition is therefore used as an observable proxy for the multimodality problem. It is an imperfect proxy, because incompatible choices can also produce errors without repeating a token.

For WMT’14 English-to-German, repetition declines as the iteration budget increases. The corresponding BLEU measurements improve as well. This is consistent with the idea that retaining some context helps the remaining positions settle on a more coherent realization.

Repeating tokens on WMT’14 English-to-German

Most repetition disappears during the early refinement rounds.

Repeating tokens on WMT’14 English-to-GermanSingle round: 16.72Single round16.722 rounds: 5.402 rounds5.403 rounds: 2.033 rounds2.034 rounds: 1.074 rounds1.075 rounds (this paper): 0.725 rounds (this paper)0.72
The numbers
System or settingrepeating tokens %
Single round16.72
2 rounds5.40
3 rounds2.03
4 rounds1.07
5 rounds (this paper)0.72

The BLEU sequence associated with these settings is 18.05, 22.91, 24.99, 25.94 and 26.30. The improvement is especially pronounced early, when the predictor moves from having no target-word context to having provisional commitments it can use. This supports the rationale for multiple rounds even when a single parallel pass is attractive for speed.

English-to-Romanian shows the same qualitative behavior. Repeated-token percentages move from 9.34% to 2.82%, 1.26%, 0.87% and 0.61% as the settings progress through the reported iteration budgets. BLEU rises from 27.32 to 31.08, 32.19, 32.53 and 32.62. The agreement across these benchmarks strengthens the observation that early refinement handles an important class of parallel-generation errors.

The causal interpretation remains qualified. Repetition reduction and BLEU improvement occur together, but the experiment does not separately manipulate repetition while holding all other changes fixed. Later passes can improve lexical choice, agreement and other properties alongside removing duplicates. The results support the authors’ explanation without showing that repetition is the only obstacle or that a single coherent translation distribution has been directly measured.

Longer outputs benefit more from extra refinement

A fixed round budget raises a natural concern: a short target may receive substantial reconsideration relative to its size, while a long target may remain under-refined. The authors investigate this using compare-mt, grouping evaluation examples by target length. They compare 4 rounds, 10 rounds and a setting whose round count matches the target length.

The experiment uses WMT’14 English-to-German and a single length candidate. This is important context because the scores should not be read as directly interchangeable with the main quality results that use several candidates. The analysis is designed to examine refinement effort across sentence lengths, rather than to reproduce the strongest overall configuration.

For targets shorter than 10 tokens, the reported BLEU values are 21.8 with 4 rounds, 22.4 with 10 rounds and 22.4 when the round budget matches target length. For targets containing at least 40 tokens, the corresponding values are 25.0, 27.5 and 28.1. The pattern supports the authors’ conclusion that extra rounds are more useful for longer outputs.

The middle length groups also improve with additional refinement. For targets from 20 up to fewer than 30 tokens, the scores are 24.9, 26.7 and 27.1 across the same settings. This makes the result more informative than a comparison restricted to the shortest and longest cases. At the same time, the authors judge that 4 rounds can already produce reasonable long-sentence translations.

The experiment limits the meaning of “constant iterations.” A fixed budget can work usefully across lengths, but it need not offer the same quality tradeoff for every length group. Matching the budget to target length provides a further comparison, not evidence that a fixed budget is always optimal. The paper’s central claim is about obtaining strong outputs with a short refinement process, rather than proving that sentence length becomes irrelevant.

Length coverage and final quality can diverge

The length-candidate experiment varies how many predicted target lengths are decoded. It uses the base CMLM with 10 refinement rounds on English-to-German and English-to-Romanian. Alongside BLEU, the authors report length precision: the percentage of examples for which the reference length appears somewhere in the candidate set. This measures candidate coverage, not the correctness of the final selected translation.

For English-to-German, a single candidate gives 26.56 BLEU and includes the reference length for 16.1% of examples. With 3 candidates, BLEU reaches 27.09 and reference-length coverage reaches 43.1%. Using the reference length directly gives 27.27 BLEU. The comparison suggests that a modest amount of parallel length search can recover much of the benefit available from knowing the reference length.

Increasing coverage further does not keep improving translation. With 9 candidates, reference-length coverage reaches 83.8%, but BLEU is 26.42. This is a particularly useful controlled comparison because it separates two questions that are easy to conflate: whether a useful candidate is present, and whether the scoring rule chooses a useful output. More successful coverage does not guarantee better selection.

English-to-Romanian follows a similar broad pattern. The single-candidate setting reaches 32.75 BLEU, while 3 candidates reach 33.11. Conditioning directly on the reference length gives 33.20. With 9 candidates, coverage reaches 78.3%, but BLEU is 32.09. The individual intermediate scores are not uniformly smooth, so the evidence supports a practical trend instead of a precise law relating candidate count to quality.

The authors suspect that average log-probability can favor overly short translations. Because the CMLM is already conditioned on length, a short sentence may be locally easy to predict while failing to cover enough source content. They tried incorporating length-prediction probabilities into candidate weighting, but report that this overemphasized the leading candidate and lowered performance. The experiment exposes a scoring problem without supplying a fully successful solution.

Distillation matters, but its mechanism remains uncertain

The raw-versus-distilled comparison holds the broad CMLM setup fixed while changing the target sentences used for training. For English-to-German, the raw-data system scores 10.64 BLEU with a single round, 22.25 with 4 rounds and 24.61 with 10 rounds. The corresponding teacher-data scores are 18.05, 25.94 and 27.03. The benefit is therefore visible across the reported decoding budgets.

The particularly weak raw-data result in the single-round setting is consistent with the difficulty of making independent target predictions from heterogeneous translation examples. It does not, on its own, tell us exactly which properties of teacher outputs make learning easier. The teacher might alter ambiguity, consistency, noise or other aspects of the target distribution. The paper demonstrates a dependence and discusses possible explanations.

For English-to-Romanian, the raw-data scores are 21.22, 31.40 and 32.86 across the same progression of decoding budgets. Teacher-generated targets produce 27.32, 32.53 and 33.08. By the final setting, the raw-data result is much closer to the distilled result than it is in the English-to-German comparison. This difference is central to the authors’ caution about interpreting distillation.

They suggest that their English–Romanian teacher may be weaker because its hyper-parameters were not sufficiently tuned. They also suggest that English–German training data may be noisier, allowing the teacher to act as a cleaning step. The paper explicitly leaves both explanations unresolved. It would therefore overstate the result to say that Mask-Predict establishes distillation as denoising, or that additional refinement generally removes the need for teacher-produced targets.

Some design choices receive only preliminary checks

The treatment of stored confidence scores is supported by preliminary experimentation rather than a detailed reported ablation. The authors tried updating or decaying the probabilities attached to retained words, then kept the simpler approach of leaving those values unchanged. No full set of comparative scores is supplied for those alternatives. The justified conclusion is that stale scores worked in their setup, not that retaining them is universally best.

Likewise, the paper explains why varying the mask count is attractive and contrasts it with earlier corruption procedures, but does not provide an exhaustive comparison of masking distributions. The success of the complete training-and-decoding combination is stronger evidence than any claim about the unique optimality of the linear schedule or uniform mask-count sampling. Those components remain useful design choices whose individual generality is not fully established.

Limitations

Open problems identified by the authors

The authors identify target-length conditioning as an unresolved issue. Unlike sequential generation, where stopping can emerge during decoding, the CMLM needs a target layout before parallel prediction begins. Predicting several candidate lengths helps, but the experiments show that candidate selection is imperfect. Even access to a wider range of lengths can lower the final score.

Dependence on distillation is another stated limitation. The strongest reported CMLMs generally train on teacher-produced translations, and the raw-data comparison shows that this choice can matter greatly. English-to-Romanian offers a more encouraging case after extensive refinement, but it does not justify removing the qualification from the overall result. The method’s performance includes the contribution of its training target distribution.

The paper also leaves the explanation of the distillation effect open. Teacher strength and dataset noise are proposed as alternatives, not established causes. This matters scientifically because the next engineering step depends on the mechanism. If the main problem were inconsistent targets, data treatment might help; if it were some other property of parallel prediction, a different intervention could be needed. The experiments do not settle that choice.

The authors further acknowledge that retained probability scores can be stale. Their preliminary experiments support a simple heuristic, but those scores are later compared even though they may have been computed with different visible context. This does not invalidate the decoding algorithm. It does mean that its confidence ranking is an operational device whose reliability is established through output performance, rather than through a demonstrated calibration property.

Boundaries visible in the experimental design

A careful reader should distinguish the translation evidence from the broader claim that masked prediction is useful for generation. The paper demonstrates conditional generation on translation benchmarks. It does not test unrestricted generation, dialogue, code completion, graph realization or dependency repair. Those may be reasonable research directions, but the results reported here cannot be transferred to them as measured outcomes.

The evaluation also concentrates on automatic reference-based scores and selected analyses. BLEU and SacreBLEU make system comparisons possible within the reported setup, but they do not independently establish every aspect of meaning preservation, fluency or error severity. Repetition counts illuminate a specific failure pattern. The paper does not provide a complete account of all errors that remain after refinement, especially those that produce fluent but incorrect content.

The confidence mechanism has a natural failure mode that the reported analyses do not fully isolate. A wrong word receiving a high score may remain visible and influence several revised positions. Conversely, a correct but uncertain word can be repeatedly reopened. The algorithm allows retained words to return to the masked set, which provides some flexibility, but there is no guarantee that the probability ranking places every harmful decision where repair will reach it.

The shrinking masking schedule also imposes a particular shape on computation. It assumes broad early revision followed by increasingly constrained editing. The paper shows this works well in its experiments, but does not establish that all sentences or error types should follow the same schedule. Some outputs may need a substantial late change, while others may already be adequate before the full budget is spent. No general adaptive stopping solution is established.

Efficiency claims have operating conditions

A fixed number of decoding rounds is a statement about sequential stages. It is not a claim of fixed total work for every target length. Longer targets still occupy more positions, and additional length candidates require additional realization work. The method’s appeal comes from parallel execution and a shorter dependency chain, which must be assessed alongside those costs.

The measured acceleration is also tied to a particular workload. Timing uses English-to-German, a single GPU, batches of 10 sentences and the authors’ implementations. The authors note that the batch size was chosen arbitrarily and that larger batches are possible. They do not provide enough timing evidence to establish the same relative advantage for every batch size, device or deployment setting.

The comparison with a cached autoregressive baseline is a strength, because it avoids an obviously weaker sequential implementation. Nevertheless, it remains an implementation-specific measurement. Search settings affect both quality and time, and the paper presents a collection of operating points instead of one universal speed figure. The inconsistency in the prose’s configuration labels further limits how precisely those individual points can be reconstructed from that account alone.

Finally, approaching a base sequential transformer does not mean matching every sequential system in the results. Large transformers remain stronger quality references in several comparisons. The paper’s practical contribution is a useful tradeoff between quality and decoding time, with marked gains over the earlier parallel methods tested. Its evidence does not establish that selective parallel refinement always dominates sequential decoding.

What came after

Mask-Predict leaves a reusable research pattern: create an incomplete target, use visible context to recover missing positions, and repeat when the initial prediction is not sufficiently coordinated. The subsequent works listed as citing it span several neighboring areas. Citation establishes that they refer to the paper; it does not, on its own, establish which component they adopted, whether their algorithms are equivalent, or how much of their performance comes from its ideas. Their titles support a map of the later research questions, while detailed inheritance claims require more evidence.

Further work on non-autoregressive translation

Glancing Transformer places later attention on non-autoregressive neural machine translation. It belongs to the same broad problem setting as Mask-Predict: producing translations without relying entirely on a left-to-right generation chain. The citation connects the works, but the available description does not establish how its training context, decoding procedure or treatment of target dependencies compares with mask-predict.

Translation with Latent Alignments identifies latent alignment as its focus within non-autoregressive translation. That title points toward the relationship between source and target structure, a concern that remains relevant when target words are generated in parallel. It would be unwarranted to infer from the citation that it uses the same target-length predictor, confidence schedule or selective masking rule.

Tricks of the Trade also concerns fully non-autoregressive translation. Its presence in the citation list shows that Mask-Predict remained part of the reference landscape for later work on parallel translation. The title alone does not justify attributing any particular training trick or decoding result to it.

Deep Encoder, Shallow Decoder explicitly frames its contribution as a reevaluation of non-autoregressive translation. That framing is relevant to Mask-Predict’s insistence on measuring time against an efficient sequential implementation. The available information, however, does not state the reevaluation’s findings, so it cannot support a claim that this later work confirmed or overturned a particular speed advantage.

Masking and discrete diffusion

Structured Denoising Diffusion concerns diffusion in discrete state spaces. Its title places it near the broad question of generating discrete outputs through denoising. Mask-Predict supplies an earlier example of iterative conditional reconstruction, but the citation alone does not establish that the later diffusion formulation is simply mask-predict under another name.

DiffuSeq identifies sequence-to-sequence text generation with diffusion as its subject. DiffusionBERT explicitly connects diffusion with generative masked language prediction. These titles show that the relationship between incomplete text, reconstruction and generation continued to be explored after Mask-Predict. They do not supply enough detail to compare their corruption processes or prediction schedules with the CMLM procedure.

Simple and Effective Masked Diffusion makes the later connection to masking especially explicit. The meaningful historical relationship supported here is a continuing interest in generation through masked intermediate states, together with a citation to Mask-Predict. No numerical comparison or claim of direct algorithmic inheritance is established by the citation list.

Refinement, calibration and efficient inference

The titles of PURE, DecoCal and RACC bring refinement and confidence calibration into the later citation landscape. Those subjects connect naturally to a central Mask-Predict decision: which predictions should remain visible, and which should be reconsidered? Their titles establish the topics they address, but not their specific solutions or their results.

Speculative Decoding addresses acceleration through speculative execution for sequence-to-sequence generation. It belongs to the broader search for faster decoding, while the citation information does not establish that it shares Mask-Predict’s masked training objective. The relationship supported here is a common efficiency problem and an explicit citation, instead of an assumption that all fast decoding methods use the same mechanism.

Across these later references, Mask-Predict’s lasting research questions remain visible: how to coordinate parallel decisions, how to use incomplete context, how to decide what deserves revision, and how to measure the resulting speed–quality tradeoff. The paper supplies a concrete and well-tested answer for conditional translation. The later citation record shows those questions continuing across translation, denoising and inference research, while leaving the details of each subsequent method to its own evidence.

 Institutions

 Fields, topics and concepts

Appears in

Mentioned in articles aboutTel Aviv

Cite

Cite as Marjan Ghazvininejad, Omer Levy, Yinhan Liu and Luke Zettlemoyer. 2019. Mask-Predict: Parallel Decoding of Conditional Masked Language Models. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/d19-1633

@inproceedings{ghazvininejad2019mask,
  title = {{Mask-Predict: Parallel Decoding of Conditional Masked Language Models}},
  author = {Marjan Ghazvininejad, Omer Levy, Yinhan Liu and Luke Zettlemoyer},
  booktitle = {Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)},
  year = {2019},
  doi = {10.18653/v1/d19-1633},
  url = {https://doi.org/10.18653/v1/d19-1633}
}

References

19 references, 15 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805.
  2. Jonas Gehring, Michael Auli, David Grangier, Denis Yarats, and Yann N Dauphin. 2017. Convolutional Sequence to Sequence Learning. ArXiv e-prints.
  3. Alex Graves, Santiago Fernández, Faustino Gomez, and Jürgen Schmidhuber. 2006. Connectionist temporal classification: Labelling unsegmented sequence data with recurrent neural networks. In Proceedings of the 23rd international conference on Machine learning, pages 369–376. ACM. OpenAlex ↗ · Scholar ↗
  4. Jiatao Gu, James Bradbury, Caiming Xiong, Victor OK Li, and Richard Socher. 2018. Non-autoregressive neural machine translation. In ICLR.
  5. Jiatao Gu, Qi Liu, and Kyunghyun Cho. 2019. Insertion-based decoding with automatically inferred generation order. arXiv preprint arXiv:1902.01370.
  6. Diederik P Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In International Conference for Learning Representations.
  7. Guillaume Lample and Alexis Conneau. 2019. Cross-lingual language model pretraining. arXiv preprint arXiv:1901.07291. OpenAlex ↗ · Scholar ↗
  8. Jason Lee, Elman Mansimov, and Kyunghyun Cho. 2018. Deterministic non-autoregressive neural sequence modeling by iterative refinement. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1173– 1182, Brussels, Belgium. Association for Computational Linguis…
  9. Jindřich Libovický and Jindřich Helcl. 2018. End-to-end non-autoregressive neural machine translation with connectionist temporal classification. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 3016– 3021, Brussels, Belgium. Association for Computa…
  10. Paulius Micikevicius, Sharan Narang, Jonah Alben, Gregory Diamos, Erich Elsen, David Garcia, Boris Ginsburg, Michael Houston, Oleksii Kuchaiev, Ganesh Venkatesh, and Hao Wu. 2018. Mixed precision training. In International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  11. Graham Neubig, Zi-Yi Dou, Junjie Hu, Paul Michel, Danish Pruthi, and Xinyi Wang. 2019. compare-mt: A tool for holistic comparison of language generation systems. In Meeting of the North American Chapter of the Association for Computational Linguistics (NAACL) Demo Track, Minneapolis, USA.
  12. Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311–318, Philadelphia, Pennsylvania, USA. Association for Computational…
  13. Matt Post. 2018. A call for clarity in reporting BLEU scores. In Proceedings of the Third Conference on Machine Translation: Research Papers, pages 186– 191, Belgium, Brussels. Association for Computational Linguistics.
  14. Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1715– 1725, Berlin, Germany. Association for Computational Li…
  15. Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu. 2019. Mass: Masked sequence to sequence pre-training for language generation. arXiv preprint arXiv:1905.02450.
  16. Mitchell Stern, William Chan, Jamie Kiros, and Jakob Uszkoreit. 2019. Insertion transformer: Flexible sequence generation via insertion operations. arXiv preprint arXiv:1902.03249. OpenAlex ↗ · Scholar ↗
  17. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems, pages 5998–6008.
  18. Alex Wang and Kyunghyun Cho. 2019. Bert has a mouth, and it must speak: Bert as a markov random field language model. arXiv preprint arXiv:1902.04094.
  19. Felix Wu, Angela Fan, Alexei Baevski, Yann N Dauphin, and Michael Auli. 2019. Pay less attention with lightweight and dynamic convolutions. International Conference on Learning Representations.

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/ghazvininejad-2019-mask-predict-parallel-decoding-conditional/