Abstract
This paper explores the application of simple Information Retrieval (IR) techniques to the "Search Pilot" task of the 2009 Recognizing Textual Entailment (RTE5) challenge. We demonstrate that a "pruned" version of cosine similarity—which ignores words in the source text that do not appear in the hypothesis—significantly outperforms standard baselines and more complex synonym-expansion methods.
Introduction
The RTE5 Search Pilot task presents a unique challenge in the field of Recognizing Textual Entailment. Unlike standard RTE, where a system evaluates a single Text-Hypothesis pair, the Search Pilot requires identifying all entailing sentences for a given Hypothesis within a large document collection. This task mirrors real-world problems such as identifying semantic duplication in technical forums (e.g., Linux troubleshooting), where an automated system must find previous posts that "subsume" or answer a user's question despite differences in wording. The primary difficulties include a large search space, heavily skewed data toward negative matches, and "noise" in source sentences that can mask core entailment.
Methods
We evaluated several "bag-of-words" (BoW) approaches, treating the entailment task as an information retrieval problem:
- Baseline Cosine Similarity: A standard IR approach using TF-IDF weighting to compare word vectors of the Text (T) and Hypothesis (H).
- SubvCos (Pruned Cosine): Our primary innovation. We modified the cosine similarity calculation by removing all terms from the Text vector that do not appear in the Hypothesis. This prevents long, informative sentences from being penalized for containing extra details irrelevant to the specific hypothesis.
- Linguistic Processing: We compared the effects of stemming (reducing words to roots) versus lemmatization (finding dictionary base forms).
- Synonymy Expansion: Using WordNet, we attempted to augment word vectors with synonyms and derivationally-related forms (DRF) to capture entailments with differing vocabularies.
Experimental Setup
The study utilized the RTE5 Search Pilot dataset, which consists of newswire documents organized by topic. The development set included 19,294 potential Text-Hypothesis pairings. The data is characterized by a heavy skew toward "negative" entailment, and each hypothesis is linked to a set of documents rather than isolated sentences.
Results and Discussion
The performance was measured using Precision (P), Recall (R), and F-score (F) on both development and test sets.
As shown in the results, the "SubvCos" approach (Run 1) was the most successful, significantly outperforming the median score of all participants in the RTE5 Search Pilot (0.301).
Several key insights emerged:
- Pruning Effectiveness: In standard IR, extra words help define a document's topic. However, in RTE search, extra words in a source sentence often act as distractors that lower similarity scores. Pruning the source text to match the hypothesis vocabulary effectively mitigates this.
- The Synonymy Trap: Surprisingly, adding synonyms via WordNet decreased performance. While expansion might increase recall, it often lowers precision so significantly that the overall F-score suffers.
- Efficiency as a Filter: While BoW models are "shallow," their computational efficiency makes them excellent candidates for a pre-filtering stage in a larger pipeline, narrowing down thousands of sentences for more intensive semantic analysis.
Conclusion and Future Work
While effective as a baseline, bag-of-words models have inherent limitations; they cannot handle logic, negation, or complex sentence structures where word order is critical. Future work will focus on more nuanced synonym weighting and moving beyond BoW models by using the English Resource Grammar (HPSG) to extract deeper semantic relationships, aiming to address complex semantic duplication in technical domains.
Summary updated