An Introduction to the Heuristic Programming System

David K. JeffersonIJCAI 1969

Abstract

This paper presents the Heuristic Programming System (HPS), a high-level framework designed to bridge the gap between human mental representations and machine code in artificial intelligence. By extending ALGOL with hierarchical data structures and a goal-directed Problem Solving Executive, HPS enables the construction and search of complex objects. A key contribution is the "Facility for Improvement," a mechanism for structural learning that abstracts successful problem-solving states into reusable templates. The system's utility is demonstrated through a Go-Moku strategy game implementation.

Introduction

In 1969, AI research faced a significant hurdle: the "representation gap." While languages like ALGOL were powerful for numerical tasks, they struggled with the dynamic, hierarchical structures required for human-like reasoning. David K. Jefferson proposed the Heuristic Programming System (HPS) to provide a more intuitive mapping between a researcher's mental model and the underlying implementation. Jefferson identified a specific need for a system that could not only search for existing data but also construct new objects based on abstract templates.

System Architecture

The HPS is divided into two major components designed to handle the complexity of AI problem-solving:

  1. The Class Language (CL): An extension of ALGOL 60, the CL treats "sets" and "classes" as first-class citizens. Unlike standard arrays, these classes can have variable cardinality and hierarchical subclasses. The CL includes a sophisticated for statement that uses "templates" to search for objects meeting specific structural and property-based criteria.
  2. The Problem Solving Executive (PSF): This is the goal-directed engine of the system. While the CL searches for existing objects, the PSF uses templates to combine existing objects into new ones to satisfy a goal. Jefferson views this process as analogous to a syntax-directed compiler for a continuously changing, ambiguous language.

The Facility for Improvement

The most novel method described in the HPS is the Facility for Improvement, a three-step process for automated structural learning. Rather than using statistical methods, the system learns by observing successful outcomes and refining them into general rules:

  • Creation: A goal member or successful state is achieved.
  • Editing: The system copies the description of that success and modifies it, removing specific coordinates or irrelevant properties.
  • Abstraction: The system replaces specific names with "undefined" variables, effectively turning a specific successful instance into a general template that the PSF can use in future searches.

This "copy-paste-edit" approach allows the machine to create its own heuristics without manual programmer intervention, facilitating a form of self-improvement based on experience.

Case Study: Go-Moku

As a design specification, the HPS's utility was demonstrated through a program designed to play Go-Moku (a strategy board game). The system's data consists of board states, squares, and lines represented as hierarchical classes.

By representing the board as a hierarchy, the move generation mechanism—utilizing an alpha-beta minimax search—remains highly efficient. The program is capable of improving its move generation; when an opponent makes a valuable but unexpected move, the system describes that move, abstracts it, and adds it to its own library of tactics. Jefferson concluded that this approach makes programming complex, multi-dimensional problems reasonably simple compared to the "awkward and inefficient" implementations required in LISP or SNOBOL at the time.

Limitations and Future Work

Despite its conceptual strengths, the HPS faced several practical limitations in 1969:

  • Implementation Status: The system was primarily a design specification, and early results likely stemmed from simulated logic.
  • Computational Overhead: The flexibility of list structures in HPS introduced a trade-off in speed compared to the fixed array structures of traditional ALGOL.
  • Domain Specificity: The system was not intended for pure symbol-manipulation tasks like theorem proving or symbolic integration, for which Jefferson noted LISP 1.5 remained the preferred choice.

Jefferson suggested that future applications of the HPS could extend to more complex games like Chess, as well as pattern recognition and operations research tasks such as scheduling and allocation.

Summary updated

BibTeX
@inproceedings{jefferson1969introduction,
  author = {David K. Jefferson},
  title = {{An Introduction to the Heuristic Programming System}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1969},
}
Figure