Truth Maintenance Systems for Problem Solving

Jon Doyle

Abstract

This paper introduces the Truth Maintenance System (TMS), a foundational framework designed to allow AI programs to track the justifications behind their beliefs. By managing dependencies between facts, the TMS enables systems to handle non-monotonic reasoning—where new information can invalidate previous conclusions—and perform efficient, dependency-directed backtracking when errors occur.

Introduction: The Problem of Logical Brittleness

In the early development of artificial intelligence, systems often suffered from extreme "brittleness." If a program made an assumption that later proved false, it lacked an elegant mechanism to "un-think" the conclusions derived from that assumption. Standard search algorithms typically employed chronological backtracking, which blindly retraced steps one by one. This approach was often redundant and inefficient, as systems would repeat the same logical errors because they did not understand the underlying cause of a failure.

Jon Doyle addresses this by proposing a system that can reason about its own reasoning. The TMS serves as a mechanism to maintain a consistent set of beliefs, provide explanations for those beliefs, and intelligently recover from contradictions by identifying the specific assumptions that caused them.

The Non-Monotonic Dependency System

The core of the TMS is its non-monotonic dependency system. Unlike classical logic, where adding a new fact only increases the set of known truths, the TMS allows for the removal of beliefs. The system is built upon several key technical components:

  • Justifications: Every "fact" or assertion in the system is attached to a justification. A belief is only held if it has a valid, currently active justification.
  • Non-monotonicity: A belief can be justified by the lack of another belief. This allows the system to make "default" assumptions (e.g., "Assume the car starts unless I have evidence the battery is dead").
  • Conditional Proofs: These are justifications that support a belief if a specific set of other beliefs is true. This mechanism is used to summarize discoveries and handle hypothetical "what-if" scenarios.
  • Dependency-Directed Backtracking: When the system encounters a contradiction, it does not simply revert to the previous state. Instead, it examines the "dependency chain" to find the exact assumptions responsible for the conflict. It then uses a conditional proof to "summarize" the failure, ensuring the system never repeats that specific combination of mistakes.

Key Insights and Architectural Benefits

The TMS effectively provides a program with a meta-level view of its own logic. It does not just store facts; it stores the reasons for those facts. This leads to several significant advantages in problem-solving:

  1. Automated Belief Revision: The system can automatically "ripple" changes through a database. If a foundational assumption is retracted, the TMS identifies every conclusion that relied on it and marks them as no longer believed.
  2. Efficiency through Memory: By summarizing failures via conditional proofs, the system learns from its mistakes. This avoids the "combinatorial explosion" of searching through paths already known to be logically inconsistent.
  3. Separation of Concerns: The TMS separates the logic of the problem (handled by the domain-specific program) from the maintenance of consistency (handled by the TMS itself).

Qualitative Results and Impact

As a foundational theoretical work from the MIT AI Lab, the paper focuses on architectural design rather than standardized datasets. However, it outlines several qualitative breakthroughs in AI reasoning:

  • Explanation Generation: Because the system tracks justifications, it can easily generate human-readable explanations for why it holds a particular belief.
  • Hypothetical Reasoning: The system can successfully manage multiple "worlds" or hypotheses by using conditional proofs to isolate different sets of assumptions.
  • Improved Search: The implementation of dependency-directed backtracking represents a significant efficiency gain over traditional depth-first search methods used in early AI research.

Limitations and Future Directions

While the TMS provides a robust framework for consistency, it is not without limitations. The computational overhead required to re-determine the status of all beliefs whenever a justification changes can be expensive as the web of dependencies grows. Furthermore, the TMS ensures consistency (that beliefs do not contradict each other based on justifications) rather than objective "Truth"; the system's output is only as reliable as the justifications provided to it.

Despite these challenges, the framework remains instrumental for generalization and separating levels of detail in complex problem-solving, hinting at the more modular AI architectures that followed.

Summary updated

BibTeX
@inproceedings{doyle1977truth,
  author = {Jon Doyle},
  title = {{Truth Maintenance Systems for Problem Solving}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1977},
}
Figure