Mechanism of Deduction in a Question-Answering System with Natural Language Input

Makoto Nagao, Jun'ichi Tsujii

Introduction

In the early 1970s, deductive question-answering (QA) systems primarily relied on formal logic, such as first-order predicate calculus. However, this approach faced significant challenges: rigid logical expressions often introduced or ignored ambiguity prematurely, fixed predicates made knowledge expansion difficult, and the "resolution principle" was often computationally overkill for simple tasks. Furthermore, generating natural-sounding responses from abstract formulas remained a hurdle.

This paper proposes an innovative approach to Natural Language Processing (NLP) that maintains the richness of natural language throughout the reasoning process. By representing Japanese sentences as semantic trees within a network, the system blurs the distinction between "facts" and "theorems," allowing for human-like deduction by recursively resolving mismatches between queries and stored knowledge.

System Architecture

The proposed system is built on three main pillars: language analysis, deduction, and language generation. The core of the system is the Semantic Network, which serves as the knowledge base.

Figure 1: Overview of the system architecture, showing the flow from input sentences to output responses.

As shown in Figure 1, input sentences are processed by parsing routines and managed by a network administration routine. The deduction routine interacts with the semantic network to resolve queries, which are then passed to the sentence generation routine to produce natural language responses.

Knowledge Representation and Deduction

The system's innovation lies in its unique knowledge structure and matching methods:

  • Semantic Trees & Networks: Sentences are stored as dependency-based trees rather than logical formulas. These trees are interconnected to capture relationships such as "conditional," "implicational," and "causal."
  • The "Hatching" Matching Method: To answer a query, the system attempts to match the query's tree structure against trees in the database. If a perfect match is not found, the system identifies "differences" (e.g., word mismatches or structural variations).
  • Recursive Deduction: Mismatches are treated as "sub-goals." For instance, if a query about "Smith" encounters a rule about "humans," the system creates a sub-goal to verify if "Smith is a human."
  • Fact-Theorem Fluidity: Statements can act as both facts and theorems. A statement like "A man is an intelligent animal" can answer "Is a man an animal?" (fact) or "Is Smith intelligent?" (theorem) by treating higher-level concepts as variables for lower-level counterparts.
Figure 4: A semantic tree representation for the sentence "A man who is healthy and diligent will succeed," demonstrating complex logical structures.

Figure 4 illustrates how complex sentences involving logical conjunctions (AND) are represented. This structural approach allows the system to retain linguistic ambiguity until it needs to be resolved during deduction.

Key Insights and Results

A significant insight of this work is that ambiguity can be a feature. By allowing parsed trees to retain some ambiguity, the system avoids premature disambiguation, resolving it only when necessary. Additionally, the system uses the natural hierarchy of language for variable binding, avoiding explicit unary predicates.

The authors demonstrated qualitative success using complex Japanese sentences requiring multi-step reasoning, such as:

  1. "A diligent man will succeed."
  2. "Jim is a sportsman. Jim is diligent."
  3. Query: "Will Jim succeed?"

The system successfully navigated "AND-OR" goal trees to answer such questions by breaking them down into manageable sub-goals. This heuristic flexibility mimics human reasoning and allows for efficient searching in larger databases.

Limitations and Future Work

While the deduction subsystem is robust, the paper notes that the parsing and generation components require further detail. The examples provided are relatively small-scale, and while indexing techniques are mentioned, the system's scalability to massive datasets remains to be fully explored. Finally, while the underlying logic is general, the parsing logic is specifically tailored to the nuances of the Japanese language.

Summary updated

BibTeX
@inproceedings{nagao1973mechanism,
  author = {Makoto Nagao and Jun'ichi Tsujii},
  title = {{Mechanism of Deduction in a Question-Answering System with Natural Language Input}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1973},
}
Figure