Abstract
Researchers have developed TP-EGG, a novel framework that builds "Entailment Graphs"—maps of how different actions or states logically imply one another—by using generative Large Language Models (LLMs) rather than just searching through existing text. By generating new predicates and using a clever geometric "sphere" model to determine relationships, TP-EGG significantly reduces the data sparsity issues that have hampered this field for decades, leading to state-of-the-art performance in natural language inference tasks.
Introduction
In Natural Language Processing (NLP), understanding that "A adores B" implies "A knows B" is crucial for tasks like question answering and reasoning. These relationships are often organized into Entailment Graphs (EGs), where nodes are predicates (actions/states) and directed edges represent logical entailment.
Traditionally, EGs are built using the Distributional Inclusion Hypothesis (DIH): if predicate v entails w, then all the contexts where v appears should also be valid for w. However, this approach relies on massive corpora. If two related predicates do not appear frequently in the same dataset, the graph ends up with "holes"—missing nodes (predicate sparsity) or missing connections (edge sparsity). This makes traditional EGs brittle and limited to the vocabulary found in specific training texts.
Methodology: The TP-EGG Framework
The authors propose TP-EGG (Typed Predicate-Entailment Graph Generator), a multi-stage pipeline that shifts from extracting graphs to generating them. The process is divided into three core stages:
- Predicate Generation: Starting with a few "seed" predicates (e.g., "A recognize B"), the system uses a fine-tuned T5-large model to generate new, semantically related predicates. This process is iterative, allowing the graph to grow "outward" from the seeds.
- Edge Selection (The Sphere Model): To decide which predicates might entail others without checking every single pair (which is computationally expensive), they represent each predicate as a sphere in vector space. If predicate $p$ entails $q$, the sphere for $p$ should be contained within the sphere for $q$. This geometric approach naturally enforces transitivity (if $a \to b$ and $b \to c$, then $a \to c$).
- Edge Weight Calculation: For the candidate pairs selected by the sphere model, a DeBERTa model calculates a precise entailment score. This score determines the final "strength" of the connection in the graph.
Experimental Setup and Datasets
The model was evaluated on several gold-standard benchmarks to ensure robustness across different linguistic contexts:
- Levy/Holt & Berant: Classic datasets for entailment graph evaluation.
- SherLIiC: A dataset for lexical inference in context.
- Levy/Holt-r: A re-annotated version of the Levy/Holt dataset created by the authors to fix inconsistencies and better test directional entailment.
- Downstream Tasks: The EGs were tested on SNLI (Stanford Natural Language Inference) and SciTail (Science Entailment) to see if they improved the performance of standard language models.
Key Results and Discussion
TP-EGG achieved a significant jump in the Area Under the Curve (AUC) for Precision-Recall (PRC) and ROC. As shown in the results table below, on the Levy/Holt-r dataset, TP-EGG reached a PRC of .532, substantially outperforming the previous state-of-the-art (EGT2-Local) which sat at .447.
Beyond raw accuracy, the generative approach found nearly 8 times more valid entailment pairs in the Levy/Holt test set compared to traditional extractive methods. Furthermore, when the generated graphs were used to provide "clues" to standard BERT and DeBERTa models on the SNLI and SciTail tasks, the models showed measurable improvements in accuracy, proving that the explicit knowledge in the EGs complements the implicit knowledge in the LLMs.
Conclusion and Future Work
TP-EGG demonstrates that pre-trained LLMs can be treated as generative knowledge bases to "distill" latent relational knowledge into explicit, explainable graph structures. Unlike "black-box" models, TP-EGG provides a visible path of predicates that a human can inspect, making the reasoning process transparent.
However, limitations remain. The quality of the final graph is heavily dependent on the initial seed predicates, and calculating high-quality edge weights for very large graphs remains resource-intensive. Future research will explore automated seed selection and improving the scale-controllability of the generation process.
Summary updated