Elamur Research

Head-First Linearization with Tree-Structured Representation

Paper · 2019 · Xiang Yu, Agnieszka Falenska, Ngoc Thang Vu et al.

Summary

A dependency tree tells you which words belong together and which word governs each group. It can give you the relations among a verb, its subject and its other dependents while leaving their positions in the sentence open. Head-First Linearization with Tree-Structured Representation asks how to turn that unordered description into natural text. The authors focus on choosing the order of the given words. Their full system also supplies the appropriate word forms and handles details such as contractions and spaces around punctuation.

The authors use the tree both to describe the words and to decide how to place them. Their encoder first carries information from dependents towards their heads, then sends the resulting representations back down the tree. A word can consequently receive information from a neighboring branch through a head that the branches share. Their decoder begins each local ordering with the head already in place. It builds outward, choosing which dependent to add and which side to put it on. A search procedure keeps several promising possibilities while the order is still incomplete. The finished local orders are then assembled into a sentence.

On the Surface Realization Shared Task 2018 development sets, head-first generation had the best average BLEU score among the individual decoding directions for ordering base word forms. Combining head-first generation with left-to-right and right-to-left generation raised average development lemma BLEU to 81.04. On the shared task test sets, the full system reached 65.92 average BLEU on finished text, compared with 63.95 for the strongest earlier linearizer run with the same inflection and detokenization stages. The full system also exceeded the best scores reported by shared task participants for the languages in the comparison.

The controlled comparisons help explain where the improvement comes from. The upward pass, which gives heads information about their dependents, contributed much more to head-first ordering than the downward pass did. The combination of decoding directions worked best with both passes. A separate classification test found that an encoder already trained for word ordering carried information about how pairs of words were related in the tree. The test measured a specific property of the representation, namely how far the words were from their common ancestor, with distant cases grouped. It gives a way to distinguish information that can reach a word in the architecture from information that can actually be recovered after training.

Deep dive: Head-First Linearization with Tree-Structured Representation

How head-first linearization orders words in a dependency tree, and what its multilingual tests reveal about tree encoding and decoding. · about 36 minutes to read

The problem and its context

What the input already tells the system

Surface realization is the part of text generation that turns a structured description into a readable sentence. The description in this study is an unordered dependency tree. Each token in the tree has a place in a hierarchy. The token it attaches to is its head, and tokens attached to it are its dependents. The root anchors the hierarchy. The tree gives these relationships even when it gives the system no original word positions. Where dependency parsing starts with a sentence and seeks its structural relationships, this task starts with the relationships and seeks a sentence order.

A token here stands for a particular occurrence in the sentence. It carries a lemma, the base form used to identify the word, along with grammatical information. A universal part-of-speech tag identifies its category, and a dependency label identifies the kind of relationship it has to its head. Knowing those descriptions helps narrow the ordering problem. A dependent can be identified by its role in the tree before a position has been assigned to it. The assignment is still a prediction. The structural relation supplies evidence for where the dependent belongs without specifying its exact position in the text.

The Portuguese sentence used in the paper illustrates why a readable output requires more than a permutation. The ordering stage works with individual tokens from the tree. A later stage turns the lemmas into the required word forms, and a further stage can merge tokens that appear as a single written word. In that example, the preposition de and the determiner estes have distinct identities in the intermediate representation and appear together as destes in the finished text. All of those decisions affect the sentence a reader sees. The main question in the paper concerns the first decision, namely how to find the order on which the remaining stages operate.

This distinction matters when reading the experiments. A grammatical relationship, an inflected spelling and a space in the output are different kinds of information. If they are judged only in the finished sentence, an ordering improvement can be obscured by errors elsewhere. A separate test of word order gives the authors a way to examine their principal contribution before measuring the complete pipeline. Their decision to treat inflection as its own problem also follows the way they describe the earlier shared tasks, where word ordering and inflection could both be required for surface realization.

Why earlier systems searched the tree in different ways

The paper describes a progression from grammar-based realizers to statistical ones trained with annotated treebanks. Earlier realizers used different syntactic formalisms to constrain generation. As annotated corpora became more available, systems could also learn from examples of how structures had been expressed as sentences. Among the statistical work cited is a hierarchical approach to generation by Bangalore and Rambow. The paper's closest comparisons, however, concern systems that explicitly search for an order for a dependency input. Exploiting a Probabilistic Hierarchical Model for Generation

Bohnet and colleagues divide the ordering problem into subtrees. Their search grows candidate sequences and retains a limited set of promising alternatives at each stage, a procedure called beam search. The system can spend its search effort on finding a good local order before combining local results. A different line of work, from Liu and colleagues and extended by Puduppully and colleagues, generates through transitions in a way the authors liken to dependency parsing. The transitions produce an order that respects the supplied structural constraints. Puduppully and colleagues extend the available evidence with look-ahead features, so a decision can take some account of material beyond what it has already placed.

The two approaches offer different ways to handle alternatives. A subtree search can examine competing placements within a small family of words before the sentence is fully assembled. A transition system must allocate its search to hypotheses about the sentence as a whole, but can accommodate inputs for which a complete set of subtrees is unavailable. Both earlier approaches use detailed feature templates to describe the input and the current hypothesis, and learn the scoring parameters with a perceptron. They had figured in successful systems for the earlier surface realization shared task. Those systems also dealt with other stages of realization, so their complete results left a question about how the linearizers themselves would compare under common conditions.

Song and colleagues brought a neural scoring mechanism into the transition approach by adapting a design used for dependency parsing. In the account given by this paper, the change chiefly improved access to token-level representations, such as word embeddings. The authors saw an opportunity to represent the tree itself more directly. A word's learned vector could describe something about the other words connected to it before the decoder chose any placement. This places some of the work of interpreting the syntactic context in the encoder, where it can serve several decoding strategies.

Why start at the head

A left-to-right algorithm builds its hypothesis in the eventual reading order. Within a local group, it may need to place a dependent before it reaches the head. Yet the linguistic work discussed by the authors describes word order partly through the position of the dependent relative to its head. The side and the distance are separate properties. A dependent may come before or after its head, and a dependent on either side may fall close to it or farther away. A linearizer whose choices are expressed in those terms can give the head a direct role throughout generation.

