Elamur Research

Modelling and Optimizing on Syntactic N-Grams for Statistical Machine Translation

Paper · 2015 · Rico Sennrich

Summary

A translation can contain plausible phrases and still be grammatically wrong because the words that constrain one another are far apart. A subject may require a plural verb several words later. A verb may need an object rather than a prepositional phrase. A noun and verb may form a conventional expression even when other material separates them. The paper on modelling and optimization with syntactic n-grams for statistical machine translation explores how a translation system can identify these relationships and favor better output. Its central proposal is to score words through their grammatical connections, then tune the translation system with an evaluation measure that can recognize improvements along those connections.

The paper works within statistical machine translation, where several scoring components jointly rank possible translations. An ordinary language model contributes a preference for fluent target-language text, frequently by predicting a word from nearby preceding words. Sennrich instead develops a relational dependency language model, abbreviated RDLM. It uses a word’s grammatical ancestors, preceding siblings, and dependency labels as predictive context. Ancestors connect a word to its governing words; siblings share a governor. Dependency labels identify relationships such as subject or modifier. These relations can remain informative when surface order changes, making them attractive for languages where grammatical arguments have flexible positions.

The method does more than predict words on an already supplied tree. It also predicts grammatical labels and structural decisions, including when a node has finished generating its dependents. Separate neural networks estimate word and label probabilities. Their scores become additional features inside a translation decoder that constructs target-language trees. A second contribution concerns optimization: the paper supplements BLEU, which rewards matching word sequences, with a measure of matching dependency chains. This measure, HWCM_f, combines precision and recall over syntactic n-grams. The argument is that a component cannot receive an appropriate weight if the tuning objective barely notices the errors it corrects.

Experiments translate English into German and Russian. For German, the paper reports that combining RDLM with syntax-aware tuning improves BLEU by 1.1–1.3 points and HWCM_f by 1.3–1.4 points over the original baseline tuned on BLEU alone. An analysis of German agreement finds that RDLM reduces the number of translations triggering agreement constraints more strongly than a comparable word-sequence neural system. With syntax-aware tuning, the reported reduction for RDLM is -54%. Russian experiments also favor RDLM, with the combined change producing reported gains of 0.5–0.9 BLEU and 2.1–3.4 HWCM_f.

The evidence supports a connection between representation, search, and evaluation. Dependency context captures some errors that local word context misses, while a compatible tuning measure makes those capabilities more useful within the complete translation system. The paper does not establish that syntax replaces local context: combining the two produces further translation gains. Nor does it establish universal effectiveness across languages or translation architectures. Its strongest conclusion concerns the tested tree-producing systems: explicit grammatical relationships and a suitable optimization objective can work together to improve fluency beyond what either a local predictor or a word-based tuning measure reveals alone.

Interesting ideas

Choose context by relationships. Relevant information is not always nearby in a sequence. A grammatical link can connect a predictor to the word that actually constrains its choice, in spite of intervening material. This principle applies to document analysis, information extraction, and structured decision systems whenever meaningful connections provide a better neighborhood than physical position.

Represent roles explicitly. Dependency labels distinguish what a related word is doing, instead of asking the system to infer its role completely from ordering. This helps when the same relationship appears in different positions. The broader lesson is useful for graph processing and structured records: an explicit relation type can provide a stable signal across changing layouts.

Preserve separate kinds of context. The paper gives ancestors and siblings their own context windows, preventing a large sibling group from crowding out governing information. This suggests a reusable design principle for bounded computation: allocate capacity by information source when those sources serve different purposes, rather than letting them compete within an undifferentiated limit.

Match optimization to the capability being added. A component that repairs distant grammatical relationships can appear weak when its weight is selected using only local word matches. The paper’s syntax-aware tuning gives those repairs a more direct influence. This applies to any composite system where an improvement is real but poorly represented by the objective that chooses among outputs.

Combine complementary evidence. Local word context and dependency context overlap, but their strengths differ. Their combination improves translation even though the dependency component is stronger on the agreement analysis. Elsewhere, this argues for testing whether components contribute distinct information instead of choosing a single winner from an isolated diagnostic.

Evaluate mechanisms as well as aggregate quality. Translation scores summarize performance, while the agreement analysis tests a more specific explanation of the gains. The two kinds of evidence answer different questions. Similar evaluations can separate overall usefulness from success on a claimed mechanism, particularly when a system combines many interacting components.

Treat incomplete observations as an approximation. During bottom-up decoding, some context is unavailable. The paper represents those missing positions explicitly and revises scores when more information appears. This is relevant to incremental parsing, partial graph analysis, and staged workflows: a provisional score should retain the distinction between missing evidence and evidence that a relation is absent.

Deep dive: Modelling and Optimizing on Syntactic N-Grams for Statistical Machine Translation

How relational dependency n-grams improve translation fluency, and why syntax-aware tuning reveals gains that word-based evaluation can miss. · about 37 minutes to read

How Mova uses it

Mova is a small, transparent language system written in Rust. Its native pipeline already builds dependency trees, interprets grammatical roles, and maintains worlds derived from text. The connections below distinguish those existing mechanisms from proposals inspired by the paper. They do not establish that Mova implements RDLM, uses HWCM_f, or has reproduced the translation results. The status marks describe correspondence with documented mechanisms; they are proposed classifications rather than measured application outcomes.

Idea: Choose context through grammatical connections. Where: Introduction and Section 2.1. Area: syntax. Mova: вже є (en, prag, and world, as described in docs/architecture.md). Mova already passes dependency structure into readers that interpret frame roles rather than treating a sentence as an unordered collection of words. The paper supports examining whether each reader follows the relations relevant to its decision, especially when related words are separated. This is an existing architectural connection; a paper-specific evaluation of those readers remains unknown.

Idea: Use explicit relation labels as evidence. Where: Section 2.2. Area: syntax. Mova: вже є (en dependency output and role extraction in prag). Mova’s trees retain relation labels, and its frame reader uses grammatical structure to identify participants. The paper offers a concrete reason to preserve these labels through later processing: a label can distinguish the function of related words even when their order varies. It does not establish that Mova has the paper’s labelled probability decomposition or an equivalent statistical scorer.

