Elamur Research

OpenKiwi: An Open Source Framework for Quality Estimation

Paper · 2019 · Fabio Kepler, Jonay Trénous, Marcos Treviso et al.

Summary

A translated sentence can sound plausible while still leaving out information, choosing the wrong word, or requiring substantial correction. OpenKiwi addresses the practical question behind those failures: how can a system assess a translation when it has no independently written reference to compare against? This is quality estimation, or QE. The paper introduces a shared software framework for developing and evaluating QE systems, with outputs that identify problematic words and missing material or estimate the quality of an entire sentence. Its contribution combines competitive prediction with an attempt to make strong research systems easier to reproduce.

The motivation is that progress in machine translation quality estimation had become difficult to reconstruct. Leading approaches depended on combinations of systems, specialized neural architectures, or training stages whose details were insufficiently documented. Existing open implementations remained useful, but the authors report that they lagged behind the strongest shared-task entries. OpenKiwi brings several successful approaches into a common implementation: a local-context classifier called QUETCH, a recurrent system called NuQE, a Predictor-Estimator architecture, and a feature-based linear system that combines other systems’ predictions. The framework uses Python and PyTorch, supports configuration through YAML, and works either as an imported package or through a command-line interface.

The experiments use the English–German quality-estimation datasets from WMT 2018. One contains translations produced by a statistical translation system; the other contains translations from a neural translation system. The authors evaluate labels attached to translated words, positions where words may need inserting, and source words whose meaning may have been lost or mistranslated. They also evaluate sentence-level estimates of editing effort. Across the reported test comparisons, OpenKiwi surpasses deepQuest on every task. Its selected combinations achieve the strongest reported word-level results, including MT-word F1-mult scores of 62.70 for the statistical-translation dataset and 44.77 for the neural-translation dataset. Sentence-level results are competitive but do not consistently lead the comparison.

The results depend on more than a single architecture. Predictor-Estimator benefits from a preliminary training stage using parallel sentences, while an external automatic post-editing system supplies another useful source of predictions. Averaging combines complementary outputs, and a stacked linear system is especially effective for translated-word labels. The paper therefore supports a conclusion about an integrated experimental approach: strong quality estimation can emerge from reusable components, appropriate auxiliary data, and combinations selected on development data. It does not establish that any one component explains the entire improvement.

OpenKiwi also treats reproducibility as an engineering responsibility. Shared data processing, a common training loop, dependency management, automated checks, and optional experiment tracking reduce the work needed to compare approaches. The authors report that NuQE became the baseline for the WMT 2019 QE shared task, while the winning submissions at word, sentence, and document levels used OpenKiwi as their foundation. That adoption gives the framework a role beyond its benchmark scores: it provides a common starting point from which subsequent systems can be developed and compared.

Interesting ideas

  • I1. Using APE output as a labeler: an automatic post-editing model produces pseudo post-edits, which are then turned into word tags and HTER with the same tool (TERCOM) used for the gold labels. This approach could apply to any task where labels are derived from corrected outputs.
  • I2. Two ways to combine models: simple averaging of model outputs is compared with stacking them as features in a linear model. Stacking was the stronger option for MT-word tags, which suggests a cheap linear layer over diverse neural systems is worth trying before building larger ensembles.
  • I3. Pre-training on related data: the predictor first learns to reconstruct target tokens from large parallel corpora, and the estimator is then trained on scarce QE labels. This is a transferable recipe for low-resource labeled tasks that have plentiful raw parallel or monolingual text.
  • I4. Synthetic data recipe: in-domain sentences are selected by cross-entropy filtering, round-trip translated, and stratified-sampled to create artificial triplets. The small genuine dataset is oversampled (×20) when mixed in, so it is not swamped by the synthetic data.
  • I5. Fixed pipeline, config-driven experiments: data handling, training loop and evaluation are fixed, and experiments vary only through config files or a single model class. Combined with run tracking, this makes comparisons across architectures fair and easy to repeat.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Deep dive: OpenKiwi: An Open Source Framework for Quality Estimation

OpenKiwi makes translation quality estimation reproducible; explore its architectures, training data, benchmark results, and limits. · about 36 minutes to read

How Mova uses it

For Mova, a small transparent language system implemented in Rust, OpenKiwi is most useful as a set of design proposals. There is no established Mova implementation of these techniques described here. The connection should therefore be understood as an engineering direction: how a system that values inspectable behavior could borrow the paper’s distinctions, experimental organization, and correction-based supervision.

The clearest possibility is a separate quality-assessment layer. If Mova produces or processes translated text, it could retain a distinction between generating an answer and assessing that answer. A quality component could inspect the source together with the proposed translation and return localized warnings or a sentence-level estimate. The attraction is practical separation of responsibilities. A translation can remain available to the user while an accompanying assessment explains where correction may be needed. OpenKiwi supplies evidence that this separation is a productive research problem, although it does not validate a particular implementation in Rust.

Its output categories are especially relevant to transparency. Mova could expose a suspect target word, an insertion position, or a source expression that appears insufficiently represented. Those categories describe different failures and suggest different review actions. An interface that only colors existing words would have difficulty representing an omission cleanly. An interface that only displays a global confidence value would conceal the location of the concern. Borrowing the paper’s distinction would let Mova present more precise feedback without claiming that every warning is correct.

The simpler architectures also offer a useful starting point for inspection. QUETCH bases each decision on a fixed local context and aligned source material. That restricted evidence makes its input easier to describe than the full context available to the more elaborate systems. Mova could investigate such a baseline before adding broader context or auxiliary training. This would be an experiment in balancing transparency and predictive strength, not a claim that the paper demonstrates an interpretability advantage. The benchmark instead shows that the simplest system is weaker than the stronger combinations.

The framework design transfers more directly than its software. OpenKiwi’s implementation depends on Python and PyTorch; Mova’s Rust setting would require its own engineering choices. What can carry over is a shared contract for data fields, vocabularies, batches, prediction outputs, and evaluation. Keeping those contracts stable would allow a transparent rule-based component, a learned classifier, and a combination layer to be compared on the same examples. Configuration records could make changes inspectable without requiring identical implementation technology.

