Exploiting Named Entity Classes in CCG Surface Realization
Paper · 2009 · Rajakrishnan Rajkumar, Michael White and Dominic Espinosa
Summary
A system that generates a sentence from a description of its meaning can get the relationships right and still scramble a company’s name. The words of the name may all be available to the system, yet the grammar and the evidence it uses to choose between word orders may allow them to come out in the wrong sequence. Rajakrishnan Rajkumar, Michael White, and Dominic Espinosa study this problem in OpenCCG, a system for generating English sentences with Combinatory Categorial Grammar, or CCG. They use annotations from the BBN corpus to improve how the generator handles named entities. Those annotations cover expressions such as names of people and organizations, dates, and monetary amounts. Named entity recognition supplies the distinction between an entity’s particular wording and the class to which it belongs.
The authors use the annotations in several places. They transfer them to CCGbank, the corpus from which they extract the grammar and lexicon, and combine selected spans into single tokens. The decision depends on how much wording the generator can reasonably expect to receive. A monetary amount can arrive as one unit, while surrounding words that express a comparison still have to be generated through the grammar. The authors also train a statistical scorer on text in which class labels stand in for annotated words. They combine its preferences with evidence from words and grammatical tags. A further change gives entity information to the hypertagger, which proposes grammatical categories for the elementary pieces of meaning supplied to the generator.
On the Section 00 development data, the entity errors reported for the original baseline and the partly collapsed corpus were 238 and 99, respectively. Within the partly collapsed development corpus, adding class-based scoring to the baseline raised the BLEU score from 0.7917 to 0.7993. Adding class features to the hypertagger in the configuration that already used class-based and 4-gram scoring brought BLEU to 0.8042. On the Section 23 test, the original-corpus baseline scored 0.7940 and the best partly collapsed configuration scored 0.8173, which the authors reported as the highest result at the time. Exact matches and grammatically complete realizations were more frequent in that comparison. Reported coverage was 97.8% for the baseline and 94.8% for the best configuration.
The authors also asked whether readers could hear a difference that BLEU detected. On the partly collapsed corpus, 49 items were randomly selected from those for which the baseline and best conditions yielded different outputs, and native speakers rated the resulting sentences without being told which condition generated each one. Mean fluency rose from 3.36 to 3.61, a statistically significant change. Mean adequacy, which concerns how well the generated sentence conveys the original, did not differ significantly. The ratings support a fluency gain on the changed outputs examined, while the development comparisons help locate its sources in the treatment of fixed expressions, the ranking of candidate sentences, and the assignment of grammatical categories.
Deep dive: Exploiting Named Entity Classes in CCG Surface Realization
How OpenCCG uses named entity classes to preserve names, choose English word order, and improve fluency when generating sentences from logical forms. · about 31 minutes to read
The problem and its context
From a description of meaning to a sentence
Surface realization is the part of text generation that turns a representation of what a sentence should convey into words in an order a reader can follow. In OpenCCG, the input is a logical form, frequently abbreviated LF, represented as a directed graph. Its nodes and relations describe elementary predications and connections between them. A predication is a piece of the description that can be associated with an expression and its grammatical role. The graph provides much of the information the generator needs, while leaving decisions about how to phrase it. A sentence may therefore have competing realizations even when its input is fixed.
The scope of the study depends on how much has already been decided by the time an LF reaches the generator. An application can supply the conventional wording of a particular name. It may also supply a meaning that involves a comparison without specifying the words that express that comparison. In the first case, a system can preserve an expression it receives. In the second, it must use the grammar and lexicon to find a suitable expression and fit it into the sentence. Both cases can occur inside the same phrase. Handling them well calls for a representation that marks the boundary between the supplied wording and the material the grammar has to build.
Consider the baseline’s output for Texas Instruments Japan Ltd. The version it generates, Japan Texas Instruments Ltd., uses the same component words but changes their order inside the name. The difficulty here is different from placing the entire company name before or after a verb. A component of the name may look like an ordinary modifier, and the grammar may have ways to assemble the words that yield an order other than the conventional one. A word-sequence scorer also needs enough evidence to favor the conventional order. When that evidence is weak, it can rank a plausible-looking arrangement above the actual name.
Preserving the internal order is only part of the task. An organization name supplied as a unit still has to attach to the rest of the sentence. The generator needs to know what grammatical work the whole expression can do. It may also need to choose a nearby word whose appropriateness depends on the type of entity. The exact spelling of a rare person’s name may provide little statistical evidence about a following relative pronoun. The fact that the expression denotes a person gives the scorer evidence it can share with other names. Entity information can therefore improve decisions inside a span, at its boundary, and elsewhere in the sentence.
What the grammar and statistical evidence contribute
CCG is a grammar formalism in which lexical entries carry much of the grammatical information. An entry can specify what kinds of expressions a word combines with, as well as features such as number and agreement. The description of the arguments a word takes is its subcategorization. Compatible entries and phrases can be combined in a derivation. In a unification-based grammar such as the one described here, compatible feature information is brought together during those combinations. This lets lexical information about an expression constrain larger structures built from it.
OpenCCG uses a chart to organize the grammatical structures it can build. The chart retains partial structures so they can be used in further combinations. Statistical preferences enter both before and during this process. The hypertagger recommends categories for the elementary predications in the input graph, focusing the grammar’s search on assignments that look plausible. A separate scorer supplies preferences over the surface sequences that result. The earlier account of hypertagging describes the category prediction problem in greater detail. Hypertagging: Supertagging for Surface Realization with CCG
For ranking, the paper uses n-gram evidence. An n-gram is a run of neighboring items in a sequence. Those items can be words or labels. A scorer trained on such sequences can favor a word in a local context where similar sequences have occurred in the training data. The paper describes these preferences as especially important for word order and also relevant to some lexical choices. Their reach includes words such as relative pronouns and complementizers, whose exact forms are left open by the LFs in these experiments.
The limits of word evidence suggest the paper’s approach. An exact series of words can be rare even when the underlying pattern is ordinary. A new or infrequent organization name adds a particular surface form to a familiar grammatical setting. Replacing the name with an organization label gives different names the same representation for statistical scoring. The replacement makes shared contexts visible while discarding information about which particular expression was present. Combining evidence at both levels allows the system to use either kind of regularity.
The grammatical category assignment has a related problem in a different representation. A hypertagger sees a predication and its neighbors in the LF, before the final word sequence is available. The semantic class of the predication can support a category choice there. So can information about the classes of connected predications. A class cue that helps distinguish categories on the input side need not be the same cue that favors a particular phrase on the output side. The authors’ approach tests class information in both places.
Earlier approaches and the evaluation question
The immediate precedent is Hogan and colleagues’ work on broad-coverage realization with Lexical Functional Grammar, or LFG. Their collapsing experiment combined the expressions tagged as named entities in BBN. That work established the relevance of multiword units to realization and gave the CCG study a concrete intervention to adapt. The CCG study uses a narrower rule for deciding which spans to combine. The relevant distinction is between the coverage of an annotation scheme and the amount of surface wording a generator can expect its input to contain.
The paper also relates its use of class sequences to earlier work by Oh and Rudnicky. The connection is the use of semantic categories in place of specific expressions for statistical generation. The CCG system still has to select a candidate with a surface form and a grammatical derivation. The class representation supplies evidence about that candidate. It also lets the authors ask whether patterns that generalize across names, dates, or other annotated expressions are useful alongside the original word and tag evidence.
A separate question comes from earlier criticism of BLEU in machine translation. BLEU rewards overlap between a system’s output and reference wording. A generate-from-meaning task can have several plausible outputs, even if the corpus supplies a single reference. A word order can improve the naturalness of a sentence and bring it closer to the reference, so overlap can reflect a genuine improvement. A different but acceptable paraphrase can also change the overlap. The paper cites earlier work showing that BLEU can rank systems differently from people. Re-evaluating the Role of Bleu in Machine Translation Research
The authors see a particular reason to check this relationship in surface realization. They observe that BLEU tends to be higher there than in machine translation, even when the realization evaluation has only one reference. The absolute value of a score gives little guidance about which differences readers will notice at that level. They therefore treat quality as an empirical question alongside the engineering question of how to use entity classes. The corpus comparisons measure how often output moves towards the original or reaches a complete derivation. The human comparison asks whether the outputs that actually changed are more fluent and whether their meaning is as well conveyed.
The method, step by step
Align the annotations and decide what to preserve
The experiments connect a corpus with entity annotations to a corpus with CCG analyses. The BBN corpus supplies labels for entity spans. CCGbank supplies the sentence structures from which the authors extract lexical and grammatical information. CCGbank belongs to the family of resources known as treebanks, where sentences are accompanied by structural analyses. The authors transfer the BBN labels to the corresponding material in CCGbank and use the resulting alignment to decide where a change in tokenization is appropriate.
The span marked by the annotation and the span collapsed for realization can have different boundaries. The paper illustrates this with an amount such as $ 10,000 in the expression more than $ 10,000. BBN can mark the longer expression as MONEY. The authors’ realization scheme preserves the amount as a unit. The comparative expression remains available for composition, with the grammar responsible for the meaning contributed by more than and for its connection to the amount. A corpus annotation answers what kind of expression is present. The collapse rule answers which words in that expression are supplied together.
The authors restrict collapsing to material that forms a constituent in CCGbank. A constituent is a span treated as a unit in the grammatical analysis. This condition makes the decision depend on the existing derivation as well as on entity annotation. The intent is to preserve appropriate material without treating an arbitrary run of tagged words as a lexical entry. A complete person name or organization name can meet that condition, as can an amount inside a larger construction.
Within such constituents, the rules call for full collapse of the major types PERSON, ORGANIZATION, GPE, and WORK OF ART. They also allow some DATE spans to pass through as ordinary grammatical material. The paper’s example is three decades later. That expression includes a temporal quantity and a relation to another time, so ordinary composition has work to do inside it. The remaining selection rule draws on tags and visible tokens. The paper gives the tags as CD and NNP(S), and the tokens as % and $. CD denotes a cardinal number, and NNP(S) covers the proper-noun tags. The signs identify forms commonly found in the numeric expressions under consideration.
These rules leave the class label and the collapse decision with separate roles. The label can support a statistical generalization over expressions. Collapsing changes the unit over which the grammar and the scorer operate. An expression can remain several tokens and still contribute class information. Conversely, when the words of a name are collapsed, preserving their order follows from building a single unit, even in a condition where the ranking component ignores the unit’s class.
The paper gives the following instance of a class-bearing predication in the LF notation:
@ x:MONEY ($ 10,000)
The @ introduces the predication at a designated node. The symbol x identifies that node, and the colon attaches the type MONEY to it. Parentheses delimit the lexical content associated with the node. Inside them, $ is the currency symbol and 10,000 is the amount. This notation illustrates what the input can make available to the system. The unit has a particular surface form and a type that components of the realizer can consult.
Preparing and realizing sentences with entity classes
The steps in order.
Prepare the parallel corpus conditions
The paper distinguishes the original CCGbank condition from the partly collapsed corpus condition. The original form preserves the corpus token boundaries. The partly collapsed form incorporates the selected multiword units. For each, the authors extract a lexicon and grammar from Sections 02–21 and use their resources to derive logical forms for the development and test sections. Section 00 is used for development comparisons and Section 23 for the standard test comparison. The grammar and the LFs thus belong to the relevant corpus condition.
This parallel procedure matters for the interpretation of the results. The experiment is not a filter that repairs a name after a baseline sentence is generated. The changed boundaries reach the derivations from which grammar and lexical information are obtained, the units represented in the input, and the data used for statistical estimation. In the collapsed condition, the generator can start with a whole name as a unit and build a sentence around it. The original condition gives it more internal construction to do for the corresponding expression. The two conditions differ in the construction problem they pose.
The authors prepare training sequences for class-based scoring in both corpus conditions. BBN distinguishes major classes and subtypes, and the scoring experiments retain both kinds of information. Labels such as DATE:AGE and DATE:DATE illustrate the distinction. Both share the broad family DATE. Their subtypes allow an expression about someone’s age and a calendar expression to contribute to different sequence patterns. This makes the abstraction more selective than treating every numeric or temporal expression alike.
The authors’ example from Section 00 shows the transformations within a single sentence. Pierre Vinken is represented by PERSON. The material 61 years yields consecutive DATE:AGE labels, while old remains a word. The passage involving the board contains ORG and DESC:OTHER in its class-based representation. Nov. 29 is represented with consecutive DATE:DATE labels. Other words and punctuation stay in the sequence. The example makes clear that class substitution is selective and that the same label can occupy neighboring positions when the annotated material still spans separate tokens.
Retaining the original words outside the classed positions makes the resulting scorer sensitive to the context in which a class appears. A sequence of labels alone could express which entities are near one another. A sequence with both words and labels can also express preferences involving the words around entities. An adjective, a pronoun, or some other part of a candidate can influence its score through the context formed with a class label. This feature will matter in the cases where the arrangement of ordinary words improves after entity classes are added.
Rank the output with several kinds of evidence
The baseline scorer incorporates ordinary words, part-of-speech tags, and supertags. A part-of-speech tag gives a word’s broad grammatical type. A supertag is more specific. It represents the lexical category used in the CCG analysis, which can record how the expression is able to combine with others. The tag information can therefore reveal a regularity in a sequence even when the particular words in it are infrequent.
The experimental legend gives the baseline shorthand in the following form, with the multiplication sign rendered in Unicode:
word 3g + pos 3g × stag 3g
Here word identifies the word sequence, pos the part-of-speech sequence, and stag the supertag sequence. The suffix 3g denotes a trigram component for the indicated sequence. The plus sign joins the word contribution to the tag-based contribution, and × denotes the product shown for the part-of-speech and supertag components. This is the paper’s description of the baseline’s ingredients. The shorthand leaves the numerical interpolation weights unspecified.
The authors compare that baseline with a variant using a 4-gram word component. A longer word context gives the scorer more information about neighbors when suitable examples occur in the data. A separate variant adds the evidence estimated from sequences with class substitutions. The combined variant uses both changes. These comparisons ask whether it is more useful in this setup to extend the window of exact-word evidence or to change the representation within the window so related expressions can share evidence.
During realization, a candidate contains actual words. The scoring component looks up the class substitutions applicable to it and evaluates the resulting sequence with the class-based evidence. The specific words are still available to the ordinary word scorer. The authors interpolate at the word level, bringing together the word-based and class-based preferences with the contribution from grammatical tags as a candidate is scored. This arrangement lets the system recover regularities that are clearer in a class context while still using evidence attached to a particular form.
Class substitution in scoring should be distinguished from choosing the wording to print. A sentence with a person’s name remains a sentence with that name. The label helps assess the naturalness of the surrounding sequence. Likewise, an expression that was collapsed during preparation remains a unit while the realizer works with it. When the authors compute BLEU, they remove the underscores that mark spaces within collapsed expressions. Otherwise the introduced token boundaries would carry over into a metric intended to compare the final wording with the reference.
Predict categories from the input graph
The hypertagger predicts lexical categories at the level of elementary predications. Its input is the LF graph, which means its context is defined by graph structure rather than by a completed sentence. The paper describes a maximum-entropy predictor trained with information from the graph’s features and relations, including parent and child relationships. Maximum entropy here is the statistical method used to estimate preferences among category assignments from the cues available to the predictor.
The baseline hypertagger uses features already present in the LF context. The class-enhanced version, trained on the partly collapsed corpus, adds the semantic class of the predication being considered and the classes of adjacent nodes. A predication can thus contribute its own entity information to a decision, and a connected predication can lend information even when the target itself is unclassed. Adjacency in this step refers to links in the input graph. Two words that eventually appear next to one another in the output need not be connected in that way.
Giving classes to the hypertagger changes the category options the grammar sees first. It can affect the search even if the same scoring components are used to rank complete sentences. An early assignment can make it easier for the chart to find a derivation that accounts for the LF. A poor set of assignments can delay or prevent such a derivation within the search budget. The paper’s category accuracy evaluation measures the quality of the predictor’s proposals separately from the outcomes of using them in sentence generation.
To make this comparison interpretable, the authors tune the hypertagger’s β settings for each corpus and predictor. Their target is the same average number of tags per predication at each reported level. A predictor allowed to propose more categories generally has more chances to include the expected one. Matching the average number of proposals keeps changes in the reported accuracy from being explained simply by one condition naming more categories. The paper reports the achieved operating points as tags per predication. It does not specify a calculation for β from which the search procedure could be independently reconstructed.
Build a realization and handle incomplete searches
The OpenCCG chart starts from the input and the category proposals. It combines lexical entries and partial expressions into larger structures using the grammar. The realizer uses an iterative beta-best search. In the paper’s description, it begins with a narrower hypertagger beam and progressively widens it. A beam limits which proposals receive consideration. Widening makes additional category choices available if the earlier search has failed to find a complete realization.
There is a time limit, so search can finish without a full grammatical realization. In that case the realizer combines the fragments it has found through a greedy procedure. A greedy procedure makes locally preferred choices when extending the output. This fallback gives the experiment a distinction between producing wording and finding a complete derivation. A fragment-based output can contain recognizable and correctly ordered material, including intact names, and can receive credit for overlapping with a reference. Its grammatical status is measured separately.
The method consequently exposes several paths by which the output can change. Preserving a fixed expression reduces the arrangements the grammar can produce inside it. Class-based sequence scoring changes the relative preference for candidates. Class-aware hypertagging changes the grammatical proposals that guide the chart. The final experimental configuration combines these operations, while the development comparisons introduce them at different points so their contributions can be examined under more specific conditions.
Experiments and results
Reading the measures together
Section 00 supplies the development comparisons. The authors report the rate of exact matches to the original sentence, the rate of grammatically complete realizations, and BLEU for several system configurations. They also report coverage and evaluate the hypertagger separately. Exact match and BLEU answer different questions about the reference. Exact match requires agreement across the sentence. BLEU gives credit for shared word sequences even if some part of a sentence differs. A complete realization records a property of the grammatical search. The presence of an output and the presence of a full derivation can differ because of the fragment fallback.
The development table reports 98.6% coverage for each corpus grouping. This gives a common coverage figure for the broad comparison between the original and partly collapsed conditions on Section 00. The exact match and completeness columns still vary across those conditions. A change that preserves more names can improve the agreement of word sequences within sentences without taking the entire sentence to the reference or yielding a complete derivation. The measures are therefore informative in combination.
With the baseline scorer and hypertagger on the original Section 00 corpus, BLEU is 0.7900. The exact match rate is 29.27% and the complete realization rate is 84.02%. The corresponding baseline in the partly collapsed corpus reaches BLEU 0.7917, with 28.28% exact matches and 82.48% complete realizations. This is the direct development comparison in which the baseline scoring and tagging recipe is used on both representations. BLEU moves upward, while the other measures move downward. The error analysis ties the BLEU gain to improvements in how entities come out, including the preservation of component order within names.
The authors also caution that the original-corpus baseline in this study is stronger than previously reported OpenCCG results. They attribute much of that improvement to grammar engineering and corrections to the system. The proper reference for the effect of this paper’s entity changes is therefore the baseline run in the study. An older score can show where OpenCCG had been before those changes, while the internal comparisons are the ones that help isolate the interventions.
Development results for the changed components
On the original form of Section 00, using the 4-gram word component with the baseline hypertagger gives BLEU 0.7899. Adding class-based scoring with the baseline word context gives 0.7937. Using both gives 0.7946. There is thus evidence for class-based scoring while the original word boundaries are still in place. The stronger development results come from combining class-based scoring with the partly collapsed representation.
BLEU on the partly collapsed Section 00 development corpus
Class-based scoring supplies the larger ranking gain, and class-aware hypertagging improves the strongest scoring configuration.
The numbers
| System or setting | BLEU |
|---|---|
| Baseline scorer and hypertagger | 0.7917 |
| 4-gram word scorer | 0.7929 |
| Class-based scoring | 0.7993 |
| 4-gram word and class-based scoring | 0.7995 |
| 4-gram word and class-based scoring with class-aware hypertagging (this paper) | 0.8042 |
The chart holds the corpus representation fixed. Its rows that change scoring alone still use the baseline hypertagger. Moving from the baseline to the 4-gram word scorer produces a small BLEU increase. Adding class-based evidence with the baseline word context produces a larger one. The two scoring changes together give a slightly higher result than class scoring alone. The class-aware hypertagger then raises the score further under that combined scoring condition.
The rest of the development measures help locate the changes. With class-based scoring and the baseline hypertagger on the partly collapsed corpus, the Section 00 exact match rate is 30.74% and the complete realization rate is 82.33%. The corresponding rates for the configuration with both scoring changes and the baseline hypertagger are 31.06% and 82.33%. The class-aware hypertagger with that scoring configuration brings exact matches to 32.01% and complete realizations to 83.17%. The best BLEU and exact match results in this group therefore arrive with the input-side change included. The original-corpus baseline still has the higher complete realization rate on Section 00.
The partly collapsed results also show why the treatment of multiple measures matters. Adding class-based scoring at the baseline word context yields better exact matches and BLEU even though the complete realization rate is lower than for the partly collapsed baseline. An improvement in which candidate comes out of the system need not mean that a larger share of inputs yields complete grammatical derivations. The class-aware hypertagger changes that pattern within the strongest scoring setup, where the complete realization rate increases as well.
The standard test comparison
On Section 23, the paper compares the original-corpus baseline with the best configuration selected through the development experiments. The latter uses the partly collapsed corpus, class-based and 4-gram word scoring, and class-aware hypertagging. Section 23 gives an evaluation of the combined configuration on the standard test split. It establishes how that configuration performed against the baseline under the reported test conditions.
BLEU for the baseline and best configuration on CCGbank Section 23
The configuration combining partial collapse with class-based scoring and hypertagging scores higher.
The numbers
| System or setting | BLEU |
|---|---|
| Original corpus baseline | 0.7940 |
| Partly collapsed corpus with all reported enhancements (this paper) | 0.8173 |
On the same Section 23 comparison, exact matches are 29.38% for the baseline and 33.74% for the best configuration. Complete realizations are 82.53% and 85.04%, respectively. The relative pattern in completeness differs from the direct development comparison between the two baselines. Here the enhanced condition also changes both statistical components, and more realizations are complete. Coverage is 97.8% for the original-corpus baseline and 94.8% for the best partly collapsed configuration. The higher BLEU and completeness figures thus accompany lower reported coverage.
The authors describe 0.8173 as the all-sentences BLEU for their best system. They place it beside Hogan and colleagues’ top score of 0.6882, which was obtained with coverage near 100%. The paper also reports 0.7733 for Nakanishi and colleagues’ system on sentences of length 20 or less, and 0.7570 for Langkilde-Geary’s system, with much lower coverage. Those comparisons give the context for the paper’s claim about the strongest reported score. The authors emphasize that different generators get inputs of different specificity and semantic depth. Corpus restrictions and coverage add further differences to the meaning of the published scores. An Empirical Verification of Coverage and Correctness for a General-Purpose Sentence Generator
The strongest comparison for attributing the result to the changes made in this study is internal to OpenCCG. It keeps the overall realization framework and evaluation split in common. It still compares a bundle of changes on Section 23. The development runs carry the burden of showing what happens when the authors add a particular scoring or tagging change with other choices held fixed.
Human judgments of the changed outputs
The human evaluation starts from cases where the baseline and best configurations on the partly collapsed corpus give different realizations. The authors randomly sample 49 from that set. Cases with an exact match to the original are excluded by the selection procedure as described in the paper. The purpose is to use the available judgments on outputs where the change can be seen, with the consequence that the sample may contain less fluent material than an unrestricted sample from the corpus.
The judges are native speakers and are also authors of the paper. They see the preceding sentence when one is available, so they can rate the generated sentence with some discourse context. They rate fluency and assess adequacy relative to the original sentence. Fluency concerns how naturally the output reads. Adequacy concerns whether the intended content is conveyed. The judges are unaware of the condition that produced a given realization, and their ratings are averaged for each item.
Mean fluency ratings on the changed realizations sampled from the partly collapsed corpus
Judges gave the best condition higher mean fluency on the sampled items.
The numbers
| System or setting | Mean fluency rating |
|---|---|
| Partly collapsed baseline condition | 3.36 |
| Best partly collapsed condition (this paper) | 3.61 |
Mean adequacy in the targeted sample is 4.35 for the baseline condition and 4.4 for the best condition. The fluency increase is significant in the paper’s paired, 1-tailed t-test, with p = 0.015. Pairing uses the fact that both outputs for a sampled item come from the same underlying case. This makes the relevant variation the change in rating for the item, rather than a comparison between unrelated sets of sentences. The adequacy scores do not differ significantly.
The paper plots the judges’ means with standard errors and BLEU for that particular sample. Its main empirical point is that the configuration’s BLEU improvement is accompanied by a detectable improvement in how its changed sentences read. The separate adequacy judgment keeps the claim specific. Within this sample, the evidence is stronger for the quality of the wording than for a change in how much of the original meaning the generator conveys.
What the ablations show
Collapsing helps with the source of error that motivated it
The comparison between the original and partly collapsed Section 00 baselines is closest to asking what happens when the system receives selected entities as units. In the baseline error analysis, 238 of 2331 entity mentions annotated in BBN are realized incorrectly. The authors report 99 entity errors with the partly collapsed corpus. The semi-automatic inspection attributes most of the corrections to proper names whose components are now preserved. This evidence connects the numerical changes to the concrete failure that motivates the work, rather than inferring the effect from BLEU alone.
The name example also explains how the aggregate results can diverge. Within a sentence, a repaired proper name restores word order only for the part it occupies. If the rest of the sentence still differs from the reference, the sentence need not become an exact match. If the chart builds the name correctly but falls back to joining fragments elsewhere, the sentence need not count as complete. Better local wording can therefore raise BLEU with weaker exact match and completeness results. The development baseline comparison displays precisely that combination.
The change reaches beyond an internal name-order constraint. Vocabulary, corpus tokenization, lexical and grammatical extraction, and the form of the LF all change together. The controlled aspect of the comparison is the reuse of the baseline recipe for scoring and hypertagging. The semi-automatic inspection helps distinguish the intended local benefit from the broader consequences of changing training and input representation. It shows where many of the observable repairs occur, without estimating how much any one change in the corpus preparation contributes to the final score.
Class abstractions matter more than longer word context in the strongest development setup
The development scoring comparisons ask a different question. Here the partly collapsed corpus and baseline hypertagger are held fixed while the authors change the score used to rank realizations. The class-based option gives substantially more BLEU improvement than the longer word context. The combined scorer adds little to the class-based result in that setting. The original-corpus runs also favor the addition of class evidence over relying on the 4-gram word change alone. In this experiment, how the scorer represents its neighbors matters more than simply seeing a longer sequence of exact words.
The class-based gain makes sense in relation to sparse observations. A proper name preserved as a single unit can still be rare in that form. Occurrences of other names give weak direct word evidence about its context. Once their shared category is visible, the scorer can learn that related expressions occupy similar contexts. The class scorer can then promote a candidate containing a locally familiar pattern around a rare expression. Its interpolation with the ordinary and grammatical-tag components supplies a way to use that evidence without making it the sole criterion.
The paper’s inspection gives examples of changes outside the fixed units. Its preferred order in one case is Dutch publishing group. Other scorers produce publishing Dutch group. The difference concerns the position of descriptive words. It indicates that the class-based scorer can favor the reference order within a phrase that still has something for the grammar to decide. Preserving a supplied name as a single token would not, on its own, explain this improvement.
Another example involves the words following Mr. Otero. The class-based scorer can help choose who where another output has which. The relevant property is animacy, the distinction involved here in treating the referent as a person. The LF provides a representation of the referent but leaves the relative pronoun’s surface choice open. Class information in the scoring context gives the system a way to use the distinction at the point where it chooses the wording. The paper also names case-marking prepositions and complementizers as function words whose surface forms are not specified directly in these LFs. The particular example demonstrates the effect for a relative pronoun.
The authors observe regressions and acceptable paraphrases as well as improvements. A class-based preference can favor the wrong alternative on one item and an equally natural alternative on another. The corpus BLEU comparison summarizes the direction of matching behavior over the set. The example inspection gives evidence about some routes to improvement, while the ratings supply a check on how the mix of changed outputs reads to people.
Class cues improve category prediction within the collapsed corpus
The standalone hypertagger evaluation distinguishes accuracy for individual predications from accuracy for the whole graph. The Section 00 original-corpus data for this evaluation contains 1896 LFs and 38,104 predicates. The partly collapsed evaluation contains 1895 LFs and 35,370 predicates. Graph accuracy requires success across the graph, so an incorrect category for one predication can cause failure on the stricter measure even if the other choices are accurate. The comparison also changes which predications exist. Some predications that have separate assignments on the original corpus are bundled into single units on the partly collapsed one.
At the operating point of 1.0 tags per predication, the baseline hypertagger’s Section 00 predication accuracy is 93.56% on the original corpus and 92.22% on the partly collapsed corpus. Whole-graph accuracy at that point is 39.14% and 35.04%, respectively. Adding class features within the partly collapsed corpus gives 92.89% predication accuracy and 38.31% whole-graph accuracy. This is evidence that class features help even when corpus representation and the average allowance of tags are held fixed.
At 1.5 tags per predication, the original-corpus baseline has 98.28% predication accuracy and 78.06% graph accuracy on Section 00. The partly collapsed baseline has 97.87% predication accuracy and 73.14% graph accuracy. The partly collapsed class-aware hypertagger reaches 98.02% and 75.30%. The ordering of conditions is the same at this more permissive operating point. Within the collapsed corpus, class information improves both evaluation measures. The original representation still obtains the highest accuracy at the corresponding tag allowance.
The authors suggest that the collapse can remove cases that were easy for the predictor. That explanation is compatible with a setting in which the remaining category decisions are harder on average. It also helps explain why preserving names and making grammatical categories easier to predict are different objectives. The paper leaves the larger discrepancy unresolved. The change in inventory and the lower observed accuracy make it difficult to interpret the cross-corpus result as a simple deterioration in predictions for the same items.
The end-to-end comparison gives another view of the class cues. With the partly collapsed representation and the combined scorer held fixed, the class-aware hypertagger increases BLEU and improves exact match and completeness on Section 00. The category evaluation supplies a plausible intermediate effect, since the predictor gets more category assignments right at comparable proposal rates. The paper does not trace every output change back to an individual corrected tag. In a chart search with competing partial derivations, a category change can affect what the system reaches and what it ultimately chooses.
The whole-system gain answers a different question
Taken together, the development comparisons locate improvements at distinct points. Name errors fall when selected expressions become units. Class-based sequence scoring improves candidate ranking with the baseline hypertagger still in place. Class-aware hypertagging produces an additional gain when paired with the strongest scorer. The Section 23 result asks whether the assembled configuration performs better on the standard test split. It supports the combined design, while the Section 00 comparisons are the basis for separating the components’ effects.
The human comparison places one more boundary around the interpretation. Both rating conditions are drawn from the partly collapsed corpus, and the sample is chosen for differing outputs. The significant fluency result shows that changes between those configurations can matter to readers after the representation already includes collapsed entities. The evaluation does not assign ratings to the effect of each component individually. Its contribution is to confirm an improvement at the level of the sentences the configurations generate.
Limitations
Limits identified by the authors
The authors explicitly qualify comparisons with earlier generators. A logical form can leave different amounts of the work to the realizer. An input that settles more lexical choices narrows the possible outputs. An input with a deeper or less specific representation can require the generator to make more decisions to reach a sentence. Restrictions on sentence length and differences in which cases receive an output likewise affect the reported scores. The earlier published BLEU values give context for the study’s result, while the difference in inputs prevents a direct ranking of the systems by realization ability.
The authors also mark the human evaluation as targeted. It concentrates on cases whose output differs between the baseline and best conditions and excludes exact matches. They expect this selection to admit sentences with lower average realization quality than an arbitrary sample might contain. The interpretation stays with the changed sentences sampled under that procedure. The finding is that the better condition’s fluency improvement is discernible there. The paper also reports that individual changes can make an output worse or produce a different acceptable paraphrase.
The unexplained decrease in hypertagger accuracy on the partly collapsed corpus is a further limit the authors identify. Removing easy cases is a possible contributor. They propose investigating whether the corrections to CCGbank noun-phrase structure described by Vadas and Curran could resolve the problem. That proposal is motivated by how closely entity grouping depends on noun-phrase analysis. The experiments in this paper end before that explanation is tested.
Limits visible in the setup
The entity treatment relies on annotations that can be transferred from BBN to CCGbank and on logical forms derived for the evaluation. The paper shows what OpenCCG can do when the relevant class information and, where appropriate, the exact expression are available. It does not measure how often an application with a different source of logical forms could supply the same information. It also does not test the effect of automatically predicted span boundaries or class errors. In such a setting, a wrongly collapsed expression could provide the wrong wording or restrict what the grammar can build. The reported results establish the value of the information under the study’s input conditions.
The same fact limits how broadly the reduction in name errors can be read. Supplying the conventional wording of an expression as a unit is part of the intervention. A system that receives the components without that information still has to infer how the name is ordered. The work addresses that problem by distinguishing where faithful reproduction is appropriate and where grammatical generation remains necessary. The experiment gives evidence for the distinction without showing that a generator can recover the intended boundaries and wording from any more abstract description.
The scope of the corpus evidence is also specific. Sections 00 and 23 provide development and test material within the same corpus framework. The treatment of entity classes is aligned with the inventory and structures available there. The paper gives no corresponding comparison on another genre or language. The extent to which class frequencies, constituent boundaries, and useful class distinctions would transfer to different data remains open.
The test comparison bundles the interventions and has different coverage in the two conditions. A user of the realizer may care separately about obtaining some output, obtaining a complete derivation, and obtaining wording close to the reference. The test results tell how each configuration fares on the reported aggregate measures. They give no sentence-by-sentence breakdown of the cases behind the coverage change or an estimate of fluency across all test inputs. A claim about how the system behaves over its full range of possible inputs would require evidence about those cases as well as about the outputs that can be rated directly.
Finally, the human result has a limited evidential reach. The raters are authors, even though they are blinded to the generation condition during rating. The paper does not report agreement between their individual judgments. The sample is restricted to changed realizations, and statistical significance is reported for fluency in a directional paired test. The adequacy result leaves open effects that this sample and procedure did not detect. These details matter because the paper uses the judgments to support a particular claim about the improvement. The strongest reading is that, under the stated evaluation, the system’s changed outputs improved in fluency on average.
What came after
No later study is documented here as extending or testing the paper’s approach. The question the authors leave open most directly is whether revised noun-phrase structures in CCGbank would improve category prediction after selected entity spans are collapsed. Their evidence for that proposal is the combination of fewer errors inside names and lower aggregate hypertagger accuracy in the partly collapsed corpus. Whether revisions to the phrase analyses would preserve the first gain and improve the second remains unresolved in the paper.
Cite
Cite as Rajakrishnan Rajkumar, Michael White and Dominic Espinosa. 2009. Exploiting Named Entity Classes in CCG Surface Realization. Proceedings of Human Language Technologies: The 2009 Annual Conference of the North American Chapter of the Association for Computational Linguistics, Companion Volume: Short Papers.
@inproceedings{rajkumar2009exploiting,
title = {{Exploiting Named Entity Classes in CCG Surface Realization}},
author = {Rajakrishnan Rajkumar, Michael White and Dominic Espinosa},
booktitle = {Proceedings of Human Language Technologies: The 2009 Annual Conference of the North American Chapter of the Association for Computational Linguistics, Companion Volume: Short Papers},
year = {2009},
doi = {10.3115/1620853.1620898},
url = {https://doi.org/10.3115/1620853.1620898}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/rajkumar-2009-exploiting-named-entity-classes-ccg/