Elamur Research

Generating and Selecting Grammatical Paraphrases

Paper · 2005 · Claire Gardent and Eric Kow

Summary

A sentence generator may know several ways to say the same thing and still need help choosing among them. An active sentence and its passive can describe the same event, while a cleft can single out a participant for contrast. Put those alternatives inside a larger sentence or after a particular remark, and their suitability can change. Claire Gardent and Eric Kow study how to generate these alternatives systematically and how to ask for a particular form. Their system starts with a representation of what to say and uses a grammar of French to work out how it can be said.

The generator builds sentences by joining small grammatical trees. Many sets of trees can express the requested meaning on paper, even though their pieces could never fit together in a sentence. The authors screen those sets before doing the detailed assembly. Their method, called polarity filtering, records the syntactic pieces a tree supplies and the slots it needs other trees to fill. If the supplies and requirements cannot balance, the generator discards the combination. It shares intermediate work across surviving combinations and fills argument slots before adding modifiers, which reduces repeated assembly.

The same filter can enforce a request such as making a particular person the focus of a cleft. The request names both the desired construction and the participant it should apply to. Trees that express the relevant participant in that construction can satisfy the request during filtering. In the first of the paper’s French benchmarks, polarity filtering reduced the number of lexical combinations explored from 856 to 55. In the benchmark with more modifiers, it reduced that count from 438,272 to 232. The authors also report lower overall processing times after including the cost of constructing the filter.

The selection experiments use a cleft requirement supplied by hand. With it, the generator returned 2 sentences instead of 9 for the first input and 18 rather than 54 for the second. These experiments show that a request about sentence form can guide the search before the alternatives are assembled. They also reveal a source of work that persists after filtering. Several modifiers can still have multiple grammatical trees and can still be arranged in different orders, even when their syntactic requirements already balance.

Deep dive: Generating and Selecting Grammatical Paraphrases

See how Generating and Selecting Grammatical Paraphrases uses a French grammar to find alternative sentences and select forms such as clefts. · about 34 minutes to read

The problem and its context

Why the same event can call for different sentences

Surface realisation is the part of text generation that turns a representation of meaning into a sentence. In this paper it is useful to think of the realiser as starting with a description of an event and its participants, then consulting a grammar for all the ways that description can be expressed. The input says which pieces of meaning have to appear. The grammar says which grammatical structures and words can express them. A paraphrase arises when more than one sentence satisfies those conditions.

The authors are interested in grammatical paraphrases. These arise from changes such as moving between active and passive voice, expressing an argument as a clitic, or placing a constituent in a cleft. Such changes can redistribute material between the grammatical subject, object, and other positions while preserving the core event and its participants. A cleft also changes the presentation of the information. A construction like It was the courier who called singles out the courier in a way that The courier called does not. This makes syntax and grammar relevant to a decision that might at first sound like a matter of wording alone.

The paper makes the contextual problem concrete with a borrowing and lending example. Seen on its own, a transaction can be described from the borrower’s side or the lender’s side. Embed those descriptions under a verb of persuasion, however, and the difference in grammatical subjects can matter to the larger proposition. The person persuaded to borrow and the person persuaded to lend occupy different roles in the situation. Swapping the descriptions is therefore consequential. The authors’ other opening example involves a contrast between people. After a denial naming one person, a cleft focusing on the other makes the correction explicit. A plain sentence describing the same event provides a poorer fit in the context the paper constructs.

These examples motivate two separate jobs for the system. It needs enough grammatical coverage to find the alternative a context calls for, and it needs a way to ask for that alternative. Keeping both jobs in view matters because an aggressive shortcut at generation time can lose the very structures that make selection useful. A realiser that typically returns a canonical clause may be adequate for producing an isolated sentence. A realiser intended to explore a grammar’s paraphrastic coverage needs to retain marked constructions and grammatical alternatives long enough for a request or a diagnostic to reach them.

The authors also point to factors beyond the choice of voice or cleft. The discourse status of a participant can affect how it should be referred to. A surrounding construction or connective can also constrain the forms that fit. These observations explain why the paper treats context as potentially richer than a preference for a common word order. The implemented selection mechanism addresses the part of the task that can be expressed as a requirement on grammatical or lexical information.

Why systematic generation is expensive

For a grammar that describes many alternatives, the search starts expanding before the generator has built a single complete sentence. A verb can be associated with several grammatical trees. They can differ in voice, in the placement of arguments, or in the way an argument is expressed. An adjective can also have several trees. A set of choices that appears to cover the intended meaning can contain incompatible structures. If generation starts assembling each one, it may discover the incompatibility only after building constituents shared with many other unsuccessful attempts.

A separate source of work comes from the order of the assembly operations. Suppose a verb tree needs a subject and an object. Filling the subject first and filling the object first can lead to the same completed tree. An even larger distinction appears with modifiers. Different assembly histories can encode the same structure, whereas different relative positions of adjectives can yield genuinely distinct sentences. Eliminating repeated histories helps. Enumerating all of the different orders that the grammar licenses remains work the realiser has to do.

