XTE: Explainable Text Entailment

Vivian Dos Santos Silva, André Freitas, Siegfried HandschuharXiv 2020

Abstract

Traditional approaches to Textual Entailment (TE) often prioritize predictive accuracy at the expense of interpretability. This paper introduces XTE (Explainable Text Entailment), a composite framework designed to bridge the gap between performance and transparency. By utilizing a routing mechanism that distinguishes between structural and semantic entailment, XTE leverages syntactic tree analysis and distributional navigation across dictionary-based knowledge graphs. The result is a system that not only classifies logical relationships between sentences but also generates human-readable justifications for its reasoning.

Introduction

In Natural Language Processing, Textual Entailment (TE) is the task of determining whether a "Hypothesis" (H) can be logically inferred from a given "Text" (T). While modern deep learning models have achieved significant milestones in this domain, they are frequently criticized for being "black boxes." These models provide binary or ternary classifications without explaining the underlying logic, which limits their utility in high-stakes applications where trust and accountability are paramount.

Furthermore, many existing systems treat all sentence pairs uniformly. In reality, entailment can stem from vastly different sources: some are purely structural (e.g., active vs. passive voice transformations), while others require deep world knowledge (e.g., understanding that a "signatory" is inherently bound by an "agreement"). XTE addresses these challenges by identifying the specific type of entailment and providing a structured, natural language explanation for its decision.

Methodology

XTE employs a composite architecture driven by a "router" module. This router analyzes the word overlap between the Text and the Hypothesis to determine which specialized engine is best suited to process the pair.

The Syntactic Path: Tree Edit Distance

When sentences exhibit high word overlap but differ in structure, XTE utilizes a Tree Edit Distance (TED) algorithm. This path focuses on the dependency trees of both sentences, calculating the minimal number of "edits"—such as insertions, deletions, or reordering—required to transform the Text tree into the Hypothesis tree. This approach is highly effective for handling syntactic variations that do not require external semantic knowledge.

The Semantic Path: Distributional Graph Navigation

For entailment pairs requiring external knowledge, XTE navigates a Definition Knowledge Graph (DKG). This graph is constructed by transforming natural language dictionary definitions into structured semantic roles (e.g., Supertype, Purpose, or Location).

To find a logical bridge between T and H, the system uses Distributional Navigation (DNA). By utilizing word embeddings to calculate semantic similarity, the system "hops" between concepts in the graph. For example, if the Text mentions a "signatory" and the Hypothesis mentions a "document," the system searches for a path through the DKG that connects these concepts via their definitions.

Context and Negation Analysis

To ensure logical consistency, a dedicated context module checks for "deal-breakers." This includes identifying negation (e.g., "is" vs "is not") or antonyms that would invalidate a semantic link, even if the distributional similarity between the words is high.

Experimental Setup

The authors evaluated XTE across four diverse benchmarks to test various reasoning capabilities:

  • RTE3: A standard benchmark for general textual entailment.
  • SICK (Sentences Involving Compositional Knowledge): A dataset focusing on lexical and structural variations.
  • BPI (Boeing-Princeton-ISI): A dataset specifically curated to require world knowledge.
  • GHS (Guardian Headlines Sample): Real-world data consisting of news headlines and their corresponding lead sentences.

Results and Discussion

Quantitative Performance

XTE demonstrated superior performance compared to traditional baselines, such as standard Edit Distance and Maximum Entropy classifiers. The gains were most pronounced in knowledge-intensive datasets. For instance, on the BPI dataset, XTE achieved an F1-score of 0.65, significantly outperforming the Edit Distance baseline of 0.43.

Knowledge Base Comparison

The effectiveness of the semantic path was tested using four different knowledge sources: WordNet, Webster’s Dictionary, Wiktionary, and Wikipedia. WordNet emerged as the most effective source, likely due to its concise definitions and regular patterns, which facilitate more accurate graph navigation.

Qualitative Interpretability

A key contribution of XTE is its ability to generate justifications. In human evaluations, the system produced "correct" and readable justifications for 77.1% of entailments in the SICK dataset and 61.3% in the BPI dataset. By formatting the edges of the traversed graph (e.g., "X is a kind of Y"), the system provides a transparent reasoning chain that users can verify.

Conclusion and Future Work

XTE represents a significant step toward explainable AI in NLP. By separating syntactic shuffling from semantic reasoning, the model provides both accuracy and interpretability. However, the authors note a performance trade-off: while XTE outperforms traditional baselines, it currently trails behind the latest large-scale transformer models (like BERT) in pure accuracy.

Future research will focus on aggregating multiple knowledge bases to improve coverage and addressing the "neutral" relationship problem, where no clear entailment or contradiction exists. Additionally, the authors plan to conduct psychological studies to further quantify human trust in the generated justifications.

Summary updated

BibTeX
@misc{silva2020xte,
  author = {Vivian Dos Santos Silva and André Freitas and Siegfried Handschuh},
  title = {{XTE: Explainable Text Entailment}},
  year = {2020},
  eprint = {2009.12431},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.12431},
}
Figure