Introduction
Common-sense reasoning remains a significant challenge in artificial intelligence. Traditional approaches often struggle to balance the precision of formal logic with the broad coverage and flexibility required to process natural language. This paper introduces NaturalLI, a system that bridges this gap by treating natural language itself as the formal logic. By casting inference as a search problem over a massive database of 270 million facts, NaturalLI demonstrates a robust method for predicting unseen truths with high precision.
The Problem: Database Completion
The primary task addressed is database completion: given a large collection of known facts (e.g., "the cat ate a mouse"), can the system determine if an unseen statement (e.g., "no carnivores eat animals") is true or false?
Existing solutions typically fall into two categories:
- Formal Logic: Translating sentences into symbols like First-Order Logic. While precise, this is brittle and difficult to scale to the nuances of human language.
- Information Retrieval (IR) and Machine Learning: These methods excel at finding similar sentences but often fail to recognize critical logical operators like "no" or "not," which can invert a sentence's meaning.
NaturalLI aims to combine the formal rigor of logic with the broad coverage of raw text.
Methodology: Natural Logic as Search
The core of NaturalLI is Natural Logic (NatLog), which operates directly on the syntax of human language. It defines how word substitutions (e.g., replacing "cat" with "animal") affect the truth value of a sentence based on context.
Inference as Search
Unlike previous NatLog systems that required aligning a specific premise to a query, NaturalLI treats the query as the starting point in a state-space search. The system "mutates" the query—by replacing words with hypernyms, deleting adjectives, etc.—until it finds a matching fact in its extensive database.
FSA Collapse and Efficiency
To handle the complexity of natural language, the authors introduce several optimizations:
- FSA Collapse: The standard set of seven NatLog relations is "losslessly collapsed" into three states: Valid, Invalid, and Unknown. This reduction significantly improves search efficiency without sacrificing logical integrity.
- Probabilistic Transitions: Not all mutations are equally certain. The system assigns "costs" to transitions (e.g., "cat" to "feline" is more reliable than "cat" to "dog"), which are learned from data to provide confidence scores.
- Trie-based Database: To manage 270 million facts, the database is stored in a trie (prefix tree) with a left-to-right mutation order, enabling extremely fast lookups.
Evaluation and Results
The system was evaluated on several datasets, including a knowledge base of 270 million facts extracted via OpenIE, the FraCaS benchmark for textual entailment, and a common-sense dataset derived from ConceptNet and ReVerb.
Key Findings
- Common Sense Reasoning: NaturalLI achieved 91% precision and 49% recall. This represents a fourfold improvement in recall over simple verbatim lookups with minimal loss in precision.
- FraCaS Performance: The system achieved 89% accuracy on applicable sections, matching state-of-the-art alignment-based NatLog systems while using a more efficient search approach.
Conclusion and Future Work
NaturalLI demonstrates that "language is the logic"—that the structure of human language already contains the necessary components for formal reasoning. By treating logical steps as weighted edges in a graph, the authors successfully merge symbolic reasoning with probabilistic machine learning. Future work includes addressing syntactic blindness and extending the search to handle more complex relations like meronymy (part-whole relationships).
Summary updated