Elamur Research

Automatically Generating Wikipedia Articles: A Structure-Aware Approach

Paper · 2009 · Christina Sauper and Regina Barzilay

Summary

A search for an unfamiliar disease might turn up a useful description of its symptoms, a separate discussion of diagnosis, and several pages that repeat each other. An encyclopedia article has to bring those pieces together so that a reader can find the important information in one place. Sauper and Barzilay ask whether the organization of existing Wikipedia articles can guide that work. Their system learns which sections typically appear in articles from a given domain and in what order. It then uses that outline to find and arrange web passages for a new subject.

The outline guides both the search and the choice of material. To fill a section on diagnosis, for example, the system searches for the subject’s name together with the section heading. It scores the passages it finds using criteria learned for that section. The final choice is made across the entire article. If the best-ranked passages for different sections substantially repeat each other, the system can choose an alternative for one of them. The authors build this decision into training, so the criteria for each section are learned under the same constraints that will apply when the system assembles a new article.

The evaluation covers American Film Actors and Diseases. The authors set aside Wikipedia articles as references and exclude Wikipedia from the web search used to generate the test articles. The full system records ROUGE-1 F-scores of 0.41 for American Film Actors and 0.37 for Diseases. These scores measure a balance between how much vocabulary the generated article shares with the reference and how much of the reference vocabulary it recovers. The full system leads the practical baselines on this measure in both domains, including a version that uses the same outline but selects each section independently. Different systems lead on precision in the different domains, so the clearest advantage is in the balance of overlap and coverage.

The authors also observe what happens when generated articles are added to Wikipedia. Editors work on all 15 of the disease articles examined, and 10 are promoted from stubs to regular entries. Most recorded changes concern links, formatting, or grammar, although editors also remove some material they consider irrelevant. This is an observation of selected submissions under ordinary editing conditions. The controlled evidence comes from comparison with held-out articles, where the system’s strongest results come from giving each section a purpose and making the passages compete for a place in the article as a whole.

Deep dive: Automatically Generating Wikipedia Articles: A Structure-Aware Approach

A system learns the section structure of Wikipedia articles and uses it to select web passages for new overviews of actors and diseases. · about 35 minutes to read

The problem and its context

An overview has to find material for each part

An encyclopedia entry addresses several questions about the same subject. A reader who opens a disease article may want to know what the condition looks like, how it is diagnosed, what causes it, and what treatment is available. These questions are related, and a source may answer more than one of them in the same paragraph. An editor still has to decide where each passage belongs and whether the article as a whole covers the subject. That is the difficulty Sauper and Barzilay take up. The system starts with a title and has to find the material that makes the title into a useful overview.

The authors assume that the web contains relevant information for the requested subject. They also expect that information to be dispersed and mixed with material that would be unsuitable for the article. Finding a good source page therefore addresses only part of the task. The page may cover the subject unevenly, lead with background that applies to many subjects, or repeat a description found elsewhere. Even when each paragraph is readable in its original setting, bringing paragraphs from different sources together creates a further editorial decision about what the combination tells the reader.

The length of the intended output changes how important these decisions are. A short summary can concentrate on the most prominent facts. A multi-paragraph overview is expected to give space to several aspects of its subject. If the system extracts several strong passages about symptoms, each may look appropriate in isolation while the resulting disease entry still has little to say about diagnosis. Conversely, an excerpt with less prominent wording can contribute important information precisely because it covers an aspect missing from the rest of the draft.

This makes the outline part of the search strategy. An outline that calls for a diagnosis section gives the system a reason to look explicitly for diagnostic material. If the system searches only for the subject’s name, all the intended aspects have to compete for attention within the same result pool. The more common aspect can dominate before a passage selector ever gets to see a candidate for another one. The paper treats the article’s intended coverage as something to specify before collecting its text.

Where earlier approaches fit

The authors place the task between two traditions in text summarization and text generation. In their account, traditional concept-to-text systems rely on a content planner that can give detailed instructions about which material to express and how to organize it. Text-to-text systems begin with written material and can select passages on the basis of salience, the evidence that some information is especially important in the input. That gives the latter approach a degree of portability across domains. The paper points to coverage and coherence as difficulties when it is used to assemble a longer document.

Work on multiple documents offers a starting point for the extraction task. As the authors characterize it, one common approach selects material and then combines it with an eye to removing repetition. That division works naturally when the immediate problem is to avoid saying the same thing twice. An outline adds another requirement. If two passages compete because they repeat one another, removing one of them can leave an intended section without text. The system has to consider which alternative passages are available for both sections before it can choose where to make the substitution. The paper discusses this background in connection with Information Fusion in the Context of Multi-Document Summarization, multi-document summarization by sentence extraction, and centroid-based summarization of multiple documents.

The paper also describes work on domain-specific writing tasks, including biography production and answers to requests for definitions. The examples span different levels of detail. A coarse biography system can learn to recognize text that sounds like biographical material. A finer approach can distinguish the recurring kinds of facts a biography might include, such as occupation or marital status. Recognizing the general kind of text helps filter noise. Identifying its particular contribution makes it possible to give different kinds of information a place in the same article. The authors discuss manually specified domain templates as one way earlier work supplied those distinctions.