He and colleagues had also treated the head as a point of reference. Their approach first predicted the side for each dependent and then scored permutations exhaustively. The authors identify the number of permutations in large subtrees as a problem for that strategy. Their own approach uses incremental search, so it can explore several alternatives and discard low-scoring ones before placing every token. It also folds the choice of side into each attachment decision. The two decisions motivated by the linguistic discussion become concrete operations. The chosen end gives the side, and the order of attachments on that side determines which items are nearer the head in the local sequence.

The paper therefore addresses both the evidence used to score a placement and the way possible placements are presented to the scorer. Those choices are related but separable. An encoder could provide tree information to a left-to-right decoder, and a head-first decoder could begin with the head even if its token vectors contained little structural context. The authors build both alternatives into their comparisons, which lets the experiments ask how much each choice contributes and when one compensates for the absence of the other.

The method, step by step

From an unordered tree to finished text

The system receives the tree with its tokens and labeled relations intact. It begins by turning each token into a vector and enriching that vector through the tree. It then uses the resulting representations to score local arrangements of heads and dependents. Combining those arrangements gives an ordered sequence. Inflection changes the base forms to the forms needed in that sentence, and detokenization makes the resulting sequence look like written text. Here detokenization includes both merging eligible tokens and adjusting spacing around punctuation.

From unordered dependency tree to written sentence

The steps in order.

From unordered dependency tree to written sentenceStep 1: Embed each token's lemma and grammatical labels1. Embed each token's lemma and grammatical labelsStep 2: Pass dependent information up the tree2. Pass dependent information up the treeStep 3: Send the resulting context back down3. Send the resulting context back downStep 4: Search for a local order around each head4. Search for a local order around each headStep 5: Combine local orders into a sentence sequence5. Combine local orders into a sentence sequenceStep 6: Inflect lemmas into word forms6. Inflect lemmas into word formsStep 7: Apply contractions and punctuation spacing7. Apply contractions and punctuation spacing

The paper uses linearization for the ordering stage. It can be understood by keeping two representations in view. The input tree records the links among the tokens, and the output sequence records their positions. During search, a head can acquire a provisional sequence while the input links stay fixed. The choices concern which token to add at an end of that sequence. The later stages use the resulting sequence after those choices have been made.

Representing a word before and after reading the tree

The initial vector joins the embeddings for a token's lemma, universal part-of-speech tag and dependency label. An embedding is a learned vector associated with an input value. Joining the vectors gives the system access to a lexical identity, a grammatical category and a description of the incoming dependency. The paper denotes this initial representation by v◦. The letter v indicates a vector and the circle marks the token-only representation. At this point, the labels describe the token, and the encoder has yet to read the identities of its neighbors in the tree.

To add that information, the authors adapt a Child-Sum Tree-LSTM. An LSTM maintains an internal state and exposes a hidden state that summarizes what it has processed. In a sequential LSTM there is a single previous step. In the upward tree pass a head can receive states from several dependents. The Child-Sum design brings those states together by summation. The authors also apply attention to the dependent states, so they can contribute to the head's representation to different degrees. This aggregation suits an unordered input because reading the children does not require the encoder to settle their eventual left-to-right order. Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks

The upward representation is written v↑. The upward arrow names the direction in which information has reached the token. A leaf has no descendants to summarize. A head higher in the tree can receive a state from a dependent that has already incorporated information from descendants of its own. Repeating the computation towards the root gives each token a representation informed by the part of the tree below it. Each upward vector belongs to a token even when the evidence it contains comes from several levels away.

The downward pass has a different shape. Every token below the root has a single head, so the state can advance along a path from a head to a dependent with a sequential LSTM. At each token, the recurrent computation takes the state passed down from its head and reads that token's upward vector as input. The resulting representation is v↓, where the downward arrow refers to the second traversal. The state can then pass to the token's own dependents. The downward traversal branches through the tree, with the state at a head serving as the predecessor state for each of its children.

The order of the passes is central to the design. Miwa and Bansal had used upward and downward passes that each read the original token-level vectors. With those independent traversals, the upward representation can read descendants and the downward representation can read ancestors. Consider dependents under the same head. One dependent's original vector contributes to the head's upward state. If the downward traversal reads only the head's original token vector, it has no route for sending that contribution to the other dependent. Feeding the upward results into the downward computation supplies that route. End-to-End Relation Extraction using LSTMs on Sequences and Tree Structures

The paper illustrates the route with nodes 8 and 4. Information originating at node 8 reaches the upward state at node 2, their lowest common ancestor. The downward computation then has access to that state along the route towards node 4. The lowest common ancestor is the shared ancestor nearest the pair in the tree. The same reasoning supplies a route between tokens in different branches. A route establishes the possibility of influence. How much of the original information survives the recurrent computations is a question for the trained representation, which the authors investigate separately.

Generating each local sequence

For every head, the decoder constructs an ordering problem consisting of the head and its immediate dependents. The local problem in the pseudocode can be written as follows.

Tₕ = {h} ∪ dependents(h)

Tₕ is the local set to be ordered for head h. The braces in {h} make a set containing that head. dependents(h) gives the tokens directly attached to it, and ∪ means set union. A dependent can itself head a lower subtree. At this stage its token represents the position into which its own ordered material will later fit.

The first hypothesis contains the head alone. The decoder represents growth on either side with its own LSTM state, initialized from the head's representation. The left state records the attachments made by expanding the left end of the local sequence. The right state records the corresponding expansions on the right. When adding a dependent, the decoder uses the state for the relevant side and the dependent's vector to score the proposed attachment. The contextual encoder has already given that vector information from the input tree.

The two possible placements of a remaining dependent are the concatenations spelled out in the algorithm.

seqₗ = t ⊕ seq

seq is the current partial sequence, t is an unused dependent in the local problem and ⊕ joins its operands in the stated order. seqₗ is the new sequence with the dependent at the left end. Its subscript identifies the side of the attachment.

seqᵣ = seq ⊕ t

seqᵣ is the sequence produced by an attachment to the right. seq is again the current hypothesis, t the unused dependent and ⊕ the concatenation operation. In this case the partial sequence comes before the new token.