The paper takes the NP-completeness of surface realisation from prior work by Brew. Its response is to make the search more selective about what it constructs and more economical about what it stores. That distinction is important because the authors want to examine the alternatives supported by their grammar. A cache can avoid rebuilding the same constituent, and a sound filter can dismiss a collection of trees that could never fit. A heuristic that commits to one promising branch serves a different purpose. It can produce an answer quickly, while leaving some of the grammar’s behaviour unexplored.

Exhaustive generation also serves the authors’ grammar-development goal. A grammar that assigns different constructions the same representation can be probed by asking for all the sentences attached to that representation. An unexpected sentence can expose overgeneration, where the grammar licenses a form its writer meant to exclude. A missing form can prompt a closer look at the grammatical inventory or at the representation the form was assigned. This use depends on being able to inspect the space of alternatives for an input. An acceptable first answer gives limited information about the rest of that space.

The authors build on Kay’s chart generation. A chart stores the structures already constructed, so later combinations can reuse them. In parsing, a chart can organise analyses around parts of an observed string. Here the generator starts with meaning and is trying to discover the string. The possible subsets of meaning, lexical choices, and placements of modifiers leave a large space of distinct partial results even when duplicate work is removed.

The strategy for postponing modifiers draws on work by Carroll and colleagues in Head-driven Phrase Structure Grammar, or HPSG. Their procedure builds a complete syntactic skeleton before inserting modifiers. The paper describes a complication for an extracted modifier, as when a phrase normally associated with a position inside a clause appears in a question at the front. That case needs special treatment in the HPSG approach described by the authors. In their Tree Adjoining Grammar, the relevant modifiers already use a common operation, adjunction. Putting that operation after substitution gives the generator a general way to delay their placement.

The paper also describes a reverse scheduling choice in White’s work. A noun phrase can be completed with its modifiers before it is joined to a verb. Both schedules aim to keep modifier choices local so they are combined with fewer unrelated intermediate structures. The authors mention that this second schedule could be implemented in their grammatical formalism as well. They also discuss prior use of n-gram scores for deciding among adjective orders, where an n-gram is a sequence of adjacent words. In the paper’s account, White uses these scores to prune competing chart entries. Bangalore and Rambow describe a derivation that can encode multiple word orders together and use statistical evidence to choose a linear order.

Koller and Striegnitz supply a closer comparison for global filtering. Their approach translates the relevant part of a Tree Adjoining Grammar into entries for a dependency grammar, then uses a constraint-based parser to find well-formed derivation trees. A derivation tree records how the grammatical pieces were assembled. A derived tree is the sentence structure produced by that assembly. The paper explains that the dependency analysis returns the former, leaving the latter to a subsequent step. Gardent and Kow pursue a cheaper preliminary condition based on counting syntactic requirements and resources, followed by detailed assembly with grammatical features taken into account.

The paper also discusses a greedy realiser by Stone and colleagues. It generates possible next states from its current state, evaluates them with a heuristic, and continues from a chosen state. The earlier work uses that strategy to study how decisions about utterances interact during microplanning. Gardent and Kow want to preserve the ability to enumerate paraphrases. For them, earlier work thus supplies several distinct ways to limit search, with different consequences for which alternatives can still be examined.

The method, step by step

What goes into the realiser

The input is a flat semantic representation. Here flat means that the generator works with a collection of individual statements, called literals, whose arguments can refer to the same participants or events. A predicate names the kind of relation or description a literal contributes. An index identifies something the predicate is about. Reusing an index in different literals ties those descriptions together. In the simple example the authors use to trace the algorithm, the input describes Jean camping and locates that event in Paris.

{camp(s,j), john(j), in(s,l), paris(l)}

The braces enclose the collection of literals. The index s refers to the camping event, j refers to Jean, and l refers to the location. The predicate camp connects the event with its participant. The predicates john and paris identify the person and place, respectively. The predicate in links the event to the place. Parentheses enclose a predicate’s arguments, and commas delimit arguments or separate literals depending on where they appear. The order in which the literals are written does not specify the word order of the resulting sentence.

The grammar associates pieces of this meaning with small structures called elementary trees. The basic French example selects trees anchored by Jean, a form of camper, the locative preposition dans, and Paris. An anchor is a word tied to the tree. The tree says more than which word will appear. It represents the structure the word comes with, including positions that need other constituents and points at which more material may be added. If a word has several applicable trees, lexical selection can admit each one. The choices then remain available to the following stages.

The grammar is a feature-based Tree Adjoining Grammar, or FTAG. The trees come in initial and auxiliary forms. An initial tree can supply a constituent, such as a noun phrase needed by a verb. An auxiliary tree can be inserted into a tree that already exists. It has a special leaf called a foot node. At insertion, the material that was below the attachment point is reconnected at that foot, so the auxiliary tree adds structure around the existing material.

