Elamur Research

Tree-to-Sequence Attentional Neural Machine Translation

Paper · 2016 · Akiko Eriguchi, Kazuma Hashimoto and Yoshimasa Tsuruoka

Summary

An English phrase can correspond to a single Japanese word. When a translation system reads its input as a row of words, it can combine evidence across positions, but it has no separate entry for the phrase those words form. This paper asks whether giving the system such entries improves machine translation. The authors test the idea on English-to-Japanese translation, a task in which the languages organize sentences differently and divide the same material into different lexical units.

The system begins by reading the English sentence in order. Each word gets a vector that reflects its position and the words already read. A separate parsing step identifies the sentence’s phrase structure as a binary tree. The system places the contextual word vectors at the leaves, then works upward, building each phrase representation from its children. The Japanese decoder starts from a combination of the final sequential state and the tree’s root. As it generates the translation, it can attend to any of the encoded words or phrases. This gives a target word a direct connection to a source constituent, even when there is no straightforward word-for-word correspondence.

On the WAT'15 English-to-Japanese task, the approach beats the sequential attentional systems in the authors’ comparisons. A single tree-to-sequence system with hidden width 512 exceeds Zhu’s best purely neural entry, which uses an ensemble and unknown-word replacement, by +1.19 RIBES and +0.17 BLEU on the test data. The authors’ ensemble earns the highest reported RIBES, a measure sensitive to word order. It also compares favorably with the workshop’s strongest system, which generates candidates with tree-to-string statistical translation and uses a neural system to rerank them. The paper’s comparison with that entry is broader than a claim about winning on every metric. BLEU score

A development-set comparison shows that the sequential word states contribute even when the encoder already has a phrase tree. The authors also inspect individual translations and find instances in which a phrase draws more attention than the word that appears to be its closest Japanese counterpart. These examples show how phrase attention can be used. The benchmark and controlled comparisons make a separate point about quality: a system with contextual word states and explicit source phrases can outperform a sequential alternative on this translation task.

Deep dive: Tree-to-Sequence Attentional Neural Machine Translation

Tree-to-sequence neural translation gives the decoder access to English words and phrases, improving English-to-Japanese results on WAT'15. · about 40 minutes to read

The problem and its context

When the units of a translation differ

Consider an English expression that names a drink and specifies how it is served. A Japanese translation may have a direct counterpart for the name of the drink while leaving the serving expression implicit. The paper illustrates this with green tea. In a word-level alignment, green and tea can both point to the Japanese term for the drink. The English determiner and the words expressing the serving measure can be assigned a null correspondence, meaning that the alignment identifies no overt Japanese word for them.

That account is useful if the task is to record individual correspondences. It also puts a boundary around the explanation. The drinking expression is available as a unit on the English side, yet the word alignment splits its material into words that have Japanese counterparts and words that do not. The authors propose making the whole English phrase eligible to help predict the Japanese term. This changes what the system can bring together when it translates. It leaves the Japanese output free to express the content with a unit of its own size.

A source phrase is useful here because it encodes grouping. The fact that words occur together in a sequence supplies a clue about their relationship. A constituent analysis supplies a more specific claim about which of them go together and how that group fits into a larger one. Two representations of the same sentence can therefore make different objects accessible. The sequence makes positions accessible. The tree also makes the groups containing those positions accessible. The paper builds on the distinction between those objects and uses syntax and grammar on the source side.

Alignment in this setting is a way of connecting what the decoder is about to say with evidence in the input. In the authors’ system, it takes the form of attention weights. A weight can be large for a constituent whose contribution includes several English words, while other words or phrases can also have non-zero weight. There is no need to decide that each Japanese word receives its evidence from a unique English position. The system can also weigh a phrase highly without committing to the proposition that every word inside the phrase has been individually translated.

The example captures the two issues the authors associate with English and Japanese. The languages differ in sentence structure, and a unit that is naturally expressed as a word in one may be distributed over several words in the other. A difference in word order is one reason the source position and the target position can diverge. A difference in what counts as a lexical unit is a reason that position-to-position correspondence can be an awkward description even when the translator has located the relevant material. Both issues motivate a decoder that can select evidence at different scales.

What sequential attention already offered

The historical question arises within a field that had already moved from early encoder–decoder systems to systems with attention. As the paper recounts it, early work by Kalchbrenner and Blunsom used a convolutional source encoder with a recurrent target decoder. An encoder provides a numerical description of the input. A decoder consults that description while generating the output. Recurrence lets the decoder update a running state as it moves through the target sentence. The paper situates its proposal in the development that followed. Recurrent Continuous Translation Models

The encoder–decoder systems discussed next used recurrence for the source as well. The encoder read successive words, updating its state at each position. The last state served as a fixed-length sentence representation with which to start decoding. The paper identifies work using gated recurrent units and work using long short-term memory as examples. In each case, an input sentence could have varying length while the representation handed to the decoder retained the same width. The encoder had to learn how to carry information forward as more words arrived. Learning Phrase Representations using an RNN Encoder–Decoder · Sequence to Sequence Learning with Neural Networks

Attention gave the decoder access to the states associated with individual source positions during generation. If an upcoming target word depended on information near the beginning of the English sentence, the decoder could draw on the stored state for that position. The decoder recomputed the weights as its own state changed, so different parts of the source could matter at different steps. The paper credits Bahdanau and colleagues with using this mechanism to learn soft alignments jointly with translation. It discusses Luong and colleagues’ work on attention over local windows and on a decoding path that reuses earlier attention information. Neural Machine Translation by Jointly Learning to Align and Translate · Effective Approaches to Attention-based Neural Machine Translation

An attended word state can carry more information than the isolated word itself. In a sequential recurrent encoder, the state has a history. In principle, a decoder can also assign weight to several positions at once. The authors’ concern is about the entries over which it does so. A list of word states gives no constituent its own hidden state at which the attention calculation can aim directly. Their proposal makes that constituent an entry and gives the entry a representation whose construction follows the constituent’s internal structure.

The paper also describes manipulating the source sequence itself. Earlier work found that feeding source words in reverse order could help in French-to-English translation, and the authors cite encouraging results on other European language pairs. This changes the order in which the encoder encounters information and builds its states. It still leaves the input organized as a chain. The authors also mention earlier work that proposed learning structure within an encoder–decoder approach and reported no gain in translation performance. Their own experiment takes the phrase groupings from a parser, so learning to discover those groupings is a separate question. On the Properties of Neural Machine Translation

Why compare with statistical translation?

The authors describe neural translation as already competitive on English-to-French and English-to-German tasks. They ask whether it can compete with statistical machine translation when the source and target are structurally more distant. English-to-Japanese serves as a concrete case. The benchmark lets the paper compare a syntax-aware neural translation system both with sequential neural systems and with statistical systems that already have ways to exploit source structure.

In the account given by the paper, source constituents had helped earlier statistical work with alignment and translation. A statistical tree-to-string system starts from a structured source and produces a target string. That broad shape resembles the proposal in this paper. The mechanics differ. The new system represents words and phrases as learned vectors and uses the decoder’s state to weight those vectors during generation. Earlier results supplied a reason to offer source structure to the translator, while neural attention supplied a mechanism for using it. A Syntax-based Statistical Translation Model · Tree-to-String Alignment Templates