Those operations make the decoder's generation order different from the order that appears in its result. If it adds another dependent on the left, the new one goes outside the material already on that side. The first dependent placed on that side will be closer to the head in the local sequence. The same reasoning applies on the right. At any expansion step, tokens previously placed on one side keep their order even if the next attachment goes on the other side. That is how the distinctions between side and proximity become properties of the search.

The score comes from a pointer network. The pointer mechanism scores possible choices from the tokens still available for this particular sequence. The side's current recurrent state serves as the basis for comparing those choices with their token vectors. The authors use the attention scores before normalization. For each proposed attachment, the pertinent score is added to the hypothesis and the state on that side reads the attached token. The state for the other side carries forward. Pointer Networks

The scoring update in the pseudocode can be expressed in a common notation for either side.

new side score = previous side score + ATTENDₓ(stateₓ, vₜ)

new side score is the accumulated score for the chosen side after the move, and previous side score is its value in the parent hypothesis. x identifies the left or right side. ATTENDₓ is the scorer for that side, stateₓ its recurrent state before the move and vₜ the vector for candidate token t. The plus sign indicates that the new attachment score is added to the earlier score. The corresponding state update uses vₜ as its next input. The paper notes that its implementation computes the attachment scores together even though the pseudocode presents them inside the loop over candidates.

The beam holds the hypotheses that will be expanded. The search considers each unused dependent on each eligible side for every surviving partial sequence, scores the resulting alternatives and keeps the top candidates up to the beam size. Pruning is useful because complete search would keep all the alternatives created at every earlier step. A pruned hypothesis can no longer supply a continuation. At the end of a local search the highest-scoring complete sequence gives the order for that head. The system combines the local sequences through the dependency tree to obtain the sentence sequence.

This search works at the level of local head-dependent groups. An attachment to the left or right refers to a position in that group, while combining the subtrees supplies the actual material occupying each local position. Local attachment order therefore gives a direct way to express proximity in the group. The number of intervening words in the final sentence can also depend on how much material each dependent contributes when its own subtree is expanded.

Changing the direction and combining the searches

The authors also run the same general search with a left-to-right decoder, L2R, and a right-to-left decoder, R2L. Each begins with an empty sequence and grows it at one end. With a single direction there is a single recurrent state for expansion. The head-first decoder, H2LR, begins with the head and uses both sides. These decoders see the same kind of encoded input in the main direction comparison. What changes is the way they construct a partial sequence and hence the alternatives that they compare before pruning.

Early decisions differ across the directions. A token that must be proposed at the start of a left-to-right derivation can be added late in a head-first derivation. A candidate discarded by one search can therefore survive in another. To combine the decoders, the system shifts the scores within each final beam so that its lowest score is 0. It then adds the shifted scores assigned to identical sequences and chooses the sequence with the highest combined score. A sequence absent from a beam receives no support from that beam. The paper calls the resulting setting Vote. Its combination uses scores, so the relative strength of the hypotheses within the individual beams matters.

A beam which ranks a sequence well can give that sequence support even if the other searches never reached it. Conversely, a sequence that does well in several beams can gather evidence from all of them. The point of generating candidates in different directions is to change which sequences are available for that combination. The shifted values also prevent differences in the minimum score of an individual beam from directly determining how much support it appears to give.

Learning with several valid attachment histories

The reference order gives a target sequence, called the gold sequence. With head-first generation, the target can be reached through different schedules of left and right attachments. If a suitable next token exists on each side, either side can be extended first. The schedules can lead to the same completed order because a move on one side leaves the arrangement on the other side intact. The authors make the schedule a latent choice. Training observes the reference order and lets the search discover which compatible schedule to follow.

The training algorithm checks the pruned beam at every step for a gold partial sequence. A gold partial sequence is one that can still be extended, using the decoder's attachment operations, into the reference. If such a candidate survives, the search continues. If none survives, the algorithm calculates a hinge loss comparing the highest-scoring gold candidate with all incorrect candidates in the beam. A hinge penalty becomes active when an incorrect candidate gets too close to the gold candidate's score, given the required margin. Using all the surviving incorrect sequences gives the update evidence from several competitors. The authors report faster and more stable convergence in their preliminary trials than with the perceptron's update against the highest-scoring error.

The authors use delayed LaSO, a strategy that puts a gold sequence back into the beam after the loss. The search then continues and can train on later decisions in the same example. This matters when an early placement has eliminated every compatible schedule. A training procedure that stops there would collect evidence about that failure and move on. Restoring a viable candidate lets the example also supply supervision about later placements and reaches the stage where the sequence is complete.

The margin accounts for the severity of a mistake. The paper describes the ordinary hinge margin as typically 1, the same for every incorrect candidate. It substitutes a quantity based on inversions. Sentence BLEU would be difficult to apply at this point because the predicted order belongs to a local group and may still be partial. An inversion-based margin gives a definition of ordering error for that group. The authors first complete the partial prediction as favorably as possible by placing its unused tokens at the ends, then count the swaps needed to put that completion in reference order. They use the square root of that count as the loss quantity. With descriptive symbols, the quantity is as follows.

m = √I

m is the margin associated with the incorrect candidate, and I is the inversion count of its best available completion relative to the gold sequence. The square-root sign gives the transformation the authors apply to the count. The count corresponds to the swaps in bubble sort when restoring the reference order. The transformation moderates the growth of the margin as the number of swaps increases.

The paper illustrates this with partial sequence (1, 2, 4, 6, 7) and unused tokens {3, 5}. The best available full sequence is (3, 1, 2, 4, 6, 7, 5). The numbers here identify tokens in the reference order. Putting the completed sequence into that order takes 4 swaps, giving a loss quantity of 2. The example shows why the completion step matters. In a decoder that adds tokens at the ends, unused material can improve the eventual sequence only through the placements still available. The penalty measures the best completion reachable from the current hypothesis and distinguishes that from an unconstrained rearrangement of what is already there.

Inflecting the lemmas