Idea: Give ancestors and siblings separate budgets. Where: Section 2.1. Area: data structures and bounded inference. Mova: нове (specific adoption unknown). A proposed Mova feature extractor could reserve independent limits for governing chains and sibling observations. This would prevent a long list of modifiers from removing access to the governing verb or another important ancestor. The relevant hypothesis concerns bounded symbolic or statistical extraction, without requiring the paper’s neural estimator. Why Mova: separate limits could preserve important grammatical evidence while keeping native processing predictable and inexpensive.

Idea: Share evidence across changes in surface direction. Where: Sections 2.1 and 5.2. Area: multilingual syntax. Mova: частково є (en dependency structure and the French formal overrides in en/src/french_rules.rs). Mova has structural relations and language-specific repairs, but a shared statistical treatment of dependents across both sides of their heads is not established. A proposal is to aggregate observations by grammatical relation before adding direction-specific exceptions. This should be tested against constructions where order carries essential information, instead of assuming direction is always dispensable.

Idea: Build inspectable syntactic n-gram statistics. Where: Sections 2.1 and 4. Area: corpus analysis and lexicography. Mova: частково є (tools/dictindex, especially dependency frames and collocate counts). The dictionary index already records a head relation, head lemma, and selected dependent observations. Longer ancestor chains could provide additional corpus witnesses for constructions that simple head–dependent records miss. Their frequency would remain evidence for review, rather than an admitted definition or an automatic rule. The incremental value over existing frame features would need measurement.

Idea: Learn subcategorisation from typed relations. Where: Section 2.2 and the examples in Section 5.4. Area: lexical syntax. Mova: частково є (VerbNet-based role extraction in prag and signatures in prag/data/signatures.tsv). Mova already has lexical signatures and distinguishes important complement interpretations. Corpus-derived distributions over argument relations could propose missing signatures or flag unusual combinations for review. The paper motivates this use through translation errors, but does not validate it for Mova’s dictionary admission process. Existing signatures should remain authoritative until any proposed extension passes its own checks.

Idea: Connect distant agreement through the tree. Where: Introduction and Section 5.5. Area: morphology. Mova: частково є (en morphology and the closed French rules in en/src/french_rules.rs). Mova has morphological information and formal repair mechanisms, but the digest does not establish a general agreement scorer spanning dependency chains. A proposed checker could compare relevant features along explicit subject–verb or modifier relations and explain every mismatch. The paper’s agreement findings motivate the target phenomenon, while Mova would need its own controls for parser mistakes and treebank conventions.

Idea: Preserve relation labels as outputs to be checked. Where: Sections 2.2 and 2.4. Area: annotation quality. Mova: частково є (tools/treeagree and its separate checks for heads, relations, and retagging). Mova already treats a structurally plausible head choice and a compatible relation label as distinct concerns. The paper suggests extending corpus diagnostics to ask whether a label is plausible for the observed lexical and grammatical context. Such a diagnostic would propose a review target; it would not make a statistical preference sufficient evidence to overwrite an annotation.

Idea: Represent structural completion explicitly. Where: Section 2.4 and Figure 2. Area: structured generation. Mova: нове (specific adoption unknown). The paper’s STOP decisions suggest an inspectable termination event for any future Mova component that enumerates tree children or structured alternatives. An explicit completion state can distinguish a finished structure from a partial one whose next element has not yet been produced. Why Mova: visible completion decisions would fit bounded native execution and help diagnose incomplete structures without treating an interrupted computation as a complete result.

Idea: Keep topology confidence separate from lexical plausibility. Where: Sections 2.4 and 5.3. Area: evaluation. Mova: частково є (tools/treeagree distinguishes structural validity, relation compatibility, and witnessed edits). Mova already separates several forms of tree evidence. A proposed extension would report whether a preference comes from lexical compatibility, a relation choice, or topology. The paper’s perplexity discussion shows why these cannot be freely collapsed: a system predicting more structure is solving a different task. Mova-specific calibration of such confidence remains unknown.

Idea: Separate word evidence from relation evidence. Where: Sections 2.2 and 3. Area: interpretable scoring. Mova: нове (specific adoption unknown). A proposed native scoring component could maintain different contributions for a lexical choice and its grammatical relation, following the conceptual separation between P_w and P_l. Counts or explicit rules could supply those contributions in line with Mova’s current direction. Why Mova: separate contributions would make a rejection easier to explain and reveal whether additional lexical knowledge or a grammatical correction is needed.

Idea: Use dedicated markers for different missing contexts. Where: Sections 2.3 and 3. Area: incremental analysis. Mova: нове (specific adoption unknown). A partial Mova observation could distinguish an unavailable ancestor label from an absent sibling or a missing lexical item. The paper uses position-specific null representations because missing positions have different distributions. Mova need not copy their embedding implementation to retain the distinction. Why Mova: typed missingness would prevent a temporary lack of evidence from being mistaken for a genuine grammatical boundary or an empty argument slot.

Idea: Revise provisional judgments when evidence arrives. Where: Section 3. Area: operational reasoning. Mova: частково є (docs/hybrid-system.md describes inspecting intermediate results through explicit bounded calls). Recursive inspection exists at an architectural level, but incremental rescoring equivalent to the decoder procedure is not established. A concrete proposal is to attach an evidence-completeness state to provisional linguistic judgments and reconsider them when additional structure becomes available. The paper also supplies a caution: an early approximation can eliminate a useful alternative before later evidence has a chance to improve it.

Idea: Measure the damage caused by incomplete context. Where: Section 3 and Table 1. Area: evaluation and approximation. Mova: частково є (docs/gpu-exec.md distinguishes exact stages from measured approximants). Mova already requires agreement evidence for some approximations. The transferable experiment is more specific: compare a full observation, a naturally restricted observation, and a larger-context procedure queried with placeholders. This would test whether a shortcut behaves like a sound restricted method or introduces an additional error. No corresponding Mova result is established.

Idea: Keep artificial joining structures outside linguistic evidence. Where: Section 3, discussion of glue rules. Area: data provenance and parsing. Mova: нове (specific adoption unknown). If future processing joins independently analysed fragments with administrative nodes, those nodes should be distinguishable from grammatical relationships observed in text. The paper avoids estimating ordinary linguistic probabilities for its decoder’s glue nodes because training does not contain them. Why Mova: preserving this distinction would stop implementation scaffolding from entering corpus statistics, dictionary witnesses, or explanations as if it were linguistic evidence.