The paper’s question is consequently narrower than whether syntax is necessary for translation. It asks whether one explicit representation of English phrase structure can improve a particular neural approach and make its outputs competitive on a particular translation direction. Its design preserves the sequential encoder and target decoder, then adds a route through which constituents can affect generation. Where those constituents enter, and what information they contain by the time they reach the decoder, are the central technical choices.

The method, step by step

From English words to Japanese predictions

The source is processed in two related ways. The sequential encoder reads the English tokens in order. A parser supplies the tree that tells the system which states to combine into phrases. Each English word contributes its sequential state at a leaf, the bottom of the tree. A phrase with two children has a state built from those children, whether they are individual word positions or phrases that have already been encoded. The tree computation repeats until it reaches the root.

At that point the system has a sequential summary of the completed input and a summary built through the phrase tree. It combines them to initialize the decoder. It also keeps the intermediate states. This matters because summarizing the sentence and picking evidence for a particular Japanese word are different jobs. The decoder can begin with information about the whole sentence, then consult a lower-level phrase or an individual word at the moment when it is relevant.

The decoder generates Japanese in sequence. At each step, its current state supplies a query for attention. The source states compete for weight according to their compatibility with that query. A weighted combination of the source vectors helps the decoder assign probabilities to the possible next words. The decoder carries the previous attention-informed representation into its next update, allowing earlier source context to inform the next query.

From an English sentence to a Japanese translation

The steps in order.

From an English sentence to a Japanese translationStep 1: Parse the English sentence into binary constituents1. Parse the English sentence into binary constituentsStep 2: Encode the English words in sequence2. Encode the English words in sequenceStep 3: Use sequential states as the tree leaves3. Use sequential states as the tree leavesStep 4: Compose phrase states upward to the root4. Compose phrase states upward to the rootStep 5: Combine sentence states to initialize the decoder5. Combine sentence states to initialize the decoderStep 6: Attend to source words and phrases6. Attend to source words and phrasesStep 7: Predict the next Japanese word7. Predict the next Japanese wordStep 8: Feed the attention-informed state forward8. Feed the attention-informed state forward

The sequential encoder and decoder

The authors write the source and target sentences as ordered lists.

x = (x₁, x₂, …, xₙ)

Here x is the source sentence, xᵢ is the source word at position i, and n is the source length. The subscripts give positions, and the ellipsis stands for the intervening words.

y = (y₁, y₂, …, yₘ)

Here y is the target sentence, yⱼ is the target word at position j, and m is the target length. The ellipsis again indicates the ordered words between the displayed positions. The training task estimates the probability of y given x from paired examples. A word is supplied to the encoder through a learned numerical vector of width d. Such vectors are word embeddings.

The recurrent source update can first be described without specifying its gates.

hᵢ = f_enc(xᵢ, hᵢ₋₁)

The vector hᵢ is the source hidden state at position i. The update f_enc takes the current word xᵢ, through its embedding, and the previous hidden state hᵢ₋₁. Each hidden state is a column vector with d components. The ordinary recurrence starts from a hidden state h₀ typically set to zero. By the time it computes hₙ, the state at the last source position, it has processed the full sequence.

In the plain encoder–decoder formulation that the paper uses as a starting point, the final encoder state provides the first decoder state.

s₁ = hₙ

Here s₁ is the initial hidden state on the target side. The source state hₙ comes from the end of the sequential encoder, where n is the length of x. The tree-to-sequence design changes this initialization after the tree is available.

In the plain formulation, the target recurrence has the same general shape as the source recurrence.

sⱼ = f_dec(yⱼ₋₁, sⱼ₋₁)

Here sⱼ is the decoder hidden state for step j and f_dec is the nonlinear decoder update. Its inputs are the previous target word yⱼ₋₁ and the previous decoder state sⱼ₋₁. Through this sequence of updates, the current state can reflect the words that have already been supplied on the target side.

p(yⱼ | y₍<ⱼ₎, x) = g(sⱼ)

The symbol p denotes probability. The vertical bar means “given,” and y₍<ⱼ₎ denotes the target prefix before step j. The function g reads the state sⱼ to determine the probability of a candidate word yⱼ given that prefix and source sentence x. The dependence on the English input is carried in the decoder state in this introductory formulation. The attentional version below makes a fresh connection to the encoded input at each step.

What the sequential memory keeps

The paper uses long short-term memory, or LSTM, for the recurrent computation. An LSTM state includes a hidden vector and a memory cell. The hidden vector is the exposed representation that can be passed into other computations. The memory cell has a separate update that lets some entries carry forward even as other entries receive fresh information. Gates are vectors of values that regulate those transfers component by component.

The equations below use t for a step in the recurrent chain. At this level, xₜ denotes the embedding presented to the unit, and hₜ₋₁ denotes the preceding hidden vector. The paper writes the embedding, the hidden state, and the memory cell as column vectors of width d. Each gate or candidate has its own weight matrices and bias vector.

iₜ = σ(W⁽ⁱ⁾ xₜ + U⁽ⁱ⁾ hₜ₋₁ + b⁽ⁱ⁾)

The vector iₜ is the input gate at step t. The logistic function σ acts component by component. W⁽ⁱ⁾ maps the current embedding xₜ, U⁽ⁱ⁾ maps the preceding hidden state hₜ₋₁, and b⁽ⁱ⁾ is the input-gate bias. The superscript identifies the transformation. The matrices have d rows and d columns in the displayed formulation, and the bias has d components.

fₜ = σ(W⁽ᶠ⁾ xₜ + U⁽ᶠ⁾ hₜ₋₁ + b⁽ᶠ⁾)

The vector fₜ is the forget gate for the existing memory. The forget-gate parameters W⁽ᶠ⁾, U⁽ᶠ⁾, and b⁽ᶠ⁾ apply to the current embedding xₜ and the previous hidden state hₜ₋₁ before the logistic function σ. The subscript t identifies the present step. A larger gate value preserves more of the corresponding entry in the old cell.

oₜ = σ(W⁽ᵒ⁾ xₜ + U⁽ᵒ⁾ hₜ₋₁ + b⁽ᵒ⁾)

Here oₜ is the output gate at step t. W⁽ᵒ⁾ and U⁽ᵒ⁾ are its weight matrices for xₜ and hₜ₋₁, and b⁽ᵒ⁾ is its bias vector. The logistic σ produces the componentwise weights that will regulate how the updated cell appears in the hidden state.

c̃ₜ = tanh(W⁽ᶜ̃⁾ xₜ + U⁽ᶜ̃⁾ hₜ₋₁ + b⁽ᶜ̃⁾)

The candidate c̃ₜ is the proposed new content for the cell at step t. The superscript c̃ identifies the candidate’s matrices W⁽ᶜ̃⁾ and U⁽ᶜ̃⁾ and its bias b⁽ᶜ̃⁾. Their inputs are the current embedding xₜ and the previous hidden state hₜ₋₁. The function tanh is the hyperbolic tangent, applied to each component of the result.

cₜ = iₜ ⊙ c̃ₜ + fₜ ⊙ cₜ₋₁

The new memory cₜ combines the candidate c̃ₜ with the previous memory cₜ₋₁. The input gate iₜ controls the contribution of the candidate, and the forget gate fₜ controls the contribution of the previous cell. The operator ⊙ multiplies matching components, and the addition combines their contributions in the new cell.

hₜ = oₜ ⊙ tanh(cₜ)

