Elamur Research

Deeper Machine Translation and Evaluation for German

Paper · 2016 · Eleftherios Avramidis, Vivien Macketanz, Aljoscha Burchardt et al.

Summary

A translated helpdesk instruction has to tell the reader what to do. A verb rendered as a noun can obscure the action, and a stray hyphen can make a menu path harder to follow. In “Deeper Machine Translation and Evaluation for German,” the authors study these problems in English-to-German machine translation. They build a system that picks a complete sentence from several competing translations, then examine whether the chosen sentences handle the details that matter in technical support.

The candidates come from Moses, a phrase-based statistical engine, Lucy, a rule-based engine adapted to deal with menu paths, and a neural engine that uses attention and translates with units smaller than words. The selector compares candidates using evidence about sentence structure, punctuation, fluency, and agreement among the engines. It learns to rank translations from human judgments collected for general news. The authors evaluate it on the QTLeap helpdesk corpus, where readers ask computer questions and experts explain how to resolve them.

On Batch 2 of QTLeap, the neural engine leads with a BLEU score of 39.02. Moses scores 37.43, the selector 31.03, and the improved Lucy engine 27.53. A manual check gives a different view. A German linguist judges the handling of specific features in 657 source segments, containing 2105 instances across categories such as commands, compounds, menu separators, and technical terms. The reported overall manual accuracies are close, and the authors find no statistically significant difference at that level. The category results vary much more. Moses handles menu separators well but struggles with phrasal verbs. Lucy shows the reverse pattern before adaptation. The adaptation improves the treatment of separators, with a drop in accuracy for quotation marks.

The selector falls short of the best individual engine on BLEU and records the lowest overall manual accuracy in this experiment. Its results for imperatives and verbs are nonetheless statistically indistinguishable from the best in those categories under the paper’s criterion. The study shows what a source-driven evaluation can add to an aggregate score. Looking for particular demands in the English input and checking how each German translation meets them reveals both complementary strengths and the practical difficulty of choosing among the outputs.

Deep dive: Deeper Machine Translation and Evaluation for German

Deeper Machine Translation and Evaluation for German compares translation engines and shows which helpdesk errors their overall scores hide. · about 34 minutes to read

The problem and its context

A helpdesk translation must preserve the instruction

The project’s setting is a chat-based computer helpdesk. An English message may describe a problem, name a setting, or instruct the user to follow a sequence through an interface. The German output is intended for the person who needs to understand or carry out that instruction. The authors describe this as an outbound translation scenario without human intervention. An error that might be straightforward for a bilingual editor to repair can become part of the instruction the user sees.

This setting puts distinct demands on the same sentence. A useful translation needs to express an action in German and may need to preserve the visible boundaries of interface labels. A menu path is partly language and partly notation. Its labels have meanings, but the marks between them tell the reader how to navigate. Turning those marks and their neighboring words into parts of a German compound changes the representation of the path. A grammar rule that is useful elsewhere can therefore cause trouble on a string that happens to resemble ordinary prose.

Commands pose a different problem. An English form such as type can serve different grammatical roles. In an instruction, the German reader needs a verb that conveys what to enter or how to enter it. Choosing a related-looking German noun loses the instruction even if the rest of the sentence remains recognizable. The difficulty concerns the role of the word in its sentence and the structure that expresses that role in German. This is where the paper’s interest in syntax and grammar meets the practical demands of the helpdesk.

The authors start from the premise that the usual translation approaches available to them, particularly phrase-based statistical and rule-based translation, each leave too many problems for this use on their own. That premise motivates the architecture. An engine can be useful for some sentences while being a poor choice for others. The proposed way to exploit that variation is to retain several engines, inspect what each produces, and choose among them using information that goes beyond word overlap.

Why keep several engines?

Phrase-based statistical translation learns possible translations for stretches of text from bilingual examples. The information supplied by parallel material is valuable when a technical phrase appears in recognizable form. The engine also needs a way to judge the plausibility of the German sentence assembled from those pieces. The paper’s Moses baseline combines a bilingual translation table with scores learned from German text. Its preparation uses a treatment of capitalization associated with earlier work on German–English translation. Towards Better Machine Translation Quality for the German-English Language Pairs

Lucy represents a different approach. It analyzes the source structurally and applies transfer rules to arrive at a target structure. The authors include it because of its performance in earlier years and their development observations about complex German grammar. Its syntactic representation gives it a way to make a translation decision in terms of the role and arrangement of phrases. The same kind of structural analysis can misread an interface path as material that belongs together grammatically.

The paper extends an earlier architecture from the QTLeap project. The project investigates how shallow and deeper language processing can be combined for a concrete translation application. The earlier architecture gives the authors a place to put another engine without redesigning every part of the translator. The addition in this study is an attention-based neural translator. The authors cite the performance of neural translation in the contemporary WMT challenge as motivation to test what it can contribute to their helpdesk system. Findings of the 2016 Conference on Machine Translation

A sentence-level selector makes those approaches interoperable. Each engine can work with its own representation internally. The shared interface is a candidate translation of the same source sentence. The selector can look for structural evidence in the candidates even when the engine that produced a candidate did not use the same structure in generating it. The design consequently puts linguistic analysis in two places. Lucy uses it to build a translation, and the selector uses it to judge translations after they have been built.