The two composition operations are called substitution and adjunction. Substitution fills a designated leaf of a tree with another tree. A name supplying the nominal subject of a verb is a simple case. Adjunction inserts an auxiliary tree at a node and reconnects the original material below it. A modifier is the central example in the paper. These operations are defined over tree structures. Their legality depends on the relevant categories and features as well as on which words the resulting tree would yield.

From input meaning to selected grammatical sentences

The steps in order.

From input meaning to selected grammatical sentencesStep 1: Match grammar trees to input literals1. Match grammar trees to input literalsStep 2: Add any requested constraint on sentence form2. Add any requested constraint on sentence formStep 3: Filter lexical combinations by polarity balance3. Filter lexical combinations by polarity balanceStep 4: Attach surviving path information to trees4. Attach surviving path information to treesStep 5: Fill argument slots by substitution5. Fill argument slots by substitutionStep 6: Insert auxiliary trees by adjunction6. Insert auxiliary trees by adjunctionStep 7: Output sentences covering the input meaning7. Output sentences covering the input meaning

How tree composition binds meaning

In FTAG, a node other than a substitution node has a top and a bottom feature structure. A feature structure is a collection of properties that can include variables. Unification merges compatible information and binds variables to the values they must share. This lets a tree leave details unspecified until the tree meets another piece of the derivation. If the features demand incompatible values, the proposed combination fails.

Adjunction at X: unify(tₓ, r) and unify(bₓ, f)

Here X is the node receiving the auxiliary tree. The symbols tₓ and bₓ mean the top and bottom features of that node. The symbol r is the set of top features at the root of the auxiliary tree, and f is the set of bottom features at its foot. Each unify operation merges the feature structures enclosed in its parentheses if they are compatible. The root connects to the upper side of the attachment, and the foot connects to the lower side. Both connections must succeed.

Substitution at X: unify(tₓ, t)

Here X is the leaf at which substitution takes place, tₓ denotes the top features at that leaf, and t denotes the top features at the root of the tree being inserted. The comma separates the two operands of unify. At the end of a derivation, the authors also unify the top and bottom features at the nodes of the completed tree. These checks cover information the category-level polarity filter leaves for the later stages.

Semantic arguments can take part in the same mechanism. A verb tree can carry a predicate whose subject and object are represented by variables. Its subject and object slots carry those variables too. A tree for a name carries its participant index at the root. When that tree fills the subject slot, unification connects the verb’s subject variable to the name’s index. The authors illustrate this with an English love predicate, using x and y for its open arguments and j for the index of the participant supplied at the subject position. The example shows how an operation on tree nodes also establishes who stands in the corresponding relation.

This link is important for paraphrases because the grammatical slot associated with a participant is allowed to change across trees. In an active and a passive formulation, a grammatical subject can be associated with different participants while the predicate’s arguments still describe the same event. The elementary trees encode these associations. The generator can explore the structural variants because their semantic contributions are expressed in a form that can be matched against the same input.

The paper describes a French core grammar with around 4,000 trees and some 35 basic subcategorisation frames. A subcategorisation frame specifies the kinds of arguments a predicate takes. For the frames it covers, the grammar encodes argument redistributions such as passives and reflexives as well as ways of expressing arguments through clitics, extraction, omission, and changes of position. This inventory comes from grammar construction. The paper describes no training split or procedure for learning paraphrases from example pairs. The run begins with the grammar and a semantic input prepared for it. The experiments use a grammar inventory reported separately from this broad coverage description.

How the realiser builds a sentence

Lexical selection compares the semantic content of elementary trees with the input. The paper uses subsumption for term unification in this step. An entry is eligible if its semantic content matches part of the input under the relevant substitutions for variables. This can admit different words or constructions when the grammar gives them matching representations. As an example of how the authors accommodate some synonymy, the grammar can give synonyms the same semantics in advance. The lexical selector can then retrieve either one through the same matching procedure.

The basic algorithm is bottom-up. It starts with elementary trees and combines them into larger structures. It maintains an agenda, which is the list of items waiting to be processed, and a chart, which holds items that have already been made available for combination. There is also a separate agenda for auxiliary trees whose substitution slots have all been filled. These will be needed during adjunction.

In the substitution phase, each item taken from the main agenda is examined for possible combinations with items already in the chart. The resulting trees go onto the agenda for later processing. In the camping example, the chart first makes available the tree for Jean. When the verb tree is processed, it can combine with the name to fill its subject slot. The preposition can combine with Paris to form the locative material. The algorithm also recognises an auxiliary tree that has no open substitution slots and saves it for the next phase.

When the agenda has been exhausted, the chart may still contain smaller or incomplete trees. The generator removes those with an unfilled substitution slot. It then uses the remaining items to restart the agenda and uses the saved auxiliary items to seed the chart for adjunction. Adjunction can now add the locative material to the camping clause. The final retrieval step identifies items whose accumulated semantics matches the full input, then returns the corresponding strings. The appendix calls the procedure GenI. It outlines the basic processing phases, while the optimisation discussion explains the additional restrictions and bookkeeping.

