TextRunner: Open Information Extraction on the Web

Alexander Yates, Michele Banko, Matthew Broadhead, Michael J. Cafarella, Oren Etzioni, Stephen Soderland

Introduction

Traditional Information Extraction (IE) systems have long operated under a "closed" paradigm. In this model, a user specifies a particular relation of interest—such as headquarters_in or is_ceo_of—and provides the system with hand-labeled examples or manual patterns to identify instances of that relation. While effective for niche domains, this approach is fundamentally unsuited for the scale and diversity of the World Wide Web.

TextRunner introduces Open Information Extraction (OIE), a new extraction paradigm that moves away from pre-defined relations. Instead of looking for specific facts, TextRunner is designed to extract all relations it encounters in a single, domain-independent pass. By utilizing self-supervision and lightweight linguistic analysis, it can mine millions of facts from billions of web pages without requiring human intervention.

The Challenges of Web-Scale Extraction

The authors identify three primary hurdles that traditional IE systems face when applied to the Web:

  1. Scalability: The number of possible relations on the Web is virtually infinite. Manually defining and labeling data for every potential relationship is a logistical impossibility.
  2. Efficiency: Many state-of-the-art IE systems rely on complex document clustering or multiple passes over the data, often resulting in $O(n^2)$ complexity. Such systems cannot scale to the billions of pages found online.
  3. Heterogeneity: Most NLP tools are trained on clean, structured news corpora. Web text, however, is messy and diverse; standard parsers often fail when faced with the "Wild West" of ungrammatical or non-standard web content.

System Architecture

TextRunner addresses these challenges through a four-stage pipeline designed for speed and generality.

1. Self-Supervised Classifier

To eliminate the need for manual labeling, TextRunner employs a "teacher-student" learning model. An expensive, high-accuracy dependency parser is run on a small sample of data to identify trustworthy extractions. These extractions serve as positive and negative training examples for a much faster "student" classifier. This student model uses simple features, such as part-of-speech (POS) tag sequences, to process the remainder of the Web at high speeds.

2. Single-Pass Extractor

Unlike systems that perform deep linguistic parsing, TextRunner’s extractor uses lightweight POS tagging and noun-phrase chunking. It identifies pairs of noun phrases and uses the trained classifier to determine if the text between them represents a valid relationship. This single-pass approach allows the system to maintain a linear time complexity relative to the number of sentences.

3. Synonym Resolution (RESOLVER)

Because the system is "open," it frequently extracts different strings that represent the same semantic relationship (e.g., "is the inventor of," "created," and "developed"). TextRunner utilizes RESOLVER, an unsupervised clustering system, to group synonymous relations and entities. RESOLVER calculates the probability that different strings refer to the same real-world concepts based on their shared context and arguments.

4. Query Interface

Extracted facts are stored as triples in the format (entity1, relation, entity2). These are indexed using an inverted index, enabling users to perform near-instantaneous searches across millions of extracted facts.

Evaluation and Results

The system was evaluated on a test corpus of 9 million web documents containing 133 million sentences, following an initial demonstration on 117 million pages.

Performance and Precision

TextRunner demonstrated remarkable efficiency, processing the 133 million sentences in just 68 CPU hours. When deployed on a cluster, the entire extraction process was completed in only 4 hours. From this set, the system extracted 7.8 million well-formed tuples.

In terms of accuracy, human reviewers manually checked a random sample of 400 extracted tuples. The system achieved a precision of 80.4%.

Comparison with Traditional IE

TextRunner was compared against KnowItAll, a state-of-the-art traditional IE system, across ten high-frequency relations. While both systems found a similar number of correct extractions, TextRunner significantly improved reliability, reducing the error rate by 33% (dropping from an 18% error rate in KnowItAll to 12% in TextRunner).

Key Insights

The success of TextRunner stems from two core philosophies:

  • Structural Focus: By focusing on the structure of how English expresses relationships rather than the specific meaning of words, the system remains domain-agnostic.
  • Redundancy over Depth: While deep parsing is more accurate for a single sentence, it is computationally prohibitive. TextRunner leverages the fact that the same information often appears multiple times on the Web. This data redundancy allows shallow, fast features to achieve high aggregate accuracy.

Limitations and Future Work

Despite its success, the authors note several areas for improvement. The inherent messiness of web data continues to challenge standard NLP tools. Additionally, while RESOLVER helps with synonymy, mapping varied strings to a single semantic concept remains a difficult task in unsupervised learning. Finally, TextRunner focuses primarily on binary relations; extending the architecture to handle n-ary relations (e.g., who gave what to whom) remains a subject for future research.

Summary updated

BibTeX
@inproceedings{yates2007textrunner,
  author = {Alexander Yates and Michele Banko and Matthew Broadhead and Michael J. Cafarella and Oren Etzioni and Stephen Soderland},
  title = {{TextRunner: Open Information Extraction on the Web}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2007},
}
Figure