Correction-derived labels offer another possible experiment. If Mova had suitable original outputs and human corrections, it could derive targets from the changes between them. That would connect quality assessment to actual editing behavior. Automatically proposed corrections could later expand the experiment, but their labels would need to remain distinguishable from human-derived labels. OpenKiwi’s automatic post-editing route shows how such a connection can be constructed; it does not show that synthetic corrections are universally reliable.

Finally, Mova could borrow the paper’s discipline about scope. A useful system should say whether a signal concerns a word, an insertion site, a source omission, or predicted editing effort. It should also distinguish a score learned from correction data from a guarantee of semantic correctness. For a transparent language system, making those boundaries visible would be as important as adopting any particular architecture.

The problem and its context

Assessing a translation without a reference

Many translation evaluations compare a candidate translation with an independently supplied reference. Quality estimation removes that reference from the prediction setting. The system receives the source and its machine-produced translation, then attempts to infer how good the translation is. This matters in the situations the authors describe: informing readers about reliability, deciding whether text needs human revision, and identifying the parts an editor should inspect.

These uses place different demands on an assessment. A publication decision may need a sentence-level signal. An editor benefits from specific locations. A reader may want to know whether an apparently fluent passage deserves caution. The paper places these applications under a common problem while preserving distinct prediction targets. That choice matters because usefulness depends on matching the output to the decision being supported.

Reference-free prediction should not be confused with training without corrections. The evaluation setting withholds a reference from the system when it makes a prediction. The supervised training data can nevertheless contain human post-edits, and those corrections are central to the benchmark. They provide the evidence from which quality labels and editing scores are derived. OpenKiwi learns from corrected examples so that it can assess later translations whose corrections are unavailable.

The task also differs from correcting a translation directly. A quality-estimation system can flag a problem without producing a replacement. Conversely, a correction system may generate an alternative without explicitly estimating the original’s quality. The paper uses both perspectives, including a route that turns automatic corrections into quality predictions, but it does not collapse them into the same operation.

Why several kinds of labels are needed

For translated words, the task assigns OK or BAD labels. A BAD target label marks a word that should be removed or changed. This is a natural representation for visible errors: the problematic item already exists and can receive a label. It is less suitable for missing material, because an absent word has no token to mark.

Gap labels solve that representational problem. They attach a decision to an insertion position rather than to an existing word. If something needs adding, the relevant gap can be marked BAD. This makes omissions expressible within a sequence-labeling task. The distinction is not merely presentational: target-word and gap predictions answer different questions and are evaluated separately.

Source labels provide a further perspective. They identify source words whose content has been omitted or rendered incorrectly in the translation. Looking from the source side can expose a failure that is hard to describe only through the target. A fluent target phrase may still fail to represent an important source expression. Keeping source predictions separate therefore preserves information about coverage of the original content.

Sentence-level quality estimation compresses the assessment into an overall prediction. The paper mentions human editing time as one possible target and focuses experimentally on HTER, a measure based on the edits needed to obtain a post-edited translation. A sentence score is easier to use for ranking or triage, but it does not itself locate the errors. Word-level and sentence-level outputs serve related purposes without being interchangeable.

Earlier approaches and the reproducibility gap

The authors describe several strands of earlier progress. Some strong word-level systems combined linear and neural methods. Others used automatic post-editing as an intermediate operation. Specialized neural designs offered another route. For sentence-level prediction, successful approaches either converted word-level predictions into a sentence assessment or learned multiple quality tasks together.

OpenKiwi incorporates these strands instead of proposing that one should replace all the others. The Predictor-Estimator approach contributes a separation between learning to predict translation tokens and learning to judge them. Earlier combination systems contribute the idea of using heterogeneous predictions inside a final classifier. Automatic post-editing contributes a way to derive assessment from proposed corrections.

Software availability had not eliminated the difficulty of reproducing leading results. The paper names existing toolkits, including QuEst++, as useful resources whose performance nevertheless trailed the recent leaders. The stated obstacles concern elaborate combinations, complicated architectures, and insufficiently documented preparation or adaptation of components.

The central response is organizational as much as architectural. Rather than making every researcher rebuild an entire successful submission, OpenKiwi offers shared implementations and common experimental infrastructure. Its connection to evaluation and benchmarks is therefore unusually direct: the software is designed to bring established competitive systems into an environment where comparisons and modifications are easier to conduct.

That framing sets the appropriate expectation for the paper. It is a system demonstration supported by benchmark experiments, not a complete theoretical account of translation errors. Its scientific value lies in assembling testable implementations, documenting their training resources, and showing that the shared framework retains competitive performance.

The method, step by step

The method is easiest to understand as a shared processing pipeline with several interchangeable prediction systems. Data enter through common representations. Training follows a common loop. Different architectures learn different ways to connect the source, the translation, and quality labels. Their predictions can then be used directly or combined.

From translation examples to quality predictions

The steps in order.

From translation examples to quality predictionsStep 1: Read source, translation, and quality labels1. Read source, translation, and quality labelsStep 2: Build vocabularies and padded batches2. Build vocabularies and padded batchesStep 3: Prepare predictors with relevant auxiliary data3. Prepare predictors with relevant auxiliary dataStep 4: Train quality estimation components4. Train quality estimation componentsStep 5: Save development predictions as probabilities5. Save development predictions as probabilitiesStep 6: Average outputs or learn stacked decisions6. Average outputs or learn stacked decisionsStep 7: Predict labels and sentence quality7. Predict labels and sentence quality

The auxiliary-data stage applies to the components that use it, rather than to every architecture. QUETCH and NuQE rely on the shared-task material alone. Predictor-Estimator and automatic post-editing have additional training stages. This resource distinction needs to remain visible when comparing their results.

Establish the training targets

Each benchmark example contains an original sentence, a machine translation, and a human post-edit. The post-edit expresses how the translation was corrected. The benchmark uses TERCOM to derive word-level labels and sentence-level scores from these corrections.

This makes the supervision operational. A target word becomes problematic because the correction process indicates replacement or deletion. An insertion requirement becomes a problematic gap. Source labels describe omitted or mistranslated source content. The labels are tied to a particular corrected output and the procedure used to compare it with the machine translation.