Tabulation pays off when several attempted sentences use the same structure. A constituent formed earlier can take part in more than one subsequent combination. Yet adding modifiers at every possible point can generate a large stock of distinct intermediate trees. Imagine the paper’s noun example with a cat described as fierce, little, and black. A generator that attaches modifiers as soon as possible can build several modified nouns, then several determiner phrases from them, then several larger clauses. Many of the modifier choices have little to do with the determiner or the verb.

The substitution-first schedule curbs that spread. The generator completes the syntactic skeleton first and adds the modifier material afterward. The authors’ example still calls for exploring modifier combinations in a complete clause. The saving comes from skipping corresponding versions at earlier stages, where each modifier choice would otherwise be carried through subsequent combinations. This isolates a source of growth without deciding which modifier order to prefer.

How the realiser avoids duplicate histories

The paper calls derivations spurious when different assembly histories lead to the same syntactic tree. Consider again the verb tree with a subject slot and an object slot. The history in which the subject is inserted first and the history in which the object is inserted first can produce identical trees. Preserving both histories creates more work without producing another sentence or another sentence structure.

n!

Here n denotes the number of positions or modifiers being considered, depending on the example, and ! is the factorial operator. Applied to independent substitution positions in a tree, it counts the orders in which those positions could be filled. In the paper’s discussion of adjunction at distinct nodes, it counts the possible orders of those operations as well. In the modifier discussion, the same factorial notation describes the number of alternative arrangements that can arise as different modifiers are combined. The distinction is whether the permutation changes the structure or only the path that led to it.

3! × 2! × 2! = 24

The equation is the paper’s derivation count for a sentence that embeds persuasion, promising, and giving. The numbers attached to ! are the counts of substitution positions in the relevant trees. The multiplication symbol × combines the independent ordering counts, and = gives 24 derivations producing the same syntactic tree. This illustrates how independent choices of assembly order can multiply even for a fixed sentence.

The authors prescribe a left-to-right order for substitutions within a tree and likewise order adjunctions at distinct positions. Since the generator systematically checks item pairs, it can still reach the derivation that obeys the prescribed order. This reduces redundant histories while retaining the structure. Attachment at a single position calls for another convention. Auxiliary trees nested at that position can sometimes yield the same result whether one attaches at the foot of the other or the corresponding structure is built from the root. The implementation rules out foot-node adjunction, following a convention the authors identify in TAG parsing. Grammatically distinct permutations of modifiers can still survive.

How the polarity filter decides what can fit

Lexical matching raises a question before any of these combinations are attempted. If each literal can be expressed by several elementary trees, how large is the initial space of choices? For the straightforward case of separate choices for each literal, the paper gives the following count.

Q = ∏₁≤ᵢ≤ₙ aᵢ

Here Q is the number of candidate lexical combinations before filtering, n is the number of input literals, and i indexes a literal. The term aᵢ is the degree of lexical ambiguity for that literal, meaning the number of lexical alternatives available to express it. The product sign ∏ directs the reader to multiply those counts over the indicated range, from the first literal through n. The equality sign identifies the result with Q. The count describes candidate combinations. Detailed grammatical compatibility still has to be checked.

Perrier’s polarity technique was introduced for parsing. Gardent and Kow apply it to the lexical combinations a generator may try. An initial tree contributes a positive charge for the category at its root. Each substitution slot contributes a negative charge for the category required there. The paper writes these in forms such as the following.

+C

The symbol C is the category at the root of an initial tree. The plus sign records a supply of that category.

−S

The symbol S is the category at a substitution node. The minus sign records a requirement for a constituent of that category. Each such slot adds its charge. Consequently a single tree may require several constituents of the same category.

+p − 2n

This signature is the paper’s example for the tree anchored by the French verb for buying. In this expression p represents a sentence category and n a noun-phrase category. The plus sign marks the sentence resource the verb tree supplies. The negative term records its requirement for 2 noun phrases. The category symbol n here has a different role from the count n in the factorial or product notation.

The principle is that a lexical combination can be dismissed if the charges leave a syntactic resource unused or a requirement unmet. At this stage the system compares category totals. Feature agreement and the structural details of attachment remain to be tested. For example, a set of pieces could supply the right counts of noun phrases and noun-phrase slots while disagreeing over the features at particular positions. The filter’s job is to find combinations whose balances make further checking worthwhile.

The paper illustrates the filtering with an input that includes buying, annoyance, a field, and Jean.

{buy(e,t,j), annoying(e), field(t), john(j)}

The braces surround the input literals. The index e is the buying event, t denotes the field, and j denotes Jean. The predicate buy has the three arguments shown in its parentheses. The predicate annoying describes the event, and field and john identify the other referents. The commas inside parentheses separate arguments, and those between predicates separate literals. With this input, the grammar offers a verbal expression of buying and a relational noun, together with alternatives for expressing the predicative material. Some pairings supply the category needed by the relevant predicative tree. Crossed pairings can leave either a nominal or a sentential requirement outstanding. The polarity check rules those out before attempting to assemble them.