Sauper and Barzilay locate their own template at the level of article sections. A label such as Career defines the subject matter of a section while leaving considerable freedom over the facts it contains. The system does not need to start with a pre-defined set of biographical attributes or a representation of all the events in an actor’s life. It needs examples whose headings suggest which kinds of material human writers routinely give space to. The plan is broad enough to guide retrieval and specific enough to prevent every passage from being judged against the same general notion of relevance.

The authors also connect their work to studies of how recurring topics can be detected in domain texts. The underlying idea is that passages about similar matters tend to have related word distributions. In this application, existing section boundaries make it possible to compare headings from articles instead of first having to discover the boundaries in unmarked prose. The paper situates that choice alongside work on topical segmentation and Catching the Drift.

Wikipedia thus has a different role here from the one it has in the work the authors discuss on extracting information, inducing ontologies, and acquiring resources. Its articles supply examples of where human writers put topical boundaries and which headings they tend to use. The structure learned from those examples can then direct a search for material about a new title. This division between the source of the outline and the source of the prose is central to the task. It lets the system use established editorial patterns even when it must assemble the actual article from elsewhere on the web.

The method, step by step

From an article title to an article plan

The procedure has a domain-level part and a title-level part. At the domain level, the system reads the headings of existing articles, groups similar headings, keeps the recurring groups, and turns them into a common outline. At the title level, it makes a separate search for each heading, ranks the passages returned for that heading, and chooses passages that can appear together. The same selection procedure is run while learning and when producing a new article. Training supplies the original sections as examples of what the system should learn to choose.

An actor article gives a concrete picture of the output. The outline includes Biography, Early Life, Career, and Personal Life. The words in those headings determine what the system searches for and which learned preferences it applies to the passages it finds. They also decide the order in which the chosen material appears. Every new actor article gets the same set of jobs for its passages, even though the search results and the passage chosen for each job can vary considerably.

Learning an article outline and filling its sections

The steps in order.

Learning an article outline and filling its sectionsStep 1: Group headings from existing articles1. Group headings from existing articlesStep 2: Keep and order recurring topics2. Keep and order recurring topicsStep 3: Search using the title and each topic3. Search using the title and each topicStep 4: Add original sections to training candidate pools4. Add original sections to training candidate poolsStep 5: Rank passages separately for each topic5. Rank passages separately for each topicStep 6: Select compatible passages across the article6. Select compatible passages across the articleStep 7: Update topic weights during training7. Update topic weights during trainingStep 8: Assemble passages in template order for new titles8. Assemble passages in template order for new titles

Learn the outline from Wikipedia headings

The training corpus contains articles from one domain. Each article has a title and a set of sections marked by headings. The number of sections can vary across articles. The system pools the headings across the corpus so that it can learn recurring categories from the collection. Treating every distinct heading as its own topic would fragment that evidence. Clustering allows headings with related wording to support a shared category.

The authors use repeated bisection, a clustering procedure that creates groups by successively splitting them. They compare headings with cosine similarity on word vectors weighted by TF-IDF. A vector represents a heading by the weights of its words. Term frequency reflects how often a word occurs in the text being represented, and inverse document frequency reduces the influence of words that are common across the collection. Cosine similarity compares the directions of the vectors. Headings whose weighted vocabulary points in similar directions are more natural candidates to group together.

A group can still contain headings that are too loosely related to support a clear section topic. The authors discard clusters whose internal similarity falls below 0.5. They treat those clusters as miscellaneous groupings, with too little evidence for a unified heading. A large cluster that survives this filter gives the system repeated evidence that writers in the domain organize material under a recognizable topic.

The size of the outline is determined from the average number of sections in the training articles. The authors use that number, denoted by k, to choose how many of the largest clusters to retain. The most frequent heading in each retained cluster becomes its label. This gives the selected topic a readable heading and supplies the words to use as part of its search query. The choice of label therefore affects both presentation and retrieval.

The order of topics comes from their relative positions in the training articles. The majority-ordering procedure looks at which of two topics precedes the other in the examples and finds a single order that agrees with as many observed pairwise relationships as possible. The resulting order describes a typical progression across articles in the domain. Individual authors can arrange their sections differently, and the algorithm can use their partial agreements even when their full tables of contents differ.

These operations produce an ordered set of topics for the domain. The paper’s notation uses dᵢ for the training article indexed by i and n for the number of training articles. It uses hᵢⱼ for a heading in an article and sᵢⱼ for the section text. When the paper turns to training the passage selector, j identifies a template topic and sᵢⱼ denotes the original section that supplies the target for that topic in article dᵢ. The template topics are written tⱼ. This distinction matters because a heading supplies evidence for the outline, whereas the section body supplies the example of suitable content.

Search for passages with a particular job

For each title and each template topic, the system forms a query using the two together. For a diagnosis section about 3-M Syndrome, the title identifies the subject and the topic name narrows the search to diagnosis. The authors also experimented with drawing query words from representative section bodies. They report that the combination of title and topic worked best among the formulations they tried.