The hidden vector hₜ exposes the new cell cₜ after a componentwise tanh transformation and componentwise multiplication, written ⊙, by the output gate oₜ. Together, hₜ and cₜ provide the information the next unit can build on.

This distinction between exposed state and cell matters for the next stage. A source word’s hidden vector is the object attention can consult directly. Both the hidden vector and the cell can contribute to its parent in the tree. The sequential recurrence can also distinguish repeated occurrences of a word. The same embedding can be presented at two different positions while the previous hidden state differs, so the resulting leaves can carry distinct contextual information.

Building a phrase from its children

The authors obtain the English binary structures with Enju, a probabilistic parser for Head-driven Phrase Structure Grammar, or HPSG. They use the branching structure and omit the additional information specific to the grammar. A leaf supplies the sequential LSTM unit at a word position. A parent receives a left and a right child. Because construction proceeds upward, each child state is available before the parent is computed. Enju’s probabilistic HPSG parsing

At a high level, the tree operation can be expressed as a function that produces a phrase hidden vector from the two child units.

h⁽ᵖʰʳ⁾ₖ = f_tree(hˡₖ, hʳₖ)

The index k identifies the parent. Its hidden state is h⁽ᵖʰʳ⁾ₖ. The symbols hˡₖ and hʳₖ identify the hidden states of that parent’s left and right children, and f_tree denotes nonlinear composition. In this shorthand, the hidden vectors identify the child units. The full Tree-LSTM update also uses their memory cells.

The Tree-LSTM extends the idea of gating along a chain to composition over a tree. In the binary case, the parent cell can retain different amounts of information from its left and right branches. The hidden states of both children enter each gate calculation. Left and right have distinct parameter matrices, so a child’s position in the construction can affect how its content is used. The paper adapts the Tree-LSTM of Tai and colleagues, changing the way information arrives at the leaves. Tree-Structured Long Short-Term Memory Networks

iₖ = σ(Uₗ⁽ⁱ⁾ hˡₖ + Uᵣ⁽ⁱ⁾ hʳₖ + b⁽ⁱ⁾)

Here iₖ is the input gate of parent k. The child hidden states hˡₖ and hʳₖ enter through the matrices Uₗ⁽ⁱ⁾ and Uᵣ⁽ⁱ⁾ for the left and right branches. The vector b⁽ⁱ⁾ is the bias and σ is the componentwise logistic function. The superscript i denotes input-gate parameters. The matrices act between vectors of width d, and the bias and gate each have d components.

fˡₖ = σ(Uₗ⁽ᶠˡ⁾ hˡₖ + Uᵣ⁽ᶠˡ⁾ hʳₖ + b⁽ᶠˡ⁾)

The gate fˡₖ regulates retention of the left child’s cell at parent k. Both child hidden states, hˡₖ and hʳₖ, help determine this gate. The matrices Uₗ⁽ᶠˡ⁾ and Uᵣ⁽ᶠˡ⁾ map their contributions, b⁽ᶠˡ⁾ adds a bias, and σ applies the logistic function. The superscript fˡ specifies which memory the resulting gate will regulate.

fʳₖ = σ(Uₗ⁽ᶠʳ⁾ hˡₖ + Uᵣ⁽ᶠʳ⁾ hʳₖ + b⁽ᶠʳ⁾)

The gate fʳₖ regulates retention of the right child’s cell. The same children of parent k provide hˡₖ and hʳₖ. Their hidden vectors enter under the right forget gate’s own matrices Uₗ⁽ᶠʳ⁾ and Uᵣ⁽ᶠʳ⁾ and bias b⁽ᶠʳ⁾. The logistic function σ converts their combined contribution into the gate values.

oₖ = σ(Uₗ⁽ᵒ⁾ hˡₖ + Uᵣ⁽ᵒ⁾ hʳₖ + b⁽ᵒ⁾)

The parent output gate oₖ governs how the cell at node k is exposed. The matrices Uₗ⁽ᵒ⁾ and Uᵣ⁽ᵒ⁾ apply to the left and right hidden vectors hˡₖ and hʳₖ, and b⁽ᵒ⁾ is the output-gate bias. As with the other gates, σ is the logistic function applied componentwise.

c̃ₖ = tanh(Uₗ⁽ᶜ̃⁾ hˡₖ + Uᵣ⁽ᶜ̃⁾ hʳₖ + b⁽ᶜ̃⁾)

The candidate c̃ₖ represents new memory content proposed for parent k. It is obtained from child hidden states hˡₖ and hʳₖ using the candidate matrices Uₗ⁽ᶜ̃⁾ and Uᵣ⁽ᶜ̃⁾ and bias b⁽ᶜ̃⁾. The hyperbolic tangent tanh acts on the resulting vector component by component.

c⁽ᵖʰʳ⁾ₖ = iₖ ⊙ c̃ₖ + fˡₖ ⊙ cˡₖ + fʳₖ ⊙ cʳₖ

The memory cell c⁽ᵖʰʳ⁾ₖ for parent k combines three gated contributions. The input gate iₖ scales the proposal c̃ₖ. The left forget gate fˡₖ scales the left child cell cˡₖ, and the right forget gate fʳₖ scales the right child cell cʳₖ. Each ⊙ is componentwise multiplication. All the cell and gate vectors in this update have width d.

h⁽ᵖʰʳ⁾ₖ = oₖ ⊙ tanh(c⁽ᵖʰʳ⁾ₖ)

The hidden phrase representation h⁽ᵖʰʳ⁾ₖ is the output gate oₖ applied by componentwise multiplication, ⊙, to the transformed parent memory c⁽ᵖʰʳ⁾ₖ. The transformation tanh is again componentwise. The parent hidden vector can now help compute a higher constituent or receive attention directly from the decoder.

This construction gives phrase vectors access to information from both sources of organization. The tree determines which states are combined at a parent. The sequential encoder determines what is already present when construction reaches a leaf. A phrase state can therefore reflect material read before the phrase begins. The paper is interested in that context dependence, particularly when the same word occurs more than once in a sentence. The fact that a node represents a particular constituent identifies how it was constructed and where it can be addressed. It does not confine the information inside the vector to the constituent’s surface words.

Starting the decoder

The completed sequential chain and the root of the tree give the decoder different summaries of the source. The first was built through the order of the words. The second was built through the nesting of constituents. A further Tree-LSTM operation takes both units as children.

s₁ = g_tree(hₙ, h⁽ᵖʰʳ⁾ᵣₒₒₜ)

The initial decoder state is s₁. The vector hₙ identifies the final sequential encoder unit at source position n, and h⁽ᵖʰʳ⁾ᵣₒₒₜ identifies the unit at the root of the phrase tree. The function g_tree has the form of the earlier tree composition f_tree but has its own parameters. As at a phrase node, the compact notation describes a computation over LSTM units. The authors relate this form of initialization to an earlier use of tree composition to combine encodings from different source languages. Multi-Source Neural Translation

h⁽ᵖʰʳ⁾ᵣₒₒₜ = 0

This is the fallback specified when the parser cannot produce a tree. The symbol 0 here means the zero vector used in place of the phrase-root hidden representation h⁽ᵖʰʳ⁾ᵣₒₒₜ. The sequential encoder still provides the available source representation. The reported data preparation filters failed English parses out of training, so the existence of the fallback and the conditions under which the system was trained are separate details.

Attention and the next word