HTER expresses editing work relative to the length of the post-edit. The paper illustrates the measure with a sentence whose correction requires 4 insertions, 1 deletion, and 3 replacements, with 12 words in the post-edited result. Its numerical illustration is:

8/12 = 66.7%

The numerator, 8, is the number of editing operations in that example. The denominator, 12, is the post-edit length in words. The slash denotes division, the equals sign states the reported equivalence, and 66.7% is the resulting HTER value given by the paper.

The normalization matters because the raw number of edits does not account for sentence length. The example also makes clear why gap labels are necessary: insertions contribute to editing effort even though the missing words were absent from the original translation. Existing-word labels alone cannot represent that part of the correction process.

The paper does not present a fuller set of mathematical training equations. Its account specifies architectures, inputs, prediction targets, and training stages in prose. Explaining the method precisely therefore requires keeping those interfaces clear instead of supplying additional objectives that the authors do not give.

Represent data consistently

OpenKiwi associates each input type with a Field. A Field specifies how text is segmented, how its vocabulary is constructed, how items become numerical identifiers, and how examples of different lengths are padded for computation. These operations sit below the architecture, but they determine what the architecture actually receives.

The link to tokenization is particularly important for word-level tasks. A predicted label must correspond to the intended text unit. If different implementations disagree about segmentation or sequence boundaries, their outputs may no longer be directly comparable even when they use similarly named architectures.

A Dataset groups the input and output Fields and forms minibatches containing their corresponding examples. The training loop then repeatedly processes those batches, calculates a loss, propagates learning signals backward, evaluates on validation data, and saves snapshots when requested. These repeated operations are shared infrastructure rather than responsibilities that each new architecture must reimplement.

By default, the framework retains the best selected system and stores validation predictions as probabilities. Those probabilities are useful beyond evaluation: they can become inputs to averaging or stacking. Saving them also preserves more information than saving only final OK or BAD decisions, because downstream combinations can use the strength of each component’s preference.

The design aims to make most experiments changes to configuration or to a PyTorch component class. New options can be exposed through argument parsing. The intended benefit is focused experimentation: a researcher can alter a prediction architecture while continuing to use the same surrounding data and training machinery.

Begin with local evidence: QUETCH

QUETCH provides the simplest architecture described in the framework. It maps words to dense vectors through a lookup layer and uses a multilayer perceptron with a hidden layer. A tanh nonlinearity transforms the hidden representation before the final quality decision.

For a position in the translation, the input includes a fixed-size neighborhood around that position. It also includes a window-based representation of aligned source words. These pieces are concatenated, so the classifier receives both nearby target wording and source-side evidence associated with that location.

The dense vectors are word embeddings: learned numerical representations that make words usable as inputs to the classifier. Concatenation preserves the separate pieces by placing them into one larger input representation. The final softmax assigns probabilities to the alternative quality labels.

The local window is a meaningful constraint. A decision can use information available inside that window and its aligned source representation, but the architecture does not acquire the broader recurrent context described for the more elaborate systems. This makes QUETCH a useful baseline for testing how much can be achieved from local aligned evidence.

Separate training runs produce source, gap, and target labels. The paper emphasizes that QUETCH needs no auxiliary training corpus beyond the shared-task data. Its alignments come from the shared-task organizers, who generated them with fast align. Therefore, even the simplest approach uses an externally supplied correspondence between source and target words, while remaining independent of the additional parallel and artificial corpora used elsewhere.

Add recurrent context: NuQE

NuQE begins with a related input idea: embeddings for target words are combined with embeddings for their aligned source words. Its processing then becomes more elaborate. The authors describe consecutive groups of feed-forward layers together with bidirectional GRU processing, followed by a softmax quality decision.

A recurrent layer processes a sequence while carrying information across positions. Bidirectional processing lets the representation at a location depend on material encountered from either direction. For quality estimation, that supplies context beyond an isolated local decision. The architecture can therefore relate a word’s assessment to a broader surrounding sequence.

The paper’s description is brief and does not justify every layer choice separately. What matters for the comparison is that NuQE extends the simple aligned-input design with more expressive contextual processing while retaining the same broad supervision setting. Like QUETCH, it is trained independently for the source, gap, and target tasks.

NuQE also avoids the auxiliary parallel and round-trip resources used by other components. The authors describe it as a black-box approach in the sense that its training uses only the shared-task data. This is a resource statement rather than an assertion that the system’s decisions are interpretable.

That distinction helps explain its later role as a baseline. A system requiring only the task data is easier to deploy as a common starting point than one whose reproduction also depends on substantial auxiliary preparation. The paper reports the adoption, although it does not experimentally compare ease of use across baseline choices.

Learn translation expectations: Predictor-Estimator

Predictor-Estimator separates representation learning from quality classification. The predictor learns to reconstruct target tokens from the source sentence together with the target context on either side. The estimator then uses features from that predictor to assign quality labels.

The source is encoded by a bidirectional LSTM. On the target side, separate LSTMs process the sentence in opposing directions. For each target position, the representations of the surrounding left and right contexts are joined and used to query an attention mechanism over the source representation. A final softmax predicts the target token.

The important distinction is between the token being predicted and the context used to predict it. A predictor that relies on the surrounding target and source can learn expectations about what belongs at the position. Those expectations provide potentially useful evidence when the later task is to judge whether the observed token is appropriate.

The predictor is trained using the large parallel resource supplied for the shared task. It therefore learns from many paired source and target sentences before the quality estimator is trained on correction-derived labels. This is the paper’s concrete use of language models and pretraining: related prediction behavior supplies representations for a narrower assessment task.

The estimator receives more than a final token probability. For each target token, it uses the representation immediately before the predictor’s softmax, obtained before processing that token, together with hidden states from the opposing target-side LSTMs after the token has been processed. These features offer different views: contextual expectation and a representation that incorporates the observed item.

The distinction between before and after processing is easy to lose in a high-level description, but it is central to the specified interface. The estimator is not simply asked to threshold a translation probability. It receives intermediate features that can support a learned quality decision.

