Integrating Problem-Solving Methods into CYC

James S. Aitken, Dimitrios SklavakisIJCAI 1999

Abstract

This paper investigates the integration of Problem-Solving Methods (PSMs) from the CommonKADS framework into the Cyc knowledge base. By layering structured reasoning strategies over Cyc’s extensive general knowledge, the authors address challenges in tractability and search efficiency. The approach is demonstrated through a systematic diagnosis task applied across two distinct domains—PC hardware and automobile ignition systems—showing improved modularity and cross-domain reusability.

Introduction

Large-scale knowledge-based systems (KBS) like Cyc are designed to represent "consensus reality" through massive, multi-contextual ontologies. However, Cyc often struggles with tractability and structure. While it is excellent at storing facts, it lacks high-level principles for organizing how it reasons through a specific task. Without a roadmap, Cyc relies on "weak search" methods (like general resolution-based inference), which can lead to a "combinatorial explosion" where the system explores too many irrelevant logical paths. The authors aim to bridge the gap between domain knowledge (what the system knows) and procedural expertise (how the system solves a problem).

Methodology

The authors integrate the CommonKADS methodology—a standard for engineering "expertise"—into the Cyc environment. This involves a multi-layered approach to modeling knowledge and control.

Expertise Modeling

They chose the "Systematic Diagnosis" PSM as their primary reasoning framework. This involves decomposing a system into subsystems, testing them, and comparing observed results against predicted outcomes (norms). This structured flow prevents the inference engine from wandering into irrelevant branches of the knowledge base.

The Systematic Diagnosis Problem-Solving Method (PSM) structure.

Representation and Control

The implementation utilizes two distinct layers within Cyc:

  1. Representation (CycL): They extended Cyc’s upper-level ontology using CycL (Cyc’s logic language) to define new "knowledge roles" (e.g., hypothesis, possibleTest) and "inference steps" (e.g., decompose, select).
  2. Control Regime (SubL): Because pure logic isn't enough to handle interactive data gathering and state updates, they used SubL (Cyc’s internal LISP-like language) to implement the "task layer." This layer manages the order of operations and calls the inference engine for specific, bounded queries.

Evaluation Domains

The approach was evaluated using two distinct domain models to test for reusability:

  • PC Hardware Diagnosis: The primary test case, focusing on boot failures involving power systems, video systems, and BIOS.
  • Automobile Ignition Systems: A secondary domain used to verify that the same diagnostic logic could be applied to a completely different physical system by simply swapping the domain-specific facts.

Key Insights and Results

Search Efficiency and Knowledge Typing

By organizing the ontology into conceptual levels (Domain, Inference, and Task), the system becomes modular. The authors found that choosing a PSM before building the domain ontology provides a "filter," helping engineers decide which concepts are relevant (e.g., focusing on functional-part-of relationships). Instead of one massive query requiring a deep search tree, the PSM breaks the problem into a series of shallow, simple queries, keeping search depth to 1–3 levels and significantly improving performance.

Microtheory Architecture and Reusability

Cyc’s microtheory mechanism was used to encapsulate generic system models, separating general diagnostic logic from specific domain facts. This architecture allowed the diagnostic PSM developed for PCs to be successfully applied to automobile ignition systems with minimal changes to the core logic.

Microtheory architecture for cross-domain diagnostic reasoning in Cyc.

Conclusion

The integration of PSMs into Cyc demonstrates a viable path toward making large-scale knowledge bases more efficient and reusable. By linking new diagnostic terms to Cyc’s existing upper-level ontology, the system remains robust and grounded in a broader context. Future work will address the lack of meta-reasoning, as the system currently cannot automatically switch between different PSMs or gracefully fall back to first-principles reasoning if a specific method fails.

Summary updated

BibTeX
@inproceedings{aitken1999integrating,
  author = {James S. Aitken and Dimitrios Sklavakis},
  title = {{Integrating Problem-Solving Methods into CYC}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1999},
}
Figure