This also establishes what the architecture can change. Once generation has finished, the decision is which complete output to return. If one engine gets a command right and another preserves the menu path in that same sentence, those successes are available in separate candidates. Sentence selection can take advantage of whichever candidate is preferable as a whole. It has no step for taking the verb from one version and the menu path from another. The distinction between candidate generation and candidate selection runs through both the method and the evaluation.

Why inspect the source as well as score the output?

The authors connect their evaluation to earlier work that brings language experts into the development process. An automatic score gives a quick comparison across a test set, but the questions raised by a technical translator frequently concern specific constructions. A developer wants to know whether interface notation survives, whether a command still reads as a command, or which kinds of words repeatedly cause difficulty. A sentence can resemble a reference closely and still fail on the particular feature under investigation.

Conversely, a candidate may express the right action in a German construction different from the one a reference translator used. A reference provides evidence of how the sentence can be translated. The source-driven procedure begins one step earlier. It locates something the source requires the translator to handle, then asks whether the output handles it acceptably. The German wording may vary while the underlying obligation stays the same.

The authors use a test suite to make that question manageable. They describe a broader collection of examples for studying linguistic phenomena in different contexts, from which they take inspiration for a helpdesk-specific investigation. Their use of phenomenon is practical. It covers grammatical constructions and meaning as well as formatting and style. A separator belongs in the investigation because its treatment changes how an instruction can be read, regardless of whether it would be classified as a grammatical phenomenon.

The division of labor between these forms of evaluation follows the paper’s development goal. Automatic scores compare complete outputs under a common reference-based criterion. A targeted check makes individual translation obligations visible and can follow them through revisions to the engines. These comparisons answer different questions even when they examine outputs derived from the same corpus.

The method, step by step

Generate competing translations

The system begins with an English sentence and produces independent German candidates. Moses uses bilingual phrase correspondences and German sequence scores. Lucy uses a structural analysis and transfer rules. The neural engine encodes the source, then builds a target sequence through repeated output decisions. Each candidate is available as a complete translation before the selection step starts.

The ranker has its own training procedure. It learns from pairs of translations whose relative quality was judged by people, and it uses the resulting comparisons to choose a candidate for a new sentence. Those people provide the training preferences in advance. At translation time, the individual sentence can be processed using the features computed from the source and the competing outputs.

How the hybrid system chooses a German translation

The steps in order.

How the hybrid system chooses a German translationStep 1: Take an English helpdesk sentence1. Take an English helpdesk sentenceStep 2: Generate independent German candidates2. Generate independent German candidatesStep 3: Measure structure, fluency, and candidate agreement3. Measure structure, fluency, and candidate agreementStep 4: Compare candidates in pairs4. Compare candidates in pairsStep 5: Weight comparisons by classifier confidence5. Weight comparisons by classifier confidenceStep 6: Return the highest-ranked candidate6. Return the highest-ranked candidate

Prepare and tune the Moses baseline

The authors train the phrase table on a combination of general and technical bilingual material. The technical collection includes text from Chromium browser and Drupal. It also includes LibreOffice help, LibreOffice interface text, and material from Ubuntu Saucy. These sources bring wording associated with software into the same training procedure as the general corpora. The general parallel data come from Commoncrawl, Europarl, MultiUN, and News Crawl.

Sentence length is filtered for phrase-table training. Sentences longer than 80 words are left out of that stage. The authors use the first 1000 sentences of QTLeap, designated Batch 1, for tuning with minimum error rate training, or MERT. In this setup, tuning adjusts the translation system on examples separate from those used for its final test. Batch 2, the second 1000 sentences, is held for the later evaluation of the baseline and hybrid outputs.

The system also uses German text by itself. One source of sequence probabilities is trained on target-side technical material and Europarl. It uses order 5, so the relevant units are sequences of up to that order, called n-grams. The authors train an additional German sequence scorer on news from 2007 to 2013. They interpolate the scores using the tuning data, which means the system can draw on the different sources when judging whether a German sequence is plausible. The paper reports using SRILM to train these components and KenLM to query them during translation. KenLM

Before training and decoding, the text goes through tokenization, which divides it into units the software can process. It also goes through truecasing, which helps handle capitalization consistently. The authors add regular expressions so that a URL stays intact during tokenization. They normalize punctuation to reduce variation in the typography of quotation marks. After translation, the system reverses the tokenization and truecasing so the result can be read as text. The baseline is built with Moses using its experiment management system, EMS.

These preparation steps matter for the objects the translator will encounter. A URL should survive as a recognizable unit. A quotation mark may arrive in a typographic form that differs from the forms most often seen in training. Handling such variation at the boundaries of the engine can change the text the translation procedure actually sees. With Lucy, the authors pursue a related intervention for interface labels, where grouping the right text before translation changes how the grammar treats it.

Keep menu paths out of Lucy’s compound formation

Lucy translates by moving from a source syntactic tree to a target syntactic tree through transfer rules. A tree represents the organization of the sentence into parts that can be analyzed together. The authors inspect Lucy’s development outputs and see a recurrent problem with paths containing the greater-than sign. Words on either side of the sign are sometimes combined into German compounds, and the resulting punctuation can obscure the boundary between interface items.