OpenKiwi also trains this architecture with a sentence-level HTER objective alongside the word-level tasks. This is multitask learning: related output requirements share an underlying architecture instead of being treated entirely separately. The paper reports the capability, but it does not isolate the benefit of the sentence objective in a dedicated comparison.

Source-word prediction requires an additional directional change. The authors train a predictor in the reverse translation direction to produce source labels. This avoids pretending that a target-oriented representation automatically provides the appropriate source-side judgment. The architecture is adapted to the side on which labels must be produced.

Obtain another signal through automatic post-editing

The benchmark includes APE-QE, an automatic post-editing route used as a component in the comparisons and combinations. This is not a sequence-generation implementation supplied by OpenKiwi itself. The authors use external software, OpenNMT, specifically its Python implementation, for that training.

The basic move is to generate a proposed post-edit and treat it as an intermediate object. Comparing the proposed correction with the original translation produces word labels and sentence scores through the same procedure used to obtain the benchmark’s human-derived targets.

The generated correction does not become a human reference. It is a prediction whose changes induce another prediction about quality. This additional uncertainty is essential to understanding the approach. Its usefulness must be judged by downstream quality-estimation performance, which the development comparisons provide.

The authors train a source-to-post-edit system using the in-domain parallel material before adapting it to the shared-task examples. They also train a machine-translation-to-post-edit system on artificial triplets mixed with the shared-task material. In the latter mixture, the shared-task data are oversampled by a factor of 20.

These routes exploit different inputs to propose corrected text. Their inclusion expands the sources of evidence available for quality estimation, but it also means that the full experimental setup reaches beyond the architectures implemented directly in the framework.

Prepare the auxiliary resources

The artificial corpus contains 526,368 sentence triplets. Its construction begins with cross-entropy filtering to select in-domain sentences from a larger monolingual collection. Round-trip translation then creates related sentence material, and stratified sampling supplies the final selected corpus.

The sequence of operations has distinct purposes. Filtering addresses relevance to the intended domain. Translation creates artificial relationships among sentences. Sampling determines which resulting examples enter the resource. The paper names these stages but does not provide an ablation showing the independent value of each.

A separate resource contains 3,396,364 in-domain parallel sentences and supports the predictor’s preliminary training. Keeping this resource distinct from the artificial triplets matters. They differ in construction and use: one supplies parallel prediction training, while the artificial triplets contribute to the post-editing experiment.

Neither resource should be silently folded into the small human post-edit dataset when describing training scale. The systems have different information budgets. Reporting those budgets is necessary to understand both their performance and the effort needed to reproduce them.

Combine predictions in different ways

The averaged combination uses outputs from NuQE, Predictor-Estimator, and APE-QE. The principle is that components with different training routes and architectures may make complementary predictions. Averaging uses their probability outputs without adding a feature-rich final classifier.

Stacking makes the combination itself a supervised prediction problem. Component outputs become features for a linear system, alongside explicitly constructed linguistic features. The paper includes lexical information, part-of-speech tags, surrounding and aligned words, syntactic information, and features from a language model supplied with the shared-task resources.

The stacked implementation is used only for translated-word labels. It is therefore not a general replacement for averaging across every reported output. This restriction explains why the final OpenKiwi test entry is assembled from different selected configurations rather than produced by one universal combination.

The paper does not give the detailed data-partition procedure for learning the stacker or a mathematical specification of its full feature map. Its account supports the architectural distinction and the observed comparison, while leaving some replication details to the implementation and cited earlier work.

Make experiments repeatable

Configuration files hold training and architecture options. The same framework can run as a package inside another project or through its command-line interface. These are alternative access paths to the shared functionality, rather than separate experimental methods.

The authors use Poetry to stabilize dependency management. They report automated checks covering close to 80% of the code and offer optional MLflow integration for recording and comparing runs. OpenKiwi is released under the Affero GPL.

These engineering choices support reproducibility at different levels: software dependencies, protection against regressions, and records of experimental choices. They do not establish that every training run will yield identical scores or that every scientific comparison is fully controlled. Their value is to reduce avoidable variation and make the remaining choices easier to inspect.

Experiments and results

Data and evaluation conditions

The benchmark uses the English–German datasets from the WMT 2018 quality-estimation task. The SMT portion has 26,273 training triplets and 1,000 development triplets. The NMT portion has 13,442 training triplets and 1,000 development triplets. A triplet contains the source, the machine translation, and a human post-edit.

SMT and NMT designate how the translations were generated. The former uses phrase-based statistical translation; the latter uses neural translation. The comparison therefore spans different sources of translation output while remaining within the same language direction. It is not a multilingual evaluation.

The development experiments compare individual systems and combinations. The official test comparison then uses configurations selected according to development performance. For translated-word labels, OpenKiwi submits the stacked predictions. For the other outputs, it uses the averaged combination.

This selection policy is important when interpreting the final entry. “OpenKiwi” in the test results names a framework-supported selection of predictors, not an assertion that the same architecture generated every column. Its reported strength concerns the resulting task-specific system.

What the metrics capture

The word-level metric is F1-mult, reported separately for MT words, gaps, and source words. These are separate evaluations because they attach decisions to different sequences or positions. A strong result for one label type does not imply the same ordering for another.

The sentence metrics are Pearson’s r and Spearman’s ρ. Pearson’s r assesses association between predicted and observed sentence scores, while Spearman’s ρ concerns their ordering. Both are reported in the paper’s numerical scale. Higher values indicate stronger agreement for these comparisons.

These correlations should not be read as word-label accuracy or as direct measurements of editing time saved. The sentence target is HTER, and the reported statistics compare predictions with that target. Likewise, a word-level F1-mult score does not directly state how many corrections a human editor can avoid.

The paper reports development and test results separately. That distinction provides a basic guard against interpreting the best development setting as if it had already demonstrated the same behavior on unseen evaluation material.

Development results for translated words

On SMT development data, QUETCH is the weakest of the individual systems for translated-word labels. NuQE performs better, while Predictor-Estimator leads the individual approaches. APE-QE supplies a useful but different signal. Both combinations outperform the individual entries, and stacking achieves the strongest MT-word result.

