Elamur Research

Aggregation via Set Partitioning for Natural Language Generation

Paper · 2006 · Regina Barzilay and Mirella Lapata

Summary

A game report can tell readers how several plays fit together in a single sentence. A database records those facts in separate entries, leaving a text generation system to work out which ones belong together. Combine entries carelessly and the resulting sentence may suggest a connection the facts fail to support. Leave every entry on its own and the report can become repetitive and hard to follow. Barzilay and Lapata study how to learn sentence groupings from existing reports and the database entries those reports describe. Their system takes a selection of entries and returns groups of facts for a subsequent component to put into words. Text generation

The authors first learn to score pairs of entries using examples from American football reports. If the same sentence describes both entries, the pair is a positive example. The classifier uses evidence such as whether the entries identify the same player or record the same kind of action. The pair scores can conflict. For example, a classifier might favor grouping a passing entry with a rushing entry and the rushing entry with a scoring entry, while preferring to keep the passing and scoring entries apart. A sentence grouping has to settle all of those decisions together. The authors use integer linear programming to find the highest-scoring consistent arrangement subject to limits estimated from the corpus. These limits control how much aggregation can occur across the document and how many companions an entry can have in its sentence.

On held-out football reports, the method achieved a mean pairwise F-score of 70.3, compared with 58.4 for greedy clustering using the same pair scores. Mean precision was 82.2 for the integer program and 57.7 for clustering, while mean recall was 65.4 and 66.9, respectively. The integer program also recovered more complete sentence groups across the sizes examined. For a generator, the precision result matters because a misplaced fact can change how a reader understands the relationship among the facts around it. The experiments measure agreement with the groupings in existing reports. They leave open how the groupings would read once phrased as sentences, and how the approach would interact with decisions about which facts to include.

Deep dive: Aggregation via Set Partitioning for Natural Language Generation

The paper learns which database facts belong in the same sentence and uses set partitioning to make those choices consistently across a document. · about 34 minutes to read

The problem and its context

Deciding what a sentence should say

Consider a football report that describes a quarterback's early incompletions and then a catch by a receiver surrounded by defenders. Each piece of information could occupy an independent sentence. A writer can instead gather the incompletions into one expression, use them to situate the later play, and incorporate the receiver's position into the description of the catch. The opening example in the paper illustrates how much organization a sentence can supply. A reader gets a sequence of events and an account of the catch without having to piece those details together from several repeated introductions of the players and the situation.

The example involves choices about content as well as wording. Putting the incompletions and the catch together is a choice about what information to include in the same sentence. Expressing the incompletions as background to the catch is a choice about how to structure that sentence. The paper calls the first process semantic grouping and the second sentence structuring. Semantic grouping operates on the meaning to be conveyed. Sentence structuring involves the syntactic and lexical decisions needed to convey it. Barzilay and Lapata study the grouping problem with entries from a relational database, so the units to be combined are already available before a sentence is written.

The motivation includes more than saving space. The authors cite earlier work on how removing redundancy affects comprehension and recall, and they point to an intelligent tutoring application in which aggregation improved learning. Those studies explain why sentence boundaries can matter to a reader. The football example illustrates another part of the motivation. Even where each separate statement is understandable, an account made of isolated statements can leave readers to work out which details belong to the same event or comparison. A useful grouping gives the eventual sentence writer material that can be expressed together with a clear purpose.

The grouping component receives its material from a content planner. The planner has already picked the information that the report will cover. For grouping, the problem is to allocate each chosen fact to a sentence. An entry might be the only fact assigned to its sentence or one of several. That distinction is important in a database with many entries about the same people and events. A football report may cover several statistics involving a given player, yet discussing that player provides only one reason to put those statistics together. The intended sentence can also depend on what other facts have been selected and which comparisons the group would support.

What earlier generation systems supplied

In the approaches the paper reviews, semantic grouping and sentence structuring often happened together. An aggregation component could draw on information about the discourse, the available sentence forms and the ways an item might be expressed. Handwritten rules could specify when those kinds of evidence justified an aggregation. This arrangement gave developers a way to use rich linguistic information. It also meant that some of the work involved studying examples from the domain and encoding the relevant decisions by hand. The authors identify the effort required for that process as a barrier in large domains and a cost when moving to a new one.

The paper describes alternatives to a set of fixed rules. Walker and colleagues generated candidate aggregations for spoken dialogue and learned to rank them from human judgments. Their ranking function could consider properties of syntax and language use supplied by the input representations. Cheng and Mellish used a genetic algorithm to look for a text that met aggregation and planning requirements, with a preference function written by hand. Both approaches could evaluate some properties of a candidate text that are unavailable when all the system has at hand is a set of database entries awaiting grouping.

Barzilay and Lapata start with the resources they expect to have for learning a generator from a corpus. They assume sentences aligned with structured facts. They do not assume a complete inventory of the phrases that could express those facts or an account of the discourse relations among them. A record's attributes, such as the player or the number of yards, can supply evidence of a connection without specifying what that connection should sound like in a sentence. The authors use those comparisons to learn where the sentence boundaries tend to fall. Their broader aim is to keep the approach applicable to representations besides the football database, including propositions or sentence plans, when those representations offer comparable units.

