The Tractability of Path-Based Inheritance

Bart Selman, Hector J. LevesqueIJCAI 1989 · OpenReview

Abstract

Touretzky [1984] proposed a formalism for nonmonotonic multiple inheritance reasoning that is sound in the presence of ambiguities and redundant links. This paper demonstrates that Touretzky's inheritance notion is NP-hard, and thus, provided P ≠ NP, computationally intractable. This result holds even when one only considers unambiguous, totally acyclic inheritance networks. A direct consequence of this result is that the conditioning strategy proposed by Touretzky to allow for fast parallel inference is also intractable. We analyze the influence of various design choices, showing that while all versions of downward (coupled) inheritance are intractable, tractability can be achieved using upward (decoupled) inheritance. Thus, the main source of intractability in path-based inheritance formalisms is the downward reasoning style.

Introduction

In the 1980s, semantic networks were a primary focus for knowledge representation, allowing concepts to inherit properties through hierarchical structures. A significant challenge arose with the need to handle exceptions—cases where a subclass does not inherit a property from its superclass (e.g., penguins are birds but do not fly). David Touretzky's 1984 formalism addressed these "nonmonotonic" inheritance issues with a mathematically sound framework. However, the computational feasibility of this approach remained an open question. This work investigates the complexity of path-based inheritance, revealing that the very structures designed to handle exceptions can lead to exponential reasoning times.

The Inheritance Problem

Inheritance networks are represented as directed graphs where nodes denote concepts and edges denote relationships. "Positive" links indicate inheritance, while "negative" links indicate exceptions. The core difficulty in these networks is preemption: determining which specific information should override more general defaults. For instance, in a network where "Penguins are Birds" and "Birds fly," a negative link from "Penguins" to "Fly" should take precedence over the general bird property.

Examples of inheritance networks with redundant links and preemption.

Complexity Analysis

The primary finding of this research is that Touretzky’s definition of inheritance is NP-hard. The authors prove this by reducing the Path With Forbidden Pairs (PWFP) problem—a known NP-complete graph problem—to the problem of finding a valid inheritance path. This reduction shows that even in networks that are totally acyclic and free of ambiguity, the structural complexity of path validation is sufficient to cause intractability. This result has significant implications for systems like NETL, which relied on these hierarchies for fast information retrieval.

A construction used to demonstrate the NP-hardness of path-based inheritance through reduction.

The Downward vs. Upward Distinction

The study identifies "downward concatenation" as the fundamental source of intractability. In downward systems, the properties an individual inherits are "coupled" to the specific paths through their superclasses. This requires the reasoner to maintain and verify the entire history of a path, leading to a combinatorial explosion of possibilities.

In contrast, the authors discover that "upward (decoupled) inheritance" is tractable, falling within Polynomial (P) time. By constructing paths from the individual upward, the system only needs to track the current set of conclusions rather than the entire path history. This "decoupling" drastically simplifies the search space without sacrificing the core logic of the inheritance system.

Conclusion

The intractability of Touretzky’s inheritance formalism highlights a critical trade-off in knowledge representation. While downward, coupled reasoning provides a certain intuitive mapping of property inheritance, it is computationally expensive. By shifting to an upward, decoupled approach, it is possible to maintain the expressive power of nonmonotonic inheritance while ensuring that reasoning remains efficient even as knowledge bases grow. This distinction provides a definitive map for the design of future inheritance-based reasoning systems.

Summary updated

Abstract

Touretzky [1984] proposed a formalism for nonmonotonic multiple inheritance reasoning that is sound in the presence of ambiguities and redundant links. We show that Touretzky's inheritance notion is NP-hard, and thus, provided P ≠ NP, computationally intractable. This result holds even when one only considers unambiguous, totally acyclic inheritance networks. A direct consequence of this result is that the conditioning strategy proposed by Touretzky to allow for fast parallel inference is also intractable. Therefore, it follows that nonmonotonic multiple inheritance hierarchies, although compact representations, may not allow for efficient retrieval of information as has been suggested in attempts to use such hierarchies, e.g., in NETL [Fahlman, 1979]. We also analyze the influence of various design choices made by Touretzky. We show that all versions of downward (coupled) inheritance, i.e., on-path or off-path preemption and skeptical or credulous reasoning, are intractable. However, tractability can be achieved when using upward (decoupled) inheritance. Thus, the main source of intractability in path-based inheritance formalisms is the downward (coupled) reasoning.
BibTeX
@inproceedings{selman1989tractability,
  author = {Bart Selman and Hector J. Levesque},
  title = {{The Tractability of Path-Based Inheritance}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
  url = {https://openreview.net/forum?id=Hk451Qz_-r},
}
Figure