Idea: Match evaluation to the added capability. Where: Section 4 and the conclusion. Area: evaluation design. Mova: частково є (mechanism-specific checks, school controls, and regression gates described in README.md and docs/school.md). Mova already measures more than a single overall score. The proposal is to require a diagnostic tied to the exact capability introduced by a change, such as distant agreement, argument interpretation, or answer justification. The paper shows why a broad objective can underweight a useful component, but a matching diagnostic must still be accompanied by wider regression checks.

Idea: Compare structures with both precision and recall. Where: Section 4. Area: evaluation and mathematics. Mova: нове (specific adoption unknown). A proposed structural comparison could measure both supported matches and missing expected relations when comparing extracted frames or dependency chains. This follows the paper’s reason for replacing a precision-only chain measure with a harmonic combination of precision and recall. Why Mova: counting omissions alongside unsupported additions could expose readers that appear accurate mainly because they extract very little, while keeping the comparison tied to explicit structures.

Idea: Reuse native structural output for evaluation. Where: Section 4. Area: data processing. Mova: частково є (en produces dependency trees, and tools/dictindex indexes existing parses without running another parser). The paper evaluates decoder-produced trees directly instead of reparsing their surface strings. Mova could similarly evaluate or index the exact structures responsible for a decision. This preserves the link between behavior and evidence. It does not guarantee correctness: an independent annotation or witness is still needed when the native structure itself is under examination.

Idea: Separate supplied structure from predicted structure in benchmarks. Where: Section 5.3. Area: statistical evaluation. Mova: нове (specific adoption unknown). Benchmarks could distinguish a reader receiving a trusted tree from one using Mova’s own parse, and distinguish either from a task requiring relation prediction as well. The paper explains why raw perplexity values become misleading when the predicted objects differ. Why Mova: this separation would help locate failures in parsing, representation, or inference, while preventing an easier input condition from being presented as general end-to-end competence.

Idea: Probe for information beyond the current baseline. Where: Section 5.3 and Table 2. Area: analysis. Mova: нове (specific adoption unknown). A proposed diagnostic could compare an existing reader’s preferred output with an independently supported alternative and ask which candidate a new feature favors. The paper uses human references and baseline translations for this purpose. For Mova, the alternatives would require task-appropriate evidence, and the diagnostic would not replace full evaluation. Why Mova: it could reveal whether a proposed feature adds a missing distinction instead of merely repeating preferences already present in the system.

Idea: Test complementary components together. Where: Section 5.4 and Table 3. Area: system composition. Mova: частково є (multiple parser witnesses in tools/treeagree and multiple native readers described in docs/architecture.md). Mova already combines observations under explicit rules. The paper suggests measuring the joint behavior of local and structural evidence instead of assuming that a stronger isolated component subsumes the other. Any Mova combination would need to retain source identity and failure behavior, because a better aggregate score does not establish agreement between the contributing analyses.

Idea: Repeat unstable optimization and preserve the run identity. Where: Section 5.1. Area: statistics. Mova: вже є (fixed-seed reproducibility and repeated-run requirements in README.md). Mova’s deterministic native path differs from the paper’s optimizer, but both require distinguishing a reliable effect from a favorable run. The transferable requirement is to preserve conditions and repeat the procedure appropriate to the source of variation. Repeating a deterministic path tests reproducibility; repeating a variable optimizer tests instability. These are related checks with different interpretations.

Idea: Validate a claimed mechanism with an independent diagnostic. Where: Section 5.5 and Table 6. Area: grammatical evaluation. Mova: частково є (negative controls, paired comparisons, and teacher-separated assessment described in the digest). Mova could evaluate a proposed syntax change with an independent agreement or role-consistency checker alongside its main task score. The paper’s unification grammar provides this second view for German. The proposal would need to record the checker’s own error modes, since agreement between a change and its diagnostic can otherwise reflect shared assumptions.

Idea: Distinguish improvement from candidate availability. Where: Section 5.5, discussion of remaining violations. Area: search and error analysis. Mova: частково є (gap reporting and bounded configured execution in docs/architecture.md and docs/hybrid-system.md). Mova already reports some missing capabilities rather than inventing answers. A proposed error taxonomy would separately record whether a correct alternative was unavailable, available but rejected, or judged incorrectly by the checker. The paper’s explanation of residual agreement errors motivates this distinction without proving which category dominates in Mova.

Idea: Correlate diagnostic scores with concrete errors. Where: Section 5.5. Area: statistics and evaluation. Mova: нове (specific adoption unknown). Mova could compare the ranking induced by a broad assessment score with the ranking induced by counted, reviewed error categories. The paper performs this comparison for agreement violations and several translation metrics. Such correlations would describe the evaluated systems, rather than certify a metric universally. Why Mova: they could show whether an attractive headline score tracks the particular failures a development effort is trying to reduce.

Idea: Learn from parsed text through an explicit admission boundary. Where: Section 3 and Section 6. Area: training data. Mova: вже є (tools/cycle, tools/treeagree, and tools/enrich). Mova already separates parser proposals, agreement, teacher review, staging, and admitted training material. The paper supplies a related example of learning predictive behavior from automatically analysed text. Its procedure does not replace Mova’s admission requirements, and parser-produced structure should not be promoted to authoritative knowledge merely because a downstream estimator learns from it.

Idea: Keep grammatical plausibility separate from event truth. Where: Sections 2.2 and 5.4. Area: syntax and pragmatics. Mova: вже є (prag/src/frames.rs and prag/data/signatures.tsv, including commitment and goal stances). The paper’s lexical and relational probabilities address whether a construction is plausible, not whether its event occurred. Mova’s existing stance distinctions preserve this separation for promises, attempts, and related complements. A future syntactic scorer must retain it: a well-formed description of a goal cannot by itself become an observed change in the story world.

Idea: Compare lexical normalization with surface-form evidence. Where: Section 2.2 and Section 6, discussion of inflection generation. Area: morphology and lexicography. Mova: частково є (en retains forms, lemmas, and morphological features; tools/dictindex queries lemma-based evidence). A proposed analysis could preserve inflected witnesses when estimating construction compatibility, rather than allowing lemma aggregation to erase agreement distinctions. The paper’s examples also show that inflection repair cannot always compensate for the wrong lexical choice. Mova-specific benefits from combining these evidence levels remain unmeasured.