Several earlier studies supplied precedents for using mathematical optimization in language tasks. Barzilay and Lapata point to relation extraction, where decisions about relations can be considered together, and to work on semantic role labeling, where the labels assigned within an analysis must be compatible. They also cite a study of route directions that used discrete optimization in generation. For aggregation, the analogous opportunity is to express requirements on the complete grouping even though the evidence initially comes from a separate judgment about each pair. A Linear Programming Formulation for Global Inference in Natural Language Tasks · Semantic Role Labeling · Semantic Role Labeling Via Integer Linear Programming Inference

Why pairwise judgments need a document-level decision

The paper's database example shows both straightforward and less obvious groupings. Its passing records for Cundiff and Carter have the same yardage and touchdown values. That makes them plausible material for a sentence comparing their performances. Another group puts an interception entry and a kicking entry for Lindell together. Entries can thus share a sentence across record types. Conversely, the example places passing and fumble records for Bledsoe in separate groups. A shared player can be relevant in each case, with a different grouping depending on what the other attributes and entries contribute.

Suppose the strongest available link joins an entry to a group that already contains other entries. The decision to admit it entails treating it as part of the same sentence as every current member. Even a highly convincing link to one member leaves room for poor compatibility with the others. A method that decides independently for each pair has no way to implement that implication. A clustering procedure can produce a valid arrangement by merging whole groups, but the particular rule used to choose a merge determines how thoroughly it considers the consequences. The distinction matters when several reasonable pairings compete for the same entry.

The paper formulates the document-level task as set partitioning. In this formulation each selected entry belongs to exactly one sentence group, and the groups cover the entire input. A grouping also determines all the pairs that will share a sentence. Accordingly, the system can evaluate a proposed partition using the pairwise evidence it learned, while considering corpus-based expectations about the amount of aggregation. This formulation gives a precise meaning to a global decision. It is a consistent allocation of entries whose entire set of implied pair assignments is evaluated together.

The method, step by step

From recorded facts to training examples

The input to grouping is a set of entries for one document. Each entry has a type and a collection of attributes. A passing entry can identify a player and provide values for completions and attempts, yardage, average, touchdowns and interceptions. A rushing entry records a different kind of performance, but a comparison between the two can still use attributes they share. The database and its reports give the method the units to compare and examples of how those units have been placed together.

The authors obtain sentence membership through alignment. An automatic procedure looks for anchors shared by entry attributes and tokens in the corresponding report. It uses these matches to link database entries to sentences. Once the entries have been assigned, the entries linked to the same sentence make up a reference group. A sentence with a single linked entry contributes a singleton. A sentence with several linked entries contributes a group that establishes multiple pair judgments. This procedure gets supervision from existing reports, with alignment errors carrying over into the resulting labels.

The paper describes the corpus in its earlier work on selecting material from a database for generation. Here, attention shifts to the entries verbalized in a report and to the sentences that cover them. Facts outside that selection are outside the scope of the grouping decision. The training documents supply both the entries and their reference assignments. At test time the task is to recover the grouping given the entries. Collective Content Selection for Concept-to-Text Generation

The training procedure takes every distinct unordered pair of the entries for a document. The pair receives a positive label if both entries occur in the same reference group and a negative label if they occur in different groups. The example in the paper divides eight entries into six groups. The passing comparison and the group about Lindell each contribute a positive pair. The other groups are singletons, and every pairing between different groups contributes a negative example. Even in a small document, the classifier can encounter many more examples of entries in separate sentences than of entries described together.

A singleton still supplies training evidence. It has a negative relation to each other entry in the document, so its attributes can participate in comparisons that demonstrate when a plausible resemblance fails to predict shared sentence membership. Similarly, if a reference group has several entries, the classifier sees the pairs within that group individually. The resulting supervision describes what happened to each pair. During fitting, the classifier treats those records as examples for a binary decision. The constraints that tie the decisions together are applied later.

Learning and inferring sentence groups

The steps in order.

Learning and inferring sentence groupsStep 1: Align database entries with report sentences1. Align database entries with report sentencesStep 2: Label pairs by observed sentence membership2. Label pairs by observed sentence membershipStep 3: Encode matches on shared attributes3. Encode matches on shared attributesStep 4: Train a classifier to score entry pairs4. Train a classifier to score entry pairsStep 5: Estimate document and entry limits from development data5. Estimate document and entry limits from development dataStep 6: Optimize pair assignments under the constraints6. Optimize pair assignments under the constraintsStep 7: Recover sentence groups from the selected assignments7. Recover sentence groups from the selected assignments

What the classifier sees in a pair