The ordering stage provides each token's position. To obtain the visible word form, the inflection stage first consults rules extracted from training data. The lookup key combines the lemma, the universal part-of-speech tag and the morphological features. The rule is kept when a form occurs more than once for that combination and has over 99% certainty in the extracted observations. A matching rule supplies the form directly. A token outside the lookup coverage goes to a sequence-to-sequence predictor. This is how the system combines a narrow rule with a procedure able to handle cases beyond the rule set. Morphology

The fallback predicts a sequence of edits to the lemma. It can copy the current input character, delete it, insert a character from the treebank's inventory or finish. The paper's example changes the Portuguese falar to falando. The procedure copies the shared beginning, deletes the remaining input character and inserts the new ending. A copy operation preserves the actual input character. A procedure that generates the inflected spelling character by character has to select that character even when it can be carried over directly. The authors also contrast their approach with assigning a single tag to the entire edit script. Predicting operations separately allows scripts to be built from shared actions.

A bidirectional LSTM reads the lemma characters and morphological tags. A binary feature indicates which input character is the current target of the edit. At initialization the feature is 1 at the first character and 0 at the others. Copying or deleting moves the indicator to the next input character, while inserting a character leaves the indicator in place. The decoder uses attention over the input along with the token's tree representation and the embedding of the previously produced character. When the previous operation copied a character, the system uses the embedding of that character. The written form can thus draw on the surrounding syntax and on the character sequence that is actively being edited.

Detokenizing and implementing the pipeline

A contraction can turn several tokens in the ordered and inflected output into one written item. The authors extract contraction cases from the training set and store them in an automaton, a structure that tracks how much of a known token pattern has been matched. The system reads the incoming tokens in order. On a possible match, it buffers the relevant tokens while advancing through the pattern. A completed match yields the corresponding contracted form. If the pattern fails to complete, the buffered tokens are sent to the output. This is the stage that can turn Portuguese de followed by estes into destes.

The spacing stage uses MosesDetokenizer, a rule-based tool. One of its jobs is to remove the space between a sentence's final period and the preceding word. The two detokenization operations concern different parts of the output. Contraction changes which token strings appear separately, while punctuation attachment changes the spacing with which the strings are printed. Those differences motivate the paper's separate evaluation of the two operations. Tokenization

The authors implemented the system in DyNet and made the implementation available through the first author's website. The lemma embedding has size 64. The universal part-of-speech and dependency label embeddings each have size 32, and the initial token vector has dimension 128. The upward encoder, the downward encoder, and the decoding LSTMs all use 128-dimensional hidden states. The decoder beam size is 32. According to the paper, a single CPU core needed roughly two hours to train the linearizer on a medium-sized treebank. That observation describes the reported training setup and gives a concrete point of comparison for the size of the search. DyNet

Experiments and results

What each evaluation measures

The authors use the datasets of the Surface Realization Shared Task 2018, abbreviated SR18. The collection covers 10 languages, largely European, and comes from Universal Dependencies. The results include development experiments that separate the pipeline stages and a full evaluation on the test sets. The development experiments help locate differences that could be hard to interpret if the only evidence were a final text score. The test evaluation asks how the selected pipeline performs under the shared task's scoring procedure. Universal Dependencies v1

For standalone linearization, the predictions and references are sequences of lemmas and the score is BLEU. A system can receive ordering credit in this evaluation without having to construct the final orthographic forms. For inflection, the paper reports accuracy on the development sets, comparing produced word forms with their targets. The detokenization study supplies the reference order and inflection as input. It can then attribute differences in scores to choices about contraction and punctuation. For the complete pipeline, the authors use the official evaluation script and report BLEU on the detokenized test text. These scores answer related questions at different levels of the pipeline.

The main linearization baselines are B10, from Bohnet and colleagues, and P16, from Puduppully and colleagues. The authors run those linearizers using lemmas, universal part-of-speech tags and dependency labels, which are also the features supplied to their own linearizer. This is a common inventory of input information. Each system still has its own way of representing and scoring that information. In the full test comparison, B10 and P16 receive the new paper's inflection and detokenization stages. The shared task comparison is labeled ST18 and collects the best participant result for each language. It represents several submissions across the languages.

Ordering the lemmas

B10 averaged 78.98 lemma BLEU on the development sets, ahead of P16 at 74.61. In the authors’ view, where the systems focus their search effort accounts for much of the gap. Searching within a local group gives B10 substantial coverage of the permutations for small groups. Its beam size is 1000, and the paper points out that it can cover every permutation for a group of up to 6 tokens, with 720 permutations in the case of 6. P16 searches across the full sentence. Its design can be used with partial or absent syntactic information, which makes a full set of known local groups an unsuitable assumption for its general setting. The SR18 comparison gives B10 the kind of complete structure that its search can exploit.

Linearizers compared on average SR18 development lemma BLEU

Combining decoding directions produces the highest average, with head-first leading the individual directions.

Linearizers compared on average SR18 development lemma BLEUP16: 74.61P1674.61B10: 78.98B1078.98Right-to-left: 79.61Right-to-left79.61Left-to-right: 79.94Left-to-right79.94Head-first: 80.20Head-first80.20Vote (this paper): 81.04Vote (this paper)81.04
The numbers
System or settingBLEU
P1674.61
B1078.98
Right-to-left79.61
Left-to-right79.94
Head-first80.20
Vote (this paper)81.04

The new L2R decoder uses the same broad direction of generation as B10, with a beam of 32. Its higher average provides evidence that the learned tree representation and scoring can be useful in a left-to-right search. The systems differ in more than their beam sizes, so the comparison cannot isolate the representation on its own. The comparisons within the new family of decoders offer tighter control. Those decoders use the same tree encoding, and H2LR leads the directional variants on the average. Vote improves on that average by combining the candidates and scores from the different directions.

The development results also show why the average needs its language-level context. On the Portuguese development set, head-first reaches 82.10 lemma BLEU and Vote scores 81.80. On the English development set, L2R reaches 84.92, H2LR reaches 84.01 and Vote reaches 85.48. The average advantage of beginning at the head is therefore compatible with a directional variant winning an individual treebank. The combination is the best average setting, and another direction can supply particularly strong hypotheses for a specific language.