The paper first gives the dot-product attention formula for the sequential system. The decoder compares its current hidden vector with each encoder hidden vector. It exponentiates the resulting scores and normalizes them across the available source positions. The weight for one position therefore depends on the scores received by the other positions as well.

αⱼ(i) = exp(hᵢ · sⱼ) / Σₖ₌₁ⁿ exp(hₖ · sⱼ)

Here αⱼ(i) is the attention weight for source position i at target step j. The source vector hᵢ and decoder vector sⱼ are compared by the inner product, denoted by ·. The function exp exponentiates the score. The sum Σ ranges over source indices k from 1 to n, with hₖ the source vector at position k and n the number of source words. The resulting normalized weights express the relative emphasis assigned to the available vectors at that step.

dⱼ = Σᵢ₌₁ⁿ αⱼ(i) hᵢ

The vector dⱼ is the sequential attention context at decoder step j. The sum Σ runs over source positions i from 1 through n. Each hidden state hᵢ is multiplied by its scalar weight αⱼ(i). The symbol dⱼ names a vector, while the unsubscripted d used for a dimension is its width.

The proposed system extends the attention pool. The word states remain eligible, and the decoder can also score the hidden state of each phrase. In the resulting context formula the first sum collects the word contributions and the second collects the phrase contributions.

dⱼ = Σᵢ₌₁ⁿ αⱼ(i) hᵢ + Σᵢ₌ₙ₊₁²ⁿ⁻¹ αⱼ(i) h⁽ᵖʰʳ⁾ᵢ

The context vector dⱼ refers to target step j. The index i through n refers to source word vectors hᵢ. In the second sum, i begins at n+1 and runs through 2n−1, indexing phrase vectors h⁽ᵖʰʳ⁾ᵢ. A binary tree with n leaves has n−1 internal nodes, which accounts for the range. In both sums, αⱼ(i) is the attention weight assigned to the indicated source entry. The entries now include the nested phrases made available by the tree. The root can be consulted as a source phrase as well as contributing to the initial state.

Because attention combines states by weight, the decoder can draw on a phrase and one of its words at the same step. It can also use a broad phrase for one output and then focus on a smaller unit for the next. The available entries and their composition are determined on the source side, while their weights depend on the target state. As a result, the order in which the decoder consults the constituents can follow the needs of Japanese generation.

s̃ⱼ = tanh(W_d [sⱼ; dⱼ] + b_d)

The vector s̃ⱼ is the attention-informed state used for prediction at decoder step j. The bracketed expression concatenates the recurrent decoder state sⱼ and context dⱼ into one column of width 2d. The learned matrix W_d maps that column back to width d, b_d is a bias of width d, and tanh is the componentwise hyperbolic tangent. In the notation inside the brackets, the semicolon separates vectors that are joined.

p(yⱼ | y₍<ⱼ₎, x) = softmax(W_s s̃ⱼ + b_s)

The left-hand side denotes the predicted probability for a candidate word yⱼ given the earlier target words y₍<ⱼ₎ and source sentence x. On the right, the softmax produces the full distribution, and the probability of yⱼ is its corresponding entry. The matrix W_s projects the attention-informed vector s̃ⱼ to scores for the target vocabulary V. It has |V| rows and d columns. The bias b_s has |V| components, where |V| is the number of possible vocabulary entries. Softmax converts the resulting scores into normalized probabilities.

The paper also uses input-feeding. After a word has been predicted, the vector that supported that prediction is made available to the next recurrent update. The decoder thus carries a representation of earlier attention context alongside the information from the previous target word and hidden state.

sⱼ = f_dec(yⱼ₋₁, [sⱼ₋₁; s̃ⱼ₋₁])

The function f_dec updates the present decoder state sⱼ at step j from the preceding target word yⱼ₋₁ and the bracketed concatenation. The concatenated vectors are the preceding hidden state sⱼ₋₁ and preceding attention-informed state s̃ⱼ₋₁. The semicolon in the formula separates those vectors. The authors report seeing a BLEU improvement from input-feeding in preliminary experiments and use it in the sequential comparison as well as in their proposed system.

Preparing the training pairs and fitting parameters

The experiments use the English-to-Japanese portion of the ASPEC corpus from WAT'15. Following Zhu’s setup, the authors start with the first 1.5 million training pairs. They parse the English side with Enju and segment the Japanese side with KyTea under the workshop’s preparation procedure. Segmentation determines where the Japanese token boundaries fall and therefore which units appear in the target vocabulary. The training preparation screens out pairs with lengths above 50 and pairs whose English sentence fails to parse. KyTea’s Japanese morphological analysis · Tokenization

The authors construct each vocabulary from training words that reach a frequency threshold N. They set N to 2 in the small training condition and 5 in the large condition. Words outside the retained vocabulary map to unk. In both languages an eos symbol marks the end of each sentence. These choices affect both sides of the experiment. They determine the identities available to the source encoder and the candidates available to the prediction layer. They also give beam search an explicit way to recognize a completed target sequence.

J(θ) = (1 / |𝒟|) Σ₍ₓ,ᵧ₎∈𝒟 log p(y | x)

The quantity J is the objective for parameters θ. The set 𝒟 consists of paired training sentences, and |𝒟| is its size. The sum takes each source–target pair (x, y) in that set. The function log takes the logarithm of the conditional probability p(y | x) assigned to the observed translation, and the prefactor averages these terms over the pairs. This objective favors parameter settings under which the recorded targets receive higher probability.

The authors use plain stochastic gradient descent, updating from mini-batches of 128 training examples. The initial learning rate is 1.0, and they halve it when loss on the development set worsens. They clip the gradient norm at 3.0 to control large updates. Biases and the weights of the softmax and BlackOut output layers start at zero, with forget-gate biases for the two types of LSTM set to 1.0. The remaining parameters are drawn uniformly from the interval written below.

[−0.1, 0.1]

The brackets delimit the initialization interval. Its lower endpoint is −0.1 and its upper endpoint is 0.1. The positive and negative endpoints define the range for the parameters covered by this part of the initialization rule.

Reducing the cost of word prediction during training

With full softmax, a target prediction involves scores across the vocabulary. The paper identifies this computation as the main training bottleneck and notes that its cost grows with vocabulary size. The authors also point out that the GPU acceleration used for sequential systems is harder to apply to tree-shaped computation. Their implementation uses C++ and Eigen, and they run the experiments on multicore CPUs. To reduce the expense of the output layer in their sampled runs, they use BlackOut.

At a training step, BlackOut uses a weighted softmax involving the observed target word and K sampled negative items. The negatives come from a sampling distribution based on the frequency of individual target words in training. The authors describe taking the unigram distribution to a power governed by β.

β ∈ [0, 1]

The symbol β is the exponent applied to the unigram probabilities in the sampling scheme. The membership sign ∈ indicates the allowed interval, with endpoints 0 and 1. The authors use β of 0.4. The hyper-parameter K separately determines the number of negative draws. These settings control the training calculation, while the ordinary full softmax can be used after training.

The small-data experiments use width 256 for the hidden states and word embeddings. The sampled settings use K of 500 or 2000. The large-data runs use embeddings of width 512 and hidden widths of 512, 768, and 1024, with K of 2500. Keeping embedding width fixed in that set of runs makes the change in d specifically a change in hidden-state width. The paper also reports a small-data run with full softmax to compare the sampled training computation with the original output layer.

Searching for a translation

