Explicit Integration of Goals in Heuristic Algorithm Design

TL;DR

This paper introduces a system that semi-automatically designs heuristic algorithms by explicitly integrating multiple, potentially conflicting design goals. It demonstrates this by deriving a simplified version of the Mycin therapy selection algorithm, showcasing how domain, performance, and design process goals can be transformed and combined to produce a functional algorithm.

What Problem Does This Paper Address?

Designing complex systems, like computer programs, often involves balancing multiple, sometimes contradictory, design goals. Traditional knowledge-based design systems struggle with this, either by not addressing multiple goals or by implicitly pre-compiling goal integration into their knowledge base through manual engineering. This makes it difficult to understand why a system behaves a certain way or to adapt it to new requirements. The authors aim to address this by developing models for explicitly reasoning about multiple design goals, particularly in the context of heuristic algorithm design, and by automating the derivation of algorithms that satisfy these goals.

Methods

The authors propose a transformational derivation system that models algorithm design as a process of transforming an initial specification into an executable algorithm. This process involves:

  • Dataflow Graphs: Representing algorithms as a network of components (memories, mappings, filters, selectors, searches, collects) connected by dataflow links.
  • Agenda of Design Goals: Maintaining a list of goals that need to be incorporated into the algorithm.
  • Design Operators: Rules that transform the algorithm to incorporate, pursue, or avoid violating design goals, integrate conflicting goals, or reformulate goals for easier processing.
  • Domain-Independent Transformation Rules: General rules that can be applied to various algorithm design problems.

They applied these methods to reconstruct a simplified version of the Mycin therapy selection algorithm, identifying three types of goals:

  • Domain Goals: Prescribing the algorithm's output (e.g., maximize drug effectiveness).
  • Algorithm Goals: Governing the algorithm's performance (e.g., maximize time efficiency).
  • Design Process Goals: Dictating resources available to the design process (e.g., time constraints).

Datasets

Not discussed in the paper. The paper focuses on a synthetic reconstruction of the Mycin algorithm rather than training on or evaluating against a dataset.

Key Insights and Ideas

  • Explicit Goal Integration is Crucial: The paper strongly argues that explicitly representing and reasoning about design goals, rather than implicitly encoding them, is key to building more intelligent and understandable design systems.
  • Transformational Derivation for Algorithm Design: Viewing algorithm design as a series of transformations on an initial specification, guided by design goals, provides a structured and automatable approach.
  • Handling Conflicting Goals: The system demonstrates how conflicting goals (e.g., maximizing drug effectiveness while minimizing the number of drugs) can be managed through transformation rules that integrate or reformulate them.
  • The Importance of Design History: Automating the derivation process inherently creates a design history, which is essential for explaining the resulting algorithm's features and rationale.
  • Generality of Transformations: The authors show the generality of their transformation rules by using them to derive two variations of the Mycin algorithm (RMTSA1 and RMTSA2), highlighting how different goal formulations lead to different algorithm structures.

Key Results

The paper successfully demonstrates the derivation of a simplified, operational version of the Mycin therapy selection algorithm (RMTSA) using their transformational system. They show how various design goals (e.g., maximizing drug effectiveness, minimizing drug count, avoiding contraindications, maximizing time/space efficiency) are progressively incorporated into the algorithm through a series of transformations. The paper presents two derivations:

  • RMTSA1: A derivation that prioritizes domain goals and then incorporates algorithm goals.
  • RMTSA2: A variation where a domain goal (avoiding contraindications) is treated as a preference, leading to a different algorithm structure that prioritizes this goal.

While quantitative performance metrics (like speedup or accuracy) are not the primary focus, the paper illustrates the process of generating an algorithm that satisfies specified goals, implying that the resulting algorithms are functional and meet the design criteria.

Limitations and Future Work

  • Control of Transformation Rules: The authors acknowledge that they have not addressed the problem of automatically controlling the selection of transformation rules. Their system alternates between selecting a rule and automatically applying it, which is a simplification.
  • Human Expert Interaction: The system relies on human experts for setting thresholds, determining condensation categories, and resolving ambiguities in partial orders, indicating a need for more sophisticated knowledge representation and reasoning for these aspects.
  • Explanation Component: While the work lays the groundwork for explanation by creating a design history, a dedicated explanation component was not built.
  • Future Work: The authors suggest further investigation into the "goal space" and the reasoning that influences goal formulation (e.g., why a goal becomes a preference versus a constraint). They also highlight the need to automate the reasoning that guides the formulation of goals.

Summary updated

BibTeX
@inproceedings{1987explicit,
  title = {{Explicit Integration of Goals in Heuristic Algorithm Design}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1987},
}
Figure