The representation begins with attributes that can be compared across multiple entry types. The paper discusses the possibility of identifying the attributes using domain knowledge. In the experiments the authors rank attributes by how many record types contain them and select the top five. The football attributes used are player, time in game quarters, action type, outcome type and yardage. This selection provides a common basis for comparison across different kinds of records. The authors note that taking more attributes would make the feature vectors sparser, since additional attributes would tend to offer fewer occasions to observe matches.

Each individual comparison is an indicator of value equality. For instance, a player feature records whether the player values agree. Yardage works the same way in the described representation. It expresses an exact match, so closeness between unequal quantities is outside what this feature expresses. The representation can also include conjunctions, which record whether several of the individual comparisons hold at the same time. The conjunction of player and action type, for example, indicates that a pair agrees on both. This gives the classifier a way to assign a contribution to the joint pattern in addition to those available for the individual matches.

For a concrete illustration, the authors compare a Quincy Carter passing record and a Troy Hambrick rushing record. In their simplified feature example, the attributes are player, yardage and touchdowns, and conjunctions have a maximum size of 2. Player and yardage differ, while a touchdown value of 1 matches. Each conjunction in this example requires agreement on both of its attributes, so all the conjunctions are inactive. The only active feature is the individual touchdown match. The paper uses this case to show how entries of different types can yield a well-defined comparison even with sparse overlap.

The grouping decision thus depends on a learned relationship between overlap patterns and sentence membership. A match contributes evidence through the fitted classifier, where its influence depends on what the training examples demonstrate. The method can use a pattern such as shared yardage together with shared action without a developer having to declare it a rule for writing comparisons. The classifier can learn from negative examples as well, since the same types of overlaps can occur across sentence boundaries. Its job is to estimate the tendency to aggregate given the features it sees.

For the experimental classifier, the maximum conjunction size was five. The paper reports a total of 28 features, of which 23 were conjunctive. It used a publicly available maximum entropy classifier and trained it for 100 iterations. The development data was used to choose the maximum size of the conjunctions. The output needed for inference is a probability for each entry pair. The probability serves as a graded preference, so a pool of pair decisions can carry information about how strongly they are supported.

How the objective scores an arrangement

The paper expresses its objective as a sum of pair contributions. To make the indexing clear, the formulas below write P for the set of distinct unordered pairs among the entries under consideration. This follows the paper's description of how it constructs pair examples. Writing a variable for each unordered pair makes the decision symmetric. The fact that an entry belongs to the same group as itself is implicit in the partition.

S = {Sᵢ}

S is the full partition. Each Sᵢ is one nonempty subset of entries, with i indexing the subsets. The braces indicate the collection of those subsets. Every element of the input set E belongs to exactly one Sᵢ. The grouping assigns one prospective sentence to each subset and leaves decisions about sentence order and phrasing to other parts of generation.

∑_{⟨eᵢ,eⱼ⟩ ∈ P} [cᵢⱼ xᵢⱼ + (1 − cᵢⱼ)(1 − xᵢⱼ)]

The summation sign ∑ means to add the contribution for each pair in P. The symbol ∈ denotes membership of the pair in that set. The brackets ⟨eᵢ,eⱼ⟩ denote a pair of entries from E, with i and j identifying the entries. The classifier's estimated probability that they share a sentence is cᵢⱼ. The binary decision is xᵢⱼ, set to 1 for entries placed together and 0 for entries kept apart. Juxtaposed terms are multiplied. The constant 1 in each subtraction gives the complement of the probability or the decision. The plus sign adds the two contributions, and the square brackets enclose the contribution of the pair.

For a pair assigned to the same sentence, the objective receives the predicted probability of aggregation. For a pair assigned to separate sentences, it receives the predicted probability of separation. This matters because grouping additional entries together changes the score on every pair they form with the existing members of the group. The system gets credit for keeping entries apart when the classifier supports that choice. The payoff for a whole group therefore depends on more than its strongest internal link.

argmaxₓ ∑_{⟨eᵢ,eⱼ⟩ ∈ P} [cᵢⱼ xᵢⱼ + (1 − cᵢⱼ)(1 − xᵢⱼ)]

Here x denotes the collection of all pair decisions xᵢⱼ for the document. The operator argmaxₓ asks for the assignment to x that attains the largest value of the sum while satisfying the constraints. The symbol ∑ ranges over the unordered pairs ⟨eᵢ,eⱼ⟩ in P, as indicated by ∈. The entries have indices i and j, cᵢⱼ is the classifier probability, and the binary xᵢⱼ chooses which of the complementary scores contributes. The constants 1, the subtraction signs, the products and the addition define the same pair score as in the preceding formula.

The classifier probabilities are fixed when the optimization takes place. The expression is linear in the decision variables because products involving a variable multiply it only by a fixed quantity. The program searches for a feasible assignment with the largest summed score. The meaning of optimality is specific to this objective and the supplied constraints. It concerns how well an arrangement reconciles the learned pair preferences, given the restrictions made explicit in the program.

xᵢⱼ ∈ {0, 1} for every ⟨eᵢ,eⱼ⟩ ∈ P

