Introduction
Natural Language Inference (NLI) is a fundamental task in artificial intelligence that requires determining the logical relationship—entailment, neutral, or contradiction—between a premise and a hypothesis. While modern neural networks excel at pattern matching within text, they often struggle with reasoning that requires external "background knowledge." This is particularly evident in the science domain, where understanding a premise like "Two men are using horses to help with farm work" and a hypothesis like "The farmers are ploughing the fields" requires knowing that "ploughing" is a form of "farm work" and that "farmers" are often the "men" performing such tasks.
Researchers from IBM and UIUC address this gap by introducing ConSeqNet, a framework designed to retrieve and inject structured external knowledge from knowledge graphs (KGs) into the inference process. By bridging text with common-sense and factual knowledge, the system achieves significant performance gains on challenging scientific reasoning tasks.
Methodology
The ConSeqNet architecture utilizes a hybrid approach, processing information through two parallel tracks to capture both linguistic patterns and structured factual relationships.
- Text-Based Model: This track employs a standard "match-LSTM" architecture. It processes the premise and hypothesis using an attention mechanism to identify cross-sentence word relationships, producing a vector representation of the textual entailment.
- Graph-Based Model: This novel component maps key concepts from the text to nodes in a Knowledge Graph. The researchers explored two variants: Gmatch-LSTM, which treats graph nodes as a sequence, and GconAttn (Graph Concepts Attention Model), designed to handle the non-sequential nature of graph concepts.
- Knowledge Integration: Subgraphs are extracted from external sources using three construction methods:
- Concepts Only: Includes only nodes directly mentioned in the text.
- One-Hop: Includes all immediate neighbors of text concepts in the KG.
- Two-Hop: Includes neighbors that form logical paths between concepts already present in the text.
The outputs from both tracks are merged and passed to a final classifier for the entailment prediction.
Experimental Setup
The primary benchmark for evaluation is SciTail, a dataset of science exam questions specifically curated to require external scientific and common-sense knowledge. Unlike general NLI datasets, SciTail focuses on real-world reasoning gaps. The study leveraged three major external knowledge sources:
- ConceptNet: A large-scale common-sense knowledge graph.
- DBpedia: A structured factual database derived from Wikipedia info-boxes.
- WordNet: A lexical database of semantic relationships like synonyms and hyponyms.
Results and Analysis
ConSeqNet achieved a state-of-the-art performance of 85.2% accuracy on the SciTail test set, outperforming several strong baselines including Decomp-Attn and DGEM.
Key findings from the experimental results include:
- ConceptNet Superiority: ConceptNet proved to be the most effective source for science NLI, suggesting that common-sense relationships (e.g., horse is used for ploughing) are more critical for this domain than purely lexical or encyclopedic data.
- Graph Density vs. Performance: Interestingly, the "One-Hop" method performed worse than the "Concepts Only" approach. The inclusion of numerous immediate neighbors introduced significant noise, which distracted the model from the core reasoning task.
- Complementary Information: An "Oracle" analysis revealed that the graph-based model often succeeded where the text-only model failed, indicating that the external knowledge provides a unique signal not present in the raw text.
- Joint Training Benefits: The best performance was achieved through joint training of the text and graph tracks, allowing the model to learn an optimal balance between textual patterns and structured facts.
Conclusion
While ConSeqNet demonstrates the power of external knowledge, the authors note that current knowledge bases are inherently noisy. Future research will focus on developing more sophisticated filtering techniques to extract only the most relevant subgraphs, combining multiple knowledge sources simultaneously, and improving the structural representation of graph data within neural models.
Summary updated