WMT 2018 En-De SMT development, MT-word F1-mult

Combining predictions improves translated-word tagging, with stacking strongest.

WMT 2018 En-De SMT development, MT-word F1-multQUETCH: 39.90QUETCH39.90NuQE: 50.04NuQE50.04Predictor-Estimator: 57.29Predictor-Estimator57.29APE-QE: 55.12APE-QE55.12Averaged combination: 61.33Averaged combination61.33Stacked combination (this paper): 62.40Stacked combination (this paper)62.40
The numbers
System or settingF1-mult
QUETCH39.90
NuQE50.04
Predictor-Estimator57.29
APE-QE55.12
Averaged combination61.33
Stacked combination (this paper)62.40

The corresponding NMT development comparison follows the same broad ordering for the strongest approaches. Predictor-Estimator reaches 39.25 for MT-word F1-mult, while APE-QE obtains 37.60. Averaging reaches 43.04, and stacking reaches 43.88.

This agreement across the development datasets supports the authors’ choice of stacking for translated-word labels. It does not, by itself, identify which additional stacking features are responsible. The final classifier changes both the combination mechanism and the evidence available to it.

The weaker individual approaches remain informative. QUETCH and NuQE do not use the auxiliary training corpora, so the development ranking compares resource settings as well as architecture choices. Their lower scores cannot be attributed solely to the absence of a particular neural component.

Gap and source predictions reveal complementary strengths

The development results do not support choosing Predictor-Estimator for every output. On SMT gaps, APE-QE reaches 47.04, compared with Predictor-Estimator’s 43.68. For SMT source labels, APE-QE reaches 51.11, whereas Predictor-Estimator obtains 33.02.

The averaged SMT combination reaches 53.05 on gaps. On source labels, its reported value is 51.11, matching APE-QE’s entry. The combination therefore has different effects across targets: it improves one of these reported metrics while equaling the strongest individual source result.

The NMT development data show the same need to inspect each output. APE-QE records 21.78 for gaps and 34.46 for source labels. Predictor-Estimator records 21.54 and 29.52 respectively. Averaging yields 24.74 for gaps and 34.46 for source labels.

These comparisons explain why post-editing remains useful even though it is not the strongest individual system for translated-word tags. A component can contribute a valuable error perspective without leading the most prominent metric. Looking only at MT-word scores would obscure that role.

Sentence-level development performance

Predictor-Estimator is the strongest individual sentence predictor in the development results. For SMT, it reaches Pearson’s r of 70.95 and Spearman’s ρ of 74.49. The averaged combination reaches 72.89 and 76.37 on those respective metrics.

For NMT, Predictor-Estimator obtains Pearson’s r of 50.18 and Spearman’s ρ of 55.66. Averaging records 52.34 and 56.98. Again, combining the available signals improves the reported development correlations.

APE-QE’s comparative strength is output-dependent. Its usefulness for source and gap labels does not translate into leading sentence correlations. This reinforces the practical value of evaluating several targets instead of selecting a component on a single headline result.

The paper does not report a stacked sentence predictor. The strongest translated-word combination should therefore not be generalized into a claim about the best way to combine sentence estimates.

Test-set translated-word results

The official test comparison includes deepQUEST, UNQE, and QE Brain where their results are available. OpenKiwi exceeds the reported QE Brain MT-word score on the SMT data and also exceeds deepQUEST.

WMT 2018 En-De SMT test, MT-word F1-mult

The selected OpenKiwi system leads the reported translated-word comparison.

WMT 2018 En-De SMT test, MT-word F1-multdeepQUEST: 42.98deepQUEST42.98QE Brain: 62.46QE Brain62.46OpenKiwi (this paper): 62.70OpenKiwi (this paper)62.70
The numbers
System or settingF1-mult
deepQUEST42.98
QE Brain62.46
OpenKiwi (this paper)62.70

On the NMT test set, OpenKiwi obtains MT-word F1-mult of 44.77. QE Brain records 43.61, while deepQUEST records 30.31. These results support the paper’s central performance claim for translated-word tagging across the evaluated translation types.

The available comparison is not uniform across all systems and outputs. Missing entries in the table are not poor scores; they are unreported results. OpenKiwi’s position must be described against the entries actually supplied.

The paper does not attach uncertainty estimates or significance tests to these comparisons. The ordering is clear in the reported values, but the evidence does not establish how stable every neighboring ranking would be under repeated training or another sample of evaluation data.

Test-set gaps and source words

For SMT gap labels, OpenKiwi reports F1-mult of 52.14. QE Brain’s available result is 49.99, and deepQUEST’s is 28.24. For SMT source labels, OpenKiwi records 48.88, compared with deepQUEST’s 33.97; the other comparison entries are absent.

On NMT gaps, OpenKiwi reaches 22.89 against deepQUEST’s 11.93. On NMT source labels, it reaches 36.53 against deepQUEST’s 28.59. These comparisons underpin the authors’ statement that their framework achieves the strongest reported word-level results.

The qualification “reported” matters most where fewer competitors supply a value. A leading source-label result against the available baseline is evidence of improvement in that comparison, not proof that every possible competing system would perform worse.

Together, the results also show why quality estimation should not be reduced to target-word tagging. OpenKiwi’s output coverage includes insertion requirements and source-side failures, with benchmark evidence attached to each rather than only an interface demonstration.

Test-set sentence quality

Sentence-level evaluation produces a more qualified conclusion. On SMT, OpenKiwi is stronger than deepQUEST and UNQE in Pearson’s r, but QE Brain remains ahead.

WMT 2018 En-De SMT test, sentence-level Pearson r

OpenKiwi is competitive on sentence quality, while QE Brain remains strongest.

WMT 2018 En-De SMT test, sentence-level Pearson rdeepQUEST: 48.72deepQUEST48.72UNQE: 70.00UNQE70.00OpenKiwi: 71.08OpenKiwi71.08QE Brain (this paper): 73.97QE Brain (this paper)73.97
The numbers
System or settingPearson r
deepQUEST48.72
UNQE70.00
OpenKiwi71.08
QE Brain (this paper)73.97

