Abstract
Traditional intelligent advisory systems often struggle to correct user errors because they rely on complex, error-prone "user modeling" to diagnose the specific logic behind a misconception. This paper presents "The Correction Machine," a system that bypasses the need for mind-reading by focusing on advisor-based justification. Instead of inferring why a user is wrong, the system explains why its own expert beliefs are correct. By utilizing a library of domain-independent Justification Patterns (JPs) and a recursive confirmation process, the system generates helpful, logical explanations for novel misconceptions in complex environments like UNIX.
Introduction
When novice users interact with complex systems, they frequently operate under incorrect mental models. For example, a UNIX novice might believe they can instantly "undo" a file deletion or that a specific command is inefficient without understanding its underlying costs.
Historically, AI advisory systems attempted to solve this through user modeling—inferring the specific chain of logic that led the user astray. However, this requires a massive amount of external context about the user's history that systems rarely possess. If the system's "mind-reading" fails, the resulting advice is often irrelevant or confusing. The UCLA Artificial Intelligence Laboratory proposed a shift in strategy: rather than diagnosing the user's mental state, the system should focus on justifying its own expertise.
Methods: Advisor-Based Justification
The core mechanism of the Correction Machine is a set of Justification Patterns (JPs). These are abstract, domain-independent templates that describe why a plan might be inappropriate or why a specific belief is held.
Primitive Planning Relationships
To build these justifications, the system represents knowledge using a set of primitive planning relationships. These primitives allow the system to describe the world in terms of events, states, and goals.
These primitives, such as E causes S (Event causes State) or R precludes R' (one relationship prevents another), form the building blocks for more complex JPs. For instance, a pattern like "Plan Indirectly Thwarts Goal" can be constructed using these primitives to explain why a user's proposed action is counterproductive.
Recursive Confirmation
When the system selects a JP to address a misconception, it does not simply state the pattern. It performs a recursive confirmation process. The system searches its memory to confirm every piece of the selected pattern. If a component of the pattern is not immediately confirmable as a fact, the system treats that component as a new belief to be justified, recursing until the entire explanation is grounded in known domain facts. This dynamic construction allows the system to handle "novel" misconceptions—errors the programmer did not explicitly anticipate.
Implementation and Results
The model was implemented in Prolog as "The Correction Machine." The system's knowledge base included a hand-coded domain model of basic UNIX commands (e.g., rm, mv) and a library of approximately 25 Justification Patterns.
Qualitative evaluation demonstrated that the system could successfully navigate multi-turn dialogues where users held layered misconceptions. A key finding was that the process of "confirming" an explanation often unearths the most useful advice. For example, to explain why the rm -i command is preferable, the system must confirm that it prevents accidental deletion, which naturally leads it to explain how the command functions (by prompting the user).
Limitations and Future Work
While the pattern-based approach is versatile, several challenges remain:
- The Selection Problem: The system often identifies multiple JPs that could apply to a single situation. Currently, it lacks a sophisticated heuristic to choose the most concise or relevant explanation for a specific user.
- Computational Complexity: The recursive confirmation process is potentially time-consuming. In real-time interfaces, deep justification trees could lead to unacceptable latency.
- Bidirectional Understanding: While the system is adept at generating justifications, it does not yet "comprehend" justifications provided by the user. Future work aims to use these same patterns to parse and understand user input.
Conclusion
The Correction Machine demonstrates that an advisor does not need to know why a user is wrong to be helpful; it only needs to explain why it is right. By shifting the focus from user modeling to expert justification, the system provides a robust framework for generating domain-independent explanations that can adapt to a wide variety of user errors.
Summary updated