The implementation computes the balances with finite-state automata. An automaton represents choices as labelled transitions between states. During filtering, a path through these transitions stands for a combination of lexical items. The states keep track of the cumulative charges along those paths. The system builds an automaton for each category involved, intersects them to keep paths compatible with the balances across categories, and minimises the result. Minimisation reduces the representation while preserving the accepted paths. The resulting automaton represents combinations that cover the input meaning and satisfy the polarity test. The order of lexical choices along a path is part of this bookkeeping. The eventual order of words comes from the derived tree.

The compact example leaves some details implicit. The full algorithm can handle function words through co-anchoring, where a tree carries multiple lexical anchors, as when a verb requires a particular preposition. It can also use a richer semantic input for a word that contributes meaning, such as a quantifier. The authors say that lexical items covering multiple literals and items carrying only an index are supported as well. This matters because the description using one choice per literal is a way to explain the growth of the search space. It does not exhaust the forms that a lexical entry can take.

How chart items share surviving paths

A single elementary tree can occur in several accepted paths. Processing the paths one at a time would require reconstructing shared pieces, giving up an important advantage of tabulation. The implementation instead annotates each selected tree with the set of paths on which it appears. These annotations accompany the items during assembly.

P ∩ R

Here P and R are the path sets attached to the two items being considered. The symbol ∩ denotes intersection, so the expression denotes the paths common to both. An empty intersection rules out the pair before composition. When composition succeeds, the new item receives the intersection as its own path set. This retains the combinations that can accommodate all the elementary trees already built into the item.

This process gives the annotations a cumulative role. Two trees may each look usable somewhere in the automaton while sharing no accepted path. Joining them would mix parts from incompatible full combinations. After several successful operations, the derived tree’s annotation still records the compatible complete paths. The chart can thus hold a shared partial structure once and use it for the lexical combinations in which it can actually participate.

How a request selects a particular paraphrase

A selection request identifies a grammatical property and the semantic index to which it should apply. The notation distinguishes, for instance, a cleft that focuses on Jean from one that focuses on Marie. Both constructions can be available for the same event. A request concerned with one participant should leave only the trees that support the requested treatment of that participant.

Synt:SemIndex

Here Synt is a morphosyntactic property, such as a cleft, a pronoun, or a sentence mood. SemIndex is an index appearing in the input meaning. The colon joins the grammatical description to the referent or event it concerns. The grammatical property comes from information represented by the grammar.

The descriptions are available in part because the grammar is compiled from a metagrammar. A metagrammar defines reusable descriptions of linguistic structures and combines them to make elementary trees. During compilation, each tree receives a hypertag, which records the abstractions used in building it. Thus the tree for a subject cleft can carry information about the cleft and connect that information to the index on the subject node. The authors show how this supports selection for a verb taking two nominal arguments.

+cleft:X

The plus sign records a property supplied by a tree. The label cleft names the construction, and X is a variable for the semantic index associated with the subject in this tree. The colon connects the construction to that variable. When the realiser matches the tree to the input, unification can instantiate X with a particular participant.

+cleft:j

Here j is the input index for Jean. The instantiated charge says that the tree supplies a cleft for that participant. Its positive sign makes it available to satisfy a corresponding requirement.

−cleft:j

Here the minus sign records the restriction supplied to the realiser. The property and index are the same as in the positive charge. The automaton starts with this negative contribution, so a surviving combination has to supply a matching positive contribution. A cleft targeting a different participant contributes a different charge. In the demonstration, the request yields the French construction that puts Jean in focus as the person looking at Marie.

The paper also describes two places from which the selector can draw information. Features can constrain properties of the resulting root, such as interrogative, declarative, or imperative mood. Hypertags can constrain which lexical trees appear, using information supplied at the grammar or lexicon level. The authors mention register, modality, and the foregrounding of material as possible dimensions of such control. The implemented cleft example shows the link from a request, through lexical filtering, to the sentence returned. Setting that request from an analysis of the preceding discourse is a further task.

Experiments and results

What the measurements compare

The realiser is implemented in Haskell. The interface lets a user inspect the changing contents of the chart and agendas in a debugger. The system also supports batch runs, which allow the experimenters to vary optimisations and collect processing measurements. The reported experiments focus on two French inputs. The authors created examples similar to earlier tests by Carroll and colleagues and by Koller and Striegnitz, giving them a point of comparison with published generation work.

In the first case, a manager interviews a consultant, with details about the office and the consultant’s origin. In the second, a manager organises a seminar described by several modifiers, including its frequency and connection to a team. These are individual generation problems, with meanings specified for the realiser. The reported quantities are counts of candidate lexical combinations, numbers of sentences returned, and processing times under different settings. The counts measure different stages of the system, so a reduction in one count need not be numerically reflected in another.

The experimental grammar contains 2063 trees. For the reported ambiguity calculations, the authors use 107 trees associated with organiser and 8 trees per adjective. They also treat the phrase d’équipe as an adjective for the efficiency test. This is relevant to the second example because a separate choice of tree for several modifiers makes the initial space large before word order and attachment are considered.