The collection {0, 1} contains the permitted values of xᵢⱼ. The other use of ∈ specifies that the condition applies to every entry pair ⟨eᵢ,eⱼ⟩ in P, with i and j indexing its entries. The decision places the entries together at 1 and apart at 0. Requiring discrete values gives a definite membership relation for each pair.

What makes the decisions a partition

Imagine that the classifier favors placing an interception entry with a kicking entry and placing the kicking entry with a passing entry. If both proposals are accepted, the interception and passing entries must also share a sentence. A system could decline one of the first proposals or accept the third relation as part of the group. The program leaves that choice to the objective and rules out the assignment that would accept both proposals while separating the first and last entries.

xᵢₖ ≥ xᵢⱼ + xⱼₖ − 1

The indices i, j and k here identify three distinct entries. Each x with a pair of subscripts is the binary grouping decision for that pair. The plus sign combines the decisions on the pairs that go through entry j, and subtracting 1 leaves a lower bound for the decision on the pair linking entries i and k. The symbol ≥ means that the value on the left must meet or exceed that bound. When both decisions on the right are 1, the bound requires xᵢₖ to take the value 1. When at least one of them is 0, either value on the left satisfies this inequality.

The program imposes the implication for each choice of link through a distinct triple. This makes same-sentence membership transitive. Together with symmetry for unordered pairs and implicit self-membership, transitivity gives an equivalence relation. Equivalence classes are disjoint, so an entry has a unique group. The final group can be recovered by gathering the entries that the solution says are together. An entry with no positive pair becomes a singleton.

This step also clarifies why the method works with scores rather than committing to the classifier's preferred label for each pair ahead of time. If two high-scoring links entail a link with little support, the program can weigh the cost of the implied link against the benefits of keeping the other links. The outcome may depend on further entries in the same document. For example, keeping some entries together can affect the feasibility of admitting another one under the size restrictions. Pair judgments provide the terms of the calculation, while the optimization decides which combination of judgments can stand.

Limits on the amount of grouping

One additional constraint sets a budget for the number of positive pair assignments in a document. The authors estimate it from development documents of comparable size, measuring size by the number of corresponding entry pairs. The intuition is that a typical amount of aggregation can differ across documents with different quantities of material. A system can use that regularity alongside the information about the particular entries it is grouping.

∑_{⟨eᵢ,eⱼ⟩ ∈ P} xᵢⱼ ≤ m

The sum ∑ counts xᵢⱼ over the unordered pairs ⟨eᵢ,eⱼ⟩ in P, with i and j naming the paired entries and ∈ indicating pair membership in P. Every positive decision contributes 1 and every negative decision contributes 0. The symbol ≤ makes m an upper bound. The parameter m is estimated separately for the document from the average count of positive pairs in development examples of the relevant size.

To illustrate how the budget changes with the input, the paper reports an average of 70 positive labels for texts with a thousand pairs and around 20 positive labels for documents with 200 pairs. The budget measures positive relations, which depend both on how many groups contain multiple entries and on how large those groups are. A sentence with several entries uses up a pair assignment for each relationship among them. Document-level control of the pair count is therefore an indirect way to influence how much information gets combined into sentences.

The other constraint applies to the number of partners any given entry can have in its group. Its purpose is to curb very large aggregations while taking account of how record types behave in the training domain. A passing record can regularly share a sentence with other entries, while a kicking record may have fewer companions. The paper uses development data to estimate the limit from the average positive pair counts for different entry types.

∀ eᵢ ∈ E, ∑_{eⱼ ∈ E, j ≠ i} xᵢⱼ ≤ k

The quantifier ∀ means that the restriction applies to each entry eᵢ in the input set E. The sum ∑ considers partner entries eⱼ in E, where the symbol ≠ excludes the entry itself by requiring j to differ from i. The decision xᵢⱼ records whether these partners share a sentence. The symbol ≤ caps the number of positive decisions at k, the bound applicable to the entry. Here k is a size-control parameter. It has a different role from the index k in the transitivity inequality and from the parameter called k in the paper's discussion of feature conjunctions.

By transitivity, every entry in a group has a positive relation to every other member. The partner cap thus restricts group size through the binary decisions the program already uses. When it is applied with the bounds for the individual entries, a prospective group has to accommodate the allowable number of companions for all of its members. Sentence length in this formulation means the amount of database material to express. The attributes and pair decisions do not specify how many words the eventual realization would require.

The two controls act on different parts of the solution. A collection of modest groups can fit the per-entry bounds and still accumulate more positive pairs than the document budget allows. A proposed group can also be too large for one of its members while leaving the document budget mostly unused. The program checks both conditions at once. In the test documents, the reported settings for m ranged from 2 to 130, and the settings for the size parameter k ranged from 2 to 9. The paper also reports that the largest sentence grouping in the corpus contains nine entries.

Solving the program for a document