In Dutch, the head-first result is 72.25 development lemma BLEU and Vote reaches 72.49, with B10 at 67.82. In Czech, H2LR reaches 74.16, B10 scores 74.74 and Vote reaches 75.17. The Czech comparison is a case where combining directions moves the new system from below B10 to above it. These comparisons also put the earlier B10 result in perspective. Its strength persists on fully specified tree inputs even when some learned variants have the better overall average.

Inflecting the ordered tokens

The inflection comparison tests several representations of the output. EditTag assigns the whole edit script as a tag. CharSeq writes out the target word as a character sequence. EditSeq predicts an edit operation at a time, and the hybrid applies a training-derived rule when available before using EditSeq as a fallback. P18 is the reported inflection result from Puzikov and Gurevych. Their system was adapted from the work of Aharoni and Goldberg. Morphological Inflection Generation with Hard Monotonic Attention

Inflection approaches compared on average SR18 development accuracy

The rule lookup and edit sequence hybrid has the highest average inflection accuracy.

Inflection approaches compared on average SR18 development accuracyEditTag: 92.95EditTag92.95CharSeq: 96.28CharSeq96.28EditSeq: 96.92EditSeq96.92P18: 97.20P1897.20EditSeq with rules (this paper): 97.53EditSeq with rules (this paper)97.53
The numbers
System or settingaccuracy %
EditTag92.95
CharSeq96.28
EditSeq96.92
P1897.20
EditSeq with rules (this paper)97.53

The averages distinguish the two parts of the inflection result. Predicting the edit operations improves on generating the whole form as characters, and the reported P18 score still exceeds EditSeq alone. The hybrid with rules has the best average of the compared settings. Its position depends on the training data yielding reliable lookups for many tokens. The authors report that the rules cover about 60% to 90% of development tokens across languages, with over 99% accuracy on the covered cases. The fallback addresses the combinations that remain outside that coverage.

The whole-script tag representation is especially weak on some languages with large script inventories. On the Finnish development set, EditTag has 82.54 inflection accuracy, CharSeq has 92.16, and EditSeq with rules has 95.06. P18 still scores 95.46 there. On the French development set, the hybrid reaches 97.78, compared with 97.39 for EditSeq and 95.56 for P18. In Arabic, CharSeq's 95.57 exceeds the hybrid's 95.01. The best average describes how the settings compare across treebanks, while the language results show where the fallback, the rules or a competing approach does better.

Rendering the final token sequence

To evaluate detokenization independently, the authors supply gold ordering and inflection. They examine contraction against the treebank's gold contractions and test punctuation attachment with reference contractions. The official text scoring also provides comparisons in which one operation is predicted and the other is given, or both are predicted. A further condition simply joins the input tokens with spaces. The design shows how much of the text score can depend on correctly printing an already ordered and inflected sentence.

The space-joined development output gets 54.74 average BLEU. With predicted contraction and gold punctuation, the average is 96.94. With gold contraction and predicted punctuation, it is 96.31. Predicting both produces 93.45 average development BLEU. In these conditions, the order and forms were provided to the detokenization procedure. The low score for space-joined output therefore comes from the representation of the string submitted for scoring. The paper regards the magnitude of that formatting effect as disproportionate in the shared task evaluation.

Arabic is the conspicuous weak case. On the Arabic development set, predicting both operations gives 65.78 BLEU with reference order and inflection. The score with predicted contraction and gold punctuation is 77.77, and the score with gold contraction and predicted punctuation is 86.98. The authors identify both operations as sources of difficulty. On the Dutch development set, by comparison, predicting both scores 99.89 under the same gold-input setup. The shared pipeline has very different degrees of success in turning correctly ordered tokens into the evaluated text across these languages.

Realizing the test sentences

For the test evaluation, the authors choose their best variant at each stage. The resulting pipeline uses the combined linearizer, the hybrid inflector and the detokenization procedure. B10 and P16 are also evaluated with that inflection and detokenization procedure, so those comparisons show what happens when the source of the ordered sequence changes and the later stages are held in common. ST18 provides the benchmark achieved by the highest-scoring shared task submission for each language.

Realization pipelines compared on average SR18 test text BLEU

The authors' pipeline leads both earlier linearizers with shared downstream stages and the best shared task results by language.

Realization pipelines compared on average SR18 test text BLEUST18: 41.66ST1841.66P16 with shared downstream stages: 53.85P16 with shared downstream stages53.85B10 with shared downstream stages: 63.95B10 with shared downstream stages63.95Authors' full pipeline (this paper): 65.92Authors' full pipeline (this paper)65.92
The numbers
System or settingBLEU
ST1841.66
P16 with shared downstream stages53.85
B10 with shared downstream stages63.95
Authors' full pipeline (this paper)65.92

The authors' full pipeline also has the highest text BLEU in each language row of the test table. On the English test set it reaches 72.67, compared with 70.75 for the B10 pipeline and 69.14 for ST18. On the Dutch test set it reaches 60.17, with the B10 pipeline at 56.39 and ST18 at 32.28. The Portuguese results are close for the two leading pipelines, with 66.16 for the authors' system and 66.13 for B10. The test table establishes an advantage across those rows while also showing the strength of B10 as a baseline.

The P16 comparison with ST18 varies by language. Its average with the shared downstream stages is higher, but on the Spanish test set P16 scores 56.50 text BLEU and ST18 scores 65.31. The B10 pipeline scores 74.75 there and the authors' pipeline reaches 77.77. P16 is closer to B10 on the Russian test set, with 71.58 against 72.40, while the authors' system reaches 76.10. These cases show what can be missed by a comparison of the averages alone. The shared stages make the comparison of linearizers easier to interpret, and the effect of substituting an ordering system still depends on the input language and the sequences it produces.

The test comparison answers a different question from the development lemma evaluation. The latter shows that the combined search improves the ordering of base forms. The former shows that the advantage survives in the final string when inflection and detokenization have been applied. Its metric covers the full result, so the separate stage evaluations remain important for understanding which parts of the pipeline are responsible for particular strengths or failures.

What the ablations show

Which way information needs to flow

The authors test the decoder directions with both encoder passes, with only the bottom-up pass, with only the top-down pass and with the initial token vectors alone. This is a comparison of how the same local ordering approaches respond to different sources of input evidence. With the upward pass alone, each token can carry information about its own descendants. With the downward pass alone, it can carry information from the path toward the root. With the coupled passes, it can receive information from outside either of those immediate directions, including information summarized from neighboring branches.

