Machine-learned contexts for linguistic operations in German sentence realization
Paper · 2002 · Michael Gamon, Eric Ringger, Simon Corston-Oliver et al.
Summary
A system that knows what a sentence should say still has to decide how to say it. In German, that means working out which form a noun phrase should take, where a verb belongs, and whether a clause reads more naturally farther to the right. The authors study these choices in Amalgam, a system that starts with a representation of a sentence’s meaning and builds the grammatical structure needed to express it. They design the operations that alter that structure and use examples of written German to learn the circumstances in which each operation should apply. The paper studies how to make those local decisions in text generation.
The training procedure makes use of an analysis system that gives each sentence both a meaning representation and a syntactic tree, with links between the two. The links let the authors recover choices from the written sentence and pair them with information that would be available to Amalgam when it makes those choices. A decision tree learns which properties to test, such as the grammatical role of a phrase, the properties of the word that governs it, or the type of clause it belongs to. The source collection contains 100,000 sentences from software manuals and help files, divided 70/30 between training and tuning. For testing, the authors set aside another 10,000 sentences from the same domain and draw examples exclusively from sentences that the analyzer parses in full. The central task is to learn how information about meaning and structure bears on an individual choice through machine learning.
The paper examines case assignment, verb placement, extraposition, and syntactic aggregation. Case assignment chooses a grammatical case for a noun phrase. Its overall test accuracy is 0.9352 against a nominative default of 0.7049, with credit given for any case compatible with the observed written form. Verb placement reaches 0.9491 overall against 0.4240 for always predicting verb-second. Extraposition moves an eligible clause towards the right of its containing structure. Exact attachment-site accuracy is 0.8612 against 0.6758 for leaving clauses in place, with the clearest improvement on relative clauses. Syntactic aggregation decides where to express material shared across coordinated phrases. It reaches 0.9746 overall against 0.8566 for always keeping the first occurrence.
These results show how much of the work of realization can be expressed as a series of learnable grammatical decisions. They also show where aggregate scores give an incomplete picture. The written form of a noun phrase can conceal which case the syntax requires. The rare option of realizing shared material in a middle conjunct receives no credit on the class-specific measures. And a choice that performs well in isolation can still matter downstream, where other operations depend on it. The reported tests measure particular decisions in technical prose. The authors also describe work in progress on carrying several possible decisions through the pipeline before selecting an output.
Deep dive: Machine-learned contexts for linguistic operations in German sentence realization
How Amalgam learns where to put German verbs and clauses, which grammatical case to assign, and where to keep shared words in a coordination. · about 31 minutes to read
The problem and its context
From intended meaning to a sentence
Sentence realization begins after some of the work of generation has already been done. Amalgam receives a representation for an individual sentence with the content words already chosen. Its job is to express the relationships in that representation as an ordered, inflected string. The input can say which participants belong to an event and which expressions modify others, while leaving decisions about their written arrangement to the realizer. The distinction between the relationships to express and the structure used to express them is the basis for the paper’s treatment of semantics.
Consider a noun phrase that is an argument of a verb. Knowing the phrase’s contribution to the intended meaning gives the realizer something to work with. It still has to establish the phrase’s syntactic role and choose a case, which can affect the forms used to express it. The information needed for that choice can include the properties of a governing verb or preposition and the relationships of other constituents nearby. The case decision belongs early enough in the pipeline that subsequent operations can use the assigned value. What appears on the page as a choice of form can therefore have consequences for more than the final spelling of a word. This is one of the places where grammatical structure meets morphology.
German verb placement presents a different problem. The authors describe the finite verb’s position as part of the framework around which the remaining constituents are arranged. A German clause can begin with its finite verb, place a constituent ahead of that verb, or group its verbal material toward the right. Some variation in the order of other phrases affects how fluent the result sounds. Giving the verb the wrong structural position can make the output ill formed. The realizer therefore needs information about the kind of clause it is building before it settles the full sequence of words.
Grammaticality and fluency also come apart in optional constructions. A relative clause may stay beside the noun it modifies or appear farther to the right, after other material from the containing clause. The connection between the relative clause and the noun still needs to be understood. The question for realization is which arrangement suits that sentence. The paper considers similar possibilities for infinitival and complement clauses. The move can be appropriate in one environment and unnecessary in another, so an operation that always moves eligible clauses would miss the variation the authors want to capture.
Coordination raises a related question about how much of the input to express. A meaning representation can associate the same constituent with several coordinated units. A sentence may express the constituent once and let the coordination convey its shared role. The generator has to choose which occurrence to keep, and the verb arrangement can influence that choice in German. Grouping cases of this kind under a general command to remove repetition would leave the location of the surviving occurrence unresolved. The paper treats that location as a grammatical decision within the scope of syntax and grammar formalisms.
Where earlier systems made their choices
The authors describe a range of approaches to the last step of generation. A system can map an abstract input directly to strings, or it can build a syntactic representation on the way. Rules and statistical scoring can contribute at different points in either design. The comparisons in the introduction concern where a system exploits structure and where it applies learned preferences.
Nitrogen, as described in the paper, produces many candidate strings from an input whose level of abstraction can vary. It packs the alternatives into a word lattice, a structure in which different paths represent different possible strings. A scorer ranks the paths using probabilities for adjacent pairs of words. Much of the final choice among surface alternatives consequently happens at the level of word sequences. The units used for that scoring are word bigrams, a kind of n-gram.
FERGUS brings a learned tree preference into the process. As the authors describe it, the system starts from a dependency structure, which represents grammatical relationships between words without supplying the final sequence. It ranks candidate XTAG representations for that input. It then generates possible word orders from the preferred representation and scores those sequences to choose a surface order. The paper cites this approach as another way to distribute learned choices between syntactic structure and the final string. Exploiting a Probabilistic Hierarchical Model for Generation
Amalgam distributes decisions across the operations that build and edit its tree. It also learns how to order constituents, but other learned choices come before and after ordering. During construction it can ask which case a phrase should receive or what verb-position feature the clause requires. Later it can ask whether to move a clause or which copy of a coordinated constituent to keep. Each question has its own eligible inputs and answer choices. A system that makes these choices locally can use the part of the tree that gives a question its grammatical meaning.
The motivation is partly linguistic and partly practical. The operation and its possible effects can be specified by someone who understands the construction. Discovering when to use the operation can require a much larger inventory of conditions. The authors propose learning those conditions from analyzed examples, including associations that may be particular to the source domain. This makes the representations important in their own right. A classifier can exploit case government, clause structure, or definiteness only if the information is expressed in a form the system can recover when it reaches the relevant decision.
The method, step by step
Building a syntactic tree
Amalgam starts from a sentence-level logical form produced in the representation used by NLPWin. A logical form is a graph of the expressions and relationships that make up the intended sentence meaning. Content-word choices are already fixed at this point. The preprocessing stage converts the graph into a tree and retrieves lexical information. In a tree, a node can have a parent, and that parent can in turn have a parent. Those links give the realizer a way to locate a phrase in its surrounding structure and a way to specify changes such as moving a clause to a higher attachment point.
After preprocessing, the flesh-out stage adds material and labels that the semantic representation leaves implicit. It can supply function words, which help express grammatical relationships, and assign syntactic categories, case and verb-position features. Those features are properties attached to nodes. A verb-position feature, for instance, records a choice about clause structure that later stages can use without having to infer it all over again. At this point the system is still building a representation from which the output order and inflected forms will eventually be obtained.
The next stage converts the augmented structure into a syntactic tree. It introduces the syntactic representation of coordination and uses lexical information and the previously assigned verb-position feature to split separable-prefix verbs where appropriate. Such a verb has a prefix that can appear apart from the rest of the verb. The stage also includes a learned choice about reversing head relationships, as in some expressions of quantity. The head of a phrase is the element around which the phrase is structured. Changing which element functions as the head changes the tree on which subsequent operations act.
Movement follows the conversion to syntactic structure. Extraposition is a learned choice here. Raising and movement associated with wh expressions are implemented with rules. In extraposition, the system changes where a clause attaches in the tree so that it can be realized farther to the right. That decision takes place before the ordering stage establishes the sequence of constituents and leaves. Moving a branch in the tree and arranging the branches in sequence are distinct operations in this design.
After ordering, the surface cleanup stage chooses determiners and relative pronouns and reduces duplicate material in coordinations. Punctuation follows. A rule-based inflection stage supplies the forms required by the grammatical information in the tree, and the surface string is read from the leaves. The stage order matters for the individual experiments. Case and verb position are chosen while the structure is being fleshed out, extraposition is decided during movement, and aggregation acts on an ordered structure where the first or last conjunct already has a meaning.
How Amalgam realizes a sentence from logical form
The steps in order.
Amalgam uses decision trees for the learned choices apart from constituent ordering, which has its own statistical procedure. The decision trees were built with WinMine. A branching node in a decision tree tests a property of the current example and directs it along the corresponding branch. As the tests accumulate, the tree can distinguish cases that require different answers even when they share some properties. Amalgam has eighteen such classifiers, with trees ranging from 3 to 447 branching nodes. The classifiers examined in the paper are a selection from that larger pipeline.
Deriving examples from analyzed sentences
The same analysis system that defines Amalgam’s input representation also provides a way to collect supervision. NLPWin analyzes written sentences into syntax and logical form. It links nodes in the logical form to the corresponding nodes in the syntactic analysis. The authors can start from a node or construction eligible for an operation, gather its properties, and use the link to find how it was expressed in the analyzed sentence. The recorded outcome becomes the target value, meaning the answer the classifier is asked to learn.
This gives the syntactic analysis and logical form different jobs. The syntactic analysis provides evidence about the form actually observed, such as where an eligible clause ended up. The input to a classifier must come from what the realizer can know by the stage at which the choice is made. Checking that distinction is essential. A feature that directly reveals the completed attachment would make the training exercise easy while leaving the realizer without that information when it has to make the decision. The links are especially valuable because they permit the authors to recover an outcome while enforcing constraints on what can be used to predict it. The procedure depends on automated syntactic parsing.
The 100,000 sentences in the source collection come from technical software manuals and help files. It is partitioned 70/30 into a training portion and a parameter-tuning portion. For the final test, the authors draw on an independent blind set containing 10,000 sentences from the same domain. They use only sentences with a complete parse spanning the sentence when extracting features. Complete analyses account for 85.14% of the training and tuning collection and 84.59% of the blind collection. These are sentence coverage figures for the analyzer. A sentence that passes the filter can provide several examples, since it may contain several noun phrases, verbal constituents, or other eligible structures.
The general feature extraction policy is broad. It usually gathers the available features of the node under consideration, its parent, and its grandparent. A phrase’s immediate parent identifies its local governor or containing structure. Its grandparent supplies information about the environment above that immediate relationship. The authors restrict the feature inventory to properties the realizer can access when it consults the classifier. They also add features for individual tasks when the existing properties are an awkward way to encode a useful distinction.
Some inputs are binary, such as whether a particular lexical property or definiteness feature is present. Definiteness concerns whether an expression presents its referent as identifiable. Other inputs, including syntactic categories and semantic relations, can take as many as 25 values. A further source of information is subcategorization, the lexical specification of what sorts of dependents a word can take. A classifier can use such a property to distinguish words that share a broad grammatical category but take different complements or govern different cases.
To tune the trees, the authors vary a prior preference over tree structures, changing how strongly the learning procedure favors simpler trees. They fit trees at several levels of granularity on the training data and select the one with the highest accuracy on the tuning portion. The blind set is reserved for testing the selected tree. The resulting tree uses a subset of the available features. Its splits show which inputs were useful to that particular fitted tree and where they entered its decisions. The paper reports training times from one hour to six hours on a standard 500MHz PC.
Choosing a case for a noun phrase
Case assignment is late in the flesh-out stage. The decision is among nominative, accusative, genitive and dative. Case helps mark grammatical relationships in German, where the order of constituents gives the realizer some flexibility. In assigning it, the system can use the structure already present, including what governs the noun phrase and the relationship the phrase bears to its parent.
The authors face a labeling problem before they can train the classifier. Several cases can share a written form for a particular phrase. The paper uses feminine singular noun phrases to illustrate how nominative and accusative may coincide. The same visible sequence can therefore occur with either syntactic case. The training procedure uses noun phrase nodes whose observed expression identifies the case unambiguously. This gives the classifier a determinate answer for each training example. Its eventual use includes phrases whose written form would allow several answers.
The authors justify the selection by the distinction between what determines case and what reveals it. The phrase’s syntactic environment determines the intended case. Its gender, number and inflectional paradigm affect whether the form reveals that case. The learning strategy uses examples where the second part makes the answer observable to learn about the first. It relies on the unambiguous examples providing useful evidence about the grammatical contexts in which ambiguous forms can also occur.
There are 712 candidate features for each case example, of which 72 appear in the selected tree. The features include the grammatical categories of the noun phrase and nearby nodes, the dictionary form of its parent and of a governing preposition, and lexical properties that specify case government. A dictionary or citation form is a lemma.
The retained inputs also include semantic relations along the chain of ancestors, properties of the parent and grandparent such as number and tense or mood, and the presence of different kinds of dependents. Negation, quantification and coordination are represented, as are grammatical word categories. These inputs give the learner access to both direct lexical clues and broader evidence about what the phrase is doing in the sentence. The selected case tree has 226 branching nodes.
Establishing verb position
The verb-position classifier also runs during flesh-out. To understand its answer choices, it helps to distinguish position in the clause from position in a string of words. In a verb-second clause, one constituent precedes the finite verb, the part of the verb complex that carries finiteness. That constituent can itself contain several words. The opening slot is commonly called the pre-field. Other constituents can occur in the middle field, after the finite verb and before non-finite verbal material toward the right. Extraposed clauses and complement clauses may follow that right-hand verbal material.
In a verb-initial clause, the finite verb occupies the opening position. The paper gives imperatives as an example of this arrangement. In a verb-final clause, the verbal elements cluster towards the right, with no verb in the verb-second slot. Other constituents can precede the verb cluster, and certain clausal material can come after it. These choices give later stages a grammatical framework for ordering the tree. A verb-position prediction by itself leaves open the sequence of constituents inside that framework.
Training also uses an undefined category. The authors assign this label when the local syntax of a verbal constituent supplies too little evidence to decide among the initial, second and final patterns. Thus the classifier learns both structural categories and a category introduced by the way labels can be extracted. At realization time, the classifier’s choice becomes the verb-position feature on the relevant portion of the tree.
The paper reports 713 candidate features and 41 used by the learned tree. Among the selected properties are the syntactic category of the node and its parent, lexical subcategorization, how the node and its parent relate semantically to their governors, and tense and mood. Information about an empty subject without a controller is also represented. The absence of an overt subject and the presence or absence of a structural source for its interpretation can be evidence about the verbal constituent’s grammatical environment. The selected tree has 115 branching nodes.
Deciding how far to extrapose a clause
Extraposition can put a clause to the right of material that would otherwise follow it. The source gives examples in which a relative clause explaining a person’s purpose comes after the report of that person’s departure, an infinitival clause specifying a decision follows the rest of the sentence about that decision, and a clause giving the content of a rumor appears after the report that the rumor circulated. In each case, the content of the extraposed material still belongs with the expression it elaborates. The movement changes its position in the realized sentence.
Amalgam learns to move eligible clauses through the tree one step at a time. It begins from the clause’s original attachment site. At any current site, the classifier decides whether the clause should attach to the parent of that site. A positive decision leads to another consultation from the new position. A negative decision stops the ascent. The final answer for a clause is a node in the tree. Reaching that node requires every intervening move to have been approved.
The extracted cases follow the same structure. The path up the tree toward the observed attachment gives the authors a sequence of places at which to ask the local question. The nodes on the path through the observed attachment contribute individual examples. This gives the learner evidence both about steps taken on the way to the attested location and about where the movement ends. An attachment observed far above the starting point can thus supervise several local decisions.
Feature extraction looks at the candidate clause, its current attachment, and its possible destination at the next higher node. The paper discusses the tendency for a substantial relative clause to move, especially in a context where verbal material follows it within the same clause. The feature set includes sentence length and measures of the candidate’s length in characters and tokens. A token here is a counted unit of the written clause. The length measures give the tree ways to use what the authors call the clause’s heaviness. Tokenization
Other inputs describe where the clause sits, including the presence of verb-final or verb-second ancestors, the grammatical category of the candidate, and information about modality, transitivity and prepositional relations. The current attachment site and surrounding nodes contribute properties such as subject and argument information, verb position, and the presence of separable-prefix verbs. As the candidate ascends, the environment used to assess another move can change even though the clause under consideration is the same. The authors extract 1168 features for this task, and the selected tree uses 60 and has 116 branching nodes.
Keeping one occurrence in a coordination
Syntactic aggregation acts within a sentence. The paper studies coordinated structures where the semantic representation contains multiple occurrences of some material while the syntax expresses it once. At runtime, the system collects copies of a constituent in a coordination and asks which coordinated unit should realize it. It preserves the chosen copy and removes the others from the tree. The decision thus controls the location of shared wording, which can affect how the remaining parts of the coordination fit together.
The target has the values first, last and middle. First and last point to the edge conjuncts. Middle is the residual category used in the extracted data when the observed realization can be located at neither edge. The setup gives one classification example for an eligible coordination with duplication at the semantic level and a single corresponding realization in the syntactic analysis. Both the treatment of copies and the limited answer set follow from the choice to study this particular kind of reduction.
The authors extract 714 candidate features, and the learned tree uses 15. They include the grammatical categories of the candidate and its parent, semantic relations in the local tree, and whether the candidate is a preceding or following modifier of its parent. Other properties include transitivity, the presence of a direct object, and the verb-position pattern across the coordinated structure. Information about the candidate’s grammatical category includes its part of speech.
Using verb position here connects a late operation to an earlier one. The same shared constituent can have different plausible locations depending on the arrangement of the verbal material around it. The aggregation tree can consult that arrangement as well as the local grammar of the constituent being shared. Its 21 branching nodes describe a considerably smaller decision tree than the ones used for case, verb position or extraposition. The classifier still depends on an ordered coordination and an earlier determination of which occurrences constitute duplication.
Experiments and results
What the blind tests evaluate
The experiments use examples extracted from the blind collection of 10,000 software-manual and help-file sentences, subject to the complete-parse filter. The evaluation units differ with the question. For case they are nominal nodes. For verb position they are verbal constituents for which a label is extracted. For extraposition the reported accuracy concerns the clause’s final attachment, even though the classifier makes a series of local decisions. For aggregation the unit is an eligible coordination with shared material. An overall score therefore refers to the eligible decisions for a particular operation, with sentences contributing according to the constructions they contain.
Each task has a default based on the most frequent answer. The defaults are nominative for case, second for verb position, staying at the original site for extraposition, and first for aggregation. They establish how far a system can get by making the same decision throughout a task. Their scores also indicate how skewed the evaluation can be, subject to each task’s scoring rule. Case is especially important in that respect because a prediction can be credited even when the printed form supports more than one case.
Where the target is a determinate label, overall accuracy is the share of decisions that match the recorded outcome. Where the authors report precision, it asks how often the relevant label was observed among the examples given that prediction. Recall asks how often examples with the observed label received that prediction. F-measure combines precision and recall, rewarding performance that is strong on both. Those views of the same decisions can diverge when a label occurs rarely or when the learner predicts it only in a narrow range of contexts. The paper uses these measures for evaluation and benchmarks.
Case assignment
The authors test case on nominal nodes in the blind set. For a phrase with an ambiguous inflected form, the prediction is accepted if the form could realize that case. In the feminine singular example, either nominative or accusative can be credited where the form is compatible with both. A prediction of genitive or dative in that example receives no credit. The evaluation thus asks whether the predicted case agrees with the evidence the observed form can supply.
Under that criterion, the overall accuracy is 0.9352. The default of assigning nominative to every noun phrase scores 0.7049 on the same evaluation. The case-specific compatibility accuracies reported in the paper are 0.8705 for dative, 0.9707 for accusative, 0.9457 for genitive and 0.9654 for nominative. Dative has the lowest of these reported values. The paper gives neither precision nor recall for case, since distinguishing true labels among compatible alternatives would require independently disambiguated test data.
Overall case compatibility accuracy on the blind technical-text set
The learned decision tree assigns cases that fit the observed forms more often than the nominative default.
The numbers
| System or setting | accuracy |
|---|---|
| Always nominative | 0.7049 |
| Learned case assignment (this paper) | 0.9352 |
The score is directly relevant to whether a predicted case can yield the reference form. The pipeline also uses case as an internal feature, where compatibility can leave a consequential distinction unresolved. For example, a form that admits nominative and accusative can earn credit for either while a subsequent operation receives a single value. The test gives evidence about the usefulness of the learned choice under a surface criterion. It leaves some of the structure-level decisions inaccessible to direct verification.
Verb position
The verb-position test contains 15,492 data points, including 690 instances labeled undefined. Always choosing second gives 0.4240 accuracy. The learned classifier achieves an overall accuracy of 0.9491. Its precision, recall and F-measure are high for the three determinate positions. The category for cases where local evidence is insufficient is much harder to recover.
Overall verb-position accuracy on the blind technical-text set
The learned classifier recovers the observed verb-position labels more often than a constant verb-second prediction.
The numbers
| System or setting | accuracy |
|---|---|
| Always verb-second | 0.4240 |
| Learned verb-position assignment (this paper) | 0.9491 |
| Observed verb-position category | Precision | Recall | F-measure |
|---|---|---|---|
| Initial | 0.9650 | 0.9809 | 0.9729 |
| Second | 0.9754 | 0.9740 | 0.9743 |
| Final | 0.9420 | 0.9749 | 0.9581 |
| Undefined | 0.5868 | 0.3869 | 0.4663 |
The smaller score for undefined is visible on both sides of the classification decision. Some predictions of undefined go to cases with a determinate observed label, and many observed instances of undefined receive a determinate prediction. For the structural categories, recall remains high even where precision is relatively lower, as in the final category. Reporting the categories separately shows that the overall result is supported by performance across the ordinary clause patterns. The strong aggregate score can coexist with a substantial weakness on cases where the reference itself encodes a lack of local evidence.
Extraposition
The extraposition result concerns exact placement in the tree. The evaluator starts at the original site, consults the classifier along the chain of ancestors and compares the final location with the observed location. Stopping too early and going too far both produce a disagreement. The paper reports overall exact-site accuracy of 0.8612. Leaving every clause at its original location yields 0.6758 overall.
Relative clauses provide the clearest evidence for learning the movement context. The learned procedure reaches 0.8387 exact-site accuracy, compared with 0.6093 for leaving relative clauses where they start. For infinitival clauses, the learned score is 0.9202 and the no-movement baseline is 0.9370. For complement clauses, the learned score is 0.9857 against a baseline of 0.9429. With just fifteen instances of infinitival extraposition and twelve of complement clause extraposition in the blind examples, the more common unextraposed cases strongly influence the results for both clause types.
Exact attachment-site accuracy for relative clauses in the blind technical-text set
Learning successive movement decisions improves agreement with the observed attachment of relative clauses.
The numbers
| System or setting | accuracy |
|---|---|
| Leave relative clauses in place | 0.6093 |
| Learned relative-clause attachment (this paper) | 0.8387 |
The authors contextualize the experiment with a profile of extraposition in German and English. They put the share of German relative clauses that undergo extraposition in technical prose at over one third, versus 0.22% of English relative clauses. In Microsoft Encarta encyclopedia text, they report approximately every fifth German relative clause and 0.3% of English relative clauses. These are corpus frequencies of the construction, rather than scores for the classifier or counts of its test examples. English
They report smaller differences for infinitival and complement clauses. The German frequencies in technical and encyclopedia prose range from 1.5% to 3.2%, while the corresponding English frequencies range from 0% to 0.53%. These profiles help explain the priority the authors give relative-clause extraposition for German realization. A system that always leaves such clauses at their original site would miss a common arrangement in the writing they examined. For the rarer clause types, the value of learning when to move depends heavily on the few opportunities to observe and evaluate actual movement.
Syntactic aggregation
The aggregation classifier obtains 0.9746 overall accuracy on the eligible blind examples, compared with 0.8566 for the first-conjunct default. The first-conjunct outcome is common enough to give the baseline a high score. The learned result also reflects successful predictions for retaining the last occurrence, as shown by the scores for that category. The task being scored is the location in which to keep the constituent when the analyzed examples show a reduction.
| Location of the retained constituent | Precision | Recall | F-measure |
|---|---|---|---|
| Last | 0.9191 | 0.9082 | 0.9136 |
| First | 0.9837 | 0.9867 | 0.9851 |
| Middle | 0.0000 | 0.0000 | 0.0000 |
The blind test contains 2 observed instances of the middle value. The scores for middle therefore concern an extremely small category and show no successful prediction for it. The results for first and last support the learned choice between the two edge positions. An overall success rate for location selection is a useful description of this dataset because the edge cases predominate. The per-category results give the necessary qualification for a reader interested in how the system handles a shared occurrence that actually survives inside the coordination.
What the ablations show
The paper reports no feature-removal or pipeline ablations. Its main controlled comparisons use a constant default in place of a learned decision, and its analyses break the outcomes down by case, verb position, clause type and aggregation location. The paper also describes which features the fitted trees retained. Those pieces of evidence answer different questions. Baselines establish the value of learning varied decisions under the reported test conditions. Class breakdowns locate the settings in which that value is clearest. Feature inventories identify the information the classifiers can use at their splits.
What a constant decision leaves unexplained
The strongest interpretation of the baseline comparisons is specific to the tasks. In verb placement the learner achieves high scores for initial, second and final positions, whereas a constant second prediction would assign the same structural frame to every verbal constituent. The class-specific scores show that the tree learns distinctions among the determinate positions. Undefined remains difficult even with access to the larger feature set. Since that label comes from insufficient local evidence in the analysis, it also poses a different classification problem from recognizing a well-attested position.
In case assignment the improvement over the nominative default is measured using compatibility with the observed morphology. This establishes that the learner uses context to produce more acceptable choices under that test, even after the default receives credit wherever nominative is possible. The case scores cannot identify how much of that improvement comes from resolving the actual underlying case among ambiguous alternatives. The evidence for a context-sensitive grammatical decision is consequently broader than the evidence for its latent label in every example.
The aggregation baseline demonstrates how important the class distribution is to interpretation. Always keeping the first occurrence already matches many examples. The last-category precision and recall explain where a learned choice can earn its advantage, since the tree can recognize cases in which the final conjunct is the appropriate place for the shared material. The middle category contributes little to the overall score because there are so few observed examples. The paper does not establish a reliable learned distinction for that category.
Clause types give different movement tests
The extraposition breakdown is the natural check on the overall comparison. Relative clauses occur often enough in extraposed positions for the stay-in-place baseline to miss a substantial part of the observed pattern. The learned tree’s better attachment accuracy on that category is evidence that its successive decisions can recover useful distinctions among contexts. Infinitival clauses give a different outcome, with the constant baseline scoring higher. Complement clauses favor the learned procedure on accuracy, with few observed movements on which to judge the treatment of positive cases.
The test evaluates the whole sequence of moves through its endpoint. This is a practical measure for the realizer, which needs a final attachment. It provides little information about the distribution of errors along the path. A wrong endpoint might follow from stopping at the original site, stopping after some correct steps, or continuing above the observed site. The paper points to a companion study that compares iterative movement with a procedure that chooses an attachment in a single step. It supplies no comparison scores for that pair in its own experiments.
The frequency profiles add a separate comparison across corpora and languages. They show that the decision to include a movement operation can matter more in some settings than in others, even where the construction is possible in both languages. The profiles measure how frequently the arrangement occurs. They neither isolate which features account for relative-clause performance nor estimate the effect of suppressing extraposition on readers’ ratings of the generated output.
What the selected features can explain
The case classifier’s retained features illustrate why the authors start with a large neighborhood of linguistic properties. Case government gives obvious clues, and the fitted tree has access to the governing words and their lexical properties. It also uses information about relationships and dependents, partly at higher nodes. The resulting inventory is consistent with a task that calls for more contextual distinctions than a single lexical lookup expresses. There is no reported test that fits a tree using lexical government alone, so the isolated value of the broader features remains unmeasured.
The same caution applies to extraposition and aggregation. Length and verbal context are among the properties retained for movement. Verb position appears among the properties used for reduction in coordination. These choices connect each tree to the linguistic analysis that motivated the operation. Shorter trees or alternate sets of correlated features could allocate decisions differently. The authors tuned the preference for simpler trees, but report results for the selected trees instead of a comparison across tree sizes or feature groups. The feature lists document how the fitted classifiers make distinctions and support hypotheses about which input properties are helpful.
Limitations
Limits identified by the authors
For case, the authors identify the absence of a hand-disambiguated domain corpus as a constraint on training and testing. They would prefer to train on cases whose identity has been established independently of morphological ambiguity. Their alternative uses clear forms for supervision and a compatibility test that can also score ambiguous forms. As they point out, a downstream classifier that consumes an assigned case uses the actual feature value. Two case values can be equivalent for the compatibility score and have different effects elsewhere in the pipeline. This gap also prevents a meaningful report of case precision and recall against a unique reference label.
The authors highlight scarcity in the extraposition and aggregation evaluations. The infinitival and complement clause samples contain few instances where movement occurred. As a result, strong accuracy can reflect successful decisions to stay in place more than successful recognition and placement of moved clauses. The paper also identifies the near absence of middle realizations in the aggregation test. The edge preference is in line with the authors’ linguistic expectations, while the test offers little evidence about how the classifier could handle a broader sample of middle realizations.
The authors describe a further limitation in the composition of decisions. A WinMine tree returns a probability for each possible target value. Amalgam at the time proceeds with the most probable value for the current decision. This is a greedy procedure, meaning that an early choice is committed to on the basis of its own prediction. In extraposition, for instance, the tree can consult verb-position information set earlier. If the earlier choice is wrong, the later operation receives the resulting feature value. A different verb-position hypothesis could have supported a more coherent sequence of choices. The authors describe work towards retaining and scoring alternatives as the pipeline proceeds, without presenting results for that search.
Limits visible in the experimental design
The training, tuning and blind sets come from the same technical domain. The test gives evidence of performance on new sentences from that source domain. Applying the system to other kinds of German writing would change the question. Clause structures, lexical choices and the prevalence of optional operations could differ. The English and German corpus profiles demonstrate variation in one construction, while the classifiers themselves are evaluated on German technical material. Domain adaptation is a motivation for the method, with its effect on the reported classifiers still to be tested.
Feature extraction also filters sentences according to whether the analysis is complete. The remaining sentences are the ones for which the system has the structures and links it needs to derive examples. Performance is therefore conditional on an available spanning analysis. The reported coverage rates characterize the size of that filter. They do not characterize the distribution of constructions among excluded sentences or the accuracy the realization decisions would attain on those sentences. Even within the included material, the automatically obtained syntactic and semantic analyses supply the basis of the supervised examples. The experiments do not report an independent estimate of the reliability of those analyses for each operation. A manually checked resource would add another level of linguistic annotation.
Using only case-unambiguous forms in training also changes which examples supply direct supervision. Morphological ambiguity depends on properties of the phrase, so the restriction can alter the distribution of phrase types seen while fitting the tree. The authors explain why the syntactic determinants should be learnable from clear forms. The compatibility evaluation cannot establish to what degree the training restriction affects accurate recovery of underlying case on the forms it excludes. That question remains separate from the measured ability to choose a case consistent with the reference form.
Some experimental targets involve a reference arrangement where several outputs could be acceptable. Extraposition is optional, and the paper describes the alternatives as differing in fluency. Exact attachment therefore measures correspondence to the arrangement the source writer used. A clause placed at a different site can count as an error under that measure even where the resulting sentence would be acceptable. Agreement with reference attachment is valuable for understanding whether the system learns the domain’s observed choices. It leaves the fluency of individual alternatives unmeasured.
The aggregation test has a comparable scope restriction for a different reason. Its data are drawn from structures that exhibit semantic duplication with reduced syntactic expression. The evaluation asks where the single realization occurs, given that setup. It does not assess general recognition of when a coordination should keep multiple copies, or whether to combine information across sentences. The result pertains to a particular operation after the structure has provided the requisite duplicated material.
Finally, the tasks are components of sentence realization. A classifier that assigns a correct verb-position feature supplies useful information for building an ordered sentence, but its score does not measure final ordering, punctuation or inflection. The case compatibility score can conceal an internal choice that affects later steps. The exact attachment measure can conceal the range of grammatical outputs from a particular meaning representation. The paper provides evidence on the selected decisions without reporting a whole-sentence comparison with earlier realizers or a reader evaluation of complete output. Its strongest empirical claims concern the local operations it tests.
What came after
No later citing study is documented here. The paper does identify where the authors were taking the approach next, and it points to related work on the architecture and on extraposition. Those reports concern a contemporary research program. They establish the questions the authors were pursuing and provide only preliminary evidence about how the design might extend.
The companion investigation of extraposition examines a direct attachment choice alongside the iterative ascent used by Amalgam. This is a change in how the decision is factored. Successive binary questions let the same operation inspect each possible step in context. A direct decision considers the endpoint as the object of prediction. A comparison of those approaches addresses how much the realizer gains from dividing a structural choice into local ones. The paper points to the companion study for the comparison itself.
The proposed search through alternative hypotheses extends the design in another direction. Each decision tree can score the available values, giving the realizer evidence about plausible choices beyond the preferred one. The work in progress would carry alternatives into later stages and combine the scores of the choices that led to a realization. Verb position and extraposition explain why that extension matters. A plausible verb-position choice can change which movement decisions become appropriate later, so judging the sentence only after some of those consequences are visible could change which early choice the system prefers. The paper describes the search as ongoing and supplies no comparative test of its effect.
The authors were also adapting Amalgam for French sentence realization. They report preliminary indications that feature extraction and many operations could be reused. The proposed transfer relies on keeping much of the architecture and deriving new evidence about when the operations apply. It tests portability at several levels, since an operation can be applicable in the new language even when the cues that license it differ. The account in the paper gives no French evaluation figures or completed assessment of that transfer. French
These directions follow directly from what the German experiments establish. A realization system can learn decisions at defined points in a grammatical derivation and expose the properties it uses there. The related work asks whether a different formulation makes one of those decisions easier, whether preserving competing choices improves their composition, and whether the same way of collecting evidence serves a different language. The German results supply empirical grounds for asking those questions while leaving their answers to the corresponding evaluations.
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 Michael Gamon, Eric Ringger, Simon Corston-Oliver and Robert Moore. 2002. Machine-learned contexts for linguistic operations in German sentence realization. Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics.
@inproceedings{gamon2002machine,
title = {{Machine-learned contexts for linguistic operations in German sentence realization}},
author = {Michael Gamon, Eric Ringger, Simon Corston-Oliver and Robert Moore},
booktitle = {Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics},
year = {2002},
doi = {10.3115/1073083.1073089},
url = {https://doi.org/10.3115/1073083.1073089}
}References
- S. Bangalore and O. Rambow 2000. Exploiting a probabilistic hierarchical model for generation. Proceedings of the 18th International Conference on Computational Linguistics (COLING 2000). Saarbrücken, Germany. 42-48. D. M. Chickering. nd. WinMine Toolkit Home Page. http://research.microsoft.com/~dmax/WinMine/Tool doc.htm D. M. Chickering, D. Heckerman and C. Meek. 1997. A Bayesian approach to learning Bayesian networks with local structure. In “Uncertainty in Artificial Intelligence: Proceedings of the Thirteenth Conference”, D. Geiger and P. Punadlik Shenoy, ed., Morgan Kaufman, San Francisco, California, pp. 80-89.
- S. Corston-Oliver, M. Gamon, E. Ringger, and R. Moore. 2002. An overview of Amalgam: A machine-learned generation module. To be presented at INLG 2002. OpenAlex ↗ · Scholar ↗
- H. Dalianis and E. Hovy 1993 Aggregation in natural language generation. Proceedings of the 4th European Workshop on Natural Language Generation, Pisa, Italy. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/gamon-2002-machine-learned-contexts-linguistic-operations/