Idea: Vary structural context only under a controlled comparison. Where: Section 5.3 and the conclusion. Area: efficient inference. Mova: частково є (bounded mouse profiles in world/src/knowledge/retention/mice.rs and regression-gated native changes). The paper’s ancestor-window comparison motivates testing whether added structural reach contributes useful evidence. For Mova, this could mean changing a symbolic traversal limit while keeping the document graph and evaluation fixed. Larger reach should be treated as a hypothesis about useful information, with memory and execution costs retained alongside accuracy.

Idea: Protect provenance when extending contextual features. Where: Section 2.3 and Section 6. Area: data and interpretation. Mova: частково є (tools/dictindex retains source credits, exact witnesses, and distinctions between sentence co-occurrence and established translation). The paper proposes richer heads and source context as possible extensions, without testing them. Mova could explore analogous features only while recording which evidence came from grammatical structure, lexical normalization, or paired text. A richer feature must not silently change the strength of the claim it supports.

The problem and its context

The paper begins with a gap between local fluency and grammatical coherence. A word-sequence n-gram represents a short stretch of neighboring words. That is useful for familiar phrases and nearby agreement patterns, but the relevant relationship may cross a much longer interval. A verb can depend on a subject that is no longer inside the predictor’s window. A lexical construction may connect a noun and verb while allowing intervening modifiers. A short sequence can therefore look ordinary even when the complete construction is wrong.

The motivating German example contains both an agreement problem and an argument-selection problem. The subject, Ergebnisse, is plural, while the finite verb, wird, is singular. Elsewhere in the same output, überraschen appears with a prepositional phrase where its transitive use requires an object. These are different mistakes, but they share a structural property: the words that reveal the incompatibility need not be adjacent. Increasing attention to ordinary local phrases does not directly identify the relevant long-distance relationship.

Dependency parsing provides another way to organize context. Rather than treating a sentence only as a row of words, a dependency representation connects each word to a governing word and gives the connection a grammatical label. A syntactic n-gram follows those connections. A relationship that crosses a long surface interval can consequently become short in the grammatical representation. The paper uses this change of neighborhood to make agreement, argument structure, and syntactic collocations available to a bounded predictor.

Earlier dependency-based approaches already used parents and siblings. The paper’s criticism concerns how some of them organize that information. Shen and colleagues separate dependents according to whether they occur before or after the parent. Their context definition also lets a parent and sibling words occupy positions in a shared window. Sennrich argues that these assumptions are less suitable when grammatical roles do not align consistently with left and right placement.

The argument is qualified rather than absolute. German does have strong ordering restrictions, including within noun phrases and in verb placement. At the same time, its main and subordinate clauses differ, and a verb’s dependents have some ordering flexibility. A subject’s side relative to its verb is therefore not a universally reliable substitute for its grammatical role. The paper proposes making the role explicit and pooling evidence that would otherwise be divided according to direction.

Another part of the context concerns earlier attempts to use parsers for language scoring. The paper cites A Smorgasbord of Features for Statistical Machine Translation and work by Post and Gildea as cases where parser-based scoring did not improve translation. It does not conclude that syntactic scoring is intrinsically ineffective. Instead, it identifies several possible differences: the estimator, the training data, the dependency assumptions, integration during decoding, and the optimization objective.

The neural training method follows the feed-forward tradition represented by A Neural Probabilistic Language Model. The decoder integration builds on techniques discussed in Decoding with Large-Scale Neural Language Models Improves Translation. These connections matter because the paper is not simply inserting an existing parser score. It trains dedicated predictors on automatically parsed target-language text and makes their probabilities accessible while translation alternatives are being constructed.

The evaluation problem is equally central. BLEU’s original formulation compares output and reference through word-sequence matches. A syntactic repair can improve a dependency relationship without producing a corresponding increase in nearby matching sequences. If BLEU is also the tuning objective, the problem extends beyond underreporting a result: the optimizer may assign too little influence to the component that makes the repair.

The paper therefore connects its representation to the head-word-chain approach in Syntactic Features for Evaluation of Machine Translation. It also draws on the argument for recall in METEOR. The resulting question is broader than whether one new predictor improves translation. It asks whether the apparent usefulness of a predictor depends on evaluating and optimizing the kind of structure that predictor can actually improve.

The method, step by step

The method develops from a simple dependency-conditioned word predictor into a joint scorer of words, grammatical labels, and tree structure. It then addresses the practical problem of using that scorer inside a translation search. Finally, it changes the objective used to choose the translation system’s feature weights.

From target-language text to syntax-aware translation

The steps in order.

From target-language text to syntax-aware translationStep 1: Parse target-language training text1. Parse target-language training textStep 2: Extract ancestor and sibling contexts2. Extract ancestor and sibling contextsStep 3: Train word and relation predictors3. Train word and relation predictorsStep 4: Score partial translation trees during decoding4. Score partial translation trees during decodingStep 5: Compare output and reference dependency chains5. Compare output and reference dependency chainsStep 6: Tune translation weights with syntax-aware feedback6. Tune translation weights with syntax-aware feedback

Begin with words on a dependency tree

Let S denote a sentence containing words w₁ through wₙ, and let T denote its dependency topology. Topology means the pattern of connections, apart from the words and grammatical labels assigned to it. For a word at position i, h_s(i) lists the heads of preceding siblings. These are words associated with nodes sharing its parent. The list h_a(i) contains its ancestors, beginning with the nearest governor and continuing upward.

The initial decomposition is:

P(S) = P(w₁, w₂, …, wₙ) ≈ ∏ᵢ₌₁ⁿ P(wᵢ | h_s(i), h_a(i))

P is probability, n is the sentence length, and i indexes a word. The product symbol means that the conditional word probabilities are multiplied. The vertical bar introduces the context used for prediction. The approximation reflects the assumption that the chosen sibling and ancestor information is sufficient for the word, rather than requiring the full sentence history.

This initial formulation treats T as available. The sibling and ancestor lists depend on that topology, even though it is not repeated inside every conditional expression. The paper explicitly recognizes that this is a conditional approximation to sentence probability, not yet a complete account of how the structure itself is generated.

In the running example, the target word jüngsten has der as its preceding sibling head. Its ancestors include Umfrage, Ergebnisse, and wird, followed by a special symbol. The useful contrast is between surface distance and structural reach: the predictor can access governing words because they lie on its ancestral path, regardless of how much other material intervenes in the sentence.

Restrict the structural context

An unrestricted ancestor or sibling list would vary with the sentence. The paper bounds each separately:

