Abstract
Abduction is desirable for many natural language processing (NLP) tasks. While recent advances in large-scale knowledge acquisition warrant applying abduction with large knowledge bases to real-life NLP problems, as of yet, no existing approach to abduction has achieved the efficiency necessary to be a practical solution for large-scale reasoning on real-life problems. In this paper, we propose an efficient solution for large-scale abduction. The contributions of our study are as follows: (i) we propose an efficient method of cost-based abduction in first-order predicate logic that avoids computationally expensive grounding procedures; (ii) we formulate the best-explanation search problem as an integer linear programming optimization problem, making our approach extensible; (iii) we show how cutting plane inference, which is an iterative optimization strategy developed in operations research, can be applied to make abduction in first-order logic tractable; and (iv) the abductive inference engine presented in this paper is made publicly available.
Introduction: The Challenge of Abductive Reasoning
In natural language processing (NLP), understanding text often requires "reading between the lines." For instance, given the sentences "John went to the bank. He got a loan," a human reader naturally infers that "bank" refers to a financial institution and that John's purpose was to secure credit. This process is known as abduction: inferring the most plausible underlying facts that explain observed phenomena.
While powerful for tasks like coreference resolution and word sense disambiguation, abduction is computationally intensive. Traditional logical approaches rely on grounding—converting abstract first-order logic (e.g., "all banks are institutions") into every possible specific instance. For real-world knowledge bases containing hundreds of thousands of facts, this leads to a "combinatorial explosion" that renders reasoning impractical for large-scale applications.
Methods: CPI4CBA
To address the grounding bottleneck, we developed CPI4CBA (Cutting Plane Inference for Cost-based Abduction). This system integrates three key innovations to enable efficient, large-scale reasoning:
- Lifted Inference: Instead of exhaustive grounding, the system performs inference at the first-order level. It employs backward chaining to generate potential hypotheses dynamically, only as required by the observations.
- ILP Formulation: The search for the "best" (lowest-cost) explanation is mapped to an Integer Linear Programming (ILP) optimization problem. This allows the use of high-performance solvers like Gurobi to find optimal proofs efficiently.
- Cutting Plane Inference (CPI): Borrowed from operations research, CPI manages the massive number of logical constraints (such as transitivity: if A=B and B=C, then A=C). Rather than loading all $O(n^3)$ constraints, CPI solves the problem initially without them, identifies violations in the solution, and iteratively adds only the necessary "violated" constraints.
Experimental Evaluation
We evaluated CPI4CBA on two benchmarks: the STORY dataset (plan recognition) and the RTE (Recognizing Textual Entailment) dataset. For the latter, we utilized a massive knowledge base comprising 289,655 axioms from WordNet 3.0 and 7,558 axioms from FrameNet 1.5.
Key Results
- Speed and Scalability: On the RTE dataset, CPI4CBA significantly outperformed baseline methods. For complex problems, it reduced average ILP inference time from 15.4 seconds to 11.73 seconds. Crucially, while the non-CPI baseline failed to process nearly 10% of problems due to search space limits, CPI4CBA successfully handled 98.4% of them.
- Constraint Efficiency: In the STORY dataset, the system generated over 61,000 potential constraints but only required approximately 24,000 to reach the optimal solution. In the RTE dataset, it utilized only 10,060 constraints, a fraction of the 36,773 required by the baseline.
Discussion and Future Work
The "lazy" approach of CPI demonstrates that enforcing logical rules only when violated is far more efficient than proactive grounding. Furthermore, the ILP-based framework is highly extensible, allowing for the easy addition of linguistic heuristics as linear inequalities.
However, limitations remain. The current framework primarily supports definite clauses and lacks robust handling for complex negation. Additionally, while ILP solving is fast, the initial backward-chaining step can still be a bottleneck. Future work will explore applying CPI techniques to search space generation and providing formal proofs for the completeness of this lifted inference approach.
Summary updated