The system submits each query to Yahoo! and retrieves the first ten result pages for that topic. It cuts those pages into candidate excerpts at standard boundaries, such as HTML paragraph tags. The reported average is 6 excerpts per retrieved page. The unit available to the selector is one of these chunks of web text. It can contain several sentences and can combine a useful statement with material that makes sense mainly in the context of its original page.

The number of candidates can vary by topic and title. The paper uses r as the upper index of a list of candidates, with the appropriate list length understood wherever r appears. In the description of decoding for a particular article, eⱼₗ identifies the candidate in position l for topic tⱼ. When the notation also needs to identify the training article, the same candidate is written eᵢⱼₗ. Retrieval creates separate lists, so a topic with poor search results presents a different selection problem from one with several usable passages.

The 3-M Syndrome example shows why separate queries can be helpful and why they need a joint selector. The displayed article fragment has sections on Diagnosis, Causes, Symptoms, and Treatment. The material assigned to Diagnosis discusses prenatal testing, while the treatment passage includes genetic counseling and supportive care. The causes and symptoms passages also touch on related genetic concepts. This reflects the nature of the subject. A passage can be relevant to more than one heading, and overlapping material can survive the search for several different sections. The optimization has to decide which occurrences can appear together in the final selection.

Give each topic its own ranking

The system first judges each candidate within its own topic. It represents the passage by a feature vector, a list of measurements about its wording, form, and relationship to other passages. Each topic has a corresponding weight vector that determines the influence of those measurements. The authors use the following scoring rule.

scoreⱼ(eⱼₗ) = φ(eⱼₗ) · wⱼ

Here eⱼₗ is a candidate for topic tⱼ, j identifies the topic, and l identifies the candidate’s position in that topic’s list. The function φ turns the candidate into a feature vector. The vector wⱼ holds the weights for topic j. The centered dot is the dot product, which multiplies each feature value by its corresponding weight and adds the products. The result, scoreⱼ(eⱼₗ), is the candidate’s score for topic j.

The same set of measurements can have different consequences in different topics because the weights depend on the topic. Dates, for instance, are available as a feature whenever the system scores a candidate. The system can learn to use that measurement differently for an actor’s career and another section. The paper specifies the available measurements and the training rule. It gives no topic-specific interpretation of a learned date weight, so the example illustrates what separate weights permit.

Several features describe vocabulary. The system counts occurrences of individual words and of adjacent word pairs. The latter are bigrams, a kind of n-gram. It records a word’s first position in a passage and uses indicators for the word and the word pair that start the paper. These measurements give the ranker evidence about both what the passage contains and how it begins. The feature list also includes the number of sentences, words, questions, and exclamations, alongside counts of title mentions, dates, proper nouns, pronouns, and numbers. Such signals can help the ranker distinguish a useful passage from text that happens to contain appropriate search terms.

A feature called SIMS supplies evidence from the other candidates for the same topic. For a passage, it counts candidates in that topic’s list whose cosine similarity to it is greater than 0.5. The authors’ intuition is that material echoed by other search results can be more likely to be relevant or accurate. The count registers recurrence in the candidate pool. Several versions of similar wording can raise it even when the underlying accounts derive from the same material.

The role of repetition changes when the system moves from ranking passages to assembling an article. Within a topic, repeated material provides a signal the ranker can use when assessing a candidate. Across topics, two very similar selections would devote space to the same material. The paper handles the first situation with a feature that can receive a learned weight and the second with a hard constraint on which passages can appear together.

After scoring, the system sorts each list from the highest score to the lowest. From this point in the selection procedure, the index l is the candidate’s rank. The global decision uses these positions. A topic that happens to produce very large score values therefore has no automatic advantage over a topic whose ranker uses a smaller range. The price of using rank is that the solver sees the difference in position without seeing the size of the original score gap.

Choose a compatible set across the article

The authors formulate passage selection as integer linear programming. The solver searches over selection variables that take integer values, using a linear objective and linear constraints. Each variable here records whether a particular passage is included.

xⱼₗ ∈ {0, 1}

The symbol xⱼₗ denotes the selection variable for eⱼₗ, the passage at rank l in topic j. The membership sign ∈ means the variable takes one of the values inside the braces. The value 1 means the passage is selected, and 0 means it is left out. A proposed article can therefore be specified by assigning values to the variables for all the candidate lists.

The objective favors sets of passages with good ranks across the template. The paper writes it as a minimization over topics and candidates.

min ∑ⱼ₌₁ᵏ ∑ₗ₌₁ʳ l · xⱼₗ

The outer summation, ∑ⱼ₌₁ᵏ, passes through the k template topics, starting at j equal to 1. The inner summation, ∑ₗ₌₁ʳ, passes through the candidates for the current topic, with r representing that list’s length. The multiplier l is the candidate’s rank. A selected passage contributes its rank to the sum because xⱼₗ is 1, and an unselected passage contributes 0. The instruction min directs the solver to seek the smallest total among selections that satisfy the constraints.