The authors identify likely labels by looking for stretches of title-cased text around the separators. Once those stretches have been identified, they translate the items apart from the surrounding sentence. They then give Lucy the pretranslated material in a form that tells the engine to preserve those chunks. The key decision happens before Lucy analyzes the surrounding prose. The menu item is already a unit, so it does not have to compete with adjacent words for a place in a compound.

There are different ways to obtain the translation inserted into a protected chunk. One version uses Lucy for the item itself. Another passes the identified item to the phrase-based baseline and returns its translation to the rule-based procedure. In each case, the authors retain the premise that a menu label should be handled separately and vary the engine that translates its content. The item boundary and the wording inside that boundary are distinct parts of the intervention.

The authors also test a separate use of Moses. Lucy can flag a word it does not recognize, and the authors try translating those flagged words individually with the statistical engine. This intervention is triggered by Lucy’s vocabulary handling, while menu preprocessing is triggered by source typography and separators. A word can be unknown outside a menu, and a recognized word can still be mishandled when it belongs to a menu path. Trying the two changes together therefore tests a configuration that can act in both situations.

Other experiments normalize punctuation, put quotation marks around detected labels, or remove some redundant wording in the English source. The authors explore combinations of changes. Their evaluation includes both the local question of whether a menu path is easier for the engine to handle and the broader question of what the modified translator does to the rest of the sentence. Since the phrase-based and rule-based engines can cooperate inside some of these variants, this work is a different form of combination from the ranker’s choice among finished sentences.

Encode the English sequence and decode German with attention

The neural engine treats translation as a task of converting one sequence into another. Its encoder reads the English input in both directions. At each input position, its recurrent processing produces a representation informed by context. Recurrence means that the processing at one step uses a state carried through the sequence. The gated recurrent units used here regulate how information from that state is retained and updated. The paper cites the earlier encoder–decoder work of Cho and colleagues for this type of unit. On the Properties of Neural Machine Translation

The final state of the backward encoder is projected to initialize the decoder. Projection here is a transformation that supplies the decoder with an initial representation derived from the encoded source. The decoder also uses gated recurrent units. It develops its own state as it generates German, and it can draw on the encoder’s representations again at each output step. This second connection to the source is the attention mechanism adopted from Bahdanau and colleagues. Neural Machine Translation by Jointly Learning to Align and Translate

The attention operation described in the paper can be written as a weighted sum:

cₜ = ∑ᵢ aₜᵢ hᵢ

Here cₜ is the attention vector used at target step t. The index i ranges over positions in the encoded source, and hᵢ is the encoder’s hidden state at position i. The quantity aₜᵢ is the weight given to that state when generating at step t. The summation combines the source states after weighting them, and juxtaposing aₜᵢ and hᵢ means multiplying the state vector by the weight. The attention vector is recalculated at each decoding step.

This gives the decoder two kinds of information when it produces an output unit. Its own state represents where it is in the German sequence. The attention vector supplies a view of the English input appropriate to that step. The relative emphasis on input positions can change as the output develops. The paper uses this mechanism as part of its translator. The manual evaluation later judges the resulting German words and constructions, without treating attention weights as judgments of correctness.

The authors use byte pair encoding for subword tokenization. In this representation, the decoder can produce parts that form a word even when the intact word is absent from a fixed whole-word vocabulary. The paper describes the preprocessing as removing out-of-vocabulary words from the corpus and allowing open-vocabulary decoding. The ability to represent a word is a property of the units available to the decoder. Selecting appropriate units in the right order is a separate translation decision. Neural Machine Translation of Rare Words with Subword Units

Training uses the same underlying data as the phrase-based baseline, with Batch 1 of QTLeap used for validation. The neural experiments limit sentence length to 50 tokens. The encoder hidden state has 300 units and the decoder state has 256 units. The learned vector representations for source and target tokens each have 300 dimensions. A training batch contains 64 sentences. The authors apply dropout and L2 regularization, both of which constrain training to discourage excessive reliance on the particular training examples.

The implementation uses Neural Monkey, a sequence-to-sequence toolkit built on TensorFlow. The paper notes that Neural Monkey had also been used in submissions for the WMT multimodal translation and automatic post-editing tasks. Here its role is to produce a German candidate for each English sentence that goes into the hybrid system. TensorFlow

Describe each candidate with features

The selector needs a common way to compare outputs from engines with different internal representations. It constructs a vector of 56 features for each candidate. A feature is a numerical description of some observable property. The collection covers target grammar, punctuation, fluency, source–target correspondence, and resemblance to alternative candidates. Together these measurements give the classifier evidence about a translation without requiring the engines to expose comparable internal scores.

Several features come from syntactic parsing, the analysis of how words group together in a sentence. The system considers a list of the best available candidate trees from the parser. It records how many feasible trees are present and summarizes their probabilities, including their extremes, mean, and standard deviation. A separate family of features describes the structures found in the trees. It records the position of nouns and the distribution of noun, prepositional, and verb phrases. It also includes measures of where main and subordinate verb phrases occur relative to the sentence end and how high verb phrases sit in the tree. Parsing