For each document the system instantiates the pair decisions, the objective coefficients from the classifier, the transitivity inequalities and the corpus-derived bounds. Integer linear programming allows the objective and all of these restrictions to be passed to a standard optimization solver. The authors used lp solve, a mixed integer programming package that implements branch and bound. In this strategy the solver considers restricted portions of the search space and uses bounds on the attainable objective to discard portions that cannot improve the best feasible solution found so far.

The paper identifies the size of the search as a computational challenge. The number of possible partitions grows rapidly with the input, and solving integer linear programs is generally NP-hard. There is a separate decision for each entry pair and a set of transitivity restrictions for distinct triples. The advantage of the formulation is that the solver can work with those decisions and restrictions instead of explicitly listing every possible collection of sentence groups. According to the paper, a 450 MHz Pentium III processed a typical document containing about 350 entry pairs in less than half an hour. That timing describes the reported setup, including the solver, hardware and scale of the football reports.

Experiments and results

Football reports and their associated databases

The evaluation uses 468 summaries of American football games from the official site of the National Football League. Each game report has a corresponding database with statistics about players and events. The databases contain 73,400 entries across the corpus, with 7.1% reported as verbalized. That proportion describes how much of the database material appears in the written accounts. The grouping evaluation takes place after this selection. Its inputs are the entries associated with a report, and the automatic correspondence between entries and sentences supplies the expected grouping.

A report contains an average of 14.3 entries and 9.1 sentences in the corpus. Among sentences that aggregate entries, the distribution shown in the paper is concentrated on groups of two or three. This distribution gives the baseline and the integer program a task with common small groups and occasional larger ones. It also motivates reporting performance by group size. A result on the most typical groupings could otherwise say little about what happens when a sentence combines considerably more material.

The training split consists of 300 summaries and 96,434 pair instances. The development split consists of 100 summaries and 53,776 pair instances. The test split consists of 68 summaries and 59,082 pair instances. A pair instance here is a candidate same-sentence relation within a summary. Many instances can come from the same document, so the number of examples is a different measure of corpus size from the number of summaries. A longer list of selected entries creates more possible pairs and may contribute a disproportionately large share of the individual training examples.

The partitions obtained from alignment serve two purposes. For fitting the classifier, a partition provides a positive or negative label for every pair. For estimating the global bounds, the development partitions supply observations about how positive labels are distributed at different document sizes and for different entry types. In testing, the reference partitions supply both the pair labels needed for the precision and recall analysis and the complete groups needed for the exact-group analysis. Accordingly, the same underlying reference can reveal local and sentence-level errors.

A greedy alternative using the same pair scores

The comparison system uses single-link agglomerative clustering. Agglomerative clustering proceeds by repeatedly merging the closest available groups. Under single linkage, the closest pair of entries across two groups supplies the evidence for bringing the groups together. The authors use the maximum entropy classifier's scores as the basis of this comparison. They estimate the number of clusters at which to stop by averaging the number of sentences in similarly sized documents in the training data.

The important feature of the comparison is that both methods begin with pairwise evidence from the same classifier. The clustering method commits to a sequence of merges, while the integer program evaluates the total score of all pair assignments in a feasible partition. When a proposed merge is favored by a single pair, the clustering rule can carry along other relationships with relatively weak support. The integer program includes those relationships explicitly in the objective and can accommodate restrictions on the overall configuration. Meanwhile, the baseline's estimated group count gives it a document-level stopping rule based on the corpus.

Both procedures output disjoint groups. In clustering, disjointness is achieved by merging existing clusters into larger ones. In the integer program, the transitivity inequalities enforce the same-sentence relation directly. It is therefore possible for the methods to disagree about an entry's sentence even when both respect partition consistency. They use different criteria for deciding which partition to choose, and their corpus-based controls act on different quantities.

Measuring pair decisions

Pairwise precision asks what share of the pairs placed together by a system occur together in the reference. Pairwise recall asks what share of the actual same-sentence pairs the system recovers. A precise prediction groups entries together selectively. High recall requires recovering a large share of the reference connections, which can favor an approach that risks grouping more entries. F-score combines these two measures into a score over the positive-pair decisions.

The authors calculate pairwise performance for individual documents and average the document scores. In particular, the reported mean F-score is the average of the document F-scores. The reporting scheme gives a summary of document-level behavior even though the pair inventory can vary greatly from one report to another. The paper also gives the standard deviation and the lowest and highest observed scores for each metric. The spread matters because reports with the same broad subject can still differ in how easily their sentence groupings can be inferred from database attributes.

Mean pairwise F-score on held-out NFL game summaries

Integer linear programming recovers same-sentence pairs more accurately overall by this combined measure.

Mean pairwise F-score on held-out NFL game summariesSingle-link clustering: 58.4Single-link clustering58.4Integer linear programming (this paper): 70.3Integer linear programming (this paper)70.3
The numbers
System or settingF-score
Single-link clustering58.4
Integer linear programming (this paper)70.3

Mean pairwise precision on held-out NFL game summaries

A pair placed together by integer linear programming more often belongs to the same reference sentence.