For the same SMT sentence task, OpenKiwi’s Spearman’s ρ is 72.70. UNQE reports 72.44, QE Brain reports 75.43, and deepQUEST reports 50.97. The rank-based comparison therefore supports the same broad interpretation: competitive performance without the leading result.

On NMT, OpenKiwi records Pearson’s r of 46.72 and Spearman’s ρ of 58.51. UNQE records 51.29 and 60.52, while QE Brain records 50.12 and 60.49. OpenKiwi surpasses deepQUEST’s corresponding values of 38.08 and 48.00, but trails the stronger sentence-level competitors.

The paper’s distinction between leading word-level performance and near-leading sentence performance is therefore supported by the actual comparison. The framework improves the open baseline across the reported tasks while leaving a clear sentence-level gap to stronger submitted systems.

What the ablations show

The paper contains no dedicated component-removal ablation; its explanatory evidence comes from comparisons among complete systems, training-resource regimes, output types, and combination strategies.

More context helps, but the comparison changes architecture

QUETCH and NuQE offer the closest comparison between systems trained without auxiliary parallel or artificial corpora. NuQE improves on QUETCH across the reported development outputs. This supports the practical value of its richer contextual architecture within the shared-task-only setting.

It does not isolate recurrence as the sole cause. The architectures differ in their overall processing, not merely in the presence of a recurrent layer. A controlled claim about one specific design choice would require holding the other choices fixed. The paper instead establishes that the implemented NuQE package is a stronger baseline than the implemented QUETCH package on these data.

This distinction is useful for readers planning a reproduction. Reproducing the ordering is an appropriate target. Claiming that the comparison proves a general law about local windows and recurrent context would exceed the experiment.

Pretraining is associated with a stronger individual system

Predictor-Estimator leads the individual development entries for translated words and sentence correlations. Its architecture and auxiliary parallel training provide a coherent explanation of why it might offer useful quality features: it learns contextual translation expectations before learning the quality labels.

However, the paper does not compare that architecture with and without its preliminary training. Nor does it hold training resources fixed while substituting architectures. The evidence therefore supports the combined recipe, not an independent estimate of the contribution from pretraining.

The same caution applies to multitask learning. Sentence prediction is included in the architecture, but no reported comparison removes that objective while preserving everything else. Its presence is a methodological fact; its isolated performance contribution remains unmeasured here.

Different outputs expose different expertise

APE-QE’s development results are the clearest analysis of complementarity. Its relative strength on source and gap labels differs from Predictor-Estimator’s strength on translated words and sentence correlations. The components are useful in different ways.

That observation supports trying a combination instead of discarding every component that fails to lead the MT-word metric. It also suggests an evaluation habit: inspect the output category that corresponds to the application’s actual need. An insertion-warning tool and a sentence-ranking tool may prefer different evidence.

The comparison does not explain every source of APE-QE’s behavior. It could reflect its correction-based output, its training material, its architecture, or interactions among them. The paper measures the resulting strengths without separating those causes.

Averaging and stacking answer a practical question

Both combination strategies improve translated-word development performance relative to the individual systems, and stacking leads averaging on that output for SMT and NMT. This is a useful practical result: a learned final classifier can make better use of the available evidence than a direct average in the tested setting.

Yet the stacker also receives explicit linguistic features. The comparison is therefore not a clean test of learned weights against fixed weights. It changes the input representation as well as the decision rule. A feature-removal study would be needed to determine which part matters most.

The evidence for averaging is broader across output types because the stacked system is restricted to translated words. This explains the final division of responsibilities without implying that stacking would fail elsewhere. Those other stacked variants simply are not evaluated.

Synthetic-data choices remain untested individually

The artificial corpus construction and the factor of 20 used to oversample shared-task examples are concrete replication details. They are not experimentally varied in the paper. No comparison establishes whether that factor is preferable to other mixing choices or how much the filtering and sampling stages contribute.

The responsible lesson is procedural: these choices belong in a reproducible specification and are sensible candidates for future controlled experiments. They should not be presented as independently validated optimizations merely because the complete system performs well.

Limitations

What the authors explicitly delimit

The authors position OpenKiwi as a quality-estimation framework rather than a general sequence-generation toolkit. Automatic post-editing is therefore trained externally. This boundary is explicit and consequential: reproducing the full benchmark combination involves software and training beyond the framework’s directly implemented QE architectures.

The paper also describes the stacked linear system as producing MT-word labels only. Its benefits are demonstrated for that output. Source, gap, and sentence predictions use other configurations, so the strongest final results do not come from a single all-purpose stacker.

The authors’ performance characterization distinguishes word-level leadership from sentence-level competitiveness. The test results support that distinction. OpenKiwi does not consistently surpass the strongest sentence-quality competitors, especially on the NMT dataset.

The paper does not offer an extensive separate discussion of limitations. Many further boundaries have to be inferred from the experimental design rather than attributed to explicit author warnings.

What a careful reader should infer about coverage

The evaluation is English–German and uses the WMT 2018 SMT and NMT datasets. This demonstrates performance across translation-generation types within that setting. It does not establish performance across unrelated language pairs, writing systems, domains, or different correction practices.

The existence of a framework that can train on new data should be separated from evidence that the published settings transfer unchanged. Software generality is a capability. Cross-language or cross-domain accuracy requires additional experiments.

The tasks are sentence-level and word-level in the benchmark. The reported adoption by document-level winners is evidence that later systems used the framework as a foundation; it does not mean the paper itself evaluates document-level quality estimation. Adoption and demonstrated task coverage are different kinds of evidence.

Similarly, the authors mention practical uses such as deciding whether text requires editing and highlighting errors. The experiments measure predictive agreement with benchmark labels and scores. They do not measure publication decisions, editor productivity, or the effects of the warnings on end users.

Correction-derived targets have a specific meaning

The labels come from post-edits and the procedure that converts edits into targets. They therefore represent quality through a particular correction process. A sentence-level HTER prediction estimates the editing measure used in this dataset; it is not a complete account of usefulness, fidelity, style, or reader comprehension.

The word labels also express a restricted vocabulary of judgment. OK and BAD are useful for locating potential problems but do not explain the linguistic reason for an error. A BAD decision does not tell a user whether the issue concerns meaning, form, or some other aspect unless additional information is supplied.