To generate a sentence, the authors use beam search. At each step, the beam retains a limited collection of promising hypotheses as words are added. Each retained hypothesis has its own target prefix and associated decoder state. The search must keep some hypotheses and discard others before complete translations are known. The score used to make those decisions can therefore change the output even when the trained network stays fixed.

score(x, y) = Σⱼ₌₁ᵐ log p(yⱼ | y₍<ⱼ₎, x)

Here score(x, y) is the ordinary beam score for candidate target sequence y with source x. The sum Σ ranges over its target positions j from 1 through m, the length of y. At each position, the term is the log probability of yⱼ given the target prefix y₍<ⱼ₎ and the source. Since adding a word adds another log-probability term, the accumulated score tends to decrease as more words are generated. This can favor shorter candidates.

The authors tried a previously proposed length normalization in preliminary experiments and found it ineffective for their task. They also discuss an earlier method that would require estimating translation probability in the opposite direction with another neural system. Their chosen adjustment uses observed pairs of lengths, giving the search information about the sort of target length seen for a source of a given size.

score(x, y) = Lₓ,ᵧ + Σⱼ₌₁ᵐ log p(yⱼ | y₍<ⱼ₎, x)

In the modified score, x is the source and y the target candidate. The new term Lₓ,ᵧ is the length penalty for that pair. The sum retains the original contributions from the log probabilities p of the successive target words yⱼ, with j running from 1 to candidate length m and y₍<ⱼ₎ denoting the preceding target words.

Lₓ,ᵧ = log p(len(y) | len(x))

The function len returns the word length of its sentence argument. The quantity p(len(y) | len(x)) describes the conditional probability of the candidate’s target length given the source length. Taking its logarithm gives the penalty Lₓ,ᵧ. The authors estimate the conditional length probabilities in advance from the first one million training pairs and allow outputs of up to 100 words.

The length term supplies information different from that in any individual next-word probability. A short output can accumulate relatively little negative log score from generation, but if its length is unusual for the given source length, it can receive a less favorable length term. The search can then retain a longer candidate that the plain beam score would have ranked below it. This is a decoding intervention. It can affect both a sequential system and a tree-to-sequence system without changing how either was trained.

Experiments and results

What was evaluated

The experiments play two roles. Runs on the small training dataset are used to examine design choices on the development set. They compare the proposed encoder with a sequential attentional alternative and test choices involving sampling, search, and the leaves of the tree. Runs on the large training dataset provide the test-set comparison with workshop systems. Those test comparisons establish where the finished approach ranks, while the development comparisons offer better evidence about particular choices.

The evaluation uses the workshop’s KyTea-based scoring script. RIBES uses rank correlation together with word precision, so the ordering of words shared by an output and its reference can affect the score. BLEU uses precision over word n-grams, sequences of adjacent words, along with a brevity penalty for outputs that are too short relative to the references. The authors cite evidence that RIBES correlates more strongly with human judgments than BLEU for English and Japanese translation. Both remain automatic comparisons with reference text. BLEU’s automatic evaluation method · N-grams

On the small-data development set, the authors also examine perplexity, a measure of how much probability the system assigns to observed words, and training time per epoch, a pass over the training data. Perplexity concerns the fitted probability distribution. The translation metrics concern complete outputs after beam search. This makes it possible for a setting to look better under the probability measure while yielding translations that score worse under the output measures.

The sequential comparison on the development set

The small-data sequential baseline uses attention and input-feeding. Like the proposed system in this experiment, it has embeddings and hidden states of width 256. The authors decode the main development comparison with their length-aware search and a beam size of 20. In this setting the syntax-aware system improves on the sequential attention approach. Matching the widths and using the same style of search and input-feeding helps keep those choices from accounting for the observed direction of the comparison.

The authors also compare orders of input for the sequential baseline. Reversing the source words lowers its translation scores on this task. The result matters because reversing input had helped in the earlier work they cite. In the English-to-Japanese development comparison, the sequential baseline with the original source order is the stronger reference for assessing the tree extension. A sequence-order trick borrowed from another translation setting would have made the baseline weaker here.

With the proposed system, increasing the number of BlackOut negatives from 500 to 2000 improves development translation scores. Training with full softmax produces better development results than either sampled setting, but an epoch with full softmax takes about three times as long on the small training dataset. This shows the tradeoff the authors faced in designing the larger experiment. On the large training dataset at hidden width 512 they report about one day for an epoch with BlackOut and estimate about 11 days without sampling. They report about a week to train the large-data system at that width.

The large-data test comparison

The authors train individual tree-to-sequence systems at hidden widths 512, 768, and 1024. The test results are similar across these widths. They also combine the three into an ensemble, which consults multiple trained systems during prediction. The test translations are generally decoded with a beam of 20 and the length adjustment. For the individual system at width 512, two sentences fail to finish with eos under the initial search. The authors decode those sentences again with a beam of 1000, following Zhu’s procedure.

Zhu’s sequential attentional system uses a bidirectional LSTM source encoder, hidden width 1024, and word embeddings of width 1000. Its strongest purely neural result uses an ensemble and a procedure for replacing unknown words. The individual tree-to-sequence system at width 512 exceeds that result on the WAT'15 test set by +1.19 RIBES and +0.17 BLEU. The BLEU margin is small alongside the RIBES margin, but its sign is the same. This particular comparison is between the authors’ single run and Zhu’s best purely neural submission, so the word replacement and ensemble belong to the baseline description.

Lee and colleagues’ sequential attentional system uses a bidirectional gated recurrent unit encoder with hidden width 1000 and embeddings of width 200. Its reported entry uses a character-based decoding procedure. Against that entry the tree-to-sequence ensemble gains +1.30 RIBES and +1.20 BLEU on the test set. Zhu’s strongest hybrid combines attentional neural and statistical translation. Against the hybrid the tree-to-sequence ensemble gains +1.54 RIBES and +0.74 BLEU. These are different workshop comparators from the purely neural ensemble used in the single-system comparison.

Tree-to-sequence ensemble RIBES gains over workshop systems on the WAT'15 English-to-Japanese test set

The tree ensemble improves on both workshop comparators and posts the larger gain against Zhu’s hybrid.

Tree-to-sequence ensemble RIBES gains over workshop systems on the WAT'15 English-to-Japanese test setTree ensemble versus Lee’s character-decoding entry: +1.30Tree ensemble versus Lee’scharacter-decoding entry+1.30Tree ensemble versus Zhu’s neural–statistical hybrid (this paper): +1.54Tree ensemble versus Zhu’sneural–statistical hybrid (this paper)+1.54
The numbers
System or settingRIBES points gained
Tree ensemble versus Lee’s character-decoding entry+1.30
Tree ensemble versus Zhu’s neural–statistical hybrid (this paper)+1.54

Tree-to-sequence ensemble BLEU gains over workshop systems on the WAT'15 English-to-Japanese test set

The tree ensemble improves on both workshop comparators and posts the larger gain against Lee’s character-decoding entry.

Tree-to-sequence ensemble BLEU gains over workshop systems on the WAT'15 English-to-Japanese test setTree ensemble versus Zhu’s neural–statistical hybrid: +0.74Tree ensemble versus Zhu’sneural–statistical hybrid+0.74Tree ensemble versus Lee’s character-decoding entry (this paper): +1.20Tree ensemble versus Lee’scharacter-decoding entry (this paper)+1.20
The numbers
System or settingBLEU points gained
Tree ensemble versus Zhu’s neural–statistical hybrid+0.74
Tree ensemble versus Lee’s character-decoding entry (this paper)+1.20