Those measurements distinguish properties that can look similar in the text alone. A phrase can have a particular position in the string and a different prominence in the tree. Recording both lets the classifier consider the ordering of the words and the organization supplied by the parser. The authors also count target noun phrases aligned with source noun phrases. This brings the English sentence back into the comparison. Evidence from a well-formed-looking German sentence complements evidence that its elements correspond to material in the source.

Lexical correspondence is estimated with IBM Model 1. The authors use scores in both translation directions along with ratios and thresholded quantities involving 0.01 and 0.2. They also use the probability of German text under a 5-gram scorer. The latter reflects how plausible the sequence looks in German. The alignment information concerns its relationship to the English. Keeping such evidence in separate features allows the classifier to learn from candidates that are strong on one property and weak on another.

Punctuation and case supply simpler measurements. The selector can count commas, look at where they occur, count full stops, and record whether the sentence begins with a capital letter. It also inherits baseline features from WMT12. These features measure surface properties alongside the more detailed syntactic information. Their presence gives the classifier access to regularities of formatting without requiring that every formatting problem be recognized as a named error category.

For the contrastive features, the other engines’ candidates serve as comparison texts. The selector computes BLEU and METEOR for a candidate using those alternative outputs as references. This provides a measure of agreement among the alternatives while processing a sentence for which a human reference need not be available. The same metric names also appear in the experiments, where the purpose is to evaluate the output with test references. The paper names Qualitative as the tool that reproduces the selector’s features.

Learn preferences and combine the comparisons

The ranking procedure is trained from human judgments in the WMT evaluation test sets covering 2008-2014. Those judgments order translations. The authors turn the ordering information into binary comparisons, in which the classifier examines a pair of outputs for the same source and learns which should be preferred. A source sentence defines the task for the pair, so the comparison is between competing ways of saying the same thing.

The authors try a range of classifiers, including logistic regression, tree ensembles, and boosting methods. They compare the predicted orderings with the original human ranks using Kendall’s tau, a measure of agreement between orderings. The evaluation uses cross-validation with 10 folds across the WMT material. The strongest correlation in their comparison comes from gradient boosting with an ensemble of 100 individual decision trees. That is the classifier used in the selection mechanism described in the paper.

At inference time, the selector aggregates the comparisons for each candidate. A simple count favors the engine that wins the most pairwise decisions, but different candidates can end up with the same count. The authors weight the decisions by their confidence scores, an approach they call soft pairwise recomposition. As a consequence, a more confident preference contributes more to the ranking than a weak one. The final decision still returns a sentence produced by one engine. Confidence is used to choose among sentences already available.

The training target is an overall human preference, and the features describe properties that may help predict that preference. There is no explicit rule in the reported selector that identifies a helpdesk imperative and sends the sentence to whichever engine handled imperatives best in this study. There is likewise no lookup of the manual evaluation results during inference. The experiment asks whether preferences learned on WMT, applied through general translation features, transfer to the selection decisions needed for QTLeap.

Count how the German output handles each source phenomenon

The manual evaluation starts with a German linguist’s inspection of recurring errors. The linguist identifies the kinds of source material associated with these errors and gathers English examples containing them. The authors target 100 segments for each phenomenon because inspecting the entire test set at this level of detail would take too long. Each segment can contain multiple instances, so the evaluator records the number of relevant occurrences in the English and checks how the German handles them.

The accuracy calculation described by the paper is:

Aₚ = Cₚ / Nₚ

Here p identifies the phenomenon under evaluation. Aₚ is its accuracy, expressed as a proportion. Cₚ is the count of source instances translated correctly in the output being evaluated, and Nₚ is the count of source instances in the corresponding English segments. The slash means division. The reported category results express these proportions as percentages.

The denominator stays tied to the English. If a source segment contains multiple menu separators, each separator supplies an opportunity for correct handling. The German output can get some of them right and some wrong. Likewise, if an imperative disappears in translation, the disappearance counts against accuracy because the source occurrence remains part of the denominator. An acceptable German rendering can earn credit by expressing the intended meaning in a construction that differs from the reference.

The paper illustrates this with an instruction to type a distance conversion. Moses and the neural engine render the command word with the German noun Typ. The improved Lucy system uses an appropriate imperative. The reference uses a different German verb, whose separable element appears later in the sentence. The evaluator gives credit for the correctly expressed action even though the verb and arrangement in Lucy’s output differ from the reference.

Another example asks the reader to follow a path through adjustment, notification, and mail menus. One separator in the phrase-based output is fused with neighboring material by a hyphen, while another remains usable. The unmodified Lucy output hyphenates the separators into the surrounding text. The improved version preserves the boundaries. The check concerns the individual breaks in the path. It can identify a local success without making an overall judgment about whether every label in the sentence is the best German choice.

Experiments and results

The data serve different parts of the experiment

The shared bilingual data range from general parallel corpora to software documentation and interface text. A parallel corpus supplies corresponding texts in the two languages. The technical collections differ in scale and in the kind of text they contribute. For example, the corpus inventory lists 46.8K entries and 1.1M words for LibreOffice help, and 35.6K entries and 143.7K words for the LibreOffice interface. The Ubuntu Saucy collection has 182.9K entries and 1.6M words. These are corpus inventory figures for translation training. The evaluation sample is drawn separately from helpdesk interactions.

