[Paper Review] Path-Based Contextualization of Knowledge Graphs for Textual Entailment
This paper proposes a path-based contextualization method for knowledge graphs (KGs) to enhance textual entailment by extracting task-relevant sub-graphs via cost-customized shortest paths between premise and hypothesis entities. By leveraging multiple heuristics to weight edges and selecting informative multi-hop paths, the approach improves NLI performance over text-only and entity-only baselines, reducing noise while capturing relational structure, with gains of 3.15% on SciTail and 0.97% on SNLI.
In this paper, we introduce the problem of knowledge graph contextualization -- that is, given a specific NLP task, the problem of extracting meaningful and relevant sub-graphs from a given knowledge graph. The task in the case of this paper is the textual entailment problem, and the context is a relevant sub-graph for an instance of the textual entailment problem -- where given two sentences p and h, the entailment relationship between them has to be predicted automatically. We base our methodology on finding paths in a cost-customized external knowledge graph, and building the most relevant sub-graph that connects p and h. We show that our path selection mechanism to generate sub-graphs not only reduces noise, but also retrieves meaningful information from large knowledge graphs. Our evaluation shows that using information on entities as well as the relationships between them improves on the performance of purely text-based systems.
Motivation & Objective
- To address the challenge of extracting meaningful, relevant sub-graphs from large, noisy knowledge graphs for NLP tasks.
- To improve textual entailment performance by incorporating both entities and relationships from knowledge graphs, rather than relying solely on text or entity-level information.
- To reduce noise in knowledge graph augmentation by dynamically selecting informative paths using tunable heuristics and path length constraints.
- To demonstrate that path-based information—especially relational structure—significantly improves NLI systems beyond entity-only or structure-only approaches.
- To provide a generalizable, scalable alternative to models that rely on manually engineered features or one-hop neighborhood expansions.
Proposed method
- The method customizes edge weights in a knowledge graph using multiple heuristic functions (e.g., RF, DC) to guide path selection, transforming the graph into a cost-customized version for shortest path computation.
- Shortest paths between entities in the premise and hypothesis are computed using A* search on the cost-customized graph, where heuristics are applied to edges rather than nodes.
- The resulting path—comprising both entities and relations—is used to augment the textual input of the NLI model, enriching it with structured, relational knowledge.
- A match-LSTM model is trained on the combined textual and path-based features to predict entailment, contradiction, or neutral relationships.
- Multiple heuristics and path lengths are evaluated as hyperparameters to balance relevance and noise reduction in sub-graph extraction.
- The approach is evaluated on SNLI, SciTail, and BreakingNLI, comparing path-based, entity-only, and structure-based baselines.
Experimental results
Research questions
- RQ1Can path-based sub-graph extraction from knowledge graphs improve textual entailment performance compared to text-only or entity-only methods?
- RQ2How does incorporating both entities and relationships along a path affect NLI model performance compared to using only entities or graph structure?
- RQ3To what extent does the use of multiple, automatically computed heuristics reduce noise in knowledge graph sub-graphs for NLI?
- RQ4How does the path length constraint influence the trade-off between information richness and noise in the extracted sub-graphs?
- RQ5Does the proposed method generalize better than models relying on manually engineered features or one-hop neighborhood expansions?
Key findings
- The path-based approach achieved a 3.15% absolute improvement on the SciTail dataset compared to the KES baseline, despite using significantly fewer entities (13.72 vs. 33.27) and relations (10.24 vs. 22.09) on average.
- On the SNLI dataset, the method achieved a 0.97% absolute improvement over KES, while reducing the average number of entities and relations by over 50%.
- The GRN model outperformed both ConSeqNet and KES on SciTail and SNLI, demonstrating the advantage of using full path information over concept-only or one-hop structure-only methods.
- The method showed robustness to adversarial perturbations in the BreakingNLI dataset, though it underperformed KES and KIM, which benefit from the one-hop design of that dataset.
- The use of multiple heuristics and tunable path length enabled effective noise reduction while maintaining or improving performance, validating the flexibility and scalability of the approach.
- The results confirm that relational information along paths contributes more to NLI performance than entity-level or structural-only features, highlighting the value of full path contextualization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.