Knowledge and Tree-Edits in Learnable Entailment Proofs

Asher Stern, Shachar Mirkin, Eyal Shnarch, Lili Kotlerman, Ido Dagan, Amnon Lotan, Jonathan Berant

TL;DR

Researchers at Bar-Ilan University have developed BIUTEE, a system that treats Textual Entailment (determining if one sentence follows from another) as a "learnable proof." By combining formal linguistic rules with a cost-based model for "on-the-fly" tree edits, the system can find a path from text to hypothesis even when knowledge bases are incomplete, providing both a prediction and an explanation.

What Problem Does This Paper Address?

In the field of Natural Language Processing, Recognizing Textual Entailment (RTE) is a core challenge: given a text ($t$) and a hypothesis ($h$), can we programmatically determine if $h$ is true based on $t$?

Historically, researchers have taken two paths:

  1. Logic-based systems: These use strict inference rules. They are highly explainable but suffer from "low recall"—if a specific piece of world knowledge is missing from the database, the system can't complete the proof and fails.
  2. Classification-based systems: These use machine learning to find statistical similarities. They are robust but "black boxes" that don't explain how the entailment happens.

The authors address this "robustness vs. explainability" gap. They want a system that constructs an explicit proof (a sequence of transformations) but uses a probabilistic model to handle the inevitable gaps in our digital knowledge bases.

Methods

The authors present the BIUTEE (Bar Ilan University Textual Entailment Engine) framework, which operates on dependency parse trees.

  • The Proof Process: The system tries to transform the parse tree of the text into the parse tree of the hypothesis using a sequence of operations.
  • Inference Rules: It uses a massive library of "known" rules from resources like WordNet, Wikipedia, and DIRT. For example, a rule might be: “X listen to Y” $\rightarrow$ “X hear Y”.
  • On-the-fly Operations: This is the "secret sauce." When standard rules fail to bridge the gap, the system is allowed to perform "on-the-fly" tree edits (inserting nodes, moving subtrees, changing relations).
  • The Cost Model: Every operation has a "cost" determined by a linear model. A standard rule from a reliable source has a low cost; a wild "on-the-fly" guess has a high cost.
  • Search and Learning: The system uses an A search algorithm to find the "best proof" (the one with the lowest total cost). Crucially, the weights for these costs are learned iteratively* from training data. If a certain type of tree edit frequently appears in valid entailments, the system learns to lower its cost.

Datasets

The system was evaluated using the RTE-7 (Seventh Recognizing Textual Entailment) challenge dataset.

  • Main Task: Identifying entailing sentences within a corpus of 10 topics (each with ~35 hypotheses and a 10-document corpus).
  • Novelty Detection Subtask: Determining if a hypothesis contains new information relative to a set of entailing sentences.
  • Resources: The authors integrated Wikipedia rules, WordNet, Lin Similarity, Directional Similarity, FrameNet, and VerbOcean.

Key Insights and Ideas

  • Entailment as Optimization: By framing entailment as finding the "minimum cost" transformation path, the authors turn a discrete logic problem into a continuous optimization problem that machine learning can solve.
  • Bridging the Knowledge Gap: The "on-the-fly" operations act as a safety net. They allow the system to always find some proof, even if it's a high-cost one. This prevents the "fail-on-missing-data" problem of traditional logic.
  • Explainability is Preserved: Unlike a standard classifier, BIUTEE outputs the actual sequence of steps it took to reach the conclusion. Even if some steps are "on-the-fly" edits, the user can see exactly where the system made an assumption.

Key Results

The researchers submitted three configurations (BIU1, BIU2, BIU3) to the RTE-7 challenge:

  • Top Performance: Their best run (BIU2) achieved a Micro-Averaged F1 score of 42.93% on the main task.
  • Ablation Studies: They tested which knowledge resources mattered most. Removing Wikipedia rules caused the biggest drop in performance (1.56% $\Delta$), followed by Directional Similarity (0.94% $\Delta$). Interestingly, removing WordNet actually caused a tiny increase in performance, suggesting that some WordNet relations might be too noisy for this specific task.
  • Novelty Detection: The system performed strongly in novelty detection, with F1 scores exceeding 80% for the primary score.

Limitations and Future Work

  • Negative Weights: A technical hurdle arose where the learning algorithm sometimes assigned "negative costs" to operations (meaning the operation increased confidence). This breaks the search algorithm (which expects costs to be penalties). The authors had to implement a post-processing "fix" for this, but they admit a more principled learning method is needed.
  • Search Complexity: Finding the "best proof" in an exponential space of tree transformations is computationally expensive. While they use pruning and A*, the system's runtime remains a concern.
  • Deeper Semantics: The authors suggest that future versions should incorporate Semantic Role Labeling (SRL) and temporal expression detection to better understand who did what and when, rather than just looking at tree structures.

Summary updated

BibTeX
@inproceedings{stern2011knowledge,
  author = {Asher Stern and Shachar Mirkin and Eyal Shnarch and Lili Kotlerman and Ido Dagan and Amnon Lotan and Jonathan Berant},
  title = {{Knowledge and Tree-Edits in Learnable Entailment Proofs}},
  booktitle = {TAC},
  year = {2011},
  url = {https://openreview.net/forum?id=qk_92KvXkpG},
}
Figure