P(S) ≈ ∏ᵢ₌₁ⁿ P(wᵢ | h_s(i)[1:q], h_a(i)[1:r])

The notation [1:q] means the closest q entries in the sibling list, and [1:r] means the closest r ancestors. Both lists run from nearer to more distant entries. The parameters q and r therefore control different kinds of structural reach.

This unlabelled variant is called DLM. Its separate windows ensure that ancestors remain present even when a node has several preceding siblings. It also uses one treatment for dependents on both sides of their parent. The paper’s rationale is statistical sharing: grammatical relationships that occur in different surface positions should not automatically be learned as unrelated phenomena.

Preceding siblings remain an ordering-based part of the context. The proposal therefore reduces particular configurational assumptions without discarding order altogether. The author also identifies following siblings as potentially useful information, but does not include that extension in the presented formulation.

Add grammatical labels

The labelled system introduces D, the sequence of incoming dependency labels l₁ through lₙ. For each target node, l_s(i) lists sibling labels and l_a(i) lists ancestor labels. In the running example, the target label is attr, while the preceding sibling carries det. The ancestor labels identify the sequence of relations through which the target connects to higher nodes.

The decomposition becomes:

P(S, D) = P(D) × P(S | D) ≈ ∏ᵢ₌₁ⁿ P_l(i) × P_w(i)

D denotes all dependency labels. P_l(i) is the local contribution for predicting the target label, and P_w(i) is the local contribution for predicting the word. Their product supplies the node’s contribution, and the outer product combines contributions over the sentence.

The label predictor is defined as:

P_l(i) = P(lᵢ | h_s(i)[1:q], l_s(i)[1:q], h_a(i)[1:r], l_a(i)[1:r])

Here lᵢ is the target relation label. The context combines the bounded sibling words, sibling labels, ancestor words, and ancestor labels. A verb together with the relations already present can make some additional argument relations more plausible than others. This is how the formulation gives subcategorisation a direct place in the probability calculation.

The word predictor adds the current relation:

P_w(i) = P(wᵢ | h_s(i)[1:q], l_s(i)[1:q], h_a(i)[1:r], l_a(i)[1:r], lᵢ)

The additional symbol lᵢ tells the word predictor what grammatical relation the target is filling. This can help with an inflectional choice and with lexical compatibility. The label predictor and word predictor consequently address related but distinct questions: whether the relation fits the context, and whether the word fits that relation and context.

Extract heads and represent boundaries

The translation decoder uses a constituency-style representation of dependency structure. Dependency edges become nonterminal nodes. In the converted trees, an ordinary nonterminal has a preterminal child from which its head word can be recovered. A preterminal is the node immediately above a terminal word.

This arrangement avoids a separate collection of language-specific head-selection rules for the converted dependency structures. A virtual sent node handles otherwise disconnected pieces, including punctuation. Where a node has no suitable preterminal child, the procedure assigns a special empty-head symbol.

Other special symbols distinguish a preterminal sibling from an ordinary sibling and fill positions beyond the available sibling or ancestor list. These boundary markers are important because a short context should still occupy a fixed-size input representation. The paper keeps different marker types for different context sources rather than treating every missing position as interchangeable.

The author also identifies a possible extension that is not implemented in the main formulation. A German separable verb prefix could be incorporated into the head representation. That might distinguish verbs whose argument behavior changes with the prefix. The example contrasts schlagen with schlagen ... vor. This possibility illustrates how lexical normalization could enrich the representation, but the paper reports no experiment establishing its benefit.

Predict the structure as well

The labelled word formulation still assumes that the tree’s shape is supplied. RDLM extends it by predicting preterminal nodes and a STOP event marking completion of a node’s children. Preterminal predictions determine where the head appears within a subtree. STOP predictions allocate probability to the decision that no further dependents follow.

The final factorization is:

P(S, D, T) ≈ ∏ᵢ₌₁ᵐ { P_l(i) × P_w(i) if wᵢ ≠ ε; P_l(i) otherwise }

T is now among the predicted objects. The index i ranges over m generated nodes rather than only n surface words. The symbol ε represents the absence of a lexical head to predict. A node with a lexical head contributes both factors; a node without one contributes only its label factor.

Generation proceeds downward through the tree and explores a branch before moving to the next. A stack records currently open nodes. Ordinary structural nodes are added to that stack, while a STOP event closes the most recently opened node. Preterminals and STOP events do not themselves open ordinary structural branches. This makes topology recoverable from the generated structural sequence.

Train separate neural estimators

Training examples come from automatically parsed target-language text. The implementation uses NPLM and separate feed-forward networks for P_w and P_l. Although they share the same input vocabulary, each is trained and used independently. The paper’s motivation for neural estimation is that ordinary back-off smoothing would need a defensible order for discarding heterogeneous context fields, and that order is unclear.

The label predictor takes a context with 2q + 2r entries. The word predictor has an additional entry for the target relation. Each entry maps to an embedding, and a hidden layer with rectified-linear activation processes the resulting representation. Noise-contrastive estimation supplies the training objective.

The reported configuration uses 150 dimensions for input embeddings and 750 for the hidden layer. The general word vocabulary contains 500,000 entries. P_l has an output vocabulary of 70. Noise-contrastive training draws 100 noise samples for the word prediction setting and 50 for P_l. Training makes two complete passes through the text.

Unknown inputs receive different treatment depending on the predictor. The sequence systems and P_l use a dedicated unknown token. Other dependency predictors fall back to the preterminal symbol. Perplexity is measured with softmax normalization, while decoding disables that normalization and relies on the approximately self-normalized scores produced through training.

The decoder constructs translations from smaller pieces upward. The dependency scorer, however, wants information that may lie above an unfinished piece. The implementation therefore queries incomplete contexts with null placeholders and updates the affected scores as more structure becomes available.

Each context position receives its own null representation. This allows an unavailable ancestor label to have a different approximation from an unavailable sibling word. The null embeddings are based on weighted averages of other input embeddings. The paper treats this as an efficiency compromise, and explicitly notes that inaccurate early scores can affect pruning.

The scorer contributes P_w and P_l as separate features in the translation system’s log-linear combination. It does not calculate sentence probability by summing over every possible label sequence and topology. Such marginalization would be expensive. Instead, translation search looks for a strong derivation under the combined feature scores.

