PHI - A Logic-Based Tool for Intelligent Help Systems

Mathias Bauer, Susanne Biundo, Dietmar Dengler, Jana Koehler, Gabriele PaulIJCAI 1993

Introduction

Navigating complex software environments like UNIX can be a daunting task for many users. Traditional help systems are often passive, requiring users to formulate specific queries. Even "active" systems frequently struggle to bridge the gap between observing user behavior and providing meaningful assistance. PHI (Plan-based Help Interface) addresses this by providing a unified logic-based framework that integrates plan recognition and plan generation to create truly intelligent help systems.

System Architecture and Methodology

The core of PHI is a formal logical language called LLP (Logic for PLanning). LLP is an interval-based modal temporal logic that incorporates operators such as $\bigcirc$ (next), $\diamond$ (sometimes), and $\square$ (always), allowing it to represent dynamic system states and user actions over time.

The system architecture consists of two primary modules that share this logical foundation, mediated by a central prover and various knowledge bases.

The architecture of the PHI system, illustrating the integration of plan recognition and generation components.
  1. Plan Recognition: This module employs a generalized abductive process. It treats observed user actions as "consequences" and seeks the most likely "cause"—a plan hypothesis—that explains them. To manage the search space, the system uses abstract plans as hypotheses and ranks them using probabilistic valuations derived from a user model.
  2. Plan Generation: PHI generates plans using a deductive sequent calculus. It can operate from "first principles" (generating plans from scratch using domain axioms) or "second principles" (reusing and modifying existing plans from a library).

A critical feature of PHI is the "cross-talk" between these modules. The planner provides templates to the recognizer to narrow its search, while the recognizer alerts the planner when a user's workflow is suboptimal, triggering the generation of a more efficient alternative.

Key Insights

  • Unified Formalism: Using LLP for both recognition and generation eliminates translation errors between modules.
  • Abduction for Intent: Framing recognition as an abductive problem allows PHI to handle incomplete information and proactively predict future user actions.
  • Planning as Program Synthesis: The system treats plan generation as a form of deductive program synthesis, where a plan is a "program" proven to satisfy a goal specification.

Results and Evaluation

The system was evaluated within the UNIX mail system domain, focusing on commands like type, delete, and save. PHI demonstrated several key capabilities:

  • Semantic Plan Completion: Identifying a user's likely plan and offering to automate the remaining steps.
  • Suboptimal Behavior Correction: Recognizing inefficient command sequences and suggesting optimal alternatives.
  • Efficient Plan Reuse: Successfully modifying existing plans to fit new goals, which is often more efficient than planning from scratch.

Limitations and Future Work

While promising, PHI faces challenges regarding the manual effort required for domain axiomatization. Additionally, the computational complexity of plan modification can be high, and the system's effectiveness is heavily dependent on the accuracy of the underlying user model. Future research is needed to explore how this logic-based approach scales to larger, non-linear software environments.

Summary updated

BibTeX
@inproceedings{bauer1993phi,
  author = {Mathias Bauer and Susanne Biundo and Dietmar Dengler and Jana Koehler and Gabriele Paul},
  title = {{PHI - A Logic-Based Tool for Intelligent Help Systems}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1993},
}
Figure