This objective lets the solver trade a lower-ranked passage in one topic for a better choice elsewhere. Suppose the leading candidates under Diagnosis and Symptoms closely resemble each other. If there is a good alternative under Symptoms, the solver can keep the diagnosis passage and use the alternative. If there is a better-ranked replacement under Diagnosis, it can make the opposite choice. The complete lists matter because the quality of a replacement depends on what else is available and which other passages it can accompany.

The first constraint requires the system to fill each topic with exactly one candidate.

∑ₗ₌₁ʳ xⱼₗ = 1    for every j ∈ {1 … k}

Here the summation adds the selection variables xⱼₗ over the r candidates for topic j, starting with l equal to 1. The right-hand value 1 fixes the number of selected passages for that topic. The phrase after the equation applies the constraint to every topic index j from 1 through k. It gives the article structural coverage by reserving a place for each topic in the outline.

The other constraint forbids pairs of passages that are too similar across topics. Its coefficients are determined before the solver makes its selections.

(xⱼₗ + xⱼ′ₗ′) · sim(eⱼₗ, eⱼ′ₗ′) ≤ 1

The indices j and j′ identify the topics being compared. The indices l and l′ locate the candidates within those topics. The terms eⱼₗ and eⱼ′ₗ′ are the passages, and xⱼₗ and xⱼ′ₗ′ are their selection variables. The function sim returns the cosine similarity of the passages. The centered dot multiplies this fixed similarity by the sum of the selection variables. The sign ≤ requires the product to be at most 1.

When the similarity is greater than 0.5, selecting both would exceed the permitted bound. Each candidate can still be selected on its own. At a similarity of 0.5 or below, the pair can appear together as far as this constraint is concerned. The constraint uses similarity to decide whether the pair is eligible, while the rank objective decides which eligible set the solver prefers. The threshold supplies a simple rule for controlling repetition throughout the draft.

The authors note that solving integer linear programs is NP-hard in general. They use lp solve, a mixed integer programming solver that implements branch and bound. In broad terms, that procedure considers branches of the possible assignments and uses bounds to discard branches that cannot improve on an available solution. The article length and candidate pools define the particular problem instances in the study. The authors also mention approximate optimization as an option for applying similar formulations at a larger scale.

Learn from the articles the system is trying to match

Training starts with the same search procedure used to collect candidates for a new title. For each training title and topic, the authors then add the corresponding human-authored section to the list. This reference passage is the gold excerpt. By putting it in the candidate pool, the authors give the learner a desired choice even if the web search has found nothing quite like it. They need a reference section for the topic, and they can use it without annotating every pair of candidate passages or specifying a complete target ranking.

The learning procedure adapts the ranking perceptron. A perceptron updates its weights when its current decision differs from the training target. In this application, the decision comes from the article-wide optimizer. Each topic begins with a zero weight vector, so initially the score gives equal preference to all passages. As the system processes training articles, its choices and the reference sections provide evidence about which feature weights to change.

For a training article, every topic list is first ranked using its current weights. The solver then selects a compatible set of passages across those ranked lists. Only after the article-level decision does the algorithm inspect the selected passage for each topic and compare it with the original section. The authors specify a similarity tolerance, so a passage sufficiently close to the reference can count as a satisfactory selection even if it is a different item in the candidate pool.

sim(xⱼ, sᵢⱼ) < 0.8

In this training notation xⱼ denotes the selected passage for topic j, and sᵢⱼ is the reference section for article i and topic j. This use of xⱼ refers to the passage itself. The indexed variables xⱼₗ in the optimization refer to its possible selection indicators. The function sim computes cosine similarity, and < 0.8 means the update is triggered only if the selected passage falls strictly below the training similarity threshold. This comparison concerns agreement with the reference section. The decoding threshold of 0.5 serves a separate purpose, controlling overlap between passages assigned to different sections.

For a topic whose selected passage triggers the update, the learner adds the features of the original section and subtracts the features of the selection. Written with xⱼ for the selected passage, as in the test immediately above, the update is as follows.

wⱼ ← wⱼ + φ(sᵢⱼ) − φ(xⱼ)

The vector wⱼ on the right is the current set of weights for topic j. The arrow assigns the updated weights to wⱼ on the left. The function φ supplies the features of the gold section sᵢⱼ and of the passage xⱼ chosen for that topic. Addition favors the feature pattern of the reference, and subtraction adjusts the weights away from the feature pattern of the current selection. The pseudocode’s subtraction term displays xᵢ. Its preceding condition and the prose identify the selected passage for the current topic as the item to subtract.

The source of the training signal is what makes this procedure joint. An excerpt can have the best local score and still be passed over because the complete article would repeat material. The topic’s update responds to the passage actually selected under that competition. Each topic keeps its own weights, but the choices that produce the updates depend on the rankings for all topics. The authors contrast this use of optimization during learning with uses of integer programming as a final step for decisions such as redundancy removal.

The algorithm passes over the training corpus until the weights converge or it reaches a maximum number of iterations. For a new title, it uses the learned weights to score the retrieved passages, runs the same article-wide optimization, and arranges the chosen passages in template order. The new candidate lists come from the web search alone. What the system carries from the training articles is the outline and the learned ranking criteria. The prose of the generated article comes from the chosen web passages.

