Structured Lexical Similarity via Convolution Kernels on Dependency Trees

Danilo Croce, Alessandro Moschitti, Roberto BasiliEMNLP 2011

Introduction

In Natural Language Processing (NLP), determining the similarity between sentences is a foundational task. Traditional approaches often struggle to balance syntax (the structural arrangement of words) with lexical semantics (the meaning of individual words). While "Tree Kernels" have historically automated feature engineering by comparing parse tree fragments, they are often too rigid. For instance, a standard Syntactic Tree Kernel (STK) might fail to recognize the similarity between "a beautiful apple" and "a lovely orange" because the words do not match exactly.

This paper introduces the Smoothed Partial Tree Kernel (SPTK), a novel method that bridges this gap by allowing "fuzzy" matches between semantically related words within flexible dependency structures.

The Challenge of Rigid Syntax

Traditional constituency trees, as shown in Figure 1, provide a hierarchical view of sentence structure. However, these structures are often too coarse for fine-grained semantic tasks. When using kernels on these trees, the requirement for exact lexical matches limits the model's ability to generalize across synonyms or related concepts.

A standard constituency tree representation of the question "What is the width of a football field?".

Methodology: The Smoothed Partial Tree Kernel

The authors propose the SPTK to address two primary limitations of existing kernels. First, it incorporates a similarity function $\sigma(n_1, n_2)$ between nodes, derived from resources like WordNet or Latent Semantic Analysis (LSA). This "smoothing" allows the kernel to calculate similarity scores even when words differ, provided they share semantic proximity.

Second, the authors re-engineered how dependency trees are represented for computation. Dependency trees are often more effective than constituency trees for capturing head-modifier relationships, but they are not natively "kernel-friendly." The authors experimented with three main formats:

  • PoS-Tag Centered (PCT): Grammatical relations are parents; words are children.
  • Grammatical Relation Centered (GRCT): PoS tags are children of relations and parents of words.
  • Lexical Centered Tree (LCT): The word is the central node, with PoS tags and relations as auxiliary children.
A structured dependency-based representation (GRCT/LCT) of the same question, which places grammatical relations and lexical items in a format optimized for kernel computation.

Experimental Results

The SPTK was evaluated on two distinct tasks: UIUC Question Classification (QC) and FrameNet Semantic Role Labeling (SRL).

Question Classification

The results were transformative. On the coarse-grained QC task, the SPTK achieved an accuracy of 94.8%, representing a 41% reduction in error compared to the previous state-of-the-art. The Lexical Centered Tree (LCT) format proved particularly effective, as it allowed the kernel to focus on lexical nodes constrained by their syntactic dependencies.

Semantic Role Labeling

In FrameNet argument classification, the model reached 88.91% accuracy. This performance is significant because it rivals systems that rely on labor-intensive, hand-engineered features, demonstrating that automated kernels can achieve high precision without manual intervention.

Conclusion

The Smoothed Partial Tree Kernel represents a significant step forward in structural NLP. By combining the robustness of dependency trees with the flexibility of lexical smoothing, the authors created a general-purpose tool that excels in both classification and labeling tasks. Future work may involve integrating SPTK into joint models to capture multi-argument dependencies in complex semantic frames.

Summary updated

BibTeX
@inproceedings{croce2011structured,
  author = {Danilo Croce and Alessandro Moschitti and Roberto Basili},
  title = {{Structured Lexical Similarity via Convolution Kernels on Dependency Trees}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2011},
}
Figure