The within-system baseline for the first comparison runs generation without polarity filtering. The filtered setting applies the balance checks before attempting tree composition. The authors also compare polarity filtering alone with polarity filtering augmented by a manually chosen cleft requirement. Finally, they change the grammatical inventory for adjectives in a diagnostic run, allowing one tree per adjective, and report times with and without filtering in that setting.

How many lexical combinations survived

For the interview input, the paper gives the following calculation for the initial lexical space.

107 × 8 (856)

The factors are the reported verb-tree and adjective-tree counts used in this calculation. The multiplication symbol × connects those factors, and 856 in parentheses is the reported number of combinations covering the input meaning before filtering. The count after applying polarities is 55.

Interview input, lexical combinations explored with and without polarity filtering

The polarity check leaves a much smaller set of combinations for tree assembly.

Interview input, lexical combinations explored with and without polarity filteringWithout polarity filtering: 856Without polarity filtering856With polarity filtering (this paper): 55With polarity filtering (this paper)55
The numbers
System or settinglexical combinations
Without polarity filtering856
With polarity filtering (this paper)55

For the seminar input, the paper expresses the initial choice space using the same verb-tree count and repeated choices among adjective trees.

107 × 8⁴

Here 107 is the verb-tree factor, 8 is the number of trees per adjective in the calculation, and the superscript ⁴ denotes the repetition of that factor. The multiplication sign joins the contributions. The authors report 438,272 lexical combinations before filtering and 232 after filtering for this input. These are counts of combinations for the realiser to explore. Several possible combinations can fail later checks, and related combinations can also share chart items during assembly.

Building the polarity automaton costs time. The paper reports that the reduction in downstream work was large enough to reduce overall processing time for both inputs. In the polarity-filtering comparison, the authors give reductions of 95% for the interview input and 84% for the seminar input. The smaller reported percentage for the seminar occurs alongside a large reduction in candidate combinations. The remaining work includes placing and ordering modifiers, which the category balance leaves available.

How a cleft requirement changed the output

For the selection experiments, the baseline already uses ordinary polarity filtering. The authors then add a restriction for a cleft associated with a particular semantic participant. This changes the specification the output must satisfy. The corresponding runs therefore test both whether generation responds to the requested form and how much work is saved when that request is enforced during filtering.

The interview input yields 9 sentences with ordinary polarity filtering and 2 when the requirement is added. The constructions discussed in the paper include ordinary active and passive versions and clefts focusing different material. The semantic index in the restrictor distinguishes candidates that would otherwise be grouped together simply as cleft sentences. An object cleft can be requested while subject-focused alternatives are excluded.

The explicit output counts in the paraphrase selection results for the seminar input are 54 sentences with ordinary polarity filtering and 18 with the added cleft requirement. The paper also describes the interaction of available syntactic structures with modifier order. Its earlier statement of the restricted count uses a different expression, discussed below under the limits of interpreting the evaluation.

Seminar input, sentences returned with and without a cleft requirement

Adding the cleft requirement narrows the set of sentences returned.

Seminar input, sentences returned with and without a cleft requirementOrdinary polarity filtering: 54Ordinary polarity filtering54Polarity filtering with cleft restriction (this paper): 18Polarity filtering with cleftrestriction (this paper)18
The numbers
System or settingsentences
Ordinary polarity filtering54
Polarity filtering with cleft restriction (this paper)18

For this chart, fewer sentences reflect the purpose of that experimental setting, which is to return sentences meeting the specified restriction. In exhaustive generation, the larger collection serves a different purpose. The counts are therefore best read alongside the requested output conditions.

With ordinary polarity filtering as the reference setting, adding the restriction reduced reported processing time by 63% for the interview input and 88% for the seminar input. These percentages concern the experiment in which a request changes the space of desired outputs. The time saving and the decrease in sentence count together show that the selector intervenes while the search is still being organised. A generator that constructed every sentence and filtered strings at the end could achieve the narrower final list, but the early constraint gives this realiser a way to avoid pursuing incompatible combinations in the first place.

Why the modifier-heavy case stayed expensive

The paper separately traces a large source of remaining work to the multiple trees available for each modifier and the different ways to arrange those modifiers. Its discussion describes this space as follows.

8⁵ × 5!

Here 8 is the number of tree alternatives per adjective, and ⁵ is the exponent in the paper’s modifier calculation. The 5 before the factorial sign is the number of modifiers in that calculation, and ! represents the number of orders considered. The multiplication symbol combines choice of trees and ordering. The authors describe the result as 3.9 million possible structures. This is a calculation about adjective choices and arrangements. The earlier counts of lexical combinations measured the space taken into polarity filtering.

To probe that source of work, the authors change the grammar so an adjective has one tree. They report a seminar realisation time of 9s without polarity filtering and 2.7s with filtering in this altered grammar. These times belong to the reduced adjective inventory. That setting isolates part of the search cost while also altering the structures available to the realiser.