The table reports average lemma BLEU over 10 development treebanks.

Encoder settingHead-firstLeft-to-rightRight-to-leftVote
Both passes80.2079.9479.6181.04
Bottom-up only80.1779.3179.4780.64
Top-down only74.5474.3074.1875.18
Token vectors only74.5671.2670.8975.03

The head-first result with only the upward pass is close to its result with both. Removing the upward pass has a much larger effect. The authors take this as evidence that information about dependents is especially important for linearization. It fits the task the decoder faces. A candidate dependent can stand at the head of a larger group. Its upward representation can provide information about the material that will be placed with it when the subtrees are assembled. The isolated downward pass gives access to a different kind of evidence and does little for head-first average BLEU in this comparison.

The one-direction decoders respond differently when the upward evidence is already absent. Moving from top-down representations to token vectors alone costs them much more than it costs head-first. The authors explain this in terms of where each search begins. L2R and R2L start with an empty sequence. With token vectors as their only representations, there is no head placement already anchoring their partial order. H2LR has that anchor at initialization even when its vectors are token-only. The underlying tree also still specifies the local groups to be ordered. In the token-only setting, the ablation removes tree propagation from the encoder while the head-first search retains the structural decision to begin with the head.

There is a practical distinction between the best setup for a standalone decoder and the one for the combined system. The upward pass gives H2LR nearly the same average as both passes. The authors retain both because Vote benefits from having strong hypotheses from all of the individual directions. In the combined setting, both passes give 81.04 average development lemma BLEU, compared with 80.64 for bottom-up alone. This supports the choice of the coupled encoder for the final pipeline without requiring a large independent benefit from the downward pass for H2LR.

The result also puts tree-wide information in proportion. The architecture gives the decoder access to a representation informed by other branches, and the strongest average uses that architecture. The ablation shows that much of the observed benefit can already come from a more limited source, especially for the head-first search. A claim about where information can flow and a claim about which information the ordering task needs are therefore supported by different parts of the experiment.

What the relation probe can recover

The authors ask whether a trained representation actually preserves information about the tree paths it could receive. They sample a pair of tokens from a tree and describe the pair using the distances to their lowest common ancestor. In the earlier encoder illustration, tokens 4 and 8 have relation (1, 2). The first coordinate counts the distance from node 4 up to the shared ancestor, and the second counts the distance from node 8. The pair of distances is a classification target. It tests a structural property of the two token positions rather than testing whether the decoder can reconstruct a sentence.

relation(t₁, t₂) = (d₁, d₂)

relation denotes the target associated with the token pair. t₁ and t₂ are the first and second sampled tokens, and d₁ and d₂ are their respective distances to the lowest common ancestor. The parentheses on the right enclose the ordered pair of distances. The paper predicts distances up to 3, describes more distant relations as “too far,” and reports 16 classes. The grouping limits the precision demanded of the classifier for distant positions.

The classifier is a multilayer perceptron, or MLP, that reads the concatenated representations of the two tokens. In one condition the authors train just that classifier, keeping the existing token or tree encoder parameters fixed. This asks what can be recovered from the representations used for the original ordering job. In the other condition they train the encoder parameters as well. This asks how well the architecture can learn the classification task when its internal representations can change to serve that task directly.

Parameters trained for the probeToken-only accuracyTree-encoded accuracy
Classifier only35.7076.75
All parameters35.8490.13

The token-only representations have some predictive value. The authors attribute their above-chance accuracy to lexical information that allows the classifier to guess aspects of the relation. The tree representations give much greater accuracy even when the encoder is fixed. That is evidence that training for linearization produces vectors from which this specific tree relationship can be read. Training the whole architecture for classification produces a higher accuracy still. The authors suggest that the encoder can retain more about the relation when explicitly trained to do so than the original linearization task calls for.

Each condition supports its own inference. The classifier-only result is the direct evidence about the encoder after linearization training. The all-parameters result shows what the architecture can learn under structural supervision. The task operates on pairs drawn from the tree and scores classes built from ancestor distances. It therefore tests whether the relative position of two words is recoverable in this form. It gives an empirical counterpart to the earlier account of information flowing through a common ancestor.

Why the generation comparisons matter

The shared-encoder comparison leaves several explanations for the head-first advantage. The authors' linguistic explanation is that expanding around a head gives the scorer a natural way to represent side and proximity. They also suggest that latent attachment order can make the search easier. When both sides have a valid extension, the system has the opportunity to take the easier decision first. A fixed left-to-right order has to commit to whatever part of the sequence its direction presents next. Both explanations are consistent with the results. The paper varies the decoding strategy as a whole, so the direction and the flexibility of the training paths enter that comparison together.

Voting raises a related question about why the combined result improves. The authors suggest that training in several directions regularizes the learned parameters and that the searches discard correct hypotheses at different points. The reported comparison shows that the combination of directions pays off in average development BLEU. It does not assign independent measurements to the proposed mechanisms. The head-first, left-to-right and right-to-left results help identify what each direction contributes as a complete decoder. The comparison of encoder settings then shows that the combination also responds to the quality of the shared structural representations.

What changes when the output is expressed as edits

The inflection experiments vary how the target form is represented. The weak whole-script tag results are consistent with the authors' concern that large tag sets impede learning and generalization. The paper reports script inventories ranging from around 300 tags in English to over 10,000 in Finnish and Russian. Under whole-script tagging, an entire pattern must be predicted as a single label. With character generation and sequences of edits, many forms can share individual prediction steps. The improvement over EditTag is especially visible in languages where the tag inventory is large.

The error examples give a more specific account of the difference between generating characters and copying them as part of an edit. In English, CharSeq produces braveling for traveling, an example of changing a character in material that could have been carried over. The edit-sequence predictor can still omit a required character, as in kiding for kidding, or mishandle a suffix, as with clashs for clashes. The copy operation addresses a particular kind of error. The remaining mistakes show that the system must still learn when preservation, deletion or insertion is appropriate.

