Introduction
Relation extraction (RE) is a fundamental task in natural language processing that involves identifying semantic relationships between entities in text. For instance, in the sentence "John Smith is the chief scientist of Hardcom Corp.," a system should recognize a person-affiliation relation between "John Smith" and "Hardcom Corp."
Historically, RE systems relied on hand-crafted linguistic patterns or feature-based machine learning. The latter requires manual definition of attributes (e.g., part-of-speech tags, neighboring words), which is labor-intensive and often fails to capture long-range dependencies. This creates a "representation gap" where rich linguistic structures are flattened into simple vectors. This paper proposes a kernel-based approach that allows learning algorithms to operate directly on structural representations of sentences.
Methodology
The authors bridge the representation gap by applying kernel methods—specifically Support Vector Machines (SVM) and Voted Perceptrons—to shallow parse trees.
Tree Representation
Instead of full dependency parsing, the system uses a shallow parser to identify basic units like noun phrases and entities. A relation is represented as the smallest common subtree encompassing the two target entities. This structural representation preserves the linguistic context necessary for accurate extraction.
The Recursive Kernel Function
The core innovation is a recursive kernel that calculates similarity between two subtrees by comparing nodes and their children. Two variations were explored:
- Contiguous Subtree Kernels: These look for exact matches in the sequence of child nodes.
- Sparse Subtree Kernels: These allow for "gaps" or intervening words between matching components, providing the flexibility needed to handle the inherent variability of natural language.
Experimental Setup
The approach was evaluated on a corpus of 200 news articles from sources such as the Associated Press and Wall Street Journal. The study focused on two primary relations:
- person-affiliation: 3,524 examples (1,262 positive).
- org-location: 1,915 examples (506 positive).
Data was split into 60% for training and 40% for testing, with results averaged over 10 random splits.
Key Results
The kernel-based methods generally outperformed traditional feature-based baselines such as Naive Bayes and Winnow.
As shown in the results table, the SVM with a sparse subtree kernel emerged as the top performer, achieving F-measures of 86.8% for person-affiliation and 83.3% for org-location. The sparse kernel's ability to account for "noise" (such as extra adjectives or parenthetical phrases) proved crucial, significantly outperforming contiguous kernels. While the Voted Perceptron offered faster training times, it was generally less accurate than the SVM, particularly on the noisier org-location dataset.
Discussion and Insights
The primary insight of this work is that structural similarity in tree representations is a superior predictor of relations compared to flat feature lists. By using kernels, the model implicitly considers a massive feature space—all possible sub-sequences of the tree—without requiring manual engineering or high-dimensional vector storage.
However, limitations remain. The system's performance is heavily dependent on the quality of the initial shallow parse. Furthermore, the lack of coreference resolution means the system struggles with relations involving pronouns (e.g., "He works there"). Future work involves integrating discourse resolution and exploring more computationally efficient kernel algorithms to scale to larger datasets.
Summary updated