Mean pairwise precision on held-out NFL game summariesSingle-link clustering: 57.7Single-link clustering57.7Integer linear programming (this paper): 82.2Integer linear programming (this paper)82.2
The numbers
System or settingPrecision %
Single-link clustering57.7
Integer linear programming (this paper)82.2

Mean pairwise recall on held-out NFL game summaries

Clustering retrieves a slightly larger share of reference pairs on average.

Mean pairwise recall on held-out NFL game summariesSingle-link clustering (this paper): 66.9Single-link clustering (this paper)66.9Integer linear programming: 65.4Integer linear programming65.4
The numbers
System or settingRecall %
Single-link clustering (this paper)66.9
Integer linear programming65.4

The F-score and its component metrics show where the integer program gained. Mean precision is 82.2 for the integer program and 57.7 for clustering. Mean recall is much closer, at 65.4 for the integer program and 66.9 for clustering. The resulting mean F-score is 70.3 for the integer program and 58.4 for clustering. The authors describe the F-score gap as 11.9% in their results discussion. The reported means put that gap in context. Most of the change is associated with pairs the methods chose to put together, and the integer program recovers a comparable share of the reference positives.

There is also a difference in the low end of the document scores observed in this test. The minimum F-score is 40.0 for the integer program and 0.0 for clustering. The F-score standard deviations are 16.6 and 23.1, respectively. For precision, the corresponding minima are 37.5 and 0.0, and the standard deviations are 19.2 and 28.2. For recall, the minima are 28.6 and 0.0, with standard deviations of 20.3 and 23.9. Both methods reach a maximum of 100.0 on each reported pair metric. These figures describe variation within the test set, and the smaller spread for the integer program accompanies a higher observed floor there.

The authors report a chi-square statistic of 16.39 for the precision comparison, with p < 0.01, and treat the precision result as statistically significant. For recall they report a chi-square statistic of 0.02 and print p < 0.89, describing the difference as nonsignificant. Their discussion distinguishes the tests on precision and recall from the comparison of F-scores. The former can be tested with frequency data. The paper gives no significance test for the F-score difference, citing difficulties with the distributional assumptions of a t-test and with applying a count-based chi-square test to F-score itself. Evaluation & benchmarks

Recovering the whole sentence group

Partition accuracy addresses a different question. The authors ask whether each reference group is recovered with its complete membership, and examine the result by group size. A group counts as correctly recovered when the predicted sentence contains the expected set of entries. This is a stringent requirement because a sentence with a misplaced entry may preserve several correct pair relationships. Likewise, a predicted group that contains the right core but leaves out one entry can earn pairwise credit while missing the exact sentence group.

The paper's plot shows higher partition accuracy for the integer program at every group size compared. Both approaches identify singletons fairly well. Accuracy tends to be lower for larger groups, whose recovery requires the system to settle more same-sentence relations correctly. The paper highlights the improvements at sizes 4 and 5, reporting a 24% increase in accuracy for groups of size 4 and an 8% increase for groups of size 5. These are gains in recovering complete groups at those sizes as reported by the authors. They refer to exact sentence membership, a different outcome from the document averages for pairwise precision, recall and F-score.

The precision effect has a particular interpretation in generation. When two suitable entries are kept separate, their sentences can still state both facts. The text may repeat a player's name or miss an opportunity to express a useful comparison. Inserting an unsuitable fact into a group can invite the sentence writer to give it a relationship to its neighbors that the facts do not warrant. That possibility leads the authors to put more weight on precision in this application. Their evaluation locates the risk in the assignment of entries, before a word or a syntactic construction has been chosen.

What the ablations show

The paper reports no component-removal ablations. Its analyses consist of a comparison with greedy clustering using the same classifier scores, a breakdown of pair performance into precision and recall, and an examination of exact group recovery by size.

What the shared classifier comparison isolates

Giving both systems the same pair evidence holds an important input to inference fixed. The higher precision of the integer program can therefore be associated with what the inference procedures do with that evidence. Clustering can act on a strong match between two candidate groups, even though the entire merged cluster implies further same-sentence relationships. The program gives each of those implied relationships a score, and it can reconsider all the assignments together under its constraints. The comparison provides evidence for the value of this combination of design choices in the football corpus.

Several changes are bundled into the comparison. The integer program uses a summed objective over both positive and negative assignments. It also has a document-level bound on positive pairs and a bound on the partners available to each entry. The clustering procedure uses a rule for which groups to merge and a stopping point based on the expected number of sentences. Its merges already produce a consistent partition. Accordingly, the comparison cannot give the transitivity constraints their own share of the improvement. Those constraints make the integer program's pair decisions interpretable as groups, and the differences in search, scoring and bounds all contribute to the comparison being measured.

One way to see the scope of the evidence is to consider a partition that the clustering approach could reach via a different order of merges. The baseline's output reflects the order dictated by the available local scores. The integer program evaluates complete arrangements by their objective value, subject to feasibility. Where the systems disagree, the experiment establishes an aggregate benefit of changing how the final arrangement is selected. It does not record how frequently the optimum differed because of the pair budget, how often a group was affected by the entry-type limit or how often the difference arose from weak links inside an otherwise attractive merge.