The charts show reported score gains for the same tree-to-sequence ensemble against different comparators. Each is a comparison within a single metric. Reading the bars as gains matters because a bar’s height depends on which workshop system is the reference for that row. The ensemble itself is the same across those comparisons.

The statistical baselines include phrase-based translation, hierarchical phrase-based translation, and tree-to-string translation. The strongest workshop entry identified by the authors is Neubig and colleagues’ tree-to-string statistical system with bidirectional neural reranking. Reranking changes the order of candidates produced by the statistical system. The tree-to-sequence approach generates its candidates with the neural decoder itself. The authors describe its results as comparing favorably with the workshop leader. They specifically report the highest RIBES for their ensemble among the systems in the test comparison. They also give the ensemble a test METEOR score of 53.6 using the other language option. METEOR Universal

The strongest test-set claim is about the implemented system on the workshop task. Its performance is competitive with a statistical and neural combination that also exploits structure, and it improves on the cited sequential neural entries. The architecture comparison on the small development set and the workshop comparison answer related questions. The former holds several settings in common. The latter asks what the resulting translation system can achieve alongside independently developed entries with their own preprocessing, encoders, and decoding choices.

What the ablations show

The sequential states contribute inside the tree

The most direct architectural ablation removes the sequential LSTMs from the tree encoder. The authors compare that tree-only variant with the proposed encoder on the small-data development evaluation. Both use BlackOut with K of 2000 for this comparison. The development subset contains the 1,789 sentences that Enju successfully parses, since the tree-only variant requires a parse to encode its input. Restricting the comparison to the same parseable sentences gives both systems a tree for each example.

The encoder with sequential leaves performs considerably better. This provides evidence for keeping the chain underneath the tree. A constituent can inherit information from the preceding words through the recurrent states attached to its leaves. If a word appears repeatedly, the tree can start from different states even when the underlying word embedding is the same. These properties are consistent with the authors’ interpretation that the leaves help build context-sensitive phrase vectors.

The ablation removes a sequential component as a whole. That affects the information at the leaves and removes the sequential route through which source context can reach later calculations. Its outcome supports the full use of sequential units in this design. A narrower question, such as how much of the gain comes exclusively from the word context inherited by a phrase, would require holding the other uses of those units fixed. The comparison also concerns inputs with successful parses, where both variants can run under the same conditions.

The comparison against the purely sequential system complements this ablation. A tree on its own underperforms the tree built on contextual states, while the full hybrid improves on the sequential attention approach in the small-data results. Together these comparisons support using both forms of encoding. They also leave room for their contributions to interact. A sequential state can have different consequences when it serves as the child of a phrase than when it is only one item in a list of word states.

Search can change the score without changing the encoder

For the beam-search analysis, the authors hold the tree-to-sequence system fixed and use the small-data BlackOut run with K of 2000. They compare ordinary search at beam sizes 6 and 20 with their length-aware search at beam size 20. The length-aware version improves both RIBES and BLEU on the development set. Comparing at the shared beam size of 20 shows what changes when the length term is added without widening the beam.

Within ordinary beam search, widening the beam lowers BLEU in the reported experiment. The paper identifies the brevity penalty as an important part of this behavior. A wider beam explores more of the candidates preferred by its scoring rule. If that rule tends to favor shorter candidates, retaining a wider set early in the search can still produce a shorter finished output. The length-aware score helps keep longer hypotheses eligible. RIBES does not show the same sensitivity to beam size in the reported comparison.

This result bears on the interpretation of the benchmark because the evaluated object is a generated sentence. Its quality reflects the learned probabilities and the search that turns them into a string. Using the same decoding scheme for the main small-data architecture comparison makes it less likely that improved length handling accounts for the tree encoder’s advantage there. The separate search experiment also shows why the test behavior of the complete approach should be attributed to the system as decoded.

Sampling, size, and the choice of diagnostic

The small-data output-layer comparison changes the training calculation while keeping the proposed architecture. More BlackOut samples improve its downstream scores among the reported sampled settings, and full softmax gives stronger translation results at a higher cost. The paper also finds that perplexity does not consistently order the sampled settings by their eventual translation scores. Improving the fit measured on observed words and improving the output chosen by beam search are different criteria.

The authors suggest a possible explanation for the perplexity result. Under the modified unigram sampling distribution, frequently occurring words may be drawn as negatives repeatedly during a training step. This can change the way the sampled training calculation represents the target word distribution. The paper presents it as a possible reason, rather than an experimentally demonstrated cause. The practical comparison therefore rests on the observed translation scores and training times, with the sampling behavior offered to help explain the gap between diagnostics.

In the large-data comparison, changing hidden width across 512, 768, and 1024 produces similar test performance in the individual systems. That observation concerns those three settings with the reported data and training procedure. The ensemble makes use of their combined predictions and achieves the highest RIBES in the test comparison. The result establishes the ensemble’s score. It gives no separate estimate of whether an ensemble built from repeated runs at one width would supply the same benefit.

What the attention examples establish

The authors inspect test translations from the individual system at hidden width 512. In one case, the Japanese word for liquid crystal receives an attention weight of 0.41 on an English constituent that includes both liquid crystal and its connection to an active matrix. Part of that constituent’s content is already represented in the Japanese prefix. The authors interpret the alignment in light of the decoder state, which has information about that prefix. The phrase is useful to the current prediction as a representation of the material in context.

In the same example, a Japanese word for cells attends most strongly to the source phrase comprising the English noun and its definite article, with a weight of 0.35. The paper points out that Japanese has no corresponding definite article. An alignment constructed solely over words would commonly give the article a null correspondence. Here the Japanese noun can attend to a constituent that includes the article, illustrating how a phrase remains available even when one of its words has no separate target expression.

Another test example involves the Japanese word corresponding to the English verb showed. Its attention weight is 0.25 for the constituent that combines the verb with a description of excellent performance and 0.01 for the verb alone. In that target context, part of the phrase’s content has already appeared in Japanese. The decoder can use the broader English unit while completing the expression. In the same example a Japanese particle corresponding to of has its highest reported weight, 0.30, on the constituent that includes the preposition and the capacitor description it introduces.

The examples establish that phrase states can receive substantial weight and can outrank the most obvious individual word. The weights are computed for a decoder state that includes target context, and the source states themselves include contextual information. A large weight thus describes the relationship between two states during generation. Reading it as a dictionary equivalence would discard the properties the paper designed the system to exploit.

The qualitative analysis also identifies lexical choices that diverge from the references. The authors point to different Japanese renderings of active and female, and to an output that uses the NASA abbreviation where a reference uses the Japanese organization name. BLEU compares the word sequences, so legitimate alternative expressions can lose matching credit. These examples help explain why a reference metric and a reader may respond differently to the same output. The paper connects this observation to the favorable crowdsourced assessment of neural entries at WAT'15, while its own examples illustrate particular cases.

Limitations

Limits discussed by the authors

The paper identifies the computation at the output layer as a practical constraint. The cost of full softmax grows with the vocabulary, and training with it performs better than sampling in the small-data comparison at the expense of longer epochs. The large-data runtime without sampling is an estimate. The timing results describe the authors’ CPU implementation and the settings they used. They provide a concrete account of the cost under those conditions.

