Building a formal ontology—a structured set of concepts and rules for artificial intelligence—often feels like trying to organize a "sea of axioms." As these systems scale, they frequently become tangled, redundant, and difficult to maintain. In their seminal work, Peter Clark, John Thompson, and Bruce Porter propose Knowledge Patterns (KPs) as a powerful architectural shift to address these challenges.
The Limitations of Inheritance
Traditionally, ontological engineering relies on inheritance (the "is-a" relationship) for knowledge reuse. However, the authors argue that inheritance fails in two critical ways:
- Multiple Applications: A single object might need to be viewed through multiple lenses simultaneously. For example, a computer might be modeled as a container of data and a container of hardware slots. Standard inheritance "overlays" these views, leading to logical collisions where data capacity might accidentally interfere with hardware expansion logic.
- Partial Applicability: Abstract theories often contain irrelevant axioms. Forcing a digital bank account to inherit from a "Physical Container" theory might introduce unnecessary concepts like "wall thickness" or "porosity."
This results in "ontological confusion," where abstract concepts are shoehorned into taxonomies just to satisfy logical constraints rather than reflecting reality.
The Knowledge Pattern Approach
Knowledge Patterns are self-contained, first-order theories. Instead of using inheritance, the authors utilize Morphisms—a technique borrowed from category theory—to apply abstract patterns to specific domains.
The process involves defining a general theory (like a "Distribution Network") in isolation and then creating a mapping to a specific domain (like an "Electrical Circuit"). When the knowledge base loads, the system creates a "morphed copy" of the pattern, renaming symbols according to the mapping.
Any symbols in the pattern that aren't mapped are given unique, hidden names. This effectively provides a form of private scoping for logic, similar to private variables in object-oriented programming, ensuring that the internal mechanics of the pattern do not clutter the main ontology.
Evaluation: The KB-PHaSE System
The primary application of this method was the KB-PHaSE (Physics of Hard Spheres Experiment) knowledge base, a system designed to train astronauts for space station experiments. The researchers successfully used KPs to build a hierarchy of theories, reusing the "Distribution Network" pattern to model both electrical power and information flow in optical systems.
By making modeling decisions explicit via morphism mappings, the "why" behind specific axioms became much clearer to engineers, and the system avoided the "sea of axioms" problem by maintaining a clear hierarchy of increasingly specific, morphed theories.
Key Insights
- Morphisms > Inheritance: Symbol renaming allows a single object to be viewed through multiple different "lenses" without logical crosstalk.
- Analogy as Architecture: The process of morphing a pattern is essentially a formalization of "reasoning by analogy." It allows engineers to state: "This circuit behaves analogously to a distribution network."
- Encapsulation: Knowledge patterns allow for the separation of "computational clockwork" (the mechanical logic of a theory) from the real-world phenomena it describes.
Conclusion
While Knowledge Patterns do not solve the "discovery problem"—the human task of finding the right pattern for a domain—they provide a robust framework for modularity. By treating abstract theories as reusable templates, researchers can build more flexible and maintainable knowledge bases that better reflect the complexities of the real world.
Summary updated