The paper describes conjunctive features as a way to express overlap on multiple attributes. Its results apply to a classifier trained with those features. A comparison with a classifier limited to individual attributes is absent, as is a comparison of different ways of choosing the shared attributes. The feature example explains what evidence a conjunction makes available. Understanding its measured contribution would require holding the inference procedure fixed and changing the classifier representation, a comparison outside these experiments.

What the error breakdown adds

Looking separately at precision and recall shows that the principal benefit was a reduction in erroneous positive assignments relative to the number of pairs the system predicted together. The methods achieve similar mean recall, and the paper reports a statistically significant difference only for precision. So the experiment supports a specific account of the higher F-score. The integer program was more reliable about the connections it proposed. The slight numerical advantage for clustering on recall describes a different aspect of its output, the share of valid connections recovered regardless of how many invalid ones accompanied them.

The size analysis moves from the relation between two entries to the consequences for a complete sentence. A reference group of several entries can be split, or it can have an extra member added. In either event, some pair assignments may remain right. By requiring the entire group to be correct, the analysis shows that the advantage extends beyond assembling some good pairs inside imperfect sentences. The gains the authors call out for sizes 4 and 5 appear in the very setting where a few incompatible pair decisions can disrupt the recovery of a larger group.

This pattern is compatible with the rationale for global inference, since a larger group ties together more pair judgments. The size plot alone cannot show which mechanism is responsible. For instance, discouraging groups that exceed the size bound and using all cross-group pair scores can each affect the recovery of a larger reference group. The paper reports the combined outcome across test documents. It supplies neither separate runs with each bound disabled nor counts of which constraints were decisive on the successful cases.

The distribution of document scores adds a further distinction. The integer program has lower reported standard deviations across documents for all the pair metrics, alongside a much higher mean on precision and F-score. That describes how the systems behaved on this collection of summaries. The high scores attainable by both methods show that there were documents in the test set where greedy clustering could also do well. The comparative advantage concerns performance across the evaluation, including reports where a sequence of locally attractive merges produced a poor final grouping.

Limitations

Limits identified by the authors

The procedure separates the learning of pair preferences from the selection of a valid partition. The classifier learns using examples of individual entry pairs. Partition constraints enter when the integer program chooses an assignment. The authors regard this separation as helpful with sparse training data, drawing attention to their training corpus of 300 documents. They also identify a cost. The classifier learns without direct access to the effects its scores will have once a decision is embedded in a complete grouping. The authors propose integrating learning with inference so that global constraints could influence fitting.

Alignment is another limitation acknowledged in the paper. The supervision comes from automatically matching report tokens with database attributes. The authors describe that procedure as relatively accurate while recognizing that its assignments contain noise. Since a pair gets its label from the sentence assignments of both entries, a mistaken link can affect many pair labels in a report. It can also change the expected membership of a group used to calculate partition accuracy. The experiments quantify agreement with the partitions obtained by alignment and give no measurement against an independently checked set of sentence assignments.

The authors put content selection and sentence realization outside the experiment. Selection determines which records are worth covering, and realization determines the syntax and words used to express a group. They suggest that feedback from other components or from knowledge sources describing discourse relations could be incorporated as constraints. That is a possible extension of the formulation. The reported evaluation uses the available entry selection and tests semantic grouping on its own. Discourse analysis

Computational cost is also explicit. The authors describe a large search space and note the general difficulty of solving integer linear programs. Their timing gives an indication of practical cost on reports of the size used in the study. The paper offers no scaling curve across document sizes and no timing comparison with the greedy baseline. It therefore leaves the cost of exact optimization for much larger inputs unresolved. Increasing the inventory of entries would expand the set of pair decisions and the set of relations whose transitivity has to be enforced.

Limits visible in the experimental design

The football data establishes feasibility in a domain where entries have recurring types and share attributes amenable to equality comparisons. The choice of player, quarter, action, outcome and yardage depends on that structure. The paper's proposed applicability to other representations is plausible at the level of the partitioning formulation. A new domain would still need meaningful comparison features, aligned examples and a way to estimate suitable limits from them. There is no cross-domain result in the evaluation, so it cannot establish how much of the overall procedure would carry over without additional work.

Grouping as a partition imposes a strong assumption about the information being allocated. Every selected entry has one sentence group. In real writing a fact can be mentioned again or spread across sentence boundaries, and some descriptions may cover only part of a database record. Such patterns fall outside the tested representation. The assumption simplifies the membership problem substantially and allows transitivity to determine the groups. It also means that the results apply to the grouping task defined over whole entries with a single assignment for each.