Parser availability also affects the design. The architecture has a fallback to the sequential encoder when Enju gives no tree. During training, however, the authors discard pairs whose English input fails to parse as well as those that exceed the length threshold. In the tree-only ablation, they reduce the development evaluation to the successfully parsed subset. These are sensible conditions for the respective comparisons, and they define what can be learned from each. The fallback demonstrates that there is a processing path for failed parses. The reported comparison on the parsed subset measures a different situation.

The authors acknowledge the effect of output length on likelihood-based decoding and report that an established normalization was ineffective in their preliminary experiments. Their replacement estimates a conditional length distribution from training pairs. Its reported advantage is over the tested simple beam-search settings. The analysis shows an effect of accounting for length under their procedure. It supplies no basis for ranking all possible methods of correcting the search’s preference for shorter outputs.

The discussion also notes a limit of reference-based evaluation. Synonyms and alternate names may be acceptable to a reader while providing fewer matching word sequences to BLEU. The examples support the authors’ point about interpreting particular mismatches. The workshop crowdsourcing result they mention concerns the broader evaluation of neural entries. It serves as context for the automatic scores and does not give a separate human score for the proposed tree-to-sequence system.

Limits of the experimental comparisons

The experiments support the English-to-Japanese direction on the ASPEC task at WAT'15. They give no corresponding run for Japanese-to-English translation, another corpus, or another language pair. The paper’s motivation is that structurally distant languages may benefit from an explicit source tree. The demonstrated comparison is an instance of that motivation, and it would take additional experiments to estimate the gain elsewhere. The particular variation in how English and Japanese group and order material is part of the test setting.

The syntax-aware system uses the binary structures from one English parser. Variations in tree quality, the effects of particular parsing errors, and the choice of grammar or parser are outside the reported comparison. The setup also gives no matched alternative in which the same extra architecture is supplied with a different kind of grouping. Such an alternative could help separate the benefit of linguistically chosen constituents from the benefit of giving the decoder a larger and more structured set of learned input states. The reported results give evidence for the package the authors actually test.

The move from sequential attention to the proposed system adds phrase composition, the combined decoder initialization, and phrase entries in the attention pool. These changes are related, but the benchmark gain does not assign an independent share of improvement to each one. The leaf ablation answers whether the tree system benefits from retaining its sequential LSTMs. The search comparison isolates the score change under the tested beam settings. An experiment that kept the tree root for initialization while withholding internal phrase states from attention would address another part of the architecture. The illustrative attention weights cannot substitute for that comparison.

Workshop entrants likewise differ in more than their use of source syntax. The baselines include bidirectional encoders, different widths, ensembles, unknown-word replacement, character-based decoding, and reranking. Comparisons with them are informative about competitiveness. The more controlled small-data work provides the better basis for discussing what the encoder contributes. In particular, the single tree-to-sequence system’s margin over Zhu’s neural ensemble is a result for those complete systems, under their respective evaluation setups.

Finally, the inspected examples identify uses of phrase attention without measuring their frequency across the test set. A figure with a high phrase weight shows that the decoder can use the newly available entry. It does not show how many successful reordering decisions depended on phrase attention or whether another mix of states would have produced the same word. The quantitative development comparisons support a claim about outputs, and the qualitative examples show a possible route by which the architecture can produce them. Their evidential roles are different.

What came after

The later papers that cite this work include several that pick up the question of where structure belongs in a sequence transformation. Their titles identify the direction of that work. They establish less about the exact relationship between implementations, so the comparisons here concern the problem and architectural choices each title names.

One direction shifts the tree to the output side. Towards String-To-Tree Neural Machine Translation studies the mapping from a source string to a target tree. In the 2016 paper, the English tree structures the evidence used to generate a Japanese sequence. A string-to-tree formulation makes structure part of what the translation procedure produces. The relationship is direct at the level of the task: the placement of the tree determines whether it helps describe the input or helps organize the generated output. Towards String-To-Tree Neural Machine Translation

Improved Neural Machine Translation with a Syntax-Aware Encoder and Decoder places syntax on both sides of the encoder–decoder distinction. In the tree-to-sequence paper, explicit constituents organize the source encoder and furnish source phrases to the decoder, which still generates a sequence of words. The later title makes the decoder itself part of the syntax-aware design. This extends the question from what units the decoder can consult to where syntactic information can enter the generation process. Improved Neural Machine Translation with a Syntax-Aware Encoder and Decoder

Another direction changes the structure used by the encoder. Graph Convolutional Encoders for Syntax-aware Neural Machine Translation identifies graph convolution as the route for incorporating syntax into source representations. The 2016 system composes a constituent from its two children and makes that new vector available alongside the word states. A graph-convolutional encoder instead frames the source computation around a graph. Both directions address how the relationships among source elements should help construct the representations a translator can use. Graph Convolutional Encoders for Syntax-aware Neural Machine Translation

Graph-to-Sequence Learning using Gated Graph Neural Networks preserves sequence output while describing the input in the broader terms of a graph. That is close to the original paper’s question about how a structured input can condition a sequential decoder. The titles distinguish the way source structure is represented and the type of computation used to encode it. The tree-to-sequence system begins with binary constituents and moves upward through parent–child combinations. The later work names gated graph networks as the mechanism for mapping graph inputs to sequences. Graph-to-Sequence Learning using Gated Graph Neural Networks

Learning to Parse and Translate Improves Neural Machine Translation brings parsing into the learning problem. In the 2016 design, the parser supplies a tree in advance and the translation system learns how to represent and consult its constituents. The later title joins the goals of learning to parse and learning to translate. It takes up a question left open by the use of a separate parser: how translation changes when obtaining syntactic structure is itself among the learned tasks. The title indicates that the authors report an improvement from that direction, without specifying here the size or conditions of the improvement. Learning to Parse and Translate Improves Neural Machine Translation

The provenance of the tree also provides a connection to Do latent tree learning models identify meaningful structure in sentences? The tree-to-sequence paper supplies an explicit analysis and asks whether making its units accessible helps translation. Work on latent tree learning asks about structure induced by a learning system and whether the resulting groupings have a meaningful linguistic interpretation. Both connect sentence processing to hierarchical structure. The later question concerns what the hierarchy represents, whereas the 2016 experiments take the parser’s groupings as given and examine the behavior of a translator that can use them. Do Latent Tree Learning Models Identify Meaningful Structure in Sentences?

A related line examines what makes a translation task structurally difficult. On the Difficulty of Translating Free-Order Case-Marking Languages makes variation in order and the marking of grammatical relationships central to its question. The 2016 paper motivates phrase attention in part through differences in construction and in lexical units between its source and target. The later title narrows the focus to another way the relation between position and grammatical function can affect translation. Its connection is to the account of task difficulty rather than to the particular Tree-LSTM equations. On the Difficulty of Translating Free-Order Case-Marking Languages

Across these directions, structure can be provided to an encoder, predicted on the target side, incorporated into both, or made the object of a learning task. The 2016 paper supplies a concrete result for one of those choices. Explicit English phrase states gave a Japanese decoder useful source entries beyond the sequential word states, and the resulting system improved on the sequential comparisons on WAT'15. The later work pursues different parts of the question that result leaves open, including which representation to use, where it enters translation, and how the system comes to have it.

Cite

Cite as Akiko Eriguchi, Kazuma Hashimoto and Yoshimasa Tsuruoka. 2016. Tree-to-Sequence Attentional Neural Machine Translation. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/p16-1078 · arXiv 1603.06075