The comparison with rules tests the effect of giving observed, reliable forms priority over the fallback. EditSeq is used in both conditions and its role changes when a matching rule is available. The average gain and the high accuracy of covered forms indicate that the lookup resolves many routine cases well. The language-level results qualify the generalization. A fallback can occasionally be stronger where the rule would otherwise take precedence, and the hybrid's leading average is compatible with those cases.

Limitations

Limits the authors identify

The experiments address realization from a tree that already contains the tokens to be ordered. In the conclusion the authors propose extending the head-first algorithm to generate absent function words, potentially at the same time as ordering the tree. They connect that extension to the deep track of the shared tasks, where the input is a deeper semantic representation. The reported results establish performance for the given-token setting. Recovering missing material would add decisions about what to generate as well as where to put it, and the paper leaves those decisions to future work.

The authors also identify Arabic detokenization as a weakness. Its development scores remain substantially below those for many other languages when the order and inflection are supplied. The problem therefore calls for attention at the final formatting stage as well as in the end-to-end results. The authors suggest that sentence-level prediction of edit sequences might help and leave the idea untested. Their own experiments show the size of the discrepancy under the detokenization conditions and establish neither which Arabic cases account for most of it nor how the proposed replacement would perform.

They also draw a measured conclusion from the relation probe. The recoverable structural information exceeds what can be guessed from token features, while an encoder trained expressly for the probe attains higher accuracy than the encoder trained for linearization. The authors interpret the gap as a sign that the ordering task may require less relational detail. This leaves open which individual distinctions the decoder uses and how its reliance on them varies across languages or constructions.

Limits of the experimental setup

The corpus comparison measures reproduction of reference order with BLEU. A higher score supports the claim that predictions agree more closely with the shared task references under that metric. The experiment does not separately test how readers judge the fluency or acceptability of alternative orders. With a linguistic motivation based on side and proximity, one might also ask which syntactic configurations account for the improvement. The reported direction comparison aggregates over the treebanks and does not provide a breakdown by the placement of particular kinds of dependents.

The encoder ablation is informative about the usefulness of passing information in each direction. Its conditions distinguish both passes, either single pass and token vectors alone. They do not compare the coupled encoder directly with an independently computed pair of tree passes under the same linearization setup. As a consequence, the ability to route information between branches follows from the architecture, while the results support the value of the tested configuration as a whole. The score attributable specifically to feeding the first pass into the second is not isolated in that comparison.

There is a similar boundary around the probe. Accuracy measures the recovery of a class from a pair of vectors. It does not measure the use of that class in the decoder's attachment decisions. A classifier can exploit information that happens to be present in a representation even if the decoder relies largely on other cues. The grouping of distant cases also limits the claim about exact distances. The probe shows recoverability for the defined relation classes and leaves the precision of information about farther positions unresolved.

The search keeps a bounded set of hypotheses and selects a local result for each head. Its results therefore depend on which candidates survive pruning. The vote can recover a sequence pruned in one direction when another direction retains it, and every direction can still lose a promising sequence. The paper's analysis does not compare its chosen orders with the outcome of an exhaustive search across all test sentences. Its contribution is an effective search procedure in the reported setting, with an empirical comparison that includes an earlier, wider-beam subtree linearizer.

Finally, the full test score measures the interaction of all the stages. Sharing inflection and detokenization across the linearizer comparisons improves their interpretability. The detokenization experiment nevertheless shows that details of rendering have a large effect on the official score. A test score on finished text cannot by itself quantify how much of a particular language's gap is attributable to word order, word form or formatting. The conclusions are strongest when the standalone lemma results, the component experiments and the full test comparison are read together. All of that evidence comes from the shared task collection, whose language coverage is largely European.

What came after

Later citing work is undocumented here. The paper identifies its own proposed extension from ordering an existing set of tokens to jointly ordering and supplying missing function words from a deeper input representation. The proposed setting would require the system to decide when the input calls for a word it does not contain, then make that decision compatible with the positions of the words it already has. The authors connect that question to the deep track of surface realization. Their experiments establish the head-first procedure for ordering supplied tokens, and the extension to missing words remains a research direction in the paper.

 Institutions

 Fields, topics and concepts

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

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

Cite

Cite as Xiang Yu, Agnieszka Falenska, Ngoc Thang Vu and Jonas Kuhn. 2019. Head-First Linearization with Tree-Structured Representation. Proceedings of the 12th International Conference on Natural Language Generation.

The paper itself, not this card. BibTeX from the library's record of the work. DOI 10.18653/v1/w19-8636

