Abstract
Information Extraction (IE) from web documents often faces a conflict between the rigidity of fixed-length patterns and the noise of overly general rules. This paper introduces Heuristic Rule Learning (HRL), an algorithm that automatically generates extraction rules by balancing specificity and generalization. Using a sensitivity measure based on conditional entropy, HRL identifies optimal variable-length context patterns. Experimental results on web-sourced person descriptions demonstrate that HRL can achieve 100% precision by effectively filtering out insensitive terms and focusing on linguistic anchors.
Introduction
The transformation of unstructured web text into structured data—Information Extraction—is a critical task for building knowledge bases. Traditional methods relied on manual rule-crafting, which is unscalable. Automated alternatives often utilize fixed-length n-grams, which suffer from a "precision-recall" trap: they are either too specific (failing on minor textual variations) or too vague (extracting incorrect data). This research proposes the Heuristic Rule Learning (HRL) algorithm to overcome these limitations by learning variable-length rules that adapt to the inherent patterns of natural language.
Methodology
The HRL framework is built upon three pillars: structured rule representation, dynamic term extraction, and heuristic evaluation.
Rule Representation
Rules in HRL are represented as sequences of "slots" (the target data to extract) and "context patterns" (the surrounding text). These rules incorporate semantic annotations to distinguish entity types, such as identifying "John" as a Person and "1987" as a Date.
Dynamic Term Extraction (DEXT)
To avoid the pitfalls of fixed-length patterns, the authors developed the Dynamic tErm eXtraction (DEXT) component. DEXT identifies frequent terms of arbitrary length by starting with single words and iteratively "spanning" them into longer phrases, provided they meet a frequency threshold ($\theta$) in the training corpus.
Heuristic Evaluation via Conditional Entropy
The core innovation of HRL is the use of conditional entropy to measure term "sensitivity." A term is considered sensitive if it strongly predicts a specific context. For instance, the phrase "born in" has low entropy because it almost always precedes a date or location in a biographical context. Conversely, common words like "is" have high entropy and are discarded as "insensitive" because they provide no discriminative power.
Key Insights and Results
The HRL system was evaluated on a dataset of 200 web pages containing person descriptions, sourced via Google.
Variable-Length Generalization
By allowing context patterns to vary in length, the system captures diverse linguistic expressions of the same relationship. As shown in the extraction examples, different phrasings like "is born in" and "was born in" are successfully mapped to the same semantic relationship through the spanning process.
The Precision-Recall Balance
The system's performance is governed by two parameters: the frequency threshold ($\theta$) and the entropy threshold ($H$).
- High Precision: At a frequency threshold of $\theta = 0.09$, the system achieved 100% precision, though with lower recall (18.10%).
- Generalization: Lowering the frequency threshold allows the system to discover more rules, but increasing it helps the system converge on the most effective, generalized patterns. At $\theta = 0.03$, the system generated 11 rules, but many were site-specific; increasing the threshold allowed it to focus on the 2 most robust rules. The authors found that higher frequency requirements can counteract the negative effects of a loose entropy threshold.
Conclusion
Heuristic Rule Learning provides a robust mechanism for automating web information extraction. By leveraging conditional entropy to filter out insensitive terms and employing variable-length patterns, HRL bridges the gap between rigid n-grams and overly broad heuristics. Future work will focus on automated parameter tuning and exploring the relationships between learned terms to further refine the sensitivity evaluation.
Summary updated