Structural Representations for Learning Relations between Pairs of Texts

Simone Filice, Giovanni Da San Martino, Alessandro MoschittiACL 2015

Abstract

Determining semantic relationships between sentence pairs, such as paraphrase identification and textual entailment, is a core challenge in Natural Language Processing. This paper presents a scalable framework utilizing structural kernels on parse trees and graphs to automate feature engineering. By introducing a novel "relational labeling" (REL) technique that marks correspondences between sentences, the proposed models achieve state-of-the-art performance on the MSR Paraphrase Corpus and competitive results on RTE-3 without the computational overhead of traditional structural methods.

Introduction

In tasks like Paraphrase Identification (PI) and Recognizing Textual Entailment (RTE), the goal is to determine if two sentences share the same meaning or if one logically implies the other. Historically, this required extensive manual feature engineering to capture syntactic and semantic interactions. While structural methods like tree kernels offer a way to automate this process by analyzing sentence "shapes," they have traditionally struggled with scalability and "relational blindness"—the inability to recognize specific word-to-word correspondences across the sentence pair.

Methodology

The authors address these limitations through a combination of advanced tree kernels and a new labeling strategy.

Structural Kernels and Embeddings

The framework employs the Partial Tree Kernel (PTK) to analyze connected subsets of nodes within parse trees. To account for lexical variation, the Smoothed Partial Tree Kernel (SPTK) integrates word embeddings (such as LSA or word2vec), allowing the model to recognize "fuzzy" matches between semantically similar words (e.g., "slid" and "fell").

Relational Labeling (REL)

The core innovation is the REL tag. To bridge the gap between two independent trees, the system identifies matching words across the pair and marks them, along with their ancestors in the parse tree, with a special relational tag. This transforms generic syntactic structures into relational trees that explicitly encode how the sentences overlap.

Relational labeling (REL tags) applied to parse trees to highlight correspondences between sentence pairs.

Graph Representations

Beyond trees, the authors represent sentence pairs as a single graph by connecting matching nodes with edges. They then apply the Neighborhood Subgraph Pairwise Distance Kernel (NSPDK) to capture complex, non-linear mappings that hierarchical trees might miss.

Experimental Results

The models were evaluated on the MSR Paraphrase Corpus (PI) and the RTE-3 (Entailment) benchmarks.

Paraphrase Identification

On the MSR corpus, the inclusion of REL tags significantly boosted performance. The combined model—integrating a Linear Kernel, Graph Kernel, and SPTK with word2vec—achieved a peak accuracy of 79.13% and an F1-score of 0.852, establishing a new state-of-the-art at the time.

Performance results on the MSR Paraphrase Corpus, comparing various kernel combinations with and without REL tagging.

Textual Entailment

For the RTE-3 dataset, the model reached 67.00% accuracy. While slightly behind systems utilizing massive external knowledge bases (like WordNet or Wikipedia), this approach demonstrated that structural information alone, when properly labeled, can be highly competitive.

Discussion and Conclusion

A key insight of this research is that relational context is paramount; knowing which parts of the syntax are shared is more valuable than simply increasing the volume of features. Furthermore, the authors demonstrated that these kernels can run in near-linear average time, making structural approaches viable for large-scale datasets. Future work will explore more complex graph kernels and applications in structural tasks like Question Answering (QA) reranking.

Summary updated

BibTeX
@inproceedings{filice2015structural,
  author = {Simone Filice and Giovanni Da San Martino and Alessandro Moschitti},
  title = {{Structural Representations for Learning Relations between Pairs of Texts}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1097},
}
Figure