Exact value overlap is a limited view of why facts belong together. Related facts can have different outcomes or yardage values and be grouped precisely because a writer wants to compare those differences. The classifier can still see agreement on other attributes and can learn from the observed groupings. Its input features offer indirect evidence about the relationship. There is no feature in the description that explicitly encodes what rhetorical relation the writer intends or whether combining the facts would demand a construction the realizer can produce.

The corpus-derived bounds are estimates of typical behavior. If a report genuinely calls for an unusually large group or more positive pairs than its budget permits, that grouping is infeasible even when the pair scores favor it. A hard bound can also protect against overaggregation when the features offer strong superficial similarities. The evaluation reports the net effect of the whole system, without showing the frequency of either situation. Its evidence on the individual bounds is consequently limited to the rationale for their design, their settings and the joint results.

There are details that matter for reconstructing the experiment closely. The description of the baseline calls the initial clusters sentences, while the grouping task defines its input items as database entries. Beginning with singleton entries is the natural interpretation of agglomerative clustering for this input, but the wording leaves the initialization ambiguous. The derivation of the empirical bounds also gives the broad averaging procedure without specifying every choice involved in handling document sizes with little development data. These gaps limit how precisely a reader can reconstruct the comparison from the methodological description alone.

Finally, the reference represents the grouping chosen in an existing report. Several arrangements of the same facts could each lead to a readable account. The metrics reward agreement with the observed arrangement and penalize departures even where those departures might be suitable for writing a different report. Readers were not asked to rate generated sentences for coherence, fluency or fidelity. The reported improvements establish better recovery of reference groupings in this setup, while the motivation about readability and the risk of misleading implications concerns what could happen when those groupings are realized as text.

What came after

The later works that cite the paper span generation, reference resolution, compression and summarization. Their stated topics show how the paper sits alongside a broader problem of coordinating decisions over structured input. They also give different meanings to the units being coordinated. In the football study those units are database entries, and the decision is whether to describe them in the same sentence. The later titles identify the tasks and methods below. The citation relationships alone leave the extent of direct reuse of the football formulation open.

Neural Text Generation from Structured Data with Application to the Biography Domain moves the structured-data generation question into biography writing. The connection is the need to turn a collection of recorded facts into readable prose. In the football study, the authors isolate sentence membership so they can train and measure that decision directly. The biography work's stated scope is the generation of text from structured input. This places the citation in a line of work where organizing facts is part of a larger generation problem, even when sentence partitioning is not specified as a separate operation.

Step-by-Step: Separating Planning from Realization in Neural Data-to-Text Generation makes the distinction between a plan and its verbal expression explicit. That distinction connects to the earlier decision to separate semantic grouping from sentence structuring. Barzilay and Lapata's partition supplies one kind of plan by assigning entries to common sentences. The later title identifies a separation between planning and realization for data-to-text generation more broadly. It is the shared architectural question that links them most clearly. What should be decided about the arrangement of the information before the system decides how to phrase it?

Joint Determination of Anaphoricity and Coreference Resolution using Integer Programming applies integer programming to decisions about references in text. Anaphoricity concerns whether an expression refers back, and coreference concerns which expressions refer to the same entity. In their conclusion, Barzilay and Lapata had identified the partitioning of items into equivalence classes as a reason their approach might be relevant to coreference. The later work's stated joint treatment gives a concrete point of contact. The decisions about references can depend on one another, much as same-sentence decisions do in aggregation. The linked task concerns groups of mentions understood as sharing a referent, with anaphoricity as an additional decision. Coreference resolution

Discourse Constraints for Document Compression brings constraints at the discourse level to the problem of shortening a document. The football study also discusses controlling compression, in its case through the number of positive pair assignments allowed when organizing selected facts. The connection is the use of information beyond a single local decision to guide a more concise result. The later work's stated emphasis on discourse gives that information a different source. It concerns the organization of an existing text, where choices made in one place can matter to the resulting document. Text summarization

Concept-Map-Based Multi-Document Summarization using Concept Coreference Resolution and Global Importance Optimization names both a way of identifying shared concepts and a global optimization over importance. Its output is a concept map for summarizing material from multiple documents. The connection to aggregation lies in the distinction between identifying relationships among pieces of information and deciding how to organize those pieces at the scale of an output. In the football study, the evidence comes from attribute matches and the global decision assigns entries to sentence groups. In the concept-map work, the stated objects of coreference and importance are concepts, and the optimization serves a summary representation with a different structure.

Cite

Cite as Regina Barzilay and Mirella Lapata. 2006. Aggregation via Set Partitioning for Natural Language Generation. Proceedings of the Human Language Technology Conference of the NAACL, Main Conference.

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

@inproceedings{barzilay2006aggregation,
  title = {{Aggregation via Set Partitioning for Natural Language Generation}},
  author = {Regina Barzilay and Mirella Lapata},
  booktitle = {Proceedings of the Human Language Technology Conference of the NAACL, Main Conference},
  year = {2006},
  doi = {10.3115/1220835.1220881},
  url = {https://doi.org/10.3115/1220835.1220881}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/barzilay-2006-aggregation-set-partitioning-natural-language/