Experiments and results

The test articles and the systems being compared

The evaluation draws from Wikipedia’s American Film Actors and Diseases categories. The American Film Actors corpus contains 2,150 articles, and the Diseases corpus contains 523. The authors randomly select 90% of each domain’s articles for training and use the remaining 10% for testing. Human-authored articles average four topics in both domains, with an average of 193 words per topic. When generating the test articles, the system excludes Wikipedia sources from search. The human-written article thus serves as the reference while the generated version must draw its passages from other webpages.

The Search baseline uses the requested title as its query and takes its material from the search engine’s top-ranked page. It extracts the first several paragraphs, up to the number of topics the full system would fill. If the page provides fewer, Search takes what is there. This is a credible baseline for an overview task because a well-ranked page can already contain a well-organized introduction to the subject. Following the paragraph sequence of a single source can also preserve some of that source’s continuity. Its performance is tied to what the first result covers and where that page puts the important information.

No Template uses a learned filter for relevant text from the domain. Positive examples come from across the topics in the domain corpus. The authors collect candidate negatives with title-only searches and use passages whose similarity to the original articles is very low. At test time, it again retrieves by title and uses the classifier’s relevance confidence to select the most promising non-redundant passages. This baseline can choose from several sources and screen out some duplication. The choices all compete under one general notion of relevance, so they can be concentrated on the same aspect of the subject.

Disjoint is closer to the full system. It uses the template and topic-specific ranking, including the ranking perceptron. The passage with the highest rank for each topic is chosen independently during training and at test time. The full system instead decodes the different lists together at both stages. This comparison asks what changes when the same topical organization is combined with article-wide selection and training.

The Oracle shows what reference-guided excerpt choice can recover. For each topic in the human-authored article, it selects the candidate with the greatest cosine similarity to that topic’s reference section. It can cover topics beyond the regular template when they are present in the reference, so it sometimes produces a longer article. The authors use the Oracle to characterize the potential of the candidate material when the desired content is known. Its access to the actual section text and its extra topic coverage give it conditions that differ from those of practical systems.

The number of passages and the number of sources give context for the comparison. In American Film Actors test outputs, the full system averages 4 excerpts from 3.4 sources, while Disjoint averages 4 excerpts from 2.1 sources. In Diseases, the full system averages 4 excerpts from 3.2 sources and Disjoint 4 excerpts from 3.0 sources. Thus the two systems produce the same average number of excerpts in each test domain, even though they assemble them from different combinations of sources.

Search averages 2.3 excerpts for American Film Actors and 3.1 for Diseases, from 1 source per article. The full system’s output therefore offers more excerpt positions on average than Search in either domain. No Template averages 4 excerpts in both domains, drawn from an average of 4.0 sources in American Film Actors and 2.5 in Diseases. The Oracle averages 4.3 excerpts from 4.3 sources for American Film Actors and 5.8 excerpts from 3.9 sources for Diseases. Those figures help explain why comparisons against the Oracle involve more than a change in which passage wins each slot.

What ROUGE measures

The automatic evaluation compares each generated article with its human-authored counterpart. The paper uses ROUGE-1, which measures overlap in individual words with a reference. Recall describes how much of the reference is recovered in the generated text. Precision describes how much of the generated text overlaps the reference. The F-score combines recall and precision, so the reported balance depends on both. The paper computes these measures with the ROUGE toolkit.

The distinction matters in a study of comprehensive articles. A short output can contain a high proportion of matching words while reaching only a small portion of the reference. A longer output can recover more of the reference’s vocabulary while also including more words that receive no credit. Reporting both components makes it possible to see which pattern is associated with a particular system. It also gives a way to interpret the F-score when output length and the number of excerpts differ.

The authors use the Wilcoxon Signed Rank Test to assess statistical significance. The paired setup compares the systems on the same underlying test articles. The significance annotations in the results table apply to F-score comparisons with the full system. The paper marks results significant at p ≤ 0.05 and, separately, reports a weaker threshold of p ≤ 0.10. The star attached to the full system in each chart identifies the system proposed in the paper.

American Film Actors

System comparison on American Film Actors test articles by ROUGE-1 F-score

The full system leads the practical baselines, with the reference-guided Oracle higher still.

System comparison on American Film Actors test articles by ROUGE-1 F-scoreSearch: 0.13Search0.13No Template: 0.39No Template0.39Disjoint: 0.36Disjoint0.36Full system (this paper): 0.41Full system (this paper)0.41Oracle: 0.54Oracle0.54
The numbers
System or settingROUGE-1 F-score
Search0.13
No Template0.39
Disjoint0.36
Full system (this paper)0.41
Oracle0.54

On the American Film Actors test articles, the full system reaches a ROUGE-1 F-score of 0.41. No Template is the closest practical baseline at 0.39, followed by Disjoint at 0.36 and Search at 0.13. The full system’s F-score differs from each of those results at p ≤ 0.05. The Oracle’s F-score of 0.54 is also marked as significantly different at that threshold.

