Abstract
This paper presents a formal graph-theoretic approach to inducing general concepts from specific logical instances. By representing predicate calculus expressions as graphs and utilizing a specialized "product graph" operation, the method identifies maximal consistent unifying generalizations through the search for maximal isomorphic subgraphs. This framework provides a rigorous foundation for what has become Inductive Logic Programming (ILP).
Introduction
In the early development of artificial intelligence, a primary goal was to enable machines to "learn" concepts by moving from particulars (instances) to universals (generalizations). For example, given several descriptions of a "stack of blocks" and several non-examples, a system should formally derive the underlying rule. The challenge lies in the complexity of the Predicate Calculus, where objects are defined by intricate relationships (e.g., on(blockA, blockB)). Simple statistical averaging is insufficient; instead, a method is required to find a "maximal consistent unifying generalization"—a rule general enough to cover all positive instances while strictly excluding negative ones.
The Product Graph Framework
Steven A. Vere’s core contribution is the Product Graph, a specialized data structure that transforms the logical problem of induction into a graph-theoretic search. The approach follows a structured pipeline:
Graph Transformation
Instances are initially represented as conjunctions of literals (e.g., (p a b) ^ (c a)). Each literal is then transformed into a node within a graph. To capture the structure of the relationships, edges are drawn between nodes if they share a common constant. This shift from text-based logic to graph-based topology allows the system to utilize well-studied algorithms for isomorphism.
As shown in the legend above, each node encodes specific metadata about the literal, including its sign (positive or negative) and the number of terms it contains. This detailed encoding ensures that the structural matching process preserves the semantic meaning of the original predicate calculus expressions.
The Product Operation
To identify commonalities between two distinct instances, Vere constructs a "product" of their respective graphs. Unlike a standard Cartesian product, this specialized mapping identifies all possible ways literals in Instance A could correspond to literals in Instance B. The problem of finding the optimal generalization is thus reduced to finding the maximal isomorphic subgraphs within this product graph.
Figure 1 illustrates a product graph for a complex logical expression. The nodes represent potential mappings between literals, while the edges represent shared constants (labeled $K_i$) that maintain the relational integrity of the induced concept.
Consistency and Results
A generalization is deemed "consistent" if its graph representation is not a subgraph of any negative instance’s graph. This provides a clean, binary test for validity: if the induced rule can be "found" inside a negative example, the rule is over-generalized and must be refined.
The paper successfully provides a rigorous mathematical definition for "maximal, consistent, unifying generalizations" and proves that the induction problem in predicate calculus is computationally equivalent to finding maximal isomorphic subgraphs. Vere confirmed these theoretical results using a program implemented in SNOBOL4, a string-processing language popular at the time.
Limitations and Future Work
While the product graph method is elegant, it faces significant computational challenges. Finding maximal isomorphic subgraphs is an NP-hard problem, meaning the approach may struggle to scale to very large or complex descriptions. Furthermore, the framework is currently limited to constants and universally quantified variables, excluding existential quantifiers and complex function nesting. Future research must address these logical constraints and develop strategies for iteratively scaling the process across thousands of instances.
Summary updated