The general bilingual inventory includes 2.4M entries and 53.6M words for Commoncrawl, and 1.9M entries and 50.1M words for parallel Europarl. The monolingual inventory for German sequence scoring includes 2.2M entries and 54.0M words for Europarl, and 89M entries and 1.7B words for news. The inventory shows that much of the text available to the system comes from outside the specific helpdesk setting. Its different collections enter the procedure in different ways, so an inventory count on its own does not show how influential a corpus is for a particular kind of translation.

The split inside QTLeap distinguishes Batch 1 tuning or validation from Batch 2 evaluation. The ranker uses WMT rankings from general news, a separate source of supervision from the parallel text used to build the competing translators. The paper also reports a Lucy development comparison on part of QTLeap and a later comparison of the final outputs on Batch 2. The BLEU baselines for those comparisons differ, so the values describe their respective evaluation runs.

The paper reports QTLeap results for the phrase-based baseline, unmodified Lucy, improved Lucy, the neural engine, and the selector. The original Lucy engine is present for comparison with its adaptation. Improved Lucy is the version whose output the selector can choose. Moses serves both as an independent translation baseline and, in some Lucy development variants, as a source of translations for particular words or menu items. These uses need to be kept apart when interpreting a score for a configuration.

The neural engine leads on reference-based scoring

The automatic comparison uses MTComparEval. BLEU measures overlap between sequences in system outputs and references. The score summarizes the tested material and can distinguish engines whose wording differs substantially in aggregate. Its value for this comparison is that every output is subjected to the same criterion. It gives little direct information about whether an imperative, separator, or technical term was handled correctly in a given sentence.

Final engines and sentence selector on QTLeap Batch 2 by BLEU

The neural engine leads, and the selector scores between the rule-based and statistical engines.

Final engines and sentence selector on QTLeap Batch 2 by BLEUMoses phrase-based baseline: 37.43Moses phrase-based baseline37.43Improved Lucy: 27.53Improved Lucy27.53Neural translation: 39.02Neural translation39.02Sentence selector (this paper): 31.03Sentence selector (this paper)31.03
The numbers
System or settingBLEU
Moses phrase-based baseline37.43
Improved Lucy27.53
Neural translation39.02
Sentence selector (this paper)31.03

The unmodified Lucy engine scores 26.96 BLEU on the same Batch 2 comparison. The improved version scores higher than that baseline. The selector finishes ahead of either Lucy version and behind both the neural and phrase-based engines. The result of selecting across candidates is therefore a particular point in the ordering of complete test outputs. The highest-scoring engine on the corpus is available to the ranker, yet the ranker’s choices yield a lower corpus score.

The score for the selector does not specify which types of choices account for that outcome. A candidate may lose reference overlap because it uses different wording, or because it makes a genuine translation mistake. The score also does not tell which alternatives were available for individual sentences. The authors report that inspection of examples produced a less clear ordering than BLEU did. This leads to a separate comparison grounded in particular things each output was expected to preserve.

The manual comparison counts opportunities for specific successes

The manual test contains 657 source segments and 2105 annotated instances. These totals represent different units. A segment is an item of English text and its associated translations. An instance is an occurrence of one of the selected phenomena. Many segments contain more than one occurrence. The goal of finding 100 segments per phenomenon was constrained by availability. The authors found 57 segments for phrasal verbs, which contained 90 instances of that phenomenon.

The other instance counts differ as well. The imperative check covers 247 occurrences and the compound check 219. There are 148 menu separator instances and 431 instances involving quotation marks. The general verb category contains 505 instances, while terminology accounts for 465. These are counts in the selected English material. They make clear why the total covers a mix of translation demands in which some categories supply more observations than others.

The reported overall manual accuracy is 76% for Moses, 77% for unmodified Lucy, and 77% for improved Lucy. The neural engine receives 75%, while the selector receives 74%. The authors report no statistically significant difference in overall performance. These values summarize the treatment of the targeted source instances. They are a different measure from BLEU, which is calculated on reference overlap for the complete test outputs.

The manual results put different engines close together overall even though their outputs can behave differently on the same construction. A score that combines cases of quotation marks, commands, and terminology can remain stable when a change helps one group and hurts another. The counts also describe a deliberately assembled sample of error-prone phenomena. The reported overall percentages belong to that sample and its mix of categories.

Grammar and wording favor different candidates

For the 247 imperative instances, both Lucy variants reach 79%. The neural engine records 74% and Moses 68%. The selector reaches 73%. Under the paper’s criterion of α = 0.05, the selector’s result is statistically indistinguishable from the best imperative result. The German command in the paper’s distance-conversion example illustrates one way these differences arise. Getting a contextual verb right may hinge on recognizing that an ambiguous English word is functioning as an instruction.