The component scores explain why No Template and Disjoint rank differently depending on what is measured. No Template has recall of 0.33 and precision of 0.50 on the actor test articles. Disjoint reaches recall of 0.45 and precision of 0.32. The template with independent section choices recovers more of the reference’s vocabulary in this comparison, while the domain-wide filter yields a larger share of overlapping words in its own output. The full system reaches recall of 0.46 and precision of 0.40, with its stronger precision relative to Disjoint accompanying a slightly higher recall.

Search records recall of 0.09 and precision of 0.37 on the actor test articles. It can therefore obtain a reasonable share of matching words within the passages it returns while covering little of what appears in the references. Its considerably lower recall is consistent with the authors’ concern about taking a small run of opening paragraphs from a single source. The Oracle reaches recall of 0.48 and precision of 0.64. The reference-guided selection shows that the retrieved material gives access to passages with closer wording than the automatic selector generally achieves.

Diseases

System comparison on Diseases test articles by ROUGE-1 F-score

The full system improves on independent selection and the title-only baselines, while the Oracle has the highest score.

System comparison on Diseases test articles by ROUGE-1 F-scoreSearch: 0.32Search0.32No Template: 0.28No Template0.28Disjoint: 0.35Disjoint0.35Full system (this paper): 0.37Full system (this paper)0.37Oracle: 0.44Oracle0.44
The numbers
System or settingROUGE-1 F-score
Search0.32
No Template0.28
Disjoint0.35
Full system (this paper)0.37
Oracle0.44

On the Diseases test articles, the full system records a ROUGE-1 F-score of 0.37. The practical baselines are Disjoint at 0.35, Search at 0.32, and No Template at 0.28. The comparisons with Disjoint and No Template are significant at p ≤ 0.05. The Search result is marked at p ≤ 0.10. The Oracle reaches 0.44, with its difference from the full system significant at p ≤ 0.05.

The full system gets recall of 0.36 and precision of 0.39 on the disease test articles. Disjoint gets recall of 0.33 and precision of 0.40. The precision ordering here differs from the actor results. The gain in the combined score accompanies higher recall, while independent selection retains the highest precision among the practical systems. Search has recall of 0.31 and precision of 0.37. No Template has recall of 0.32 and precision of 0.27, so its slightly higher recall than Search comes with substantially lower precision.

The disease Oracle records recall of 0.59 and precision of 0.37. Its lead on F-score comes with much higher recall than the full system, alongside a lower precision score. It also returns more excerpts on average and can follow extra topics in the reference. In this domain the Oracle comparison is particularly informative about how much reference material can be recovered when the selection has access to the article it is trying to match.

What Wikipedia editors changed

The authors also followed generated disease articles submitted to Wikipedia. They looked for subjects with stub entries and enough material on the web to support an article. The submissions included source citations with the extracted material. The analysis covers 15 articles, which the results describe as having been on Wikipedia for 5-11 months. A methodological footnote describes the reported selection as having at least a 6 month history at the time of writing, so the paper gives different accounts of the shortest observation period.

Editors made changes to all 15 articles, and all remained on Wikipedia during the reported observation. The authors report that 10 were promoted from stubs to regular entries. These are counts of observed editorial outcomes for the selected submissions, additional to the automatic comparison on the held-out articles.

The edit categories help show what kinds of work remained after the system assembled a draft. The authors count 36 edits adding links within Wikipedia, 25 formatting edits, and 20 grammar edits. They record 2 minor topic edits and 1 major topic change, with 85 edits in total. The discussion gives examples of material removed as irrelevant, including an entire section in one case and smaller pieces in others. Link and formatting work was common, and the topic changes show that some passages still needed an editor’s judgment about what belonged under the title.

The authors present this as an observation of what happened to the submitted articles. They reserved the public submissions for the full system and judged the automatic baselines in the held-out evaluation. The edit counts show the kinds of revisions volunteers made to this set of disease articles. The automatic results supply the actual comparisons among extraction strategies.

What the ablations show

Joint selection improves the template-based system

The closest controlled comparison is between Disjoint and the full system. Both start with an ordered template, search for passages for each topic, and use topic-specific rankings learned through the perceptron procedure. Disjoint takes the leading passage from each list. The full system includes cross-topic decisions during training and applies them again when it constructs test articles. With the broad design held in common, its advantage on F-score supports using article-wide decisions in this passage-selection setup.

On American Film Actors, Disjoint produces an F-score of 0.36 and the full system produces 0.41. On Diseases, the corresponding scores are 0.35 and 0.37. Both comparisons are significant at p ≤ 0.05. The full system’s average excerpt count is the same as Disjoint’s in each domain, so its gain in this comparison is associated with changes to the chosen material rather than additional excerpt slots.

The component scores show that joint selection alters the balance differently across domains. For actors, the full system improves on Disjoint in both recall and precision, with the clearer separation in precision. For diseases, the full system recovers more of the reference while Disjoint retains slightly higher precision. A design aimed at balancing the sections can therefore improve the combined measure through different patterns of overlap. The results are more specific than a claim that the full system uniformly improves precision.

