Broad Coverage Multilingual Deep Sentence Generation with a Stochastic Multi-Level Realizer
Paper · 2010 · Bernd Bohnet, Leo Wanner, Simon Mille et al.
Summary
A representation of an event can identify what happened and who took part while leaving much of the sentence unwritten. A generator still has to decide how the participants fit into the sentence, where each word goes, and which forms the words take. Bohnet and colleagues study whether those decisions can be learned from annotated sentences in several languages. Their work concerns deep sentence realization, the part of text generation that begins with a representation of meaning and ends with a sentence. Here the input is a graph that links predicates, such as actions or properties, to the expressions that fill their roles.
The authors divide the work into successive decisions. The first stage makes a syntactic tree, which assigns each dependent word a head and names their grammatical relation. The next stage puts the words into a sequence, using their lemmas, or dictionary forms. The final stage turns those lemmas into written word forms where inflection is needed. Each stage uses its own statistical decoder, a procedure that searches for a high-scoring output. The decoders learn from a corpus that records several representations of the same sentences. One difficulty is that the corpus’s meaning graphs can leave words or groups of words disconnected. The authors use the corresponding syntax during data preparation to supply missing semantic links, including links for some modifiers and verbal arguments.
The experiments use corpora from the CoNLL-2009 shared task and cover Chinese, English, German, and Spanish. Across the full pipeline, the system scores 0.688 on the Chinese test set, 0.659 on English, 0.611 on German, and 0.68 on Spanish by BLEU, which measures word-sequence overlap with reference text. For each language, the score is higher than that of the same pipeline starting from the original semantic annotation. Separate tests assess the accuracy of syntactic attachments, word order, and inflection. These distinguish, for instance, a system that can order words effectively when given a dependency tree from one that must first reconstruct the tree.
The result establishes that a shared realization procedure can learn from several languages and operate from shallow meaning graphs across the test corpora. It also shows how much the starting annotation matters. The added edges are derived from syntactic information, so the evaluation concerns generation from semantic inputs prepared with the help of annotated syntax. The paper compares its scores with earlier realizers and word-ordering systems, whose inputs or test conditions differ. Its clearest comparison is therefore within its own experiments, where the original and completed semantic annotations give the same architecture different starting points.
Deep dive: Broad Coverage Multilingual Deep Sentence Generation with a Stochastic Multi-Level Realizer
A multilingual sentence realizer learns to turn predicate–argument graphs into sentences by predicting syntax, word order, and inflection. · about 35 minutes to read
The problem and its context
What a sentence plan leaves open
Sentence realization begins after some of the message has already been decided. The generator receives a formal representation of what a sentence should express. Its job is to turn that representation into written words in an acceptable order. The starting point can be close to a sentence, as when it already identifies grammatical heads and dependents, or more abstract, as when it gives predicates and their participants. The authors focus on the latter case because a system producing text from a conceptual representation or from numerical data may have a message to convey before it has settled the grammar of the sentence.
A predicate–argument graph describes a relation through a predicate and links to what fills its roles. A verb may introduce a relation, for example, and the graph may identify the expressions associated with its arguments. This resembles the information gathered by semantic role labeling. The direction of the task is reversed. In analysis, a sentence is already present and the system seeks the roles expressed by its words. In realization, the roles are available and the system has to choose a grammatical arrangement that expresses them. The authors use this correspondence to draw on resources and learning techniques developed for semantic parsing.
The difference between semantic and grammatical relations matters when a role can be expressed in different constructions. An argument edge says that a participant belongs with a predicate. A grammatical edge specifies the participant’s relation to a head in a particular sentence. A graph may contain several useful connections involving the same expression, while a dependency tree must organize each non-root word under a single head. The tree also needs to include expressions whose grammatical work is easier to recognize than their contribution to the original role annotation. The semantic representation gives evidence for decisions about clause structure and attachment. Those decisions still have to be made.
Even a correct tree leaves another problem. An unordered tree identifies which words belong with one another and which word heads each group. The tree can identify a modifier and the noun it modifies without assigning either to a position. Putting the words into a sequence is called linearization. After ordering, the system still needs to decide how to write each lemma. This last concern belongs to morphology, the study of word structure and forms. A verb lemma can have several written forms, and the relevant choice may depend on the verb’s grammatical properties and the context in which it appears.
These distinctions explain the authors’ use of deep. The term refers to how far from the written sentence the input begins. A realizer that receives syntax can concentrate on expressing a structure. A realizer that receives a predicate–argument graph also has to construct that structure. The paper treats this extra step as part of sentence planning. Its input, however, remains a shallow semantic annotation associated with an individual sentence. The generation task is consequently narrower than deciding the contents and organization of an entire text.
Where earlier generators started
The authors contrast corpus-trained realization with systems whose grammatical and lexical resources were written by hand. They describe statistical realization as attractive for its potential coverage, robustness, and portability. Learning from examples gives the generator a way to score alternatives in varied constructions without requiring a handwritten instruction for each combination. The resource cost shifts towards collecting and annotating enough representative examples. A realizer starting from syntax needs syntactic annotation. A realizer starting from meaning also needs examples that show how semantic representations correspond to sentences.
Much of the prior stochastic work discussed in the paper started with syntax. The authors place work by Bangalore and Rambow, Langkilde-Geary, and Filippova and Strube among the approaches whose input had already settled some structural decisions. A common input of that kind made annotated data easier to use and let a system focus on generating a surface sequence. From the perspective of deep realization, the open issue was how to arrive at that syntactic input in the first place. Bangalore and Rambow’s probabilistic approach to generation
Hybrid generators offered another answer. The paper describes earlier work by Knight and colleagues in which a symbolic component produces a syntactic representation and corpus statistics help choose an output. This division takes advantage of statistical evidence even when the semantic-to-syntactic correspondence is supplied by a different technique. The approach studied here extends learning to that correspondence as well. The first decoder learns choices about dependency structure, and the later ones learn choices about the arrangement and forms of the words. Langkilde and Knight’s corpus-based generation work
Word ordering also had a history as a problem in its own right. The authors describe rule-based treatments that relate grammatical dependencies to positions or fields in the sentence. They also describe newer statistical approaches, including one by Filippova and Strube that divides ordering between a classifier for words within a constituent and a classifier for constituents attached to a finite verb. A constituent here is a group of words considered together for ordering. German’s partially free word order is a motivating case in this discussion. The structure can admit several plausible layouts, and a language-specific representation may express useful distinctions that a uniform ordering procedure leaves implicit.
Why the annotation became part of the problem
The shared-task corpora made a new comparison possible because they supplied aligned representations. The same sentence could be examined as a semantic graph, a dependency tree, a sequence of lemmas, and a sequence of written forms. Some languages also had annotations for morphological features. A linked set of this kind provides examples for every stage, and each intermediate answer can be checked against the corpus independently of the finished sentence. This is the opportunity the authors identify in multilingual NLP.
The annotations followed guidelines developed for a different purpose. The paper traces the semantic layer to the Proposition Bank, whose annotations identify predicates and roles in a sentence a reader can already see. An expression can remain outside a predicate’s recorded arguments while its place in the visible sentence still makes sense. In the reverse task, an expression that has no connection to the input structure supplies little evidence about where it belongs. The authors encountered detached modifiers, determiners, adverbs, and coordination elements, along with cases where a verb and one of its arguments were disconnected.
This mismatch draws a distinction between annotating what a reader can recover and supplying what a generator needs to decide. An annotation suitable for studying the roles of a predicate can be sparse around other words of the same sentence. A generator has to choose their attachments and positions as part of producing a complete string. The authors’ response was to fill some gaps by consulting the syntactic annotation. The resulting semantic input is therefore best understood together with both its original role labels and its preparation procedure.
The method, step by step
From aligned corpus annotations to realized sentences
The steps in order.
Following a sentence through the representations
The method separates the representation of a sentence from the decisions needed to transform it. The starting graph records labeled semantic edges. The dependency tree records grammatical edges, with a direction from head to dependent and a label for their grammatical relation. The next representation supplies a position for each lemma. The surface sequence supplies the actual words. For a newcomer, the simplest way to follow the system is to ask what new information appears at each boundary. Syntax adds grammatical organization, linearization adds precedence, and morphological realization adds the written forms.
The paper expresses the generation sequence as follows.
SemStr → SyntStr → LinearStr → Surface
SemStr is the input semantic structure. SyntStr is the predicted syntactic dependency tree. LinearStr is the ordered sequence of lemmas, with the structure available for subsequent feature extraction. Surface is the resulting sequence of written word forms. Each → marks the work of a separate decoder. In the full run, a decoder’s prediction is passed on as input to the next one.
The graph, tree, and string make different claims about the same material. The graph can link words because one expresses an argument of another or because a modifier contributes to its meaning. The tree picks a grammatical head for every non-root word. A string places all the words in sequence, including words that belong to different branches of the tree. Each representation is useful because its decisions can be learned and checked against the corresponding layer of the corpus.
Completing the meaning graph
The corpus pairs each sentence with a semantic graph and a syntactic dependency tree. The completion procedure examines the tree to find pairs of words that belong together syntactically but lack an appropriate connection in the graph. The paper describes the graph with a node set, a label set, and an edge set.
sᵢ = ⟨Nᵢˢ, Lᵢˢ, Eᵢˢ⟩
i identifies a sentence in the corpus. sᵢ is the semantic graph for that sentence, and the superscript s designates its semantic layer. Nᵢˢ contains the semantic nodes, Lᵢˢ contains the available semantic edge labels, and Eᵢˢ contains the directed edges actually present. The angle brackets group the components and = defines the graph in terms of them.
Eᵢˢ ⊆ Nᵢˢ × Nᵢˢ × Lᵢˢ
Here Eᵢˢ is a subset, denoted by ⊆, of the triples formed from the node and label sets. The Cartesian product × places a node in the source slot, a node in the target slot, and a label in the final slot. Interchanging the nodes changes the direction of the edge. The semantic direction can differ from the direction in the annotated syntactic tree, so copying a syntactic edge verbatim would miss part of the completion decision.
The procedure starts at the root of the dependency tree and puts that root’s children in a queue. It examines the nodes breadth first, meaning that it reaches a node’s children after the nodes already waiting in the queue. At each visit it retrieves the semantic counterparts of the node and its syntactic parent. The pseudocode tests for a path between these corresponding nodes. If the test finds a path, it moves on. If the connection is missing, it looks up a semantic edge label and direction and inserts the edge. The dependency relation and the categories of the nodes provide evidence for the lookup.
The lookup handles cases in which grammatical and semantic direction make different assignments. If an adjectival modifier is detached in the original graph, the completion can treat the adjective as a predicate with the noun it modifies as its argument. A determiner can be represented through a quantifying relation. A disconnected verbal argument can be linked to the predicate it belongs with. The idea in each case is to make a relation explicit in terms appropriate to the semantic input, using the syntactic annotation to locate the gap.
The English example in the paper concerns a sentence in which Panama illustrates something, a substitute is identified as a system, and that system produces a gridlock described as absurd. The illustration separates original edges from edges supplied by the completion. Among its original kinds of labels are A0 and A1 for argument roles, R-A0 for a relative-clause realization of the A0 role, and AM-MNR for a manner modifier. The completed graph has 14 edges, of which 6 were added. These counts are for the illustrated sentence. The example makes it possible to see how a graph that already captures predicate roles can still need substantial additional linkage for realization.
Completion is a preparation operation on a corpus that contains both semantic and syntactic annotations. Once that operation has made the graphs, the semantics-to-syntax decoder is trained to predict a dependency tree from them. These roles for syntax are easy to conflate. In preparation, syntax supplies information for a lookup that fills a gap in the training or evaluation input. In generation, syntax is the output to be predicted from an available graph. The decoders never need to make the same prediction during the lookup because the annotated tree has already done that work.
Learning separate scoring functions
For each representational boundary, the corpus supplies paired examples. A semantic graph is paired with its dependency tree, a tree with the corpus order of its lemmas, and the ordered lemmas with the written word forms. The feature extractors turn properties of these representations and their candidate outputs into descriptions the decoder can score. A feature might express, for instance, the combination of a candidate dependency label with the length of a path in the semantic graph. In ordering, a feature can instead express that two grammatical dependents occur next to one another in a proposed list.
The authors describe the decoders as based on support vector machines, abbreviated SVMs, and use the Margin Infused Relaxed Algorithm, or MIRA, for training. This is a large-margin method. In this setting, the learning objective is to make the reference realization score ahead of competing candidates under a weighting of features. The decoder uses that weighting to evaluate alternatives for each new input. The paper gives the most detail for training the inflection stage. Its tree and ordering algorithms describe how their respective scores are used in search, with less detail about the training update in those stages.
The feature extractor and decoder designs are shared across languages. Their inputs, learned weights, and candidate inventories depend on the corpus. A feature can have the same definition in two languages while receiving different weights because different arrangements occur in their training sentences. The morphological decoder also learns a separate collection of useful edits from the forms it sees. This is the sense in which the architecture is multilingual. Its reuse comes from applying the same types of prediction to each annotated language.
Building a dependency tree
The first decoder converts the semantic graph into a tree of syntactic dependencies. It has to choose both the endpoints of each edge and the grammatical label. Two nodes close to each other in the semantic graph are promising candidates to appear close together in the tree, according to the authors’ working assumption. Closeness does not settle the relation by itself. The patterns of edges around the nodes and the words associated with them can distinguish candidates with similar distances.
The feature templates therefore combine possible grammatical labels with properties of the input graph. One template uses the following conjunction.
label + dist(s, t) + dir
label is the grammatical relation being considered for a candidate dependency. s and t are its source and target, with corresponding nodes in the semantic input. dist(s, t) is the graph distance between those nodes, and dir records the direction of the semantic path where a direction is available. + joins these values in a feature template. It has the same meaning in the other feature templates below, where it likewise denotes a combination of properties.
The paper lists variants of this distance template that add the lemma of the source, the lemma of the target, or both. It also lists variants with the source’s or the target’s sorted set of incoming semantic edge labels, with repeated labels removed. These combinations let the decoder distinguish an otherwise similar path according to what kind of expression starts or ends it and what semantic relations reach that expression. The set of incoming labels summarizes local context even when the individual neighboring words vary from sentence to sentence.
A further template keeps the sequence of labels along the path.
label + path(s, t) + dir
label again names the candidate grammatical relation, s is its source, and t is its target. path(s, t) designates the edge labels encountered along the semantic path, while dir records directional information about that path where available. The + signs join the properties. This feature exposes the character of the route between the endpoints, whereas the distance template only records its length.
The search begins by proposing a dependency edge for each ordered pair of distinct nodes with each candidate dependency label. These proposals are ranked. In the paper’s pseudocode, the initial look-ahead considers the 20 highest-ranked seed trees and assesses at most 1000 edges. The decoder chooses a seed edge from the best assessed continuation. It then keeps track of nodes still outside the partial tree and uses look-ahead again to select an extension. The first added edge of the preferred continuation is committed, and the newly incorporated node is removed from the outstanding set. The loop ends when every node is included.
The authors describe this as a beam search for a maximum spanning tree. A beam limits how many candidates receive further attention. A spanning tree reaches every node, and the objective is to prefer high-scoring attachments across that tree. Look-ahead makes an edge valuable in light of possible continuations, so its value can differ from the score it received in isolation. The restrictions on the candidates assessed are important to interpreting the term maximum. The algorithm searches a limited part of the space and returns the best tree found through that procedure.
This decoder learns relationships that often have recognizable semantic cues. It also has to attach material whose placement is less directly specified by the role graph. The preparation step makes more of that material visible to the scorer. An added link can affect graph distance, path direction, and the label sequence between endpoints. Its consequences can therefore extend beyond the individual edge inserted during completion.
Finding the word order
At the next stage, a predicted or reference dependency tree identifies heads and children without supplying their order. The ordering decoder starts with short lists associated with tree nodes and considers arrangements of each head with its children. Proposed partial arrangements are extended, scored, and kept in ranked lists. Decisions about how immediate children sit around a head can then be used to construct larger ordered groups as the tree is processed. The authors use one ordering classifier design for all the languages in the study.
The need for search arises because positions interact. Putting a dependent before its head changes who can stand next to the head and who can appear at an edge of the group. A choice that has a good score as part of a short sequence may receive a different assessment when the proposed constituent is complete. The decoder makes this distinction by first using local scores to guide the beam and later incorporating features of the list as a whole. When a beam would exceed 1000 lists, the procedure retains the 1000 highest-scoring candidates.
The features in the initial score use pairs and triples of words. They can combine the labels of incoming syntactic dependencies, the lemmas, and part-of-speech tags, which identify grammatical categories such as noun and verb. Other combinations use the position of an item within the constituent, the number of children of a word, or the identity of the constituent’s head within a pair or triple. As a compact illustration, one feature template in the paper has this form.
PoS₁ + PoS₂ + head(w₁, w₂)
w₁ and w₂ are the words under consideration in the candidate list. PoS₁ and PoS₂ give their part-of-speech tags. head(w₁, w₂) identifies the position occupied by the constituent’s head, with value 1 when w₁ is the head, 2 when w₂ is the head, and 0 when neither is. The + signs join these properties into a feature that distinguishes the same sequence of grammatical categories according to which word is the head.
The final ranking brings in properties visible across the constituent. They include its first and last word, labels and tags near its boundaries, the lemma or tag of its head, and the head’s position. Certain templates activate only for lists long enough to have the required positions. Several templates also record the presence of a question mark in the sentence. This gives the learner a way to associate order with a visible property of the input whose relevance can extend beyond a neighboring pair.
score_g(l) = score(l) + compute-global-score(l)
l denotes a candidate list. score(l) is the score used to rank it during search, and compute-global-score(l) gives the extra contribution of features of the full list. score_g(l) is the resulting score used in the final ranking, with g designating the global adjustment. Here + is numerical addition, and = specifies how the final score is obtained. The decoder uses the highest-ranked arrangements to order the tree’s nodes into a sequence of lemmas.
This representation leaves room for both grammatical and lexical evidence. Two children with similar grammatical labels can receive different treatment because the scorer sees their lemmas or tags. Conversely, a configuration can be recognized across different words because some features use structural descriptions alone. The choices still occur within a search organized around heads and their dependents. The paper’s later discussion of German draws attention to the value of representations that make some arrangements beyond those local groups easier to describe.
Producing the written forms
The final decoder selects a transformation from a lemma to a word form. In the annotated corpus, the two strings are already paired. The authors compute a minimal edit script for each pair. An edit script gives a sequence of character changes, and minimal edit distance supplies a way to identify a short script that takes the lemma to the observed form. Treating a script as a classification target lets the learner reuse a transformation across words and contexts where it is appropriate.
The scripts are computed on reversed strings. The authors explain that changes often occur at the end of a word, while their scripts record positions relative to the beginning. Reversing the strings puts those changes near the start and makes the recorded positions more reusable across word lengths. The paper illustrates the procedure using go and goes. The strings become og and seog. The script Ie0Is0 inserts e at position 0 of og and then s at position 0 of the intermediate string. In that notation, I means insertion, the following letter identifies the character, and 0 specifies the initial position. Reversing the result gives goes.
Training begins by collecting scripts from the lemma and form pairs. The pseudocode lowercases the lemma before deriving the reference transformation. The accompanying account says that scripts occurring more frequently than twice are included in the classification inventory. The number of available classes is language-dependent. According to the authors, the script counts are roughly 1,500 for English and 2,500 for German. These are counts of alternative transformations retained for classification, rather than counts of unique written words or lists of all the forms of individual lemmas.
A script is scored in context. The candidate transformation can be combined with the current lemma, morphological features, part of speech, and position. Other templates draw on properties of the surrounding ordered words. The table includes features for nearby lemmas and nearby morphological annotations, as well as features that combine a script or its initial operations with morphological properties. The classifier consequently has evidence from both the proposed string change and the context where it would be applied.
For training, the classifier scores the candidate scripts for the current position and compares its choice with the script obtained from the annotated form. The update is driven by the difference between the predicted and reference feature vectors. The paper denotes that comparison as follows.
Δ(φ(scriptₚ), φ(scriptᵍ))
scriptₚ is the predicted edit script and scriptᵍ is the script derived from the gold, or reference, form. φ maps a script in its current context to its feature vector. Δ denotes the difference used to direct the weight update. The notation specifies the inputs to the update rather than its full numerical rule. The pseudocode uses a working weight vector v and an averaged vector w that reflects the collected weights over training. The authors say the training algorithms typically make 6 passes, or epochs, through their examples.
In an actual realization run, the morphology stage receives the ordered lemmas, the tree, and a position to realize. It selects the highest-scoring edit script and applies it. The candidate inventory supplies character operations, the context helps choose the operation, and the ordered sequence determines where the resulting word goes. This concludes a pipeline in which the alternatives are quite different at each boundary. The first search compares possible trees, the next compares possible lists, and the final classifier compares transformations of a string. The authors also report that they made the realizer available for download.
Experiments and results
Tasks, test sets, and comparisons
The authors evaluate the complete realizer and its component stages. The test sets contain 2556 sentences for Chinese, 2400 for English, 2000 for German, and 1725 for Spanish. The English test set comes from Section 23 of the Wall Street Journal corpus, a choice the paper associates with earlier realization studies. The test sizes establish the amount of sentence material behind the reported results. The metrics then count different units, such as tokens for attachment and phrases or clauses for exact ordering.
The main internal baseline is the deep realization pipeline starting from the original CoNLL semantic annotation. The principal setting starts from the completed annotation. Both produce sentences through the successive realization stages. This comparison asks how much the pipeline benefits from a semantic input with more of the relations available to it. Published figures from earlier systems supply context for individual tasks, but the paper flags differences in data and eligibility criteria.
An isolated stage and an end-to-end run answer different questions. The word-ordering score concerns the mapping from a dependency tree to an ordered list. The end-to-end score begins earlier, at the graph, so the ordering decoder has to work with the tree produced by the first stage. Similarly, morphology can be evaluated on a prepared lemma sequence, while in the full pipeline neighboring words and their structural relations depend on earlier predictions. Separate measurements help locate a weak stage, but their values have different denominators and do not combine directly into the full-pipeline score.
From semantic edges to grammatical attachments
The syntactic output is evaluated with measures familiar from dependency parsing. The unlabeled attachment score, abbreviated ULA in the paper, counts a token as correct if its predicted head matches the reference. The labeled attachment score, LAS, also requires the grammatical edge label to match. A dependency can therefore receive credit under ULA even if the decoder assigns it the wrong grammatical relation.
On the Chinese test set, ULA is 95.71 and LAS is 86.29. For English the scores are 94.77 and 89.76, and for German they are 95.46 and 82.99. Spanish records 98.39 ULA and 93.00 LAS. These are attachment scores for the semantics-to-syntax stage. In every language the labeled criterion yields a lower figure, reflecting the additional requirement that a correct pair of nodes also have the right relation. For German in particular, the figures show a stronger result on choosing the head than on recovering the full labeled attachment.
The comparison between these two metrics also gives a more specific reading of the graph conversion. A decoder can be successful at recovering which words are structurally connected and have more difficulty with the description of those connections. Those labels subsequently appear in the ordering features. An incorrect label can therefore be consequential even when the bare tree links are accurate. The table gives the stage-level scores needed to notice that possibility, while its end-to-end figures reflect the pipeline’s combined behavior.
Ordering phrases, clauses, and sentences
The word-ordering evaluation uses exact constituent accuracy, a deletion-and-insertion measure, and BLEU. Exact accuracy is reported per phrase or clause. It asks whether the whole unit has been ordered correctly.
acc = correct constituents / all constituents
acc is exact constituent accuracy. correct constituents is the number of evaluated phrases or clauses whose order matches the reference, and all constituents is the total number assessed. The slash divides one count by the other. A constituent whose order differs from the reference fails the exact-match condition regardless of how many words were placed correctly inside it.
The deletion-and-insertion measure registers how much editing is needed to restore the reference order.
di = 1 − m / total number of words
di is the deletion-and-insertion score. m is the minimum number of deletions together with insertions required to obtain the reference ordering. The total number of words supplies the denominator. The slash normalizes the required editing by the word count, and − subtracts that normalized quantity from 1, so orders requiring less editing receive higher scores. BLEU supplies a further view by measuring the overlap of word sequences with the reference, which also lets the authors discuss earlier studies that used that metric.
For Chinese, linearization achieves 0.88 on the deletion-and-insertion score and 64.74 constituent accuracy. For English, it achieves 0.91 and 74.96. German records 0.82 and 50.5, and Spanish records 0.83 and 52.77. The languages are ordered the same way on these two measures in the reported tests. Their interpretation differs because exact accuracy gives no partial credit to a constituent, whereas the edit-based score registers the size of the correction.
Dependency-tree linearization on the language-specific test sets by BLEU
English has the highest linearization BLEU among the tested settings.
The numbers
| System or setting | BLEU |
|---|---|
| Chinese | 0.85 |
| English (this paper) | 0.894 |
| German | 0.735 |
| Spanish | 0.78 |
For Chinese, the paper reports 0.89 on the deletion-and-insertion metric and 0.887 BLEU from He and colleagues. The corresponding figures for the authors’ system are 0.88 and 0.85. For English, the table gives Filippova and Strube’s deletion-and-insertion result of 0.88 and constituent accuracy of 67, alongside Ringger and colleagues’ BLEU of 0.836. The present paper’s English ordering figures are 0.91, 74.96, and 0.894 on the respective measures. For German, Filippova and Strube’s figures are 0.87 and 61 on the edit-based and constituent measures, above the paper’s 0.82 and 50.5. These comparisons vary in direction, and the authors emphasize that the datasets differ. For Spanish they were unaware of a published linearization result to use as a benchmark.
The paper also reports the cost of ordering. On a computer with a 2, it takes an average of about three milliseconds to linearize each dependency tree.8 Ghz CPU. The authors say the search very rarely exceeds its beam threshold. The timing is for the ordering procedure under the reported conditions. The figure gives a sense of the cost of the search and its feature calculations, with the other realization stages outside that measurement.
Inflecting the ordered lemmas
Morphological realization is evaluated by the proportion of generated words whose written form matches the reference.
accuracy = correct words / all words
accuracy is the word-form accuracy of the morphology stage. correct words counts the generated forms that match the reference forms, and all words counts the generated forms assessed. The slash denotes division. The score is sensitive to any difference in the written form, including the capitalization problems that the authors discuss.
The reported accuracy is 97.8% for English, with 97.49 for German and 98.48 for Spanish on the same percentage scale. The results table gives no separate morphology value for Chinese. The authors compare the English figure with 99.8% accuracy reported by Minnen and colleagues. That work constructs its generator from a morphological analyzer, which gives its system a different basis for choosing forms. The comparison puts the reported accuracies in context, with different architectures and evaluation conditions.
The complete realization pipeline
The final BLEU scores describe the move from an available semantic graph to a written sentence. With completed graphs, the highest reported value is 0.688 for Chinese and the lowest is 0.611 for German. English scores 0.659 and Spanish 0.68. The internal baseline begins from the original role annotation and scores 0.12 for Chinese, 0.18 for English, 0.11 for German, and 0.14 for Spanish.
Full sentence realization from original and completed semantic graphs by test-set BLEU
Realization from completed semantic graphs scores higher on every language’s test set.
The numbers
| System or setting | BLEU |
|---|---|
| Chinese, original graph | 0.12 |
| Chinese, completed graph (this paper) | 0.688 |
| English, original graph | 0.18 |
| English, completed graph | 0.659 |
| German, original graph | 0.11 |
| German, completed graph | 0.611 |
| Spanish, original graph | 0.14 |
| Spanish, completed graph | 0.68 |
The paper also gives the BLEU range of 0.514 to 0.924 for HALogen as the completeness of its input varies. HALogen starts with syntactic structures, whereas the full-pipeline figures above include predicting those structures. Its range shows how performance can depend on what a generator receives, and the two evaluations place different responsibilities inside the system under test. HALogen’s evaluation of coverage and correctness
Taken together, the results give the paper separate evidence for feasibility and input sensitivity. The complete runs show that the learned stages can produce reference-like sentences from the prepared graphs across the test corpora. The original-graph runs show how poorly the same pipeline can fare when the available links are sparse. The isolated results help explain why the two are compatible. A component can score well given the representation it expects, even when producing that representation from an earlier layer remains difficult.
What the ablations show
Completing the input changes the end-to-end result
The comparison closest to an ablation is the original-versus-completed semantic input. It changes the availability of graph relations under the same staged realization design. The completed condition has higher BLEU in each language. The pattern spans all the test corpora, giving the experiment a direct answer to the practical question of whether the original role graphs suffice as inputs to this pipeline. For the system tested, completion is a major part of the setup that produces the reported end-to-end performance.
Several mechanisms make that result intelligible. An added edge can connect a modifier with the expression it modifies, connect a verb with its argument, or supply information around coordination. Whenever a link changes which nodes can be reached and how they are reached, it can also change the path-distance and label features considered by the tree decoder. A new edge may thus change the scores of candidate attachments elsewhere in the local graph as well as the score for the two endpoints. Later stages can benefit if those changes produce a tree closer to the reference.
The comparison moves several things together. Connectivity, edge directions, and semantic labels all change through the completion procedure. The same intervention can affect different kinds of words in different sentences. As a consequence, the baseline measures the value of the completed input as a package. The paper gives no breakdown of how much comes from restoring verbal arguments, how much from adding links for modifiers, or how much from the labels and directions selected by the lookup. The example graph shows the nature of the edits, while the full runs measure their combined effect.
The stage scores diagnose different decisions
Comparing labeled with unlabeled attachment shows that identifying a head is easier in this setup than identifying both its head and relation. That is a change of criterion for the same predicted output. It tells the reader where part of the loss occurs without requiring a different decoder. The ordering metrics likewise expose distinct kinds of success. A phrase can fail the exact-order criterion while requiring relatively little editing. BLEU can still reward word sequences within it that agree with the reference. The paper’s choice to report several measures prevents any one kind of partial success from standing in for the whole ordering problem.
Isolated evaluations also expose the role of conditions at each boundary. English leads the isolated linearization BLEU results, while Chinese leads the full realization BLEU results. Those rankings concern different tasks, and the difference illustrates why an ordering score alone cannot predict the performance of the pipeline. Predicting the syntax, selecting written forms where applicable, and matching the language-specific reference all contribute to the full result. The paper does not trace the propagation of individual errors across these boundaries, so it leaves open which successful and unsuccessful decisions coincide in particular sentences.
Coordination and language-specific order
The error analysis identifies the treatment of coordination as a source of ordering errors, especially in German and Spanish. The relevant annotation can give a conjunction both coordinates as dependents. The paper contrasts this with a chain in which one coordinate connects to the conjunction and the conjunction connects to the other coordinate. The chain encodes a structural asymmetry compatible with a left-to-right arrangement. When the conjunction heads both coordinates in parallel, the linearizer has to recover their order from other features.
This is a diagnosis from inspecting errors. The authors suggest that automatically converting the coordination structures before ordering could help, and they report leaving that conversion out of the experiments. That makes the observation informative about the source of some failures without assigning a measured BLEU or accuracy improvement to the proposed change. It also shows that a structural convention chosen for annotation can influence what a word-ordering procedure finds easy to express.
The comparison with Filippova and Strube suggests another interaction between the representation and the language. Their design uses separate classifiers for local ordering and for the order of constituents dependent on a finite verb. The paper associates the stronger German figures of that approach with its treatment of non-projective arrangements in the Vorfeld, the field before the finite verb in the German analysis it discusses. A non-projective arrangement can place material outside the span expected from the immediate dependency grouping. The authors chose a uniform classifier to test shared technology across languages. The published comparison gives a reason to examine language-specific ordering structure, with dataset differences preventing a controlled estimate of the classifier design’s effect.
Errors in written word forms
The morphology discussion points to cases around opening quotation marks, acronyms, and the initial capitalization of some English and Spanish proper nouns. These are errors at the final interface, where a word can be recognizably the right lexical item and still disagree with the reference as a string. The training procedure’s treatment of lemmas and its reliance on contextual script selection make capitalization part of the decision the final stage has to recover. The analysis identifies recurring cases, with no separate accuracies for the named categories.
The paper supplies no systematic removal study for the feature families, the beam search settings, the string reversal, or the edit-script frequency rule. Its evidence about the importance of individual choices consequently comes from different sources. The completed-input comparison measures a change in performance. The isolated metrics distinguish what the decoders accomplish given their expected inputs. The error inspection points to cases where specific annotations and forms create difficulties. Each has a different reach, and only the input comparison changes a condition and measures the complete system against it.
Limitations
Limits the authors state
The authors say that the completion scheme was still awaiting formal evaluation. They had yet to finish evaluating either the changes required to adapt the role annotation for generation or the quality of the algorithm used to make those changes. This leaves a distinction between the graph’s utility for the realizer and its quality as semantic annotation. A link inferred from syntax may be useful for reproducing a sentence. Judging its semantic label and direction requires evidence beyond the performance of the sentence generator trained to use it.
The authors also provide an overview of their decoders, with the most detailed MIRA training example reserved for morphology. The semantic and ordering stages have descriptions of their search, features, and principal settings. The presentation leaves their training instantiations less fully specified. This matters for understanding what testing the architecture again would require. The paper establishes the division between the stages and explains what they score, while the numerical particulars of every training update are outside its account.
The multilingual claim is conditional on access to aligned annotation. Training needs semantic graphs, dependency trees, lemmas, and forms for corresponding sentences, with morphological annotations available for some languages. A new corpus can also require preparation when its semantic annotation was designed for a different task. The authors describe portability through the shared feature-extraction and decoding designs. They present domain independence as a potential when training uses a representative corpus. The experiments provide results on the test sets drawn from the available multilingual resources.
The authors repeatedly qualify the comparisons with earlier systems. Chinese and English linearization studies use different data, and the ordering comparison for English involves a published procedure that excludes sentences containing phrases with more than 20,000 candidate orders. The authors describe the excluded phrases as about 1%. The morphology comparison is with a generator derived from an analyzer. HALogen receives syntactic input. The paper also notes the difficulty of finding thorough quantitative evaluations of handcrafted morphology generators, which limits the range of comparisons it can make. Each figure describes a task and system under its own conditions.
Language-specific choices were deliberately limited in the system evaluated. The authors acknowledge that German can benefit from an ordering treatment tailored to its sentence fields. They also identify the handling of coordination in German and Spanish and the treatment of capitals and quotation marks in morphology as possible targets for improvement. These observations qualify what the experiments say about the best achievable result for an individual language. The tested design asks how well one overall approach can serve several languages with limited adaptation.
Limits that follow from the setup
The graph-completion procedure gives the realizer more than a sparse list of predicates and arguments. It prepares the graph using the annotated dependency tree of the same corpus sentence. This creates a dependency between the material used to construct the input and the syntax the generator is evaluated on recovering. The end-to-end results therefore support a particular interface, a shallow semantic graph enriched in ways that reflect the reference syntax. For an application starting from separately authored meanings or an upstream program’s output, the availability and reliability of equivalent links remain open questions. That distinction matters because the baseline shows substantial sensitivity to the information present at this interface.
The corpus pairs also constrain the question of what counts as a good realization. A graph was obtained from a particular sentence, and the output is assessed against corpus annotations or the corresponding written text. A constituent can differ in order while remaining acceptable. This is especially relevant when a language allows more than one arrangement of its constituents, as the paper notes for German. Exact order, edit distance, and BLEU quantify agreement with the recorded version. They leave grammatical acceptability and intended meaning in alternate realizations unmeasured as separate outcomes.
In a similar way, the reported coverage concerns the evaluated realization setting. The paper’s pipeline works with semantic structures already associated with sentence material, using lexical and graph information as evidence for grammatical attachments. Content selection, discourse organization, and choices such as how to refer back to an entity belong to a wider generation task. The authors see the modular architecture as a possible place to integrate referring expressions, ellipsis, and aggregation. The experiment concerns the modules implemented for graph-to-tree prediction, ordering, and inflection.
The language results support reuse of a procedure across corpora. The training design learns from annotated examples for the language being realized, and the morphology inventory is explicitly language-dependent. The tests consequently establish multilingual applicability under supervised training in the individual resources. They do not measure cross-language transfer from a corpus in one language to a new language or performance with little annotation. A shared architecture answers whether the same formulation can be applied again. Transfer would ask which learned information can be reused across language boundaries.
Finally, the aggregate scores leave the sources of sentence-level failure only partly resolved. Without tracking the same errors across all stages, a low final score can reflect a wrong attachment, an unsuitable ordering, a form mismatch, or interactions among them. Conversely, an imperfect tree need not prevent a reference-like string if the later choices happen to agree with the reference. The paper’s metrics describe how the system behaves on each task and as a whole. The proposed diagnoses for particular failures remain narrower than a measured account of the whole pipeline.
What came after
The citing works pick up different parts of the problem this paper brings together. One focuses on recovering word order from syntax, one treats the data and baselines for generation in another language, and one concerns the quality of a lexical resource. Their connections vary in how directly they touch the graph-to-sentence pipeline.
Discriminative Syntax-Based Word Ordering for Text Generation (2015) takes up the ordering problem as its own research task. Its focus, discriminative ordering using syntax, corresponds to the part of Bohnet and colleagues’ realizer that ranks competing sequences using grammatical information. In the earlier system, this problem has a precise interface. The input is a dependency tree, and the output gives its words a relative order. Studying ordering at that interface makes it possible to ask how well syntactic information supports sequence choice independently of how the tree was obtained or how the words will be inflected. The citation connects the work at the level of this task. The later work’s title gives no basis for crediting it with reuse of the earlier beam search or feature templates. Discriminative Syntax-Based Word Ordering for Text Generation
Neural Generation for Czech: Data and Baselines (2019) addresses the resource and evaluation side of generation, with Czech as the language and neural generation as the approach named in the title. Bohnet and colleagues’ study had already made data requirements central to the question of multilingual realization. The choice of representations available for training determines which decisions a system can learn and which stages researchers can evaluate. A data-and-baselines study puts those conditions in view for Czech. Its citation places the earlier multilingual realizer in the background of that effort. The connection supports a comparison of research questions, while the title leaves the actual representations and any reuse of the earlier architecture unspecified. Neural Generation for Czech: Data and Baselines
Raffinement du Lexique des Verbes Français (2012) concerns the refinement of a French verb lexicon. This is the most indirect connection. Bohnet and colleagues’ immediate problem is how to convert a predicate graph into syntax given the evidence available in annotated sentences. The French work’s named task is improving a lexical resource organized around verbs. The point of contact is the role that the quality of linguistic descriptions can play when a system needs to interpret or realize predicates. The paper’s own resource intervention consists of adding edges to sentence-level graphs. The title of the French study identifies a different level of intervention and does not establish use of the completion algorithm. Raffinement du Lexique des Verbes Français
These connections follow the boundaries the realizer made explicit. Ordering can be studied with syntax already supplied. A generation study in another language can focus on what data and benchmarks make its results interpretable. Work on lexical resources can address the quality of linguistic descriptions available near the beginning of the process. The earlier paper’s contribution across those concerns is to show, in a complete realization pipeline, where a representation provides evidence for a decision and where learning has to supply what the representation leaves open.
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 3Research subjects and languages the work is about.Machine translation · 1,109 worksMultilingual & cross-lingual NLP · 888 worksText generation · 214 works
Appears in
Mentioned in articles aboutBarcelona
Cite
Cite as Bernd Bohnet, Leo Wanner, Simon Mille and Alicia Burga. 2010. Broad Coverage Multilingual Deep Sentence Generation with a Stochastic Multi-Level Realizer. Proceedings of the 23rd International Conference on Computational Linguistics (Coling 2010).
@inproceedings{bohnet2010broad,
title = {{Broad Coverage Multilingual Deep Sentence Generation with a Stochastic Multi-Level Realizer}},
author = {Bernd Bohnet, Leo Wanner, Simon Mille and Alicia Burga},
booktitle = {Proceedings of the 23rd International Conference on Computational Linguistics (Coling 2010)},
year = {2010},
url = {https://aclanthology.org/C10-1012/}
}References
- Bangalore, S. and O. Rambow. 2000. Exploiting a Probabilistic Hierarchical Model for Generation. In Proceedings of COLING ’00, pages 42–48.
- Bangalore, S., J. Chen, and O. Rambow. 2001. Impact of Quality and Quantity of Corpora on Stochastic Generation. In Proceedings of the EMNLP Conference, pages 159–166. OpenAlex ↗ · Scholar ↗
- Bateman, J.A., I. Kruijff-Korbayová, and G.-J. Kruijff. 2005. Multilingual Resource Sharing Across Both Related and Unrelated Languages: An Implemented, Open-Source Framework for Practical Natural Language Generation. Research on Language and Computation, 15:1–29. OpenAlex ↗ · Scholar ↗
- Belz, A. 2008. Automatic generation of weather forecast texts using comprehensive probabilistic generation-space models. Natural Language Engineering, 14(4):431–455. OpenAlex ↗ · Scholar ↗
- Bohnet, B. 2004. A graph grammar approach to map between dependency trees and topological models. In Proceedings of the IJCNLP, pages 636–645. OpenAlex ↗ · Scholar ↗
- Bröker, N. 1998. Separating Surface Order and Syntactic Relations in a Dependency Grammar. In Proceedings of the COLING/ACL ’98. OpenAlex ↗ · Scholar ↗
- Crammer, K., O. Dekel, S. Shalev-Shwartz, and Y. Singer. 2006. Online Passive-Aggressive Algorithms. Journal of Machine Learning Research, 7:551–585. OpenAlex ↗ · Scholar ↗
- Duchier, D. and R. Debusmann. 2001. Topological dependency trees: A constraint-based account of linear precedence. In Proceedings of the ACL. OpenAlex ↗ · Scholar ↗
- Elhadad, M. and J. Robin. 1996. An overview of SURGE: A reusable comprehensive syntactic realization component. Technical Report TR 96-03, Department of Mathematics and Computer Science, Ben Gurion University.
- Filippova, K. and M. Strube. 2008. Sentence fusion via dependency graph compression. In Proceedings of the EMNLP Conference. OpenAlex ↗ · Scholar ↗
- Filippova, K. and M. Strube. 2009. Tree linearization in English: Improving language model based approaches. In Proceedings of the NAACL ’09 and HLT, Short Papers, pages 225–228.
- Gerdes, K. and S. Kahane. 2001. Word order in German: A formal dependency grammar using a topological hierarchy. In Proceedings of the ACL. OpenAlex ↗ · Scholar ↗
- Hajič, J. et al. 2009. The CoNLL-2009 Shared Task: Syntactic and Semantic Dependencies in Multiple Languages. In Proceedings of the CoNLL.
- He, W., H. Wang, Y. Guo, and T. Liu. 2009. Dependency based chinese sentence realization. In Proceedings of the ACL and of the IJCNLP of the AFNLP, pages 809–816. OpenAlex ↗ · Scholar ↗
- Knight, K. and V. Hatzivassiloglou. 1995. Two-level, many paths generation. In Proceedings of the ACL. OpenAlex ↗ · Scholar ↗
- Langkilde, I. and K. Knight. 1998. Generation that exploits corpus-based statistical knowledge. In Proceedings of the COLING/ACL, pages 704–710.
- Langkilde-Geary, I. 2002. An empirical verification of coverage and correctness for a general-purpose sentence generator. In Proceedings of the Second INLG Conference, pages 17–28.
- Lavoie, B. and O. Rambow. 1997. A fast and portable realizer for text generation systems. In Proceedings of the 5th Conference on ANLP.
- Levenshtein, V.I. 1966. Binary codes capable of correcting deletions, insertions, and reversals. Soviet Physics, 10:707–710. OpenAlex ↗ · Scholar ↗
- Mellish, C., D. Scott, L. Cahill, D. Paiva, R. Evans, and M. Reape. 2006. A reference architecture for natural language generation systems. Natural Language Engineering, 12(1):1–34. OpenAlex ↗ · Scholar ↗
- Minnen, G., J. Carroll, and D. Pearce. 2001. Applied morphological processing for English. Natural Language Engineering, 7(3):207–223. OpenAlex ↗ · Scholar ↗
- Oh, A.H. and A.I. Rudnicky. 2000. Stochastic language generation for spoken dialogue systems. In Proceedings of the ANL/NAACL Workshop on Conversational Systems, pages 27–32. OpenAlex ↗ · Scholar ↗
- Palmer, M., D. Gildea, and P. Kingsbury. 2005. The proposition bank: An annotated corpus of semantic roles. Computational Linguistics, 31(1):71–105.
- Ringger, E., M. Gamon, R.C. Moore, D. Rojas, M. Smets, and S. Corston-Oliver. 2004. Linguistically informed statistical models of constituent structure for ordering in sentence realization. In Proceedings of COLING, pages 673–679. OpenAlex ↗ · Scholar ↗
- Wan, S., M. Dras, Dale R., and C. Paris. 2009. Improving Grammaticality in Statistical Sentence Generation: Introducing a Dependency Spanning Tree Algorithm with an Argument Satisfaction Model. In Proceedings of the EACL ’09, pages 852–860. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/bohnet-2010-broad-coverage-multilingual-deep-sentence/