Seminar input with one tree per adjective, processing time

Polarity filtering reduces processing time in the grammar with fewer adjective alternatives.

Seminar input with one tree per adjective, processing timeWithout polarity filtering: 9Without polarity filtering9With polarity filtering (this paper): 2.7With polarity filtering (this paper)2.7
The numbers
System or settings
Without polarity filtering9
With polarity filtering (this paper)2.7

The authors also compare the interview processing time with earlier published reports. They describe their result as favourable but qualify the comparison because the earlier systems used different grammars and hardware. They specify that their runs used a 3 Ghz Pentium IV, whereas Koller and Striegnitz used a 700 Mhz Pentium III. The measurements that share the same implementation and input give a more direct view of the effect of turning on the filter.

What the ablations show

The filter and the chart address different kinds of work

The most direct controlled comparison is between runs with and without ordinary polarity filtering. Both settings start from the same semantic inputs and use the same grammar for that comparison. As the lexical combination counts show, covering the input literals leaves substantial freedom to choose incompatible trees. The positive and negative charges supply information about the combination as a whole. A verb can be plausible for its literal and an adjective plausible for its own, yet the chosen trees can leave a requirement somewhere in the complete set unfilled.

The timing results matter because the algorithm spends effort computing this global information. A smaller search space on its own could still come with higher end-to-end cost if the automaton were expensive enough. For both examples, the authors report a decrease in total processing time. Their explanation rests on saving detailed composition attempts after the filter has eliminated collections of pieces that have a category imbalance.

The chart addresses reuse among the combinations that remain. The path annotations show how this can work without running each surviving path from beginning to end independently. If several paths use the same tree or partial derivation, a chart entry can carry their common support. The paper explains that mechanism, but gives no isolated measurement for removing the path annotations or turning off the sharing while keeping polarity filtering. The experimental gains consequently support the filtered generation procedure as measured. They leave the contribution of chart integration without a separate timing estimate.

Modifier ambiguity survives category balancing

The single-tree adjective run tests the authors’ account of the slow seminar case by changing the grammar at the source of the ambiguity. If several adjective trees have compatible polarity signatures, the filter can accept each alternative. Constraints that are powerful for rejecting combinations of incompatible argument structures may have little leverage over those choices. Likewise, exchanging the order of compatible modifiers can preserve the same balance.

The reported times with the reduced inventory show how much faster the seminar can be made in a grammar with fewer adjective alternatives. There is still a benefit from filtering within that altered grammar. This is consistent with the paper’s account of separate sources of work. Category accounting reduces impossible lexical combinations. Reducing the adjective inventory removes competing structures at particular lexical choices. Delaying adjunction keeps the remaining modifier variants from multiplying through incomplete arguments and clauses.

The authors identify a further possibility, namely to hold modifiers for a node together and decide their order separately. That could reduce the work spent explicitly deriving different orders. The paper discusses this in connection with earlier statistical approaches and leaves the comparison for future experiments. Its own modifier analysis comes from the observed slowdown, the combinatorial account, and the grammar change. It supplies no independent timing for the substitution-first schedule against a modifier-first schedule.

Restricting the output can prune search early

The cleft comparison isolates another use of polarity. In the ordinary setting, the balance test considers the resources needed to form a sentence. In the selection setting, the initial negative charge adds a requirement about the realisation of an indexed participant. That charge can rule out a lexical path even if the trees on the path would assemble into a grammatical sentence for the unrestricted task.

This distinction explains why the authors report both output counts and timings. Fewer sentences are expected because the request describes a smaller target set. A reduction in processing time supports using the request inside the search. The experiment demonstrates control by a manually specified request. Assessing whether a restriction was chosen appropriately for a dialogue or a passage would require evidence about the context and the way the restriction was derived.

The other optimisations receive structural explanations. Ordering substitutions removes derivational permutations at independent positions. Ruling out foot-node adjunction removes a duplicate route to certain nested structures. Postponing adjunction stops modifier variants from multiplying through incomplete trees. The paper gives examples for why these measures help and why the prescribed operation order retains the intended derivations. The controlled measurements concentrate on polarity filtering, cleft selection, and adjective ambiguity, leaving the separate timing effects of those scheduling and duplication rules open.

Limitations

Limits identified by the authors

The authors set the work inside the worst-case complexity of surface realisation. Their optimisations make particular searches smaller and remove identifiable repetition. A grammar can still license a large number of lexical trees and genuinely different sentence structures. The experiments with several modifiers are a direct illustration. An exhaustive request retains all legal output alternatives, so the number of outputs can itself limit efficiency.

The authors also emphasise the weakness of comparing runtimes across different systems when the grammars and computers differ. A larger inventory of lexical trees creates more possible combinations to consider. Different grammatical formalisms and implementations may also perform different checks during generation. The paper’s comparison with Koller and Striegnitz highlights treatment of feature structures as one such difference. The reported measurements support comparisons within the authors’ own setup more directly than a ranking across realisers.