@inproceedings{yu2019head,
  title = {{Head-First Linearization with Tree-Structured Representation}},
  author = {Xiang Yu, Agnieszka Falenska, Ngoc Thang Vu and Jonas Kuhn},
  booktitle = {Proceedings of the 12th International Conference on Natural Language Generation},
  year = {2019},
  doi = {10.18653/v1/w19-8636},
  url = {https://doi.org/10.18653/v1/w19-8636}
}

References

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

  1. Roee Aharoni and Yoav Goldberg. 2017. Morphological Inflection Generation with Hard Monotonic Attention. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2004–2015.
  2. Henry Elder and Chris Hokamp. 2018. Generating High-Quality Surface Realizations Using Data Augmentation and Factored Sequence Models. In Proceedings of the First Workshop on Multilingual Surface Realisation, pages 49–53. OpenAlex ↗ · Scholar ↗
  3. Srinivas Bangalore and Owen Rambow. 2000. Exploiting a Probabilistic Hierarchical Model for Generation. In Proceedings of the 18th conference on Computational linguistics-Volume 1, pages 42–48. Association for Computational Linguistics.
  4. Michael Elhadad and Jacques Robin. 1992. Controlling Content Realization with Functional Unification Grammars. In International Workshop on Natural Language Generation, pages 89–104. Springer. OpenAlex ↗ · Scholar ↗
  5. Anja Belz, Michael White, Dominic Espinosa, Eric Kow, Deirdre Hogan, and Amanda Stent. 2011. The First Surface Realisation Shared Task: Overview and Evaluation Results. In Proceedings of the 13th European workshop on natural language generation, pages 217–226. Association for Computational Linguistics.
  6. Thiago Castro Ferreira, Sander Wubben, and Emiel Krahmer. 2018. OpenAlex ↗ · Scholar ↗
  7. Surface Realization Shared Task 2018 (SR18): The Tilburg University Approach. In Irene Langkilde and Kevin Knight. 1998. Generation that Exploits Corpus-based Statistical Knowledge. In Proceedings of the 36th Annual Meeting of the Association for Computational Linguistics and 17th International Conference on Computational Linguistics-Volume 1, pages 704–710. Association for Computational Linguistics. Proceedings of the First Workshop on Multilingual Surface Realisation, pages 35–38.
  8. Katja Filippova and Michael Strube. 2009. Tree Linearization in English: Improving Language Model Based Approaches. In Proceedings of Human Language Technologies: The 2009 Annual Conference of the North American Chapter of the Association for Computational Linguistics, Companion Volume: Short Papers, pages 225–228. Association for Computational Linguistics.
  9. Benoit Lavoie and Owen Rainbow. 1997. A Fast and Portable Realizer for Text Generation Systems. In Fifth Conference on Applied Natural Language Processing.
  10. Richard Futrell, Kyle Mahowald, and Edward Gibson. 2015. Quantifying Word Order Freedom in Dependency Corpora. In Proceedings of the third international conference on dependency linguistics (Depling 2015), pages 91–100. OpenAlex ↗ · Scholar ↗
  11. Haitao Liu. 2010. Dependency Direction as a Means of Word-Order Typology: A Method Based on Dependency Treebanks. Lingua, 120(6):1567–1578. OpenAlex ↗ · Scholar ↗
  12. Yijia Liu, Yue Zhang, Wanxiang Che, and Bing Qin. 2015. Transition-Based Syntactic Linearization. In Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 113–122.
  13. Edward Gibson. 1998. Linguistic Complexity: Locality of Syntactic Dependencies. Cognition, 68(1):1– 76. DOI ↗ · OpenAlex ↗ · Scholar ↗
  14. Yoav Goldberg and Michael Elhadad. 2010. An Efficient Algorithm for Easy-First Non-Directional Dependency Parsing. In Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics, pages 742–750. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  15. Makoto Miwa and Mohit Bansal. 2016. End-to-End Relation Extraction using LSTMs on Sequences and Tree Structures. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1105– 1116.
  16. Alex Graves and Jürgen Schmidhuber. 2005. Frame-wise Phoneme Classification with Bidirectional LSTM and other Neural Network Architectures. Neural networks, 18(5-6):602–610. OpenAlex ↗ · Scholar ↗
  17. Graham Neubig, Chris Dyer, Yoav Goldberg, Austin Matthews, Waleed Ammar, Antonios Anastasopoulos, Miguel Ballesteros, David Chiang, Daniel Clothiaux, Trevor Cohn, et al. 2017. Dynet: The Dynamic Neural Network Toolkit. arXiv preprint arXiv:1701.03980.
  18. Kristina Gulordava. 2018. Word Order Variation and Dependency Length Minimisation: A Cross-Linguistic Computational Approach. Ph.D. thesis, University of Geneva. OpenAlex ↗ · Scholar ↗
  19. Joakim Nivre, Marie-Catherine De Marneffe, Filip Ginter, Yoav Goldberg, Jan Hajic, Christopher D Manning, Ryan McDonald, Slav Petrov, Sampo Pyysalo, Natalia Silveira, et al. 2016. Universal Dependencies v1: A Multilingual Treebank Collection. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC 2016), pages 1659–1666.
  20. Wei He, Haifeng Wang, Yuqing Guo, and Ting Liu. 2009. Dependency Based Chinese Sentence Realization. In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP: Volume 2-Volume 2, pages 809–816. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  21. Ratish Puduppully, Yue Zhang, and Manish Shrivastava. 2016. Transition-based Syntactic Linearization with Lookahead Features. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 488–493. OpenAlex ↗ · Scholar ↗
  22. Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long Short-Term Memory. Neural Comput., 9(8):1735– 1780. DOI ↗ · OpenAlex ↗ · Scholar ↗
  23. Katharina Kann and Hinrich Schütze. 2016. MED: The LMU system for the SIGMORPHON 2016 shared task on morphological reinflection. In Proceedings of the 14th SIGMORPHON Workshop on Computational Research in Phonetics, Phonology, and Morphology, pages 62–70. DOI ↗ · OpenAlex ↗ · Scholar ↗
  24. Ratish Puduppully, Yue Zhang, and Manish Shrivastava. 2017. Transition-Based Deep Input Linearization. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 1, Long Papers, volume 1, pages 643–654. OpenAlex ↗ · Scholar ↗
  25. David King and Michael White. 2018. The OSU Realizer for SRST ’18: Neural Sequence-to-Sequence Inflection and Incremental Locality-Based Linearization. In Proceedings of the First Workshop on Multilingual Surface Realisation, pages 39–48. OpenAlex ↗ · Scholar ↗
  26. Yevgeniy Puzikov and Iryna Gurevych. 2018. BinLin: A Simple Method of Dependency Tree Linearization. In Proceedings of the First Workshop on Multilingual Surface Realisation, pages 13–28.
  27. Linfeng Song, Yue Zhang, and Daniel Gildea. 2018. Neural Transition-based Syntactic Linearization. In Proceedings of the 11th International Conference on Natural Language Generation, pages 431–440, Tilburg University, The Netherlands. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  28. 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), volume 1, pages 1556–1566. OpenAlex ↗ · Scholar ↗
  29. Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. 2015. Pointer Networks. In Advances in Neural Information Processing Systems, pages 2692–2700. OpenAlex ↗ · Scholar ↗
  30. Jie Zhou, Ganqu Cui, Zhengyan Zhang, Cheng Yang, Zhiyuan Liu, and Maosong Sun. 2018. Graph Neural Networks: A Review of Methods and Applications. arXiv preprint arXiv:1812.08434. OpenAlex ↗ · Scholar ↗
  31. Yao Zhou, Cong Liu, and Yan Pan. 2016. Modelling Sentence Pairs with Tree-structured Attentive Encoder. In Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, pages 2912–2922. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/yu-2019-head-first-linearization-tree-structured/