Artificial glue structures require another exception. The decoder can concatenate partial trees using glue rules, but those structures do not appear in the linguistic training data. The scorer evaluates their children and skips the glue node itself. A fixed high cost discourages excessive use of glue rules. The experimental decoder also limits ordinary grammar parsing to spans of up to 50 words, using glue to connect longer material.

Tune with matching structural evidence

HWCM compares output and reference using head-word chains. The paper extracts syntactic n-grams with lengths from 1 to 4. References are automatically parsed using the training preprocessing, while output trees come directly from the decoder.

The original head-word-chain measure is precision-based. The paper instead uses a harmonic combination of precision and recall, named HWCM_f. It then tunes translation feature weights against either BLEU alone or a linear combination of BLEU and HWCM_f.

Optimization uses k-best batch MIRA, following the framework associated with Batch Tuning Strategies for Statistical Machine Translation. This stage does not train the dependency predictors again. It determines how strongly their scores, together with other translation features, influence the complete system.

Experiments and results

Data and comparison conditions

The main German experiments use the English–German resources from the translation task described in Findings of the 2014 Workshop on Statistical Machine Translation. The parallel corpus contains about 4.5 million sentence pairs, and the German monolingual material contains 120 million sentences. Language scoring is trained on the German side of the parallel material together with the monolingual text.

The Russian experiments use 2 million parallel sentence pairs and 34 million monolingual Russian sentences. Their translation setup copies the language-independent settings from the German system. Russian dependency analysis uses a Maltparser configuration, followed by projectivization.

For translation, the dependency systems use q set to 1 and r set to 2. The paper reports that nodes in its test data have an average of 4.6 ancestors, with σ = 2.5, and 1.2 preceding siblings, with σ = 1.3. Thus the chosen windows deliberately cover only part of the available structural context.

The German baseline is a Moses string-to-tree system based on an earlier setup that ranked 1–2 among 18 systems in the shared task. A consequential change is that agreement constraints supplied by a unification grammar are not enforced in the main comparison. The paper reserves them for analysing grammatical errors.

The baseline language scorer uses interpolated modified Kneser–Ney smoothing. Its translation configuration retains a full vocabulary and interpolates component estimates for domain adaptation. For perplexity comparisons, the data and vocabulary are matched to the neural alternatives, reducing differences unrelated to the contextual representation.

Tuning uses a development set of 2000 sentences. Each configuration is optimized three times, and translation scores are averaged across those runs. Significance testing uses Multeval, extended to support HWCM_f. The paper’s significance annotations use p < 0.05.

Does the scorer contain useful new information?

The perplexity experiment compares human German references from newstest2013 with the baseline’s preferred translation output. The intended diagnostic is whether a new scorer favors the reference more strongly than the scorer already embedded in the baseline.

Raw perplexities cannot be ranked as if every system predicts the same object. Some dependency variants receive topology, while the full RDLM must predict it. The paper therefore emphasizes the reference-versus-output entropy comparison within each system.

German newstest2013, entropy difference between reference and baseline output

The relational dependency scorer shows the strongest reference preference among these complete scoring variants.

German newstest2013, entropy difference between reference and baseline outputKneser–Ney word sequence: -4.4Kneser–Ney word sequence-4.4Neural word sequence: 0.0Neural word sequence0.0Shen-context reimplementation: 1.8Shen-context reimplementation1.8DLM, shorter ancestor window: 3.6DLM, shorter ancestor window3.6DLM, longer ancestor window: 6.5DLM, longer ancestor window6.5RDLM (this paper): 12.7RDLM (this paper)12.7
The numbers
System or settingentropy difference %
Kneser–Ney word sequence-4.4
Neural word sequence0.0
Shen-context reimplementation1.8
DLM, shorter ancestor window3.6
DLM, longer ancestor window6.5
RDLM (this paper)12.7

The Kneser–Ney baseline assigns perplexity 232.9 to the references and 183.3 to its translation output. This preference is unsurprising because the same kind of scorer helped select that output. The neural word-sequence alternative produces values of 207.3 and 207.5, showing almost no preference between the two.

For DLM with q=1 and r=2, reference perplexity is 136.9 and output perplexity is 188.3. Full RDLM has larger raw values, 349.2 and 734.6, because it predicts additional structure. The lexical RDLM factor P_w gives 58.1 and 85.1, while P_l gives 6.0 and 8.6. These component figures illustrate the usefulness of label context, but they are not interchangeable measures of the same prediction task.

German translation quality

The translation experiments compare local neural scoring, the reimplemented Shen context, unlabelled dependency scoring, and RDLM. They also test a combination of local neural scoring with RDLM. Evaluation includes BLEU, HWCM_f, METEOR, and TER; the German METEOR evaluation follows Meteor 1.3.

When tuning uses BLEU alone, the local neural component and RDLM both perform strongly on BLEU and TER. RDLM is the sole winner under the paper’s significance-based definition for HWCM_f and METEOR. The paper notes a gap of 0.6 HWCM_f between local neural scoring and RDLM despite similar BLEU performance.

The mixed tuning objective makes the distinction more visible. On German newstest2014, the following BLEU comparison uses systems tuned with BLEU plus HWCM_f:

English→German newstest2014, BLEU after mixed-objective tuning

RDLM improves over the baseline, and adding local neural context produces the strongest result in this comparison.

English→German newstest2014, BLEU after mixed-objective tuningBaseline: 20.5Baseline20.5Local neural scorer: 21.1Local neural scorer21.1Unlabelled dependency scorer: 21.4Unlabelled dependency scorer21.4RDLM: 21.6RDLM21.6Local neural scorer + RDLM (this paper): 21.8Local neural scorer + RDLM (this paper)21.8
The numbers
System or settingBLEU
Baseline20.5
Local neural scorer21.1
Unlabelled dependency scorer21.4
RDLM21.6
Local neural scorer + RDLM (this paper)21.8

Across the German test sets, the paper reports that mixed-objective RDLM exceeds the local neural alternative by 0.8–0.9 HWCM_f and 0.3–0.5 BLEU. Compared with the original baseline using BLEU-only tuning, its reported gains are 1.1–1.3 BLEU and 1.3–1.4 HWCM_f.

Adding HWCM_f to tuning improves test BLEU significantly for 9 out of 10 reported comparisons. The gain is larger for configurations containing RDLM: the paper gives 0.3–0.6 BLEU, compared with 0.1–0.2 BLEU for the baseline or local neural system. This supports an interaction between the available syntactic capability and the optimization objective, although it does not isolate the cause of that interaction completely.

