Incremental Text Structuring with Online Hierarchical Ranking

Erdong Chen, Benjamin Snyder, Regina BarzilayEMNLP 2007

Abstract

Erdong Chen, Benjamin Snyder, Regina Barzilay. Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL).

2007.

Introduction

Traditional text structuring research often focuses on "sentence ordering"—the task of arranging a collection of sentences into a coherent narrative from scratch. However, this paradigm does not align with how digital information is typically maintained in the real world. Resources like Wikipedia or newsfeeds are updated incrementally. This paper addresses the problem of sentence insertion: identifying the single optimal location to insert a new sentence into an existing, structured document.

The primary challenge in sentence insertion is balancing local and global coherence. While a sentence might fit grammatically between two neighbors (local), it may be contextually inappropriate for the broader section (global). Linear models that treat text as a simple sequence often fail to capture this multi-level structure.

Hierarchical Ranking Model

The authors propose a Hierarchical Ranking Model trained via an online learning framework. The document is represented as a tree structure where the root is the document, internal nodes represent sections, and leaves represent paragraphs.

Hierarchical document representation and insertion paths.

Feature Representation and Updates

Each potential insertion point (a leaf node) is defined by an "aggregate feature vector," which is the sum of features from the leaf itself and all its ancestors. This allows the model to simultaneously evaluate section-level cues (e.g., header matching) and paragraph-level cues (e.g., topical similarity).

A key innovation is the Selective Hierarchical Update. When a prediction error occurs, the model identifies the highest level in the hierarchy where the prediction diverged from the ground truth. It updates the weights only for that level and its ancestors, preventing over-correction of lower-level paragraph features when the error was actually a high-level section mismatch.

Experimental Setup

The study utilizes real-world data from the Wikipedia "Living People" category, extracting 4,051 insertion/article pairs from actual revision histories. The "gold standard" is defined by the location chosen by human editors. To establish an upper bound, four human judges also performed the task on a subset of the data.

Results

The hierarchical model was evaluated against several baselines: a "Flat" model (standard update with the same features) and a "Pipeline" model (sequential section then paragraph selection).

Performance comparison of the Hierarchical model against baselines.

As shown in the results table, the Hierarchical model achieved a paragraph accuracy of 38.3%, significantly outperforming the Flat (31.3%) and Pipeline (31.4%) models. It correctly identified the target section nearly 60% of the time. While human judges agree with the gold standard approximately 53% of the time at the paragraph level, the hierarchical approach closed the performance gap between machines and humans by approximately 32% compared to previous methods.

Discussion and Limitations

The hierarchy acts as a regularizer, preserving knowledge in lower tree nodes by isolating updates to the highest incorrect level. This ensures that global document flow is maintained without sacrificing local coherence.

However, limitations remain. The model assumes a static context, whereas human editors often rewrite surrounding text during insertion. Furthermore, the system currently relies on pre-existing hierarchies (like Wikipedia's structure). Future work could involve inducing hierarchies for unstructured text and incorporating more sophisticated discourse modeling to handle complex technical transitions.

Summary updated

BibTeX
@inproceedings{chen2007incremental,
  author = {Erdong Chen and Benjamin Snyder and Regina Barzilay},
  title = {{Incremental Text Structuring with Online Hierarchical Ranking}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2007},
  url = {https://openreview.net/forum?id=S1b_yzGd-B},
}
Figure