Verb accuracy shows a similar advantage for the rule-based engines on this material. Both Lucy variants score 93% for the 505 instances in the verb category. Moses reaches 85%, and the neural engine and selector each reach 90%. Here too the paper marks the selector as statistically indistinguishable from the best under its stated criterion. The point estimates and the significance judgment convey different information. The former give the observed scores, while the latter is the paper’s assessment of whether the comparison distinguishes the selector from the leader.

Phrasal verbs show much greater separation among the candidates. In the 90-instance check, Moses scores 22% and the neural engine 38%. The Lucy baseline reaches 68%, and improved Lucy reaches 77%. The selector gets 53%. The ranker has access to a candidate from the improved rule-based engine, but its overall decisions do not recover that engine’s rate of success on this category.

Compounds show a related ordering with closer results for the two Lucy variants. Unmodified Lucy reaches 87% and improved Lucy 85% on the 219 instances. Moses scores 55% and the neural engine 51%, while the selector reaches 70%. The hybrid achieves a score between the rule-based results and the scores of the other input engines. For both compounds and phrasal verbs, a prominent grammatical strength of an available candidate is only partly reflected in the selected sentences.

Terminology favors Moses on this sample. It scores 64% across the 465 occurrences, while the neural engine scores 55%. Improved Lucy scores 53% and unmodified Lucy 50%. The selector records 54%. The result concerns the technical terms chosen for this manual check. It does not identify one cause for the difference, since the phrase-based and neural systems also differ in their training constraints, representations, and decoding procedures.

Formatting separates the Lucy variants

On the 148 menu separators, Moses reaches 99%, followed by the neural engine at 93%. Improved Lucy scores 83%, compared with 39% for unmodified Lucy. The selector reaches 80%. The difference between the Lucy versions aligns with the purpose of protecting the menu chunks. The strongest performance on this category still comes from an engine that did not require that intervention.

Quotation marks show a different ordering. On the 431 instances, Moses reaches 97% and the neural engine 95%. The unmodified Lucy engine scores 94%, while improved Lucy scores 75%. The selector scores 80%. The change to Lucy’s treatment of menus accompanies a loss on another formatting category, even though the rule-based engine’s overall manual accuracy stays at 77%. An aggregate comparison of the Lucy versions would leave both parts of that change largely hidden.

These category results also put the automatic ordering in perspective. The neural engine leads the full Batch 2 BLEU comparison and does well on several of the manual checks, including separators and quotation marks. Its result for compounds is the lowest in that category. The highest BLEU score and the weakest compound result can coexist because they concern different units of evaluation and different distributions of cases.

What the ablations show

Separating menus helps Lucy, and the choice of engine matters

The closest comparison to a component ablation is the search over Lucy’s preprocessing and fallback options. These experiments vary how suspected menu labels are grouped, whether punctuation is normalized, and whether the statistical engine translates material that Lucy might otherwise handle. The paper reports indicative configurations from a broader search over combinations. Each shown configuration gives evidence about that version of the rule-based pipeline on the QTLeap material used for the comparison.

Lucy preprocessing variants on part of QTLeap Batch 2 by METEOR

Translating menu items separately improves the score, with a further gain when punctuation is normalized.

Lucy preprocessing variants on part of QTLeap Batch 2 by METEORLucy baseline: 44.38Lucy baseline44.38Quotes around menu items: 44.29Quotes around menu items44.29Separate menu translation: 45.01Separate menu translation45.01Separate menu translation with punctuation normalization (this paper): 45.06Separate menu translation withpunctuation normalization (this paper)45.06Translate menu items with Moses: 42.83Translate menu items with Moses42.83Translate unknown words with Moses: 44.05Translate unknown words with Moses44.05Separate menus and translate unknown words with Moses: 43.30Separate menus and translate unknownwords with Moses43.30Translate menus and unknown words with Moses: 44.95Translate menus and unknown words withMoses44.95
The numbers
System or settingMETEOR
Lucy baseline44.38
Quotes around menu items44.29
Separate menu translation45.01
Separate menu translation with punctuation normalization (this paper)45.06
Translate menu items with Moses42.83
Translate unknown words with Moses44.05
Separate menus and translate unknown words with Moses43.30
Translate menus and unknown words with Moses44.95

METEOR is another automatic comparison of translation outputs with references. It provides a second criterion alongside BLEU for judging these changes. For the same Lucy comparison, the baseline receives 24.90 BLEU. Separating menu items gives 25.39, and combining separate menu translation with punctuation normalization gives 25.41. The latter configuration achieves the paper’s reported gains of 0.51 BLEU points and 0.68 METEOR points over the baseline. These gains concern the Lucy modification experiment, where some changes directly affect the words or punctuation credited by an automatic scorer.

The progression from separate translation to separate translation with normalized punctuation adds evidence about that combination. It gives a small improvement on both automatic metrics in the reported comparison. It leaves open the effect punctuation normalization would have on its own in a configuration without menu separation. The table records outcomes of selected variants, so a difference between rows can be attributed to a particular option only when the remaining configuration is held fixed.

Sending menu labels to Moses is a useful comparison because label isolation and label translation can be varied separately. The protected-chunk idea helps the pipeline manage boundaries. Choosing an engine to translate the words inside the chunk introduces another decision. Using Moses for menu translation scores 24.06 BLEU, below Lucy’s baseline in this experiment. The result gives evidence against that particular routing choice by itself. The manual comparison later shows that Moses is very good at preserving separators in complete sentences, which is a different task from translating labels that have already been extracted for reinsertion into Lucy’s output.

