Integrating Deep Learning and Knowledge Graphs for Natural Language Inference
A data-level enrichment method appends selected KG triplets to NLI training examples without changing BERT. Matched five-seed results show small gains for two graph–dataset pairs, mostly non-significant effects and a significant SciTail loss with ConceptNet.
Read findings, evidence and limitations
Team, date and review status: Efi Gianoulari and Ioannis Hatzilygeroudis; Electronics 15(20), article 4764; published 16 October 2026. The publisher records submission on 10 September, revision on 10 October and acceptance on 13 October. It is an open-access journal research article. MDPI’s editorial-process page says its peer-reviewed articles are assessed by independent academic editors; record-level reviewer reports for this article were not inspected.
Problem: Pretrained language models may need external knowledge for entailment decisions, but architecture-level knowledge integration can add complexity and produce results that depend heavily on the dataset and knowledge source.
Contribution of this study: The authors test a lightweight, data-level alternative that appends selected knowledge-graph triplets to training examples without changing BERT’s internal architecture. The study also separates validation-selected single-run results from a controlled five-seed analysis using matched baseline hyperparameters.
Method: Six NLI datasets—RTE, QNLI, SICK, SNLI, DNLI and SciTail—are enriched with AristoTuple and WordNet; ConceptNet is additionally used for SNLI and SciTail. Contiguous n-grams are matched to graph subjects, candidate triples are rendered as text, and paraphrase-MiniLM-L6-v2 embeddings with graph-specific cosine-similarity thresholds retain up to two relevant triples per match. Only training data are enriched, then BERT-base-uncased is fine-tuned. The controlled comparison uses the same five random seeds for vanilla and enriched configurations.
Verified results: The best observed validation accuracy was 95.24% on SciTail with AristoTuple, while the highest test accuracy was 93.70% on SciTail with ConceptNet in a validation-selected single run. In the controlled five-seed analysis, AristoTuple raised mean RTE accuracy from 76.80% to 76.90% (+0.10 percentage points, p=0.034), and WordNet raised QNLI from 90.42% to 90.70% (+0.28 points, p=0.013). Most other changes were not statistically significant. ConceptNet reduced SciTail from 92.78% to 92.53% (−0.25 points, p=0.014). The best single-run SciTail result, 93.70%, was below MT-DNN+LF at 94.30% and ExBERT at 95.20%/95.90% in the paper’s comparison table; these are literature comparisons, not matched reruns.
Significance: The work is useful precisely because it does not support a universal ‘KGs improve NLI’ claim. Small gains appear for particular graph–dataset pairs, and the controlled design makes negative effects visible.
Limitations: The experiments use one base language model, six datasets, fixed graph-specific thresholds and low enrichment coverage in several settings. Validation-selected single runs and literature baselines are not equivalent to the matched multi-seed comparisons. The article links a public code-and-data repository, but the experiments were not independently reproduced.
Original paper: MDPI article