@inproceedings{eriguchi2016tree,
  title = {{Tree-to-Sequence Attentional Neural Machine Translation}},
  author = {Akiko Eriguchi, Kazuma Hashimoto and Yoshimasa Tsuruoka},
  booktitle = {Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2016},
  doi = {10.18653/v1/p16-1078},
  eprint = {1603.06075},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/p16-1078}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/eriguchi-2016-tree-sequence-attentional-neural-machine/

References

32 references, from the paper's own bibliography.

  1. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2015. Neural Machine Translation by Jointly Learning to Align and Translate. In Proceedings of the 3rd International Conference on Learning Representations. our card
  2. Yong Cheng, Shiqi Shen, Zhongjun He, Wei He, Hua Wu, Maosong Sun, and Yang Liu. 2016. Agreement-based Joint Training for Bidirectional Attention-based Neural Machine Translation. In Proceedings of the 25th International Joint Conference on Artificial Intelligence. to appear. OpenAlex ↗ · Scholar ↗
  3. KyungHyun Cho, Bart van Merrienboer, Dzmitry Bahdanau, and Yoshua Bengio. 2014a. On the Properties of Neural Machine Translation: Encoder-Decoder Approaches. In Proceedings of Eighth Workshop on Syntax, Semantics and Structure in Statistical Translation (SSST-8). our card
  4. Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014b. Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, pages 1724–1734. our card
  5. Trevor Cohn, Cong Duy Vu Hoang, Ekaterina Vymolova, Kaisheng Yao, Chris Dyer, and Gholamreza Haffari. 2016. Incorporating Structural Alignment Biases into an Attentional Neural Translation Model. In Proceedings of the 15th Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. to appear. our card
  6. Michael Denkowski and Alon Lavie. 2014. Meteor universal: Language specific translation evaluation for any target language. In Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics 2014 Workshop on Statistical Machine Translation. our card
  7. Felix A. Gers, Jürgen Schmidhuber, and Fred A. Cummins. 2000. Learning to Forget: Continual Prediction with LSTM. Neural Computation, 12(10):2451–2471. OpenAlex ↗ · Scholar ↗
  8. Michael U. Gutmann and Aapo Hyvärinen. 2012. Noise-contrastive estimation of unnormalized statistical models, with applications to natural image statistics. Journal of Machine Learning Research, 13(1):307–361. OpenAlex ↗ · Scholar ↗
  9. Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long Short-Term Memory. Neural Computation, 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
  10. Hideki Isozaki, Tsutomu Hirao, Kevin Duh, Katsuhito Sudoh, and Hajime Tsukada. 2010. Automatic Evaluation of Translation Quality for Distant Language Pairs. In Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, pages 944–952. our card
  11. Shihao Ji, S. V. N. Vishwanathan, Nadathur Satish, Michael J. Anderson, and Pradeep Dubey. 2016. BlackOut: Speeding up Recurrent Neural Network Language Models With Very Large Vocabularies. In Proceedings of the 4th International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  12. Rafal Józefowicz, Wojciech Zaremba, and Ilya Sutskever. 2015. An Empirical Exploration of Recurrent Network Architectures. In Proceedings of the 32nd International Conference on Machine Learning, volume 37, pages 2342–2350. OpenAlex ↗ · Scholar ↗
  13. Nal Kalchbrenner and Phil Blunsom. 2013. Recurrent continuous translation models. In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pages 1700–1709. our card
  14. Hyoung-Gyu Lee, JaeSong Lee, Jun-Seok Kim, and Chang-Ki Lee. 2015. NAVER Machine Translation System for WAT 2015. In Proceedings of the 2nd Workshop on Asian Translation (WAT2015), pages 69–73. OpenAlex ↗ · Scholar ↗
  15. Yang Liu, Qun Liu, and Shouxun Lin. 2006. Tree-to-string alignment template for statistical machine translation. In Proceedings of the 21st International Conference on Computational Linguistics and 44th Annual Meeting of the Association for Computational Linguistics, pages 609–616. our card
  16. Thang Luong, Hieu Pham, and Christopher D. Manning. 2015a. Effective Approaches to Attention-based Neural Machine Translation. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 1412–1421. our card
  17. Thang Luong, Ilya Sutskever, Quoc Le, Oriol Vinyals, and Wojciech Zaremba. 2015b. Addressing the Rare Word Problem in Neural Machine Translation. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 11–19. our card
  18. Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems 26, pages 3111–3119. our card
  19. Yusuke Miyao and Jun'ichi Tsujii. 2008. Feature Forest Models for Probabilistic HPSG Parsing. Computational Linguistics, 34(1):35–80. our card
  20. Toshiaki Nakazawa, Hideya Mino, Isao Goto, Graham Neubig, Sadao Kurohashi, and Eiichiro Sumita. 2015. Overview of the 2nd Workshop on Asian Translation. In Proceedings of the 2nd Workshop on Asian Translation (WAT2015), pages 1–28. OpenAlex ↗ · Scholar ↗
  21. Graham Neubig and Kevin Duh. 2014. On the elements of an accurate tree-to-string machine translation system. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 143–149. OpenAlex ↗ · Scholar ↗
  22. Graham Neubig, Yosuke Nakata, and Shinsuke Mori. 2011. Pointwise Prediction for Robust, Adaptable Japanese Morphological Analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pages 529–533. our card
  23. Graham Neubig, Makoto Morishita, and Satoshi Nakamura. 2015. Neural Reranking Improves Subjective Quality of Machine Translation: NAIST at WAT2015. In Proceedings of the 2nd Workshop on Asian Translation (WAT2015), pages 35–41. OpenAlex ↗ · Scholar ↗
  24. Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. BLEU: A Method for Automatic Evaluation of Machine Translation. In Proceedings of the 40th Annual Meeting on Association for Computational Linguistics, pages 311–318. our card
  25. Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. 2012. Understanding the exploding gradient problem. arXiv: 1211.5063. OpenAlex ↗ · Scholar ↗
  26. Jean Pouget-Abadie, Dzmitry Bahdanau, Bart van Merrienboer, Kyunghyun Cho, and Yoshua Bengio. 2014. Overcoming the curse of sentence length for neural machine translation using automatic segmentation. In Proceedings of SSST-8, Eighth Workshop on Syntax, Semantics and Structure in Statistical Translation, pages 78–85. our card
  27. Ivan A. Sag, Thomas Wasow, and Emily Bender. 2003. Syntactic Theory: A Formal Introduction. Center for the Study of Language and Information, Stanford, 2nd edition. our card
  28. Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. 2014. Sequence to Sequence Learning with Neural Networks. In Advances in Neural Information Processing Systems 27, pages 3104–3112. our card
  29. Kai Sheng Tai, Richard Socher, and Christopher D. Manning. 2015. Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1556–1566. our card
  30. Kenji Yamada and Kevin Knight. 2001. A syntax-based statistical translation model. In Proceedings of the 39th Annual Meeting on Association for Computational Linguistics, pages 523–530. our card
  31. Zhongyuan Zhu. 2015. Evaluating Neural Machine Translation in English-Japanese Task. In Proceedings of the 2nd Workshop on Asian Translation (WAT2015), pages 61–68. OpenAlex ↗ · Scholar ↗
  32. Barret Zoph and Kevin Knight. 2016. Multi-Source Neural Translation. In Proceedings of the 15th Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. to appear. our card