Russian translation quality

The Russian experiments test a smaller set of configurations. RDLM is the consistent winner and significantly exceeds the baseline across the reported metrics and test sets. Mixed-objective tuning adds further gains in HWCM_f and TER.

Considering RDLM and the objective change together, the paper reports 0.5–0.9 BLEU improvement and 2.1–3.4 HWCM_f improvement. On newstest2014, the mixed-objective RDLM configuration obtains BLEU 26.8, HWCM_f 27.3, and TER 53.0. The corresponding baseline under that objective records BLEU 25.8, HWCM_f 25.1, and TER 54.1.

These results extend the main finding beyond German, but only within another tree-producing translation setup. The Russian system is not a demonstration that every language-specific setting transfers unchanged, nor does it provide a separate manual analysis of Russian grammatical errors.

Agreement errors and examples

The German agreement analysis counts translations that violate at least one constraint from a unification grammar. It covers noun-phrase agreement, prepositional-phrase agreement, and subject–verb agreement. The evaluation uses newstest2013, containing 3000 sentences, and averages the counts across three optimization runs.

German newstest2013, outputs with agreement violations after mixed-objective tuning

Dependency scoring reduces flagged outputs more strongly than local neural scoring, with RDLM lowest in this comparison.

German newstest2013, outputs with agreement violations after mixed-objective tuningBaseline: 1018Baseline1018Local neural scorer: 825Local neural scorer825Shen-context reimplementation: 844Shen-context reimplementation844Unlabelled dependency scorer: 599Unlabelled dependency scorer599RDLM (this paper): 468RDLM (this paper)468Local neural scorer + RDLM: 484Local neural scorer + RDLM484
The numbers
System or settingtranslation hypotheses with at least one agreement error
Baseline1018
Local neural scorer825
Shen-context reimplementation844
Unlabelled dependency scorer599
RDLM (this paper)468
Local neural scorer + RDLM484

The examples explain what these aggregate findings can look like. In a sentence about a user managing an identity, the baseline chooses a plural verb where a singular one is needed. Another example concerns apply: the baseline selects gelten for a transitive construction, while the stronger system selects anwenden. A further example combines the noun for a decision with a verb associated with reaching an agreement; the stronger output selects the appropriate decision construction.

These examples show different kinds of dependency-sensitive repair. They are illustrations of successful cases, not an exhaustive error distribution or a separate human evaluation.

What the ablations show

Labels contribute more than tree proximity alone

The contrast between DLM and RDLM is the main test of relational information. DLM already reaches beyond adjacent words through ancestors and siblings. RDLM adds dependency labels, predicts those labels, and accounts for structural completion.

The lexical factor P_w has a much lower reference perplexity than the unlabelled DLM configuration. This is consistent with the claim that labels help predict words and their forms. However, P_w receives label information that DLM does not, so this comparison measures the value of additional conditioning instead of establishing that an equally difficult task has become easier without qualification.

Translation and agreement results provide a stronger practical complement. RDLM outperforms the unlabelled alternative on the relevant structural measures and produces fewer flagged agreement outputs. Together, these comparisons support the usefulness of relational information. They do not assign a separate numerical contribution to every added design decision.

Ancestor reach matters in the diagnostic

The perplexity experiment varies DLM’s ancestor window while retaining its sibling setting. The configuration with r=1 yields a reference-versus-output entropy difference of 3.6%, whereas r=2 yields 6.5%. The associated reference perplexities are 213.7 and 136.9.

This comparison supports the usefulness of reaching beyond the immediate parent in the tested diagnostic. It is not a broad sweep over structural context sizes. The translation experiments fix the ancestor setting, and the paper identifies still larger contexts as future work. It therefore leaves open how quickly additional reach stops helping or becomes too costly.

The earlier dependency context is tested under a shared estimator

The Shen comparison is a reimplementation of its context definition, not an exact reproduction of its complete original training procedure. The earlier work does not specify the training and smoothing choices required for a direct replication, so Sennrich uses the same neural architecture as for the other evaluated dependency predictors.

That decision makes the context comparison more controlled. It also limits attribution: differences from the original reported system cannot be assigned entirely to the new relational representation. The reimplementation uses separate networks for left and right dependents and distinguishes parent tokens through a modified vocabulary. It does not predict STOP events.

The comparison therefore supports the paper’s contextual design relative to this implemented alternative. It is not a complete factorial experiment independently toggling direction sharing, ancestor allocation, relation labels, and topology prediction.

Tuning objective and scorer interact

The paper evaluates each translation configuration under BLEU-only tuning and mixed tuning. This is particularly informative because it tests an objective change across systems with different capabilities.

The structural objective has a modest effect on the baseline and local neural alternative, but a larger effect when RDLM is present. The paper proposes that syntax-aware optimization promotes constructions that generalize better and reduces overfitting. Those are explanatory hypotheses. The experiment directly establishes the score changes under the tested objectives; it does not independently measure overfitting as the causal mechanism.

This distinction matters when interpreting the broader argument. The results show that an objective’s usefulness depends in part on what the system can change. They do not imply that every component should be optimized solely against a metric designed around its representation.

Local and structural context remain complementary

The combined local-neural and RDLM configuration improves aggregate translation scores beyond either component alone. Yet adding the local scorer to RDLM does not further reduce agreement violations. This is evidence that the additional translation benefit is not explained simply by the agreement categories counted by the grammar.

The contrast helps locate complementarity. Local context can still help with choices that are poorly summarized by the agreement diagnostic. Conversely, RDLM’s stronger agreement behavior shows that a local neural estimator does not recover all the structural information merely by being trained with a similar architecture.

Agreement constraints reveal overlap and residual errors

The paper also enforces the hand-built agreement constraints in selected systems. Applied to the baseline tuned with the mixed objective, the constraints add 0.3 in both BLEU and HWCM_f. Applied to RDLM, the reported improvement is only 0.03.

This suggests substantial overlap between what RDLM learns and what the constraints enforce. It also exposes a limit of simple error counting. Remaining flagged outputs may be hard to repair because the translation system cannot produce the required inflected alternative. Some flags may be false positives. A residual violation therefore does not necessarily identify an easy improvement that stronger preference alone can recover.