A similar distinction applies to unknown words. Sending just Lucy’s flagged words to Moses yields 24.50 BLEU. Combining that fallback with separate menu translation yields 23.68. Using Moses for both unknown words and menu labels, however, gives 25.41 BLEU. On METEOR that last combination is close to the strongest configuration that keeps the menu translation in Lucy. A weaker score for an option used alone therefore gives an incomplete account of its behavior when the pipeline uses it in combination with other options.

Adding quotation marks around menu labels yields 24.00 BLEU. The authors observe that the reference translations do not put quotes around the labels either, and that the automatic identification of a label sometimes gets its boundaries wrong. These observations give two reasons for caution in interpreting the change. An added quotation mark can disagree with the reference even where a reader finds it intelligible. It can also surround the wrong span when the boundary heuristic fails. The reported comparison does not isolate the contribution of those causes.

Manual checks show where the Lucy adaptation changes behavior

The automatic scores establish that some Lucy variants match the references better on the material used in the search. The targeted manual comparison tests the specific effect the authors wanted on menu separators. The strongest evidence for that change is the contrast between the original and improved Lucy outputs on the same kind of source occurrence.

Correct handling of menu separators in the QTLeap Batch 2 manual check

Improved Lucy preserves separators much more reliably than its baseline, while Moses leads the category.

Correct handling of menu separators in the QTLeap Batch 2 manual checkMoses phrase-based baseline: 99Moses phrase-based baseline99Lucy baseline: 39Lucy baseline39Improved Lucy (this paper): 83Improved Lucy (this paper)83Sentence selector: 80Sentence selector80
The numbers
System or settingaccuracy %
Moses phrase-based baseline99
Lucy baseline39
Improved Lucy (this paper)83
Sentence selector80

The paper describes the improvement in Lucy’s separator accuracy as significant. The illustrated outputs show what the difference looks like. The baseline treats the punctuation and its neighboring labels as material to bind together. The adaptation preserves the layout of the path by protecting the labels and their boundaries. This comparison makes the result interpretable as progress on a stated development problem, rather than merely an increase in reference overlap.

The improved Lucy version also does worse on quotation marks. The authors identify that change as a side effect of the menu adaptation. A pipeline that marks or protects stretches of text can alter how the surrounding formatting is processed. The comparison is between the original and final Lucy versions, and the paper does not trace the drop to an individual operation inside the adaptation. Its evidence is the difference in behavior on the targeted quotation-mark cases alongside the improvement on separators.

Other grammatical categories put the size and scope of the modification in perspective. The Lucy versions share the same reported accuracy for imperatives and for the general verb category. Compounds remain a strength of both versions, while the improved version has a higher observed phrasal-verb score. These are observed properties of the resulting outputs. The authors’ menu-focused intervention directly motivates an expectation about separators. The category results for other phenomena reveal accompanying changes without identifying a mechanism for every one of them.

The ranking comparison tests the full decision procedure

The authors compare several candidate classifiers on the same broad ranking task and choose the one with the best agreement with human rankings in cross-validation. That is a controlled comparison of training alternatives on WMT. The paper identifies gradient boosting as the winner. It does not provide the individual correlation scores or show how much the winner improves on the alternatives. The result establishes the stated selection criterion for the classifier without quantifying the margin by which it won.

The Batch 2 evaluation compares the complete selector with each input engine. That comparison tests what the ranking procedure delivers end to end. For compounds the selector’s accuracy sits between the two kinds of input performance. For separators it is below every engine whose output it can select. A decision based on the sentence as a whole can favor a candidate that is worse on the particular feature later counted by the evaluator. The manual categories provide no privileged signal to the classifier at the point of choice.

The paper includes neither a comparison that removes groups of selector features nor a selector run that excludes the neural candidate. As a result, the reported experiments do not measure the independent effect of parse information, confidence weighting, or the addition of the neural engine. They establish how the assembled system behaves, and how its decisions compare with always using any one of the candidates on the test data. This leaves a distinction between the value of a component as a translator and the value it adds when its outputs are placed in the selection pool.

There is also no reported upper bound based on a reference-informed choice among candidates for each sentence. A category leader on the aggregate can fail on some instances that another engine handles well. It is possible to see this variation in examples and category scores, but those totals do not specify how often correct alternatives coincide on the same sentences. An estimate of the best available sentence choices would require examining that overlap and deciding how to trade off different successes inside a sentence. The paper’s comparison measures the performance actually delivered by the learned selector.

Limitations

Limits the authors state

The authors identify a mismatch between the selector’s supervision and its intended application. They use general news rankings because suitable in-domain annotations are unavailable. The learned preferences originate in a setting where the expected vocabulary, formatting, and interactions can differ from a computer helpdesk. The test results show how the selector performs after that transfer. The study has no in-domain ranking comparison that would show how its decisions change when trained on helpdesk preferences.

