Natural Logic for Textual Inference

Bill MacCartney, Christopher D. Manning

Introduction

Textual Entailment—the task of determining if a premise sentence implies a hypothesis sentence—is a cornerstone of natural language understanding. Historically, approaches have diverged into two paths: robust but shallow lexical matching, and precise but brittle formal logic. This paper introduces NatLog, the first computational system to implement "Natural Logic." By reasoning directly on natural language strings, NatLog bridges the gap between these two extremes.

The Challenge of Textual Inference

Shallow methods often rely on word overlap, making them robust to linguistic variety but vulnerable to simple logical operators like negation. Conversely, "deep" methods translate English into First-Order Logic (FOL). While FOL is mathematically precise, the process of mapping the nuances of human language—idioms, modalities, and causal relations—into rigid formulas is notoriously difficult. A single translation error can cause a theorem prover to fail entirely.

NatLog addresses this by leveraging Natural Logic to reason about monotonicity. This allows the system to determine how the truth of a statement changes when words are replaced with more general or specific terms, all without leaving the natural language domain.

Methodology: The NatLog Pipeline

The NatLog system operates through a three-stage pipeline:

  1. Linguistic Pre-processing: The system parses input and performs monotonicity marking. It identifies operators (e.g., no, few, without) that flip the logical flow. For instance, while "tango" normally implies "dance" (upward monotone), the presence of "didn't" reverses this: "didn't dance" implies "didn't tango" (downward monotone).
  2. Alignment: The system identifies a sequence of atomic edits (insertions, deletions, and substitutions) to transform the premise into the hypothesis. These edits are designed to be semantically meaningful rather than just character-based.
  3. Entailment Classification: For each edit, the system predicts one of five elementary entailment relations, as defined in the table below.
Table of elementary entailment relations used by NatLog.

Finally, the system composes these atomic relations using a specialized logic to reach a final judgment for the entire sentence pair.

Evaluation and Results

The authors evaluated NatLog on two distinct datasets: the FraCaS Test Suite, consisting of 346 textbook logic problems, and RTE3 (Recognizing Textual Entailment), which features longer, more diverse newswire text.

Performance on FraCaS

NatLog provided the first-ever reported quantitative results for the FraCaS suite. On the "applicable" sections—specifically quantifiers, adjectives, and comparatives—the system achieved 76% accuracy.

Accuracy results for NatLog across different semantic categories in the FraCaS test suite.

As shown in the results table, performance was particularly strong in the Quantifiers category (84.09%).

Performance on RTE3

On the real-world RTE3 dataset, NatLog functioned as a high-precision "specialist." While it had lower recall on its own, its precision on the development set was 76.39%, significantly outperforming the base Stanford RTE system (68.66%). When integrated as a feature into the broader Stanford system, NatLog provided a 3.12% absolute gain in accuracy, a statistically significant improvement.

Key Insights

The primary contribution of NatLog is the "Middle Way" it offers. It handles the logical "gotchas" (negation, quantifiers) that trip up shallow models without the brittleness of FOL. By treating an edit sequence as a logical proof, the system can chain small observations to judge complex sentences. Furthermore, the success of the hybrid system demonstrates that Natural Logic is a powerful tool when combined with broader, more robust inference methods.

Limitations and Future Work

Despite its strengths, NatLog is currently limited to single-premise problems and lacks a search mechanism for multi-sentence reasoning. It is also specialized for monotonicity and does not naturally handle temporal reasoning or complex causal links. Future work aims to extend the system to multi-premise scenarios and broaden the semantic features used for atomic entailment classification.

Summary updated

BibTeX
@inproceedings{maccartney2007natural,
  author = {Bill MacCartney and Christopher D. Manning},
  title = {{Natural Logic for Textual Inference}},
  booktitle = {ACL-PASCAL @ ACL},
  year = {2007},
}
Figure