Gap predictions identify insertion needs without generating the missing text. Source predictions identify problematic coverage without necessarily proposing a repair. These are useful outputs, but their practical interpretation should match what they actually predict.

The automatic post-editing route adds another layer of uncertainty. A proposed correction can be wrong or unnecessary, and the labels induced from it can inherit those mistakes. The benchmark evaluates whether this route is useful overall; it does not make every generated edit trustworthy.

Architecture comparisons also compare resources

The individual systems do not all receive the same training information. QUETCH and NuQE use shared-task data, while Predictor-Estimator draws on a large parallel resource and APE-QE uses additional preparation involving artificial examples. Their scores combine architecture effects with resource effects.

This does not invalidate the benchmark. A framework comparison can legitimately ask what performance a complete recipe achieves. It does limit causal interpretation. The results cannot identify how much of a gain comes from architecture, auxiliary data, training order, or their interaction.

The synthetic-data procedure is described at a useful high level, but the paper does not explore alternative filtering, sampling, or oversampling choices. The full recipe is therefore better supported than any claim that each setting is necessary or optimal.

Reproducibility support is substantial but incomplete

Configuration files, dependency management, code checks, and experiment tracking reduce several common sources of difficulty. They do not replace documentation of all data preparation and training decisions. The paper’s compact architecture descriptions necessarily leave details to code and earlier publications.

The reported code coverage concerns software checks, not a measurement of scientific reproducibility. It does not show how many independent users reproduced the scores or how sensitive those scores are to training variation. Similarly, optional tracking makes records possible without demonstrating that every relevant run was recorded.

The results lack reported uncertainty intervals, repeated-run summaries, and significance testing. Close rankings should therefore be interpreted as the observed benchmark ordering. The paper supplies no basis for estimating the probability that every such ordering would persist.

The benchmark also provides no measured account of training cost, inference latency, memory use, or the operational cost of ensembles. A simpler system may be attractive under deployment constraints even if its score is weaker. OpenKiwi enables such comparisons, but this paper does not conduct them.

Missing results narrow some comparisons

The test table contains unavailable entries for some competitors and outputs. The authors can compare against the reported values, but cannot establish performance against absent ones. This is especially relevant when describing a lead across all word-level categories.

The final system also uses development-selected configurations. That is an appropriate experimental procedure, yet it means the headline entry bundles several choices. A reader should not attribute every test result to Predictor-Estimator, stacking, or any other single component.

The most defensible conclusion is therefore specific: the selected OpenKiwi recipes deliver strong results on the evaluated benchmark, improve on the available open comparison, and make established approaches available within common infrastructure.

What came after

The directly documented continuation

The clearest continuation is already recorded by the OpenKiwi authors. NuQE became the baseline for the WMT 2019 quality-estimation shared task, and winning systems at word, sentence, and document levels used OpenKiwi as their starting framework. This is a concrete form of influence: the contribution became shared experimental infrastructure rather than remaining only a published implementation.

The later WMT 2019 quality-estimation findings belongs to that immediate shared-task context and cites OpenKiwi. The framework paper supplies the explicit adoption claim. The citation connects it with the broader record of the task, without requiring an assumption that every participant used the same architecture or training recipe.

This distinction matters when describing research lineage. A later system can inherit code organization, baseline behavior, or access to established components while changing the actual predictor substantially. “Built on OpenKiwi” establishes a foundation; it does not imply architectural identity.

Continued shared-task evaluation

The later citation record includes the WMT 2020 quality-estimation findings, the WMT 2021 quality-estimation findings, and the WMT 2022 quality-estimation findings. Their subjects place them in the continuing evaluation setting that motivated OpenKiwi.

These citations show that the framework remained relevant to subsequent discussion of shared-task quality estimation. They do not, by themselves, establish whether a particular later baseline retained NuQE, whether a winning system reused the stacker, or whether the auxiliary-data recipe remained unchanged. Those are separate technical questions.

The reusable idea visible across this connection is the value of a common experimental starting point. Shared tasks depend on comparisons that others can understand and rerun. OpenKiwi’s contribution addresses that need directly through implementations, configurations, and common output handling.

The WMT20 metrics findings and the WMT21 metrics findings also cite the framework. Their titles concern translation evaluation more broadly, with the latter emphasizing expert-based assessment in TED and news domains. The citation connection places OpenKiwi in that wider evaluation conversation, but does not establish a particular reuse of its code or experiments.

Later approaches to reference-free assessment

TransQuest identifies quality estimation with cross-lingual Transformers as its subject. It therefore occupies the same broad problem area while naming a different architectural direction. Its citation to OpenKiwi supports treating the framework as relevant prior work; it does not support assigning TransQuest any particular benchmark gain or implementation dependency here.

CometKiwi is a later quality-estimation shared-task submission that cites OpenKiwi. The connection is especially pertinent to the continuing task of assessing translations without supplied references. However, neither a shared task nor a related name is sufficient evidence that it retains OpenKiwi’s recurrent predictor, linear stacker, or training resources.

Are References Really Needed? is identified as a later metrics submission and also cites OpenKiwi. Its stated question is closely related to the framework’s motivation: what can translation assessment do without a reference? The available citation record supports that conceptual relationship, while leaving its methods and results unspecified.

UniTE concerns unified translation evaluation. Its citation shows another connection between OpenKiwi and the broader assessment field. It would be unwarranted to infer from that title alone which tasks are unified or how the framework’s components enter the approach.

For these works, the meaningful distinction is between a documented citation and a documented technical inheritance. OpenKiwi clearly supplies an earlier framework and benchmark contribution. Detailed claims about how later architectures transform its ideas require evidence beyond the citation itself.

Quality assessment beyond a standalone score

Quality-Aware Decoding names a connection between translation generation and quality. That is a different use context from simply attaching labels to an already completed translation. Its citation to OpenKiwi indicates relevance, but does not establish that the decoding method uses OpenKiwi predictions or any particular estimator from the framework.