The input selectors are given by hand. The authors propose that contextual information could set them, and they identify systematic evaluation of selection as future work. This draws a boundary around the contextual claim. The implemented realiser can enforce an indexed requirement carried by its grammar. The broader problem of learning or deriving that requirement from discourse remains open in the study.

Lexical selection is also limited by the representations assigned in the grammar. The authors describe matching through term unification and give an example in which recognising that a description of an adult male human can be expressed by a single word would require richer lexical semantics or inference. Assigning synonyms the same representation helps in cases the grammar writer has anticipated. Extending the grammar and lexicon to include paraphrases that change word derivation or grammatical category is among the authors’ stated directions for further work.

Limits visible in the evaluation

The experiments use the interview and seminar inputs as illustrative benchmarks. They show that the filter can remove many candidates and that an explicit cleft request can alter the output for those cases. A wider distribution of input sizes, grammatical constructions, and amounts of lexical ambiguity would be needed to estimate typical gains. In particular, the modifier analysis suggests that the benefit depends on which distinctions the polarity signatures can capture. A test set dominated by trees with the same category balance could put much more of the work into later stages.

The grammar also determines what counts as a possible output. The authors report that the grammar used in the experiments places no constraints on relative modifier order. Its output counts therefore include orders that survive the grammar’s existing restrictions. The study reports generation counts and times, with no independent evaluation of how natural each ordering sounds or how well a reader judges it to fit a particular context. The experiments establish control over a grammatical description rather than a ranking of the sentence variants for ordinary use.

The reported seminar output with the cleft restriction is internally inconsistent. In its earlier discussion of modifier ordering, the paper expresses the restricted count as follows.

2 × 3!

Here 2 is the count of restricted structures given in that explanation, and 3! is the permutation factor for modifiers. The multiplication symbol joins those factors. The later selection results explicitly give 18 sentences for the restricted seminar case. The results chart uses the explicit count from that comparison. The paper leaves the relation between the two descriptions unresolved.

Finally, completeness is bounded by the grammar, lexicon, semantic representation, and restrictions that define a generation run. Exhaustive search within that space is valuable for grammar debugging because it exposes variants the grammar actually licenses. Its usefulness as a test is tied to what can be represented. If a rewording would require a lexical relation absent from the grammar, a different representation of the event, or discourse information that was never turned into a restriction, it lies outside the alternatives the described run can examine.

What came after

The later papers that cite this work place it alongside several different questions about generation and syntactic variation. Their titles identify the subjects of those connections. The citations establish that the earlier work was relevant to those discussions, while the method and experiments described here give the basis for identifying the following relationships.

A Symbolic Approach to Near-Deterministic Surface Realisation using Tree Adjoining Grammar returns to the same formalism and task, with near-deterministic realisation as its focus. That focus connects directly to the search problem identified by Gardent and Kow. A Tree Adjoining Grammar can license several lexical or structural choices for the same meaning, and the realiser has to decide how much of that freedom to pursue. The earlier paper’s distinction between enumerating alternatives and constraining them provides a way to understand the significance of that later objective.

Towards Efficient HPSG Generation for German, a Non-Configurational Language takes up efficient generation in HPSG and makes German the language at issue. The connection is search efficiency in grammar-based realisation, across the two formalisms that Gardent and Kow discuss when they compare ways of handling modifiers. Their French realiser uses adjunction to delay modifier placement. The later title points to a different setting for the general question of how a generation procedure deals with the structures licensed by its grammar.

Generating Phrasal and Sentential Paraphrases: A Survey of Data-Driven Methods places the earlier work in a broader literature on generating paraphrases at the phrase and sentence levels. The connection is to the problem of obtaining alternative expressions. Gardent and Kow supply a grammar-driven case in which trees receive shared semantic representations and the resulting alternatives can be enumerated or restricted. The survey’s stated focus is on data-driven methods, giving the citation a role in situating the topic across approaches.

Syntactic Testsuites and Textual Entailment Recognition connects syntactic variation with the evaluation of textual entailment, the task of recognising when one text supports a conclusion expressed by another. Gardent and Kow’s opening examples show the distinction that matters for that connection. A grammatical alternation may preserve an isolated event description, while embedding the alternatives in a larger expression may change what is asserted. Their realiser is concerned with producing grammatical alternatives. The later work’s title places syntactic constructions in the setting of test suites for a recognition task.

Cite

Cite as Claire Gardent and Eric Kow. 2005. Generating and Selecting Grammatical Paraphrases. Proceedings of the Tenth European Workshop on Natural Language Generation (ENLG-05).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{gardent2005generating,
  title = {{Generating and Selecting Grammatical Paraphrases}},
  author = {Claire Gardent and Eric Kow},
  booktitle = {Proceedings of the Tenth European Workshop on Natural Language Generation (ENLG-05)},
  year = {2005},
  url = {https://aclanthology.org/W05-1605/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/gardent-2005-generating-selecting-grammatical-paraphrases/