This comparison changes both where the learning signal comes from and how test-time passages are chosen. The paper evaluates independent training with independent decoding against joint training with joint decoding. A system that trained independently and applied the article-wide solver only to test output would answer a narrower question about the value of optimization at prediction time. The reported experiments leave that contribution inseparable from the benefit of having the solver participate in training.

The template changes retrieval as well as coverage

No Template is the main comparison for asking whether general domain relevance is enough. Its classifier can favor plausible biographical or disease-related passages, and its selection procedure removes redundancy. The authors find that its drafts often give extensive attention to the same topic while leaving others underrepresented. Two passages can say different things about a career, for instance, and both pass a redundancy check. Their diversity in wording and detail still leaves a biography concentrated on career. Separate topic slots make coverage of other aspects an explicit requirement.

The score ordering is important here. On Diseases, Disjoint leads No Template on F-score, at 0.35 compared with 0.28. On American Film Actors, No Template reaches 0.39, ahead of Disjoint at 0.36. The actor template comparison looks more favorable if the question is reference coverage, where Disjoint has recall of 0.45 compared with 0.33 for No Template. The actor baseline has the higher precision. The full system leads both baselines on F-score in both domains. Taken together, these comparisons support the complete design more consistently than they support a universal F-score gain from adding an outline to independent selection.

The No Template comparison also changes the searches and the supervision given to the selector. The baseline uses title-only searches and learns a domain-level relevance decision. The template-based systems use title-and-topic queries and learn separate rankings. The experiments consequently examine a form of structure that reaches from retrieval through final assembly. They leave open how much of the observed gain would survive if all systems had to choose from the same candidate pool.

The baselines expose different bottlenecks

Search is useful for judging how far the task can be addressed by retrieving a good page and following its existing paragraph order. Its American Film Actors F-score of 0.13 is substantially below the full system’s 0.41. In Diseases, Search reaches 0.32 against the full system’s 0.37, with the comparison marked at the weaker significance threshold. The discussion attributes the variability to the reliance on which page ranks first and where that page places its principal material. Search can work well when those decisions line up with the overview task.

The Oracle exposes another part of the problem. It finds candidate passages with greater reference overlap than the full system obtains automatically, as indicated by its F-scores of 0.54 for American Film Actors and 0.44 for Diseases. Some of that advantage reflects knowledge of the target text. In cases with additional reference topics, some also reflects more opportunities to include material. The Oracle is best read as a measure of available reference-matching content under its broader conditions. The paper does not run a fixed-template Oracle comparison that would isolate the passage-ranking gap from the effect of those extra topics.

The authors also report that their simplest title-and-topic query worked best among query formulations they tried, but give no numerical breakdown of that comparison. The article-level results are likewise given for the chosen features and similarity thresholds, without separate experiments varying SIMS, turning the cross-topic constraint on and off at fixed weights, or changing the cluster filter. The paper’s most direct evidence concerns the full selection procedure and the named baselines. Its individual design choices are explained by their roles in the system, with their separate contributions left unresolved.

Limitations

Limits identified by the authors

The authors emphasize that American Film Actors and Diseases have fairly consistent section structures. Keeping frequent heading clusters is a plausible way to learn an outline when many writers divide material in similar ways. A category with much more structural variation can require a more flexible method. Different subjects may call for different sections, and sections that rarely occur across a corpus can still be important to particular articles. The paper points to more sophisticated statistical template induction as a direction for such categories.

The authors also suggest supplementing the outline with a hierarchical account of discourse. A flat sequence of headings says where subjects such as diagnosis and treatment usually occur. A richer representation could express relationships among parts of the text within or across those sections. The current system addresses coherence through topic fit, learned order, and a rule against highly similar passages. The proposed direction recognizes that these signals cover only some of the editorial decisions that make a longer text easy to follow.

The quality of the original sections matters in training because the learner adopts them as targets. The authors explicitly note that poor reference passages introduce noise. Wikipedia provides real examples of the article form, and an individual human-authored section can still be uneven or idiosyncratic. If the selected web passage is useful and its reference counterpart is weak, the update is nevertheless governed by their resemblance and the role of the original section as the training target.

The authors also qualify the live editing study. They needed stubs with enough web material to construct valid submissions, and they used disease articles from the full system for the public observation. They explain that Wikipedia is a live resource and that posting lower-quality baseline material would have been inappropriate. The study therefore provides evidence of reactions to selected examples under ordinary editing. Comparisons among generation methods belong to the separate automatic evaluation.

Limits visible in the evaluation

ROUGE-1 provides a reproducible measure of similarity to the human-written articles. Its scope is vocabulary overlap. A candidate can use many of the words in a reference while placing them in a different relationship, and a passage can express relevant information with different wording. The metric also gives little direct evidence about whether a sentence’s surrounding context survived extraction. The paper’s scores therefore speak most directly to reference overlap and its coverage, precision, and combined measures.

Actual topic coverage is also more demanding than filling the prescribed number of slots. The optimizer will allocate a passage to each topic whenever the constraints admit a solution. It relies on retrieval and ranking for that passage to address the topic well. Completion of a section in the assembly procedure and satisfaction of a reader’s information need are separate outcomes. The reported automatic evaluation compares whole articles with references, so it gives limited visibility into which individual sections are consistently satisfactory.