The possible conceptual bridge is nevertheless clear: once quality can be estimated without a reference, assessment need not be confined to retrospective evaluation. It becomes reasonable to investigate whether quality information can inform other stages of a translation system. That is a research direction suggested by the relationship between the subjects, not a reported result of the OpenKiwi experiments.

Smarter edits? concerns post-editing with error highlights and translation suggestions. Its subject connects directly to a practical use the OpenKiwi authors identify: directing human attention towards material that may need correction. The later citation does not tell us whether such highlighting improved editing, how suggestions were generated, or whether OpenKiwi supplied them.

This application connection also reveals an unresolved boundary in the original paper. Predicting labels and displaying them is not equivalent to demonstrating that people edit faster or better. A later study of post-editing addresses a user-facing question that remains outside OpenKiwi’s benchmark evidence.

Data and neighboring concerns

MLQE-PE is identified as a multilingual dataset for quality estimation and post-editing. Its subject connects the two forms of supervision that OpenKiwi also brings together: judgments about translation quality and corrected translation text. The citation record supports that relationship without specifying dataset sizes, language coverage, or particular OpenKiwi experiments.

The multilingual emphasis is also a useful contrast with the original evaluation’s scope. OpenKiwi is designed to support training on new data, but its reported benchmark is English–German. A later dataset with a multilingual remit concerns a broader evaluation need; that observation does not establish how well the original settings transfer.

Finally, Membership Inference Attacks on Sequence-to-Sequence Systems cites OpenKiwi while addressing whether translation-system behavior can reveal training-data membership. This belongs to a neighboring concern instead of the quality-estimation task itself. The available information does not specify how OpenKiwi enters that investigation, so it cannot support a claim about either an attack capability or a defense.

Taken together, the later citations show several kinds of continued relevance: shared-task infrastructure, reference-free evaluation, connections to generation, correction-oriented applications, and translation research beyond quality scoring. The strongest established inheritance remains the one the authors explicitly document: OpenKiwi provided a baseline and a foundation on which later competitive systems were built.

 Institutions

Also on the byline: Universidade Federal do Pampa.

 Fields, topics and concepts

 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works

 Topics 1Research subjects and languages the work is about.Machine translation · 1,109 works

Appears in

Mentioned in articles aboutPortugal

Cite

Cite as Fabio Kepler, Jonay Trénous, Marcos Treviso, Miguel Vera and André F. T. Martins. 2019. OpenKiwi: An Open Source Framework for Quality Estimation. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics: System Demonstrations.

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

@inproceedings{kepler2019openkiwi,
  title = {{OpenKiwi: An Open Source Framework for Quality Estimation}},
  author = {Fabio Kepler, Jonay Trénous, Marcos Treviso, Miguel Vera and André F. T. Martins},
  booktitle = {Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics: System Demonstrations},
  year = {2019},
  doi = {10.18653/v1/p19-3020},
  url = {https://doi.org/10.18653/v1/p19-3020}
}

References

12 references, 4 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. Chris Dyer, Victor Chahuneau, and Noah A Smith. 2013. A simple, fast, and effective reparameterization of IBM model 2. In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 644–648. OpenAlex ↗ · Scholar ↗
  2. Lucia Specia, Frédéric Blain, Varvara Logacheva, Ramón Astudillo, and André F. T. Martins. 2018a. Findings of the wmt 2018 shared task on quality estimation. In Proceedings of the Third Conference on Machine Translation, Volume 2: Shared Task Papers, pages 702–722, Belgium, Brussels. Association for Computational Linguistics.
  3. Julia Ive, Frédéric Blain, and Lucia Specia. 2018. DeepQuest: a framework for neural-based Quality Estimation. In International Conference on Computational Linguistics (COLING). OpenAlex ↗ · Scholar ↗
  4. Lucia Specia, Gustavo Paetzold, and Carolina Scarton. 2015. Multi-level translation quality prediction with quest++. In ACL-IJCNLP 2015 System Demonstrations, pages 115–120, Beijing, China.
  5. Fábio Kepler, Jonay Trénous, Marcos Treviso, Miguel Vera, António Góis, M. Amin Farajian, António V. Lopes, and André F. T. Martins. 2019. Unbabel’s Participation in the WMT19 Translation Quality Estimation Shared Task. In Conference on Machine Translation (WMT). OpenAlex ↗ · Scholar ↗
  6. Lucia Specia, Carolina Scarton, and Gustavo Henrique Paetzold. 2018b. Quality estimation for machine translation. Synthesis Lectures on Human Language Technologies, 11(1):1–162. OpenAlex ↗ · Scholar ↗
  7. Hyun Kim, Jong-Hyeok Lee, and Seung-Hoon Na. 2017. Predictor-Estimator using Multilevel Task Learning with Stack Propagation for Neural Quality Estimation. In Conference on Machine Translation (WMT).
  8. Jiayi Wang, Kai Fan, Bo Li, Fengming Zhou, Boxing Chen, Yangbin Shi, and Luo Si. 2018. Alibaba Submission for WMT18 Quality Estimation Task. In Conference on Machine Translation (WMT). OpenAlex ↗ · Scholar ↗
  9. Guillaume Klein, Yoon Kim, Yuntian Deng, Jean Senellart, and Alexander M Rush. 2017. Opennmt: Open-source toolkit for neural machine translation. arXiv preprint arXiv:1701.02810.
  10. Julia Kreutzer, Shigehiko Schamoni, and Stefan Riezler. 2015. QUality Estimation from ScraTCH (QUETCH): Deep Learning for Word-level Translation Quality Estimation. In Workshop on Machine Translation (WMT). OpenAlex ↗ · Scholar ↗
  11. Varvara Logacheva, Chris Hokamp, and Lucia Specia. 2016. Marmot: A toolkit for translation quality estimation at the word level. In LREC. OpenAlex ↗ · Scholar ↗
  12. André F. T. Martins, Ramon Astudillo, Chris Hokamp, and Fábio Kepler. 2016. Unbabel’s Participation in the WMT16 Word-Level Translation Quality Estimation Shared Task. In Conference on Machine Translation (WMT). 7 http://www.statmt.org/wmt19/ qe-results.html OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/kepler-2019-openkiwi-open-source-framework-quality/