The authors also point out that the selector does not explicitly handle the error categories examined in the study. Its structural and lexical features can support general quality judgments. The training objectives do not directly reward recognition of a helpdesk imperative or preservation of an individual menu boundary. The authors suggest that features aimed at particular errors could be used to trigger a different selection decision. That suggestion follows from the observed category variation and remains a possible extension.

Manual examination of the complete test set would take too much time under the paper’s procedure. The authors therefore sample segments containing the chosen phenomena. Even within that plan, phrasal verbs are relatively difficult to collect. The quotations experiment poses a further issue that the authors themselves flag. Its automatic score is affected by the formatting conventions of the references, while the boundary heuristic can also make real mistakes. The paper calls for further assessment of the use of added quotation marks.

The authors suggest that the neural engine may be making less use of the technical material than Moses does. They base this interpretation on the results and further inspection of examples. It is a tentative explanation for the neural engine’s advantage over Moses being less pronounced than the authors expected from other contexts. The study does not report an experiment that varies technical training data within each engine to measure how much that material contributes.

Finally, the authors emphasize interactions among linguistic phenomena. The separator and quotation-mark results show that a local change can reach beyond its immediate target. They propose partial automation of the test suites so effects of this kind can be tracked more easily. The reported manual work supplies detailed comparisons for the current outputs while leaving the cost of repeated measurements as a practical limit.

Further limits of the experimental setup

The manually assessed examples were selected because they contain particular phenomena associated with observed errors. Their accuracy estimates describe the treatment of those instances. They do not estimate how often those phenomena occur in ordinary helpdesk traffic, how frequently a full sentence can be sent without intervention, or how frequently a reader successfully completes the instructed task. Those outcomes would require different units of measurement. A separator can be correct in a weak sentence, and a sentence with an awkward separator may still be understandable to a particular reader.

Category frequencies in the manual material also affect how to read the overall result. The pooled view includes many more verb and terminology instances than phrasal verbs. Because segments can contain multiple relevant occurrences, the counted instances do not each represent a separate interaction. The broad similarity in reported overall accuracy applies to this collection of tests. It establishes neither equivalence on every category nor equivalence for every use of the systems.

The judgments come from a professional German linguist. The procedure has the advantage that acceptable alternatives can receive credit even when their wording diverges from the reference. The paper does not report agreement among multiple independent judges. A reader can see how the standard is applied to the imperative and menu examples, but cannot estimate from the reported results how consistently borderline cases would be judged by other evaluators. This affects the interpretation of a manual accuracy score without diminishing the distinction between clear successes and failures shown by the examples.

The Lucy options were searched and reported using material identified with Batch 2. The paper also uses Batch 2 for the final comparison. The reported improvements are evidence about the tested material. A separate untouched helpdesk set for the Lucy variants would be needed to measure how well the selected option generalizes beyond the material consulted during development. The full Batch 2 system scores and the preprocessing comparison supply different views of the outputs, but the latter does not establish independent confirmation on another helpdesk sample.

The existing comparisons also leave open why the ranker transfers poorly in this setting. Topic, formatting, and the kinds of errors that influence judgments can all differ between news and helpdesk text. The WMT cross-validation result measures agreement with human rankings there. The QTLeap evaluation measures reference overlap and targeted source accuracy after transfer. The study reports no matched experiment that changes just the training domain while preserving the task, features, and evaluation. The proposed explanation is plausible, but the size of its contribution remains undetermined.

Likewise, the comparison between Moses and the neural translator uses common underlying bilingual resources while differing in preprocessing, length constraints, training, and decoding. It answers how the authors’ implemented engines compare in this experiment. It cannot isolate which architectural choice explains a particular category result or show that the same ordering would apply to a different technical collection. The advantage of the manual evaluation is the specificity with which it identifies the behavior that would need explaining.

What came after

No later citing work is identified, so there is no documented follow-up to trace. The paper ends by outlining possible extensions. The authors propose making the selector respond to particular source phenomena, such as an imperative, and building specialized training collections for data-driven engines where a recurring problem warrants more examples. They also envisage automating part of the test suite so that a revision aimed at one phenomenon can be checked for effects on others.

Those proposals address distinct points in the workflow. Targeted training would change which translations the engines can generate. Phenomenon-specific selection would change what happens when suitable and unsuitable translations are both available. Repeated test-suite checks would measure the behavior after either kind of change. The experiments establish the reason to pursue these directions: the German outputs offer different kinds of local success, and the value of those successes depends on whether the system can deliver them together in the sentence the helpdesk reader receives.

Cite

Cite as Eleftherios Avramidis, Vivien Macketanz, Aljoscha Burchardt, Jindrich Helcl and Hans Uszkoreit. 2016. Deeper Machine Translation and Evaluation for German. Proceedings of the 2nd Deep Machine Translation Workshop.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{avramidis2016deeper,
  title = {{Deeper Machine Translation and Evaluation for German}},
  author = {Eleftherios Avramidis, Vivien Macketanz, Aljoscha Burchardt, Jindrich Helcl and Hans Uszkoreit},
  booktitle = {Proceedings of the 2nd Deep Machine Translation Workshop},
  year = {2016},
  url = {https://aclanthology.org/W16-6404/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/avramidis-2016-deeper-machine-translation-evaluation-german/