The metric analysis reinforces the structural interpretation. Kendall’s τ between agreement counts and HWCM_f is −0.92. The corresponding values are −0.77 for BLEU, −0.54 for METEOR, and 0.69 for TER. These correlations describe the evaluated configurations. They support HWCM_f’s sensitivity to this diagnostic without proving that it captures every dimension of grammatical quality.

Missing-context scoring has a measurable approximation cost

The paper’s null-context analysis compares entropy rates under different query conditions. A full query to a word-sequence system gives 5.25. A directly trained shorter-context alternative gives 5.96. Querying the larger-context system with null placeholders gives 6.13.

This is a useful controlled check because it separates losing context from approximating a missing context inside a larger predictor. However, it uses a word-sequence illustration instead of a full translation-search ablation. The paper does not quantify how many translation errors arise specifically because approximate early scores prune a promising derivation.

Limitations

Limits acknowledged by the author

The method is described as language-independent, but its empirical coverage is German and Russian as target languages. The author explicitly has no experimental result for other targets. Suggestions concerning languages with flexible order and distant grammatical dependencies are hypotheses motivated by the representation, not additional findings.

The system also depends on a decoder that produces target-language structures. The paper proposes combining the dependency scorer with a parser for reranking ordinary string output, but does not test that alternative. Its success inside the reported decoder therefore cannot be assumed to transfer automatically to an architecture that supplies no comparable structural hypotheses.

Context remains bounded. Only selected preceding siblings and ancestors enter the predictor, leaving out following siblings and more distant material. The conclusion proposes larger windows, source-side context, and combinations of networks. These are potential extensions rather than demonstrated ingredients of the reported gains.

The decoding approximation introduces another acknowledged limit. Incomplete hypotheses receive scores using null placeholders, and those early scores can influence pruning. Updating a surviving hypothesis later does not recover an alternative already discarded. The paper explains the risk and examines an entropy illustration, but does not establish a universal bound on the resulting search error.

Artificial glue rules are also handled pragmatically. Their nodes are excluded from ordinary linguistic scoring and receive a high cost elsewhere. The author reports that their use is limited, at about 100 applications per 3000 sentences. Even so, this treatment is a decoder-specific convention, not a fully learned account of every structure the search procedure can construct.

Limits visible in the experimental design

The agreement analysis is based on an automatic grammar, not exhaustive human annotation. The paper assumes that its false-positive behavior is approximately stable across the compared systems. That assumption allows reductions in flagged outputs to indicate better agreement, but the study does not independently verify constant false-positive rates.

The diagnostic also counts sentences with at least one violation. It does not directly measure every error within a sentence, its severity, or its impact on meaning. A sentence with several agreement problems and one with a single problem both satisfy the counted condition. The reported reduction should therefore remain attached to this exact unit.

The translation metrics cover different properties and can disagree. HWCM_f is designed to recognize dependency-chain matches, and the system is tuned partly against it. Improvements on BLEU, TER, and the agreement diagnostic provide supporting evidence, but the study does not include a direct human comparison of overall translation quality. The examples show plausible corrections without replacing such an evaluation.

Automatic parsing affects both training and structural evaluation. Training instances inherit the parser’s analyses. Reference chains also come from automatic parses, while output chains come from the decoder. This arrangement is efficient and matches the system’s internal representation, but it does not provide parser-independent grammatical truth. Errors or representational conventions can influence which chains match.

The perplexity comparisons require particular care. Full RDLM predicts words, labels, and topology, whereas some alternatives receive portions of that structure. Measuring per surface word makes the reporting unit more comparable, but it does not make the underlying tasks identical. A lower component perplexity cannot by itself establish a superior complete sentence distribution.

Reference preference is also a diagnostic instead of a proof of translation usefulness. It asks whether a scorer tends to prefer the human text over a particular baseline’s output. That can reveal missing information, but it does not establish that the decoder will find or select the right alternative in every case. The translation experiments are necessary because the diagnostic and the search problem differ.

Several implementation choices change together between DLM and RDLM. The paper does not independently isolate all contributions from labels, topology prediction, and structural markers. It gives strong evidence for the combined relational approach, but a reader should resist assigning its entire advantage to a single element.

The comparison with the earlier dependency system is likewise constrained by incomplete original training details. Reusing a common neural estimator makes the reported comparison meaningful for context design. It does not justify a claim that every possible implementation of the earlier approach would obtain the same result.

Finally, the word “relational” should not be read as complete freedom from order. The system uses preceding siblings, generates a structured sequence, and represents head placement. Its contribution is a more explicit role-based account and less reliance on particular left–right assumptions. The experiments support that design in the tested settings, rather than proving that configurational information is generally unnecessary.

What came after

Getting Gender Right in Neural Machine Translation appears in 2018 and cites this work. Its title identifies a later concern with gender in neural translation. The citation establishes a connection in the research record, but does not establish which part of Sennrich’s method it adopts. There is no basis here for attributing RDLM, head-word-chain tuning, or a particular experimental result to that later study.

The distinction matters because several contributions could motivate a citation. The paper connects grammatical relationships to word choice, demonstrates that local and structural context capture different errors, and shows that a tuning measure can obscure a component’s usefulness. A later gender-focused investigation might engage with one of those broader issues without reusing the architecture. The documented citation alone cannot decide among those possibilities.

The concrete continuation stated by Sennrich is the release of RDLM and HWCM_f tuning within Moses. The conclusion also identifies research directions: extending structural context, incorporating source information through ideas associated with Fast and Robust Neural Network Joint Models for Statistical Machine Translation, combining networks, and coupling the scorer with a parser for string reranking. These are proposals made by the paper, not evidence that the extensions were subsequently implemented or evaluated.

The lasting methodological claim is narrower and well supported by its experiments. A structural capability must survive the entire path from representation through search to weight selection. Evaluating only the predictor, or only the final metric, can miss how those stages interact. The German and Russian results demonstrate that interaction in the reported systems, while leaving later architectures and broader linguistic coverage to further investigation.

Cite

Cite as Rico Sennrich. 2015. Modelling and Optimizing on Syntactic N-Grams for Statistical Machine Translation. Transactions of the Association for Computational Linguistics.

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

@article{rico2015modelling,
  title = {{Modelling and Optimizing on Syntactic N-Grams for Statistical Machine Translation}},
  author = {Rico Sennrich},
  journal = {Transactions of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.1162/tacl\_a\_00131},
  url = {https://doi.org/10.1162/tacl_a_00131}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/sennrich-2015-modelling-optimizing-syntactic-n-grams/