The authors’ similarity constraint addresses repetition at the level of wording. Its practical behavior follows from that choice. Closely related passages beneath the threshold can both appear, while passages using similar vocabulary can be excluded even if each contains some distinct information. The same issue arises with continuity. Paragraphs taken from different pages may rely on context that the original writer supplied elsewhere. The optimizer checks their ranks and pairwise similarity, and the evidence about resulting prose quality comes indirectly from overlap scores and the observed edits.

The role of sources also has limits. The system searches where it expects material to be relevant, ranks passages using textual features, and can favor wording that occurs repeatedly within a topic. None of the reported measurements independently checks the truth of each claim or establishes whether matching passages derive from independent accounts. In the editing study, source citations accompanied the material and editors could intervene. Those conditions make the observations useful for understanding draft revision, while leaving the accuracy of individual factual claims outside the measured outcomes.

The two datasets also bound the generalization claim. Held-out articles test transfer to new titles within American Film Actors and Diseases. They still share the broad editorial conventions from which the templates were learned. The paper gives no comparable outcome for a domain where headings are sparse, where writers routinely organize the same subject in incompatible ways, or where the web has much poorer material. The authors mention topical segmentation as a possible preliminary step when headings are unavailable. The evaluated system benefits from articles that mark their sections explicitly.

Finally, the requirement to fill the whole template raises a question about difficult search cases. A title may yield weak candidates for a required topic, or candidates across topics may be too similar to form a compatible set. The formulation describes the desired complete selection and the experiments report corpus-level results. They leave open how to proceed when a safe choice for one of the sections is absent. This follows from the paper’s starting assumption that the necessary information is available on the web. The study tests how well the system can organize usable results within that setting.

What came after

The later citing papers place the article-generation problem alongside several different writing tasks. Their titles identify the targets of those tasks and, in some cases, the proposed method. That supports a comparison of how each work frames the problem. Specific claims about shared components, direct experimental comparisons, or which results carried over would require more than the citation connection.

Learning to Simplify Sentences (2011) shifts the scale from assembling an article to revising a sentence. Its title identifies quasi-synchronous grammar and integer programming as central to the approach. The connection to Sauper and Barzilay is clearest in the optimization technique. In the Wikipedia system, an integer program chooses a compatible set of passages for the outline. In the later work, integer programming is applied to sentence simplification, a task whose output is constrained by how language within a sentence can be changed. The citation links applications of optimization to editorial decisions at substantially different scales. Learning to Simplify Sentences

Generating Wikipedia by Summarizing Long Sequences (2018) stays with Wikipedia generation and puts summarization of long inputs at the center of the task. Sauper and Barzilay divide the search and the candidate lists by the sections an article should contain. The later title frames the input in terms of long sequences whose material must be summarized into a Wikipedia article. The common challenge is how to recover and organize enough information for an encyclopedia entry. The distinction visible in the framing is whether the task is introduced through a plan for the output sections or through the amount of input the system has to condense. Generating Wikipedia by Summarizing Long Sequences

Assisting in Writing Wikipedia-like Articles From Scratch (2024) returns to the situation in which a writer starts without an article on the requested subject. The title describes the aim as writing assistance. That makes the relation to the earlier paper especially clear at the level of the intended document. A useful draft needs enough material about the subject and an organization that a reader can follow, and both papers frame Wikipedia-like writing as a task worth studying in its own right. Sauper and Barzilay also give a concrete example of what can happen after draft generation through their observation of volunteer editing. The later work’s title places the article-writing process itself at the center. Assisting in Writing Wikipedia-like Articles From Scratch

WikiVideo (2026) changes the kind of source material available for article generation. Its title specifies multiple videos as inputs. Where Sauper and Barzilay collect candidate passages from several webpages, WikiVideo starts with information distributed across videos and aims to produce an article. The relationship is the need to combine material from multiple sources into one readable document. With videos as inputs, the web system’s basic unit of extraction, a chunk of prose defined by page boundaries, can no longer be taken as the starting unit. The title establishes the change in source material without establishing how the later work handles section planning. WikiVideo

Across these connections, the question posed by Sauper and Barzilay is about deciding what deserves space in an overview. In their system, the answer is explicit enough to inspect. Each topic in an outline receives a place, the available passages are ranked against that topic, and choices are reconciled whenever they would give the reader very similar material. The experiments show how much that formulation can accomplish with familiar section structures and web passages, and where a change in inputs, writing task, or editorial expectations would call for a different formulation.

Cite

Cite as Christina Sauper and Regina Barzilay. 2009. Automatically Generating Wikipedia Articles: A Structure-Aware Approach. Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP.

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

@inproceedings{sauper2009automatically,
  title = {{Automatically Generating Wikipedia Articles: A Structure-Aware Approach}},
  author = {Christina Sauper and Regina Barzilay},
  booktitle = {Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP},
  year = {2009},
  url = {https://aclanthology.org/P09-1024/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/sauper-2009-automatically-generating-wikipedia-articles-structure/