---
title: "Incremental Text Structuring with Online Hierarchical Ranking"
description: "Incremental text structuring uses section and paragraph cues to place new sentences in existing articles and learns from the first wrong turn."
canonical: "https://research.elamur.ai/free/en/papers/chen-2007-incremental-text-structuring-online-hierarchical/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/chen-2007-incremental-text-structuring-online-hierarchical/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2007](https://md.research.elamur.ai/free/en/papers/2007/) / Incremental Text Structuring with Online Hierarchical Ranking

# Incremental Text Structuring with Online Hierarchical Ranking

Paper · 2007 · Erdong Chen, Benjamin Snyder and Regina Barzilay

**Authors:** Erdong Chen, [Benjamin Snyder](https://md.research.elamur.ai/free/en/authors/benjamin-snyder/) and [Regina Barzilay](https://md.research.elamur.ai/free/en/authors/regina-barzilay/) · **Year:** 2007 · **Venue:** Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**19** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2112853692) · [Cited by **4** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/chen-2007-incremental-text-structuring-online-hierarchical/cited-by/) · [Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL)](https://aclanthology.org/volumes/D07-1/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/D07-1009/)
- [PDF](https://aclanthology.org/D07-1009.pdf)
- [OpenAlex](https://openalex.org/W2112853692)

Citations: OpenAlex, 2026-10-14.

## Summary

When a new fact becomes available, an editor has to decide where it belongs in an article that already has an order. A sentence may read smoothly beside a particular passage and still interrupt the subject of the section that contains it. Chen, Snyder, and Barzilay study how to make this placement decision automatically. Their system receives an existing document and a sentence to add, then ranks the document’s paragraphs as possible destinations. The structure of the article gives it two kinds of evidence about the same decision. A section can be a good home for a topic, and a particular paragraph in that section can be a good home for the sentence.

The method scores each paragraph using signals from the paragraph and its enclosing section. These include similarities in wording, positions in the article, and cues about the times of the events described. During training, the system predicts a paragraph before using the recorded placement to correct its weights. The distinctive choice is where to make the correction. If the predicted paragraph is in the wrong section, the system adjusts the section weights. If it finds the correct section and misses the paragraph, it adjusts the paragraph weights. At prediction time, evidence from both levels contributes to the same ranking.

The authors test the method on actual edits to Wikipedia biographies. On the test set of 811 insertion examples, the hierarchical ranker reaches paragraph accuracy of 0.383. A ranker that uses the same features and prediction rule with a standard training update reaches 0.313. A system that selects a section and then ranks its paragraphs reaches 0.314. The hierarchical ranker also puts its answers closer to the recorded destination on average. Section accuracy is similar across the trained systems. The clearest advantage appears at the finer level, where a system has to choose a paragraph as well as a section.

A further experiment asks for the precise gap between sentences. A ranker that considers neighboring sentences throughout the document recovers 24% of recorded positions. Using the hierarchical paragraph prediction to narrow its search raises exact placement accuracy to 35%. Human judgments help put these results in context. The judges frequently chose different destinations from one another, and their paragraph selections matched the historical edits in 53% of cases on average. The benchmark thus measures recovery of choices made by actual editors, in a task where readers can reasonably propose different placements.

## Deep dive: Incremental Text Structuring with Online Hierarchical Ranking

Incremental text structuring uses section and paragraph cues to place new sentences in existing articles and learns from the first wrong turn. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### An update begins with an existing order

A document that people maintain over time already reflects decisions about what belongs together. An encyclopedia biography may introduce the person in an opening passage and divide the rest between stages or aspects of the person’s life. When a new detail arrives, its position determines which account the reader encounters it as part of. A fact about someone’s work may fit among events in a career even if names or dates from the same sentence also appear in the introduction. The placement task therefore involves the role of a passage in the article as well as the words immediately before and after the insertion.

Wikipedia gave the authors both a reason to study this problem and a way to measure it. An entry can be edited whenever contributors learn a relevant fact, and its revision history preserves earlier versions. The authors cite an average of over 3 million edits per month in 2006 for the English-language Wikipedia to illustrate the scale of the work. That figure concerns edits in general. Sentence insertion is a specific operation within that activity, alongside changes such as deleting or rewriting existing material.

The paper starts from a well-formed draft. The sentence to be added is already available, and the text of the draft supplies the positions the system can consider. The operation preserves the ordering of existing material. The immediate question is which paragraph should receive the sentence. Choosing its exact position inside that paragraph is a further decision, which the authors investigate separately.

This setup gives continuity a concrete meaning. An inserted sentence has to enter the line of thought at its immediate location, and it has to make sense within the larger span that the section organizes. The authors argue that attending only to adjacent sentences can overlook the second requirement. In a long article, the same person, event, or subject can be mentioned in passages serving different purposes. A good local match can therefore occur at a site where readers would encounter the fact under the wrong heading or amid the wrong stage of the account.

The paper illustrates the task with a biography of Shaukat Aziz. The proposed addition describes a professional distinction connected to his work as finance minister. The existing text already mentions that office in its introductory material, and the article also has separate Education and Career sections. Shared wording with the introduction supplies some evidence for placing the sentence there. The Career section provides a more specific organizational context, and the paragraph describing Aziz’s ministerial role provides a still narrower one. The example makes it possible to see why topic matching at several scales is relevant to a single placement.

#### What sentence ordering already offered

The authors treat sentence ordering as the closest established task. In the line of work they describe, the input sentences are arranged into a sequence, with the aim of producing a coherent text. Many of those approaches estimate how well sentences go together or which should precede which. Pairwise evidence of that kind can support a total order, meaning a sequence that assigns every sentence a position relative to the others. The paper takes from this research the observation that measurable patterns in language can give useful ordering evidence even when the system has only a limited analysis of meaning. One example is [Probabilistic Text Structuring](https://md.research.elamur.ai/free/en/papers/lapata-2003-probabilistic-text-structuring-experiments-sentence/).

Incremental insertion has access to information that a general ordering task has to recover. The paragraphs already exist, they occur in a particular sequence, and the sections already group them. These groupings tell the system that a paragraph belongs to a larger stretch of text with a shared purpose or subject. The new operation can use each of those choices as evidence while leaving the rest of the sequence undisturbed.

A local ordering method still has a natural job in this setting. Once the destination paragraph is chosen, its sentences give the system a manageable set of contexts to compare. A pair of neighbors can help answer whether the addition should come before a particular statement or after it. The authors’ concern is with giving those pairwise signals responsibility for the entire document. A signal designed to recognize continuity between nearby sentences may offer little information about why separate sections discuss the same person or use the same vocabulary.

The paper notes that Elsner and Charniak were investigating sentence insertion independently and at the same time, in a different setting. Its own account places the emphasis on edits to structured articles, where the input determines a fresh set of candidate paragraphs. The authors also draw feature ideas from a broader literature on coherence, including work concerned with both local and global evidence. [A Unified Local and Global Model for Discourse Coherence](https://md.research.elamur.ai/free/en/papers/elsner-2007-unified-local-global-model-discourse/)

#### Trees as descriptions of texts and decisions

A tree offers a way to represent spans of text that contain other spans. In this study, a section groups paragraphs, and the sections belong to the same document. The authors associate such tree representations with symbolic approaches to writing and with [discourse analysis](https://md.research.elamur.ai/free/en/concepts/discourse-analysis/). They describe a different tendency in the corpus-based ordering work they review, where the representation used to choose an order is typically a sequence. They also mention statistical research that induces discourse trees. Their use of a tree is more specific to the insertion task. The article already supplies sections and paragraphs, and the system uses those groupings to describe and compare destinations. [Sentence Level Discourse Parsing](https://md.research.elamur.ai/free/en/papers/soricut-2003-sentence-level-discourse-parsing-syntactic/)

The authors suggest that documents without explicit divisions could be processed with automatic segmentation to obtain a structure. They give speech transcripts as an example of text for which these divisions might have to be inferred. For the problem they evaluate, the hierarchy is part of the input. That choice makes it possible to study what the ranker does with document structure while treating the discovery of that structure as a separate problem.

Hierarchical classification supplied another precedent. In the research the paper discusses, the possible labels are arranged in a single tree fixed in advance. A class can draw on parameters associated with its ancestors, so classes that share much of a path can share much of the scoring machinery. This is a way to use what the classes have in common and still retain distinctions near the leaves.

The insertion task has a different relationship to labels. A paragraph is a destination for one article, with its own text and its own enclosing section. On the next example, the article can have different content and a different arrangement of paragraphs. Assigning a reusable class identity to a particular paragraph would miss the information the next case has in common with it. The authors instead learn reusable weights for properties that can be measured in any example. Two paragraphs in different articles may have very different subjects yet provide the same kind of evidence through a strong overlap with an incoming sentence.

Earlier hierarchical learning also supplied a principle for assigning responsibility after a mistake. A decision further down a branch can be difficult to judge when the branch itself was entered in error. The authors see a related principle in work on incremental parsing, where learning can respond when a search first departs from a correct analysis. They adapt this principle to ranking complete paragraph destinations. Their prediction procedure sees the whole path for every candidate. The tree determines how to correct the weights after that procedure makes an error. [Incremental Parsing with the Perceptron Algorithm](https://md.research.elamur.ai/free/en/papers/collins-2004-incremental-parsing-perceptron-algorithm/)

### The method, step by step

#### Turn an article into a set of destinations

The system starts with the new sentence and the document as it stood before insertion. Picture the document as the root of a tree. A section is a node beneath the root, and its paragraphs are nodes beneath it. The paragraphs are leaves, the nodes at the ends of the branches. Each leaf is one possible answer. The section attached to that leaf comes with the answer automatically.

The tree serves two purposes. It tells the system whose evidence to combine when it scores a candidate, and it gives the system a way to locate a disagreement between a predicted answer and an editor’s answer. A path from the root to a paragraph passes through its section. The paragraph and section can both contribute to the score. After a mistake, the shared and distinct parts of the two paths determine which features enter the correction.

Suppose that a new biographical sentence mentions an award given for public office. One paragraph already discusses the recipient’s work in that office. Its words and dates can offer direct evidence of a fit. The section containing the paragraph may supply broader evidence, through the rest of its text or a sentence that introduces its subject. The paragraph gets the benefit of both. Another paragraph in the same section gets the same section evidence, but its own wording and dates may support it to a different degree.

This design also allows competition across sections. A candidate in a section with a strong topical match can have weak paragraph evidence, and a candidate elsewhere can have a very strong paragraph match. Since their full scores are compared, either can win. The ranker makes a single destination choice using the assembled evidence and then reports the section that contains it.

How the ranker learns from an insertion example The steps in order.

#### Describe how a sentence fits a node

A feature is a measurable property of the sentence, the candidate, or the relationship between them. Some features are graded, such as the amount of lexical overlap. Others record a property such as whether a paragraph is at the end of its section. The system collects these values into a feature vector, a list whose coordinates consistently refer to the same properties. A weight for each coordinate determines how that feature influences the ranking.

The paper gives word overlap with a section heading as an example of a section feature. Its account of the experimental features describes lexical comparisons with the section text and separately with the opening sentence. The distinction matters because these descriptions serve different purposes in the paper. The heading example illustrates where a feature would belong in the tree. The feature overview explains the signals the authors highlight for the experiments.

For the main lexical comparison, the incoming sentence and the contents of a paragraph are represented by weighted words. Words that carry more information about the text can have greater influence than widely distributed words. The weighting uses [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/). Cosine similarity compares the resulting word vectors by their direction. For this use, the score captures how similarly the vectors distribute their weight among words, which lets a short sentence be compared with a longer paragraph.

There is a second lexical comparison with a narrower vocabulary. The authors use MINIPAR to identify subjects and objects and compute overlap with those words. This focuses the comparison on words playing particular roles in the sentences. An ordinary word overlap can reflect vocabulary shared anywhere in the two passages. A subject-and-object comparison can respond to evidence carried by the participants in what the passages describe. The grammatical analysis is supplied by [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/).

The system can make similar overlap comparisons with sections. The section is a different unit of evidence because its text may establish a topic across several paragraphs. The authors also compare the new sentence with the section’s opening sentence using cosine similarity. They observe that an opener in their collection frequently gives a strong indication of the section’s topic. A candidate can thus draw on broad coverage across the section and on a more concentrated indication of its subject near the beginning.

Another lexical signal comes from how words tend to occur across neighboring sentences. The procedure starts from a collection of documents in a particular domain and counts patterns of word pairs appearing in adjacent sentences. Those patterns help estimate how likely two sentences are to stand next to each other. For a candidate paragraph, the system considers the incoming sentence and the sentences already in that paragraph. It records the strongest estimated adjacency among those comparisons. The authors compute this feature for sections as well.

The use of a maximum gives the feature a particular interpretation. A paragraph can contain a sentence that looks like a promising neighbor even when its other sentences use rather different vocabulary. The feature retains that one strong local indication. The overlap with the paragraph as a whole can separately reflect the relation between the new fact and the passage’s broader content. Both measurements can enter the path score, with their relative influence determined by training.

#### Include position and time

The positional features express regularities in where contributors make additions. The authors observe a tendency towards insertions near the end of the document in their data. A feature can expose that tendency to the ranker without prescribing a destination for every example. The influence of a boundary position depends on its learned weight and on the other evidence for the candidate.

At the section level, the representation records whether a section is at the beginning or end of the document. At the paragraph level, it distinguishes boundaries within the section from boundaries within the document. A paragraph can close its own section while the article continues with another subject. A paragraph at the very end of the article occupies both kinds of boundary. Giving these positions separate features allows the ranker to learn about their usefulness separately.

Temporal features address the possibility that an insertion belongs near events from the same period. The tense feature checks for a sentence in the candidate paragraph whose verb tense matches the incoming sentence. In the Aziz example, both the addition and material in the destination paragraph use the past tense. A tense match gives the ranker a small piece of evidence about how the new sentence might relate to its surroundings.

Dates provide a more explicit comparison. The authors use the TIMEX2 tagger to identify temporal expressions. For a paragraph, the earliest and latest dates delimit an interval. The representation records how much that interval overlaps the time interval of the sentence being inserted. A date in the new sentence can thereby support a paragraph whose existing events fall in a related span of time.

These features reduce aspects of temporal organization to measurements the ranker can use. The interval, for instance, describes a span covered by dates in a passage. A passage can cover that span while discussing several different events. Evidence from words, position, and the section’s topic can help decide whether the date match actually points toward a good destination. The paper describes its features at this level and makes the experimental data and code available.

#### Combine the features along a path

For each training example, the sentence and document are paired with the leaf that represents the known destination. The examples are presented as a sequence. The features for a candidate can be computed from the sentence and the existing article, while the destination from the edit supplies the supervision. Every node can have its own description of how it relates to the sentence.

The aggregate feature vector for a paragraph is

```
Φ(s, ℓ) = ∑ₙ∈P(ℓ) φ(s, n)
```

Here `s` is the sentence being inserted, `ℓ` is a candidate leaf, and `n` is a node on the path to it. `P(ℓ)` denotes the path from the root through the leaf `ℓ`, including the leaf. The condition `n ∈ P(ℓ)` makes the summation `∑` run over those path nodes. `φ(s, n)` is the feature vector for the sentence and node `n`. The capital `Φ(s, ℓ)` denotes the vector obtained by summing those contributions.

For the experiments, the authors use separate feature sets at different levels. In that case, adding the vectors has the effect of assembling section and paragraph coordinates into one vector. The section overlap value and the paragraph overlap value can each get a separate weight, even though both describe lexical similarity. The formal definition also allows a feature to occur at several levels. Its values would then add in the shared coordinate.

The aggregation has a useful consequence for the score of a paragraph. All paragraphs in the same section receive the same contribution for features of that section. When comparing two of those paragraphs, their relative standing comes from their different paragraph evidence. Across sections, the difference between their section contributions can change the ranking. A single calculation therefore permits both comparisons without a different scoring rule for each case.

The prediction rule is

```
arg maxℓ∈L(T) w · Φ(s, ℓ)
```

`T` is the document tree, and `L(T)` is its set of leaf nodes. The symbol `ℓ` ranges over those nodes. `w` is the learned weight vector, and `Φ(s, ℓ)` is the aggregate vector for the sentence `s` and candidate `ℓ`. The dot `·` denotes an inner product. It multiplies each feature value by its corresponding weight and adds the products to give a score. `arg max` returns a candidate attaining the highest score.

This is a linear ranking rule. A feature changes the score in proportion to its value and the weight attached to it. The same weight vector is used for all paragraphs and articles. Its coordinates refer to reusable properties, such as a lexical comparison at the paragraph level, so the ranker can score a destination that starts appearing only when it receives a new article.

There is no preliminary decision that removes all but one section from consideration. The section score contributes to each descendant’s total, and the final selection compares complete paths. As a consequence, a section that would lose a competition based only on section features can still contain the winning paragraph. This detail matters when distinguishing what the ranker does at prediction time from what it does to its weights during training.

#### Correct the decision where its paths diverge

Training is online in the sense that the weights are revised as the ranker processes examples. The procedure starts with zero weights. It reads a sentence and its article, uses the current weights to predict a paragraph, and receives the known destination for that example. A correct prediction leaves the weights as they are. A mistake triggers an update before the system proceeds.

A standard ranking perceptron uses the difference between the complete feature vectors for the correct and predicted destinations. This adds evidence associated with the right answer to the weight vector and subtracts evidence associated with the answer that won. Wherever the vectors contain identical contributions, those contributions cancel. In this task, the parts of a path shared by both candidates would cancel for this reason.

For the hierarchical update, the ranker follows the two paths from the root only as far as their first disagreement. It then takes features from the pair of nodes immediately below the last shared node. When the wrong paragraph belongs to the right section, that pair consists of paragraphs. When the wrong paragraph belongs to a different section, the pair consists of sections. This procedure identifies where the answers diverge in the tree. It uses that distinction to choose which evidence will drive the correction.

The index of the last shared node is

```
i* = max { i : P(ℓ)ᵢ = P(ℓ̂)ᵢ }
```

Here `ℓ` is the recorded leaf and `ℓ̂` is the predicted leaf, with the hat indicating the prediction. `P` gives the path from the root to the indicated leaf. The subscript `ᵢ` selects the node at position `i` on a path, counting from the root. The braces collect the positions at which the two paths contain the same node, with the colon introducing the membership condition. `max` selects the deepest of these positions, denoted `i*`. Its node is the lowest common ancestor of the two leaves.

The weight change on a mistaken prediction is

```
w ← w + φ(s, P(ℓ)ᵢ*₊₁) − φ(s, P(ℓ̂)ᵢ*₊₁)
```

The arrow `←` assigns the expression on its right as the new value of `w`, the weight vector. The `w` on the right is the value before this update. The two indexed paths, `P(ℓ)` and `P(ℓ̂)`, lead to the recorded and predicted leaves. The subscript `ᵢ*₊₁` selects the position immediately after `i*`, the last common position. `φ(s, …)` denotes the sentence `s` paired with the selected node in the feature function. The plus sign adds the features from the branch leading to the correct answer. The minus sign subtracts the features from the branch leading to the predicted answer.

The correction uses the features at the split even though the scores that led to the mistake included features deeper in the tree. A particularly attractive wrong paragraph could have contributed heavily to the mistaken prediction. The training rule still uses a section correction if that paragraph falls in the wrong section. The split supplies an operational meaning for where the mistake begins. The procedure never has to infer from the score which feature was individually responsible.

In the paper’s worked example, the correct leaf is node 1, with an aggregate score of 5. The highest-scoring candidate is node 3, with a score of 6. The two paragraphs belong to different sections. The update adds the feature vector from the correct section and subtracts the one from the predicted section. The paragraph weights therefore retain what training has previously learned about paragraph comparisons, even though paragraph evidence contributed to the original decision.

The authors’ rationale is easiest to see in a same-section comparison after such an update. A change in section weights can move that section’s candidates relative to those in another section. Within a section, each of its candidates still gets the same section contribution. The update can change which section has the strongest complete candidate while preserving the ranking of its paragraphs by their own evidence. A later example in which the system reaches the correct section and misses the paragraph can then change the paragraph weights directly.

#### Find the precise gap with neighboring sentences

The main ranker gives a paragraph destination. The authors also study whether that output can help a second ranker place the sentence more precisely. This ranker looks at the sentences surrounding a candidate gap. It extracts lexical, positional, and temporal information for the insertion in that local context and learns weights using the standard ranking perceptron.

There are two ways to supply candidates to the local ranker. It can search the document for the best gap using surrounding sentences at every possible position. It can also search only the paragraph favored by the hierarchical ranking. In the restricted search, the section and paragraph evidence determines the region in which the sentence-level comparison takes place. Within that region, the surrounding sentences give the evidence needed to prefer one gap over another.

This extension uses a different division of work from the main ranker. At the main ranking stage, section evidence supports a paragraph without fixing a section in advance. At the exact placement stage, the chosen paragraph limits the set of gaps the local ranker can consider. The paper evaluates both the coarse choice and the final position, allowing the two decisions to be examined at their own resolutions.

### Experiments and results

#### Build examples from revision histories

The corpus consists of articles in Wikipedia’s Living People category. The authors choose this category because new information about people can lead to updates in their biographies. Many contributors edit the articles, and the authors describe substantial variation in both content and style. The collection exposes the ranker to documents that were maintained independently and for the practical purpose of publishing a biography.

For each edit, the revision history gives the article before and after the change. Comparing those versions can reveal a sentence that was added and where it appeared. The earlier version supplies the structured article, the new sentence supplies the item to insert, and the position in the later version supplies the expected answer. When several insertions into the same biography occur over time, each is treated as an independent example with its own article state.

The authors apply two filters to reduce spam. The sentence you insert must be between 8 and 120 tokens long, inclusive. MINIPAR must also identify a subject or an object in the sentence. The filters therefore retain additions within a stated length range that show recognizable grammatical structure under the authors’ parser. The corpus contains only articles with multiple sections, giving the system a real choice at the section level.

After filtering, the collection contains 4051 insertion and article pairs from 1503 Wikipedia articles. The authors use 3240 pairs for training and 811 pairs for testing. An article in the corpus has an average of 32.9 sentences, arranged in an average of 3.61 sections and 10.9 paragraphs. These are document statistics for the collection. They help explain why a ranker that searched purely by adjacency would face many plausible local contexts for some additions.

The paragraph task also requires a convention for handling boundaries. When an insertion occurs between paragraphs, the evaluation assigns it to the preceding paragraph. This supplies a destination leaf for cases in which the location is naturally expressed as a boundary between leaves. The resulting paragraph label is the one the automatic systems and the judges are evaluated against.

#### Measure the destination at several scales

Section accuracy asks whether the predicted paragraph belongs to the same section as the recorded destination. Paragraph accuracy asks whether the paragraph itself matches. A system that locates the correct section and then chooses another paragraph receives credit on the section measure. An exact paragraph match counts as a success at the section level as well, since that paragraph has a fixed parent.

The third measure, tree distance, is the length of the path connecting the predicted paragraph and the recorded paragraph through the article’s tree. Its interpretation depends on the nodes the two destinations share. For two paragraphs in the same section, the connecting path rises to that section and descends to the other paragraph. Across sections, the path has to rise above the section nodes. A lower average distance therefore indicates predictions that stay closer to the recorded destination under this representation.

Paragraph accuracy and tree distance answer different questions about errors. Exact matching gives the same outcome to every wrong paragraph. Tree distance can register whether a system stays in the relevant section even when it fails to identify the destination leaf. Its notion of closeness is structural. Two paragraphs on opposite sides of a section boundary can be neighbors in the text and still require a path through the root.

The exact placement experiment uses a finer target. A prediction has to recover the position between sentences where the editor made the addition. The accuracy of that procedure reflects both the region in which it searches and its ability to judge the local relation between the new sentence and the surrounding ones.

#### Compare rules for selecting and training destinations

The simplest baselines use no text-dependent ranking. Random Insertion chooses a paragraph at random. First Insertion always selects the first paragraph of the article, and Last Insertion always selects the last. These rules give reference points for the more flexible systems. The two boundary rules also allow a common position in the document to prove useful even when the baseline makes no attempt to interpret the sentence.

Pipeline uses two separately trained rankers. It first selects a section using section features. Its paragraph ranker then selects among the paragraphs in that section. This baseline makes genuine use of the document hierarchy. It also makes the section decision final before paragraph evidence enters, so a paragraph outside the selected section has no opportunity to win on the strength of its own fit.

Flat uses all of the same features as the hierarchical ranker and the same rule for choosing a paragraph. Its training uses the standard ranking perceptron correction on the full feature vectors. This baseline can favor broad topical fit and local paragraph fit together at prediction time. The difference in the comparison is whether a mistake in one part of the document causes corrections to be made along the complete divergent paths or only at their first split.

Hierarchical ranks the same complete candidates as Flat and uses the selective update. Against Pipeline, it also differs in allowing evidence at both levels to affect the final choice before committing to a section. Putting these comparisons alongside the fixed-position baselines gives the authors a way to distinguish the difficulty of the task from the consequences of particular learning and search decisions.

#### The gain is largest at the paragraph level

On the 811 test pairs, the trained systems all reach substantially higher paragraph accuracy than the fixed rules. Last Insertion is the strongest of the simple choices on that measure. Its result is consistent with the authors’ observation that additions in this collection tend to occur towards the end of articles. The trained systems can learn when position is useful and also respond to content that favors an earlier placement.

Paragraph accuracy by insertion method on the Wikipedia test set The hierarchical ranker identifies the recorded paragraph most often.

**The numbers**

| System or setting | accuracy |
| --- | --- |
| Random Insertion | 0.134 |
| First Insertion | 0.136 |
| Last Insertion | 0.215 |
| Pipeline | 0.314 |
| Flat | 0.313 |
| Hierarchical (this paper) | 0.383 |

The comparison between Pipeline and Flat is particularly informative at this resolution. Pipeline reaches 0.314 and Flat reaches 0.313 in paragraph accuracy on the test set, in spite of their different use of the hierarchy. Hierarchical reaches 0.383 with the same prediction rule as Flat. The paper reports that its paragraph performance is significantly better than that of each baseline under its Fisher Sign Test at the stated threshold, p \< 0.01.

Section accuracy gives a different picture of the trained systems. Pipeline achieves 0.579, Flat achieves 0.593, and Hierarchical achieves 0.598 on the test set. The result favors Hierarchical numerically, with much closer scores than on the paragraph measure. The paper’s significance marks at the section level apply to the three simple baselines, whose test accuracies are 0.318 for Random Insertion, 0.250 for First Insertion, and 0.305 for Last Insertion. The differences between the trained rankers on section accuracy do not receive those marks.

The distance results show that Hierarchical also places its predictions closer to the recorded paragraphs on average. Flat and Pipeline have similar mean distances, in line with their similar paragraph accuracies. Last Insertion again does best among the simple rules at the finer level. Random Insertion has the highest section accuracy among those rules, so the order of the simple baselines depends on what the evaluation rewards.

Mean tree distance from the recorded paragraph on the Wikipedia test set The hierarchical ranker places its predictions closest to the recorded paragraphs.

**The numbers**

| System or setting | tree distance |
| --- | --- |
| Random Insertion | 3.10 |
| First Insertion | 3.23 |
| Last Insertion | 2.96 |
| Pipeline | 2.21 |
| Flat | 2.19 |
| Hierarchical (this paper) | 2.04 |

Taken together, the measures place the strongest support for the method at paragraph resolution. A section match is compatible with many possible paragraph choices. The paragraph metric requires success on the complete destination, and the distance metric gives some credit for keeping errors within a nearby part of the tree. Improvement on both is consistent with a ranker that uses the document organization to make better choices at the resolution for which it was built.

#### Compare recorded edits with fresh human judgments

The authors ask human judges to do the insertion task to find out how difficult it is even for readers who can interpret the documents. Four judges process a random sample of 80 sentence and article pairs from the test set. There are two judgments for each example. The paper reports both how the judges compare with the historical Wikipedia placement and how frequently the people judging the same example choose the same destination. This latter comparison is a measure of agreement in [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/).

On average, the readers match the recorded section in 66% of cases and the recorded paragraph in 53% of cases. Against one another, they agree on the section for 65% of their paired judgments and on the paragraph for 48%. Agreement is lower at paragraph resolution by either comparison. The judges have greater scope to disagree about how a fact should enter a section than about which broad subject it falls under.

The paper reports the judges separately as well. On subset T1, J1 and J2 have section agreement with the recorded placements of 0.575 and 0.7. Their paragraph accuracies are 0.5 and 0.525, and their tree distances are 1.85 and 1.55. On subset T2, J3 and J4 have section accuracies of 0.675 and 0.725, paragraph accuracies of 0.55 and 0.55, and tree distances of 1.55 and 1.45. The comparisons within each subset concern judges who worked with the same examples. Differences across subsets can also reflect the mix of articles and sentences.

The authors use human performance as a practical upper benchmark and report that the paragraph accuracy gap to human performance is 32% smaller for Hierarchical than for either Pipeline or Flat. That is the paper’s comparison between the average human result on the test sample and the automatic results. It captures the scale of the improvement in relation to the benchmark the authors chose. Agreement among judges also shows why the benchmark should be read as a reference for this task, since people frequently considered destinations other than the one found in the revision history plausible enough to choose.

#### Search for the exact sentence position

The final experiment compares the local gap ranker under two search conditions. When it considers positions throughout the article, it recovers 24% of recorded insertion points. When the hierarchical ranker first picks a paragraph and the local ranker searches inside that paragraph, the result is 35% exact placement accuracy. The paper reports the difference as statistically significant.

Exact insertion accuracy by search scope on the Wikipedia insertion data Selecting a paragraph before ranking gaps improves exact placement.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Local ranking across the document | 24 |
| Hierarchical paragraph selection followed by local ranking (this paper) | 35 |

The experiment connects the main paragraph task to the editing operation that motivated it. A paragraph result supplies an approximate destination. The sentence-level result shows what that destination is worth to a procedure that has to choose a precise gap. Restricting the search can exclude attractive local matches elsewhere in the document, but it can also exclude the correct position when the paragraph prediction is wrong. The reported outcome measures the combined effect of those possibilities on recovery of the recorded edit.

### What the ablations show

#### Keep prediction fixed and change the update

The closest comparison to a component ablation is between Hierarchical and Flat. They receive the same features and search over the same candidate paragraphs. Both predictions use the section and the paragraph together. The change is which part of a mistaken prediction contributes to the training update. In Flat, the update is based on the full vector difference. In Hierarchical, it is based on the feature difference at the split.

This comparison isolates the effect of the update rule for the tested representation. The improvement from 0.313 to 0.383 in test paragraph accuracy cannot be credited to adding information about the sections, because Flat already receives that information. It also cannot be credited to a new prediction rule, because both rankers use the same one. The training comparison shows that organizing how the ranker responds to errors can matter even when the information available at prediction time is identical.

Consider the type of mistake illustrated by the example in the paper. The chosen paragraph comes from a different section than the recorded one. Flat compares two complete destinations, so a word or tense feature of either paragraph can enter its correction. Hierarchical treats the two sections as the comparison that is relevant for this round. In a later same-section error, it can compare paragraph features under a shared section context. In this way, the procedure makes the evidence used for learning depend on what the two destinations have in common.

The paragraph improvement is compatible with the authors’ account that preserving paragraph weights on wrong-section examples gives more useful learning at the fine level. The reported results evaluate the trained rankers as a whole. They give no separate counts of updates at each depth or measures of which feature weights changed most. The controlled result concerns the consequence of using the selective rule over the course of training. The explanation of why it helps comes from the design of the rule and its contrast with the standard correction.

#### Let paragraph evidence participate in section selection

The comparison with Pipeline asks a broader question about how to put section and paragraph decisions together. Pipeline has access to the document hierarchy and can learn separate scoring rules for its levels. An error by its section ranker rules out the correct paragraph before the paragraph ranker sees the candidates. Hierarchical can favor a paragraph whose own features make it a strong destination, even when the surrounding section would rank lower in a section-only contest.

The results establish an advantage over this particular staged system. The test paragraph scores are 0.314 for Pipeline and 0.383 for Hierarchical, with mean tree distances of 2.21 and 2.04. Several changes are involved in this comparison. Pipeline trains separate rankers and makes separate choices. Hierarchical learns from full destination predictions with a selective correction and makes its choice by ranking complete paths. The reported performance difference attaches to these complete procedures.

Flat offers another way to interpret the comparison. It already scores full paths and gets paragraph accuracy close to Pipeline’s. Joint scoring on its own therefore does not reproduce the performance of Hierarchical in this experiment. Hierarchical’s advantage is best supported by examining it against both baselines. One comparison shows the outcome relative to a trained section-first search, while the other controls for prediction and exposes the role of selective training.

The section results also constrain what can be said about Pipeline’s disadvantage. Pipeline’s section accuracy is numerically below the other trained scores, but the paper reports its clearest separation at paragraph resolution. This pattern leaves room for several ways in which the complete procedures may differ. They can succeed on different individual section decisions, choose different paragraphs even within the same section, or both. The overall section accuracies do not identify those cases.

#### Hold the local ranker in place and change its search

The exact placement comparison changes the candidate set available to the neighboring-sentence ranker. In the unrestricted condition, any gap in the article can win. In the other condition, the hierarchical paragraph choice supplies the search region. Exact placement rises from 24% across the article to 35% with search confined to the predicted paragraph.

The result supports a division between choosing a region and choosing a gap. Local compatibility may be genuine at several points in an article because words, people, and events recur. The section and paragraph ranking uses evidence over larger spans, which can resolve some of that competition before the local ranker acts. The local ranker still has the more precise comparison to make within the chosen region.

This analysis tests the value of paragraph restriction as produced by the authors’ trained system. It does not give a result for restricting the search using Flat or Pipeline paragraph predictions. The paragraph comparison establishes the advantage of the selective update on its own task. The gap comparison establishes that the resulting paragraph predictions help the local procedure on the exact task. Assigning the entire difference in exact placement to the update rule would require an additional controlled comparison at the gap level.

The paper does not report dropping individual feature families such as tense, dates, position, or word overlap. It also does not compare alternative ways of defining sections or paragraphs within the article. The available controls concern how the same evidence is used in learning, how predictions at different resolutions are combined, and how much of the document a local search considers. They are strongest on the design choice at the center of the paper, the use of the first divergent layer to correct a ranking error.

### Limitations

#### Limits the authors identify

The authors train on insertions in which the existing sentences stay as they were. They recognize that some additions require broader editing to maintain coherence. A new detail might call for a change in the way an idea is introduced or connected to surrounding material. A placement ranker can select a destination for the sentence it receives, while such changes require detecting what else needs to be revised and carrying out those revisions. The authors leave that kind of insertion for further research.

The work also begins with an available hierarchy. The authors suggest that the approach might be useful in sentence ordering, where the input is a collection of sentences to arrange. They identify a difficulty there. Evidence about long-range relations can depend on an order that the system has yet to discover. One direction they propose is to induce an organization into larger units while inducing the linear sequence. The study of insertion can exploit an existing organization and leaves this simultaneous inference problem open.

The authors position exact sentence placement as an extension to the paragraph method. The gap ranker still depends on the signals available around the position it considers. Its improved accuracy after paragraph selection shows that broader structure helps that procedure. The result also shows how much work remains after supplying a paragraph destination, since exact placement on the evaluated data is recovered in 35% of cases under this arrangement.

#### Limits visible in the design

The revision history supplies evidence about decisions people actually made. It gives the authors a recorded answer for each test example and makes the data more realistic for the use they have in mind. It also narrows what an accuracy score can establish. An editor’s chosen placement can reflect a judgment that another reader would make differently. A prediction that disagrees with the history can therefore be a sensible edit, while a matching prediction can reproduce a choice whose quality has received no independent review. The human exercise directly shows that alternative judgments are common, particularly at the paragraph level.

The experiment measures destination recovery for single-sentence examples. Repeated insertions into an article can appear as independent cases, and each case starts with the actual revision state. This lets the authors evaluate an individual decision in authentic context. A system that made many updates on its own would face later decisions in articles shaped by its earlier outputs. The study supplies no measurement of how its decisions would accumulate in such a sequence.

The corpus comes from a category of Wikipedia biographies, and only multi-section articles enter the evaluation. The length and parser filters also shape which revisions count as examples. These are reasonable choices for studying insertion in structured articles and for filtering recorded edits. They leave open how performance would change in short articles, in other genres, or with valid additions that fail the grammatical or length criteria. Likewise, the positional cues are learned from a particular collection in which additions tend towards the end. Documents maintained under different editorial practices may put the same cues to different use.

The paper reports how the pairs were divided into training and test sets and explains that the same biography can supply several insertion examples over time. It does not specify whether all examples from a given biography were kept in the same split. The reported scores establish performance on the test pairs under the stated setup. Generalization to entirely unseen biographies would be a separate claim requiring information about which articles occur in each split or a test organized by article identity.

The hierarchy captures one important kind of relationship between paragraphs. It represents whether they serve the same section and belong to the same article. It does not encode all editorial relationships expressed by the sequence. A paragraph immediately before a heading can be closer in reading order to the following paragraph than to a passage near the beginning of its own section. Tree distance gives these comparisons a structural interpretation, so it should be read as a distance in the supplied hierarchy. The exact gap experiment adds an evaluation at the level of linear position.

The judge study helps interpret the task while covering a sample of the test set. Its findings show how frequently these readers matched one another or the historical placements on those examples. They cannot establish a general ceiling for human performance or assess all reasonable alternative placements. The scores also give no judgment about overall readability after edits. A direct evaluation of the resulting prose would answer a different question from recovery of a historical location.

Finally, the update rule uses the first disagreement as a training choice. The fact that paths diverge at the section level locates a difference in the answers, even if an unusually strong paragraph feature contributed more to the wrong score. The experiments support the rule as a way to learn better placements in this collection. They leave open how the balance between upper and lower features would change with deeper trees, automatically segmented documents, or another distribution of errors. These questions concern the reach of the method beyond the conditions the authors evaluated.

### What came after

#### A later connection through coherence

[Coreference-inspired Coherence Modeling](https://md.research.elamur.ai/free/en/papers/elsner-2008-coreference-inspired-coherence-modeling/), from 2008, cites the insertion study and identifies coreference as inspiration for its treatment of coherence. Coreference is the relation between expressions that refer to the same entity. A name, a title, and a pronoun can refer to one person, which gives a reader a connection across passages even when the forms of the references differ. The analysis of which expressions refer to the same entity is known as [coreference resolution](https://md.research.elamur.ai/free/en/concepts/coreference-resolution/).

The connection is easiest to understand through what counts as evidence of continuity. In the insertion study, one feature compares vocabulary across a candidate span, while another focuses on words in subject and object roles. Its hierarchical representation tells the ranker which spans should contribute together to a placement decision. A coreference perspective raises a related question about the continuity of the things being discussed when their wording changes. The Aziz example makes the distinction concrete. Repeated names and references to the ministerial office supply cues for lexical and grammatical comparisons, while tracking reference would ask which expressions identify the same person across those passages.

The later paper’s title and citation establish this connection at the level of research on coherence. They leave open which parts of the insertion procedure, if any, the later work uses directly. In particular, the citation gives no basis for attributing paragraph ranking, the first-divergence update, or the Wikipedia evaluation to that study. The documented continuation is a later study of coherence organized around reference to entities. The insertion paper’s specific contribution remains the combination of evidence from an article’s existing structure with a training rule that responds to where a placement error begins.

## Cite

Cite as Erdong Chen, Benjamin Snyder and Regina Barzilay. 2007. Incremental Text Structuring with Online Hierarchical Ranking. Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL).

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

```bibtex
@inproceedings{chen2007incremental,
  title = {{Incremental Text Structuring with Online Hierarchical Ranking}},
  author = {Erdong Chen, Benjamin Snyder and Regina Barzilay},
  booktitle = {Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL)},
  year = {2007},
  url = {https://aclanthology.org/D07-1009/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
