Abstract
Fabrizio Costa, Sauro Menchetti, Alessio Ceroni, Andrea Passerini, Paolo Frasconi. Proceedings of the Workshop on Learning Structured Information in Natural Language Applications.
2006.
This paper introduces an extension of Weighted Decomposition Kernels (WDK) designed to tackle sequence labeling and semantic ambiguity in Natural Language Processing. By combining exact matches on small "selectors" with soft, statistical matches on their surrounding "contexts," the authors provide a computationally efficient alternative to traditional structured learning that can easily incorporate external knowledge like WordNet.
Introduction
Most NLP tasks—like identifying named entities or resolving prepositional phrase attachment—deal with highly structured, relational data. While kernel methods are effective for handling non-vector data, they often encounter a "sparsity" problem: matching large, complex structures exactly rarely yields a perfect match, leading to a nearly diagonal Gram matrix. Conversely, breaking structures into too many small parts loses meaningful context. Furthermore, many state-of-the-art sequence labeling methods at the time required expensive searches over the entire output space during inference. This research seeks a middle ground: a kernel sensitive to structure and context that remains computationally efficient.
Methodology
The authors build upon the R-decomposition kernel framework, specifically focusing on Weighted Decomposition Kernels (WDK).
Selector and Context
Instead of matching two large structures, WDK identifies a "selector" (a small part, like a single word) and its "context" (the surrounding substructure). While selectors must match exactly, contexts are compared using "soft" similarity measures, such as Histogram Intersection Kernels (HIK) or Probability Product Kernels (PPK). This allows the model to recognize similar linguistic environments even if the surrounding sentences are not identical.
Position-Dependent WDK
For sequence labeling tasks like Named Entity Recognition (NER), the authors introduce a version where the kernel is defined relative to the position $t$ being classified. They divide the sentence into regions to capture the local "flow" of information without needing a global search over all possible label sequences.
As illustrated in Figure 2, the decomposition can involve up to six regions (e.g., Left-Left, Left-Right, Left-Outer, etc.) to model the context around the target position $t$. By encoding positional context directly into the kernel, sequence labeling is transformed into a position-specific classification task, bypassing the need for collective labeling algorithms like Viterbi decoding.
Semantic Enrichment
To handle word sense ambiguity, the authors introduce a kernel that utilizes WordNet. It measures similarity by examining the paths from a word's "synsets" (synonym sets) to the root of the WordNet hierarchy, effectively integrating external semantic knowledge.
Datasets and Evaluation
The approach was evaluated on two classic NLP benchmarks:
- CoNLL-2002 (Spanish): Used for Named Entity Recognition (NER), focusing on identifying persons, organizations, and locations.
- Wall Street Journal (WSJ): Used for Prepositional Phrase (PP) attachment disambiguation.
Results and Discussion
The experiments demonstrated that increasing the complexity of the context (moving from 4 context types to 6) consistently improved performance.
As shown in Figure 5, the best configuration on the Spanish NER dataset achieved a micro-averaged $F_1$ score of 72.90%. For PP attachment, the inclusion of WordNet semantic information provided a clear boost: the base model (exact word match) scored 84.6% accuracy, while the version using WordNet and lexicographer file identifiers reached 86.2%.
The WDK approach significantly reduces computational complexity compared to recursive string kernels by transforming sentences into bags of "enriched" words in a single preprocessing step. While this method labels positions independently and lacks the "collective labeling" power of models like Conditional Random Fields (CRFs), it offers a highly efficient and robust alternative for many structured NLP tasks.
Conclusion
Decomposition kernels offer a smarter way to handle structure in NLP by balancing exact and soft matching. The integration of positional context and semantic enrichment allows for high performance with significant computational gains. Future work involves fully merging these techniques with declarative frameworks to allow for "plug-and-play" integration of linguistic knowledge sources like syntax trees and ontologies.
Summary updated