NUDGE, A Knowledge-Based Scheduling Program

Ira P. Goldstein, R. B. Roberts

Abstract

This paper introduces NUDGE, a pioneering knowledge-based scheduling system developed at the MIT AI Lab in 1977. NUDGE addresses the gap between informal human requests and rigid optimization algorithms by utilizing a frame-based representation language (FRL-0). By treating scheduling as a "debugging" process, the system automatically expands vague descriptions into formal specifications, demonstrating how structured domain knowledge can provide the "common sense" necessary for effective office automation.

Introduction: Knowledge vs. Power

The "Knowledge vs. Power" tension is a fundamental theme in artificial intelligence. While "power-based" algorithms excel at optimizing well-defined constraints, they often struggle with the incomplete and qualitative nature of real-world human interaction. NUDGE serves as a knowledge-based front-end that bridges this divide, transforming informal scheduling requests into actionable plans.

The Problem of Informal Scheduling

In the late 1970s, scheduling was dominated by algorithms like PERT or linear programming. These systems required perfect, quantitative data to function. However, real-world office scheduling is inherently "informal." A request like "Schedule a meeting with Bruce next Tuesday" leaves out the location, duration, and specific time. Traditional systems cannot handle such ill-defined or inconsistent descriptions. NUDGE was designed to provide the "common sense" layer needed to turn a qualitative human request into a formal "frame gestalt"—a complete data structure that a traditional search algorithm can then optimize.

Methodology: Frame Representation Language (FRL-0)

The core of NUDGE is built on FRL-0 (Frame Representation Language). Instead of simple database entries, NUDGE uses "frames"—packets of knowledge representing stereotypical objects or events.

A hierarchy of frames and instances within the NUDGE knowledge base.

As shown in the hierarchy above, frames are organized into a taxonomy where specific concepts inherit properties from more general ones. For instance, a "PA-Meeting" inherits from a generic "Meeting," which in turn inherits from "Activity." Each frame contains "slots" for attributes like time, location, and participants. These slots include:

  • Defaults: Standard values (e.g., meetings usually last one hour).
  • Constraints: Requirements that must be met (e.g., a chairman must be present).
  • Procedural Attachment: The system uses "if-needed" methods to fetch missing data and "if-added" methods to trigger side effects, such as automatically placing a meeting on a digital calendar once a time is assigned.

The NUDGE Pipeline

The transition from a vague request to a concrete schedule follows a structured pipeline that separates knowledge-based expansion from power-based optimization.

The NUDGE scheduling pipeline, transitioning from informal requests to formal schedules.
  1. Parsing: A natural language parser extracts a partial frame from a request.
  2. Expansion (NUDGE): The system uses its knowledge base to expand this into a Frame Gestalt, filling in gaps using defaults and "indirection" (linking people's preferences to the activity).
  3. Optimization (BARGAIN): A search algorithm called BARGAIN then resolves any remaining conflicts (like double-bookings) using decision analysis techniques.

Key Insights and Results

NUDGE demonstrates that "intelligence" arises from domain-specific knowledge. Because NUDGE understands the purpose of a meeting (e.g., "discussing research"), it can suggest creative solutions to conflicts. If a manager is busy, NUDGE might suggest a different participant who shares the same research role, rather than just moving the time.

The system successfully demonstrated taking an informal request and expanding it into a detailed internal representation that included duration, location, and prerequisites. Furthermore, NUDGE is designed to notice when a user's request is impossible (e.g., "Tuesday, Jan 20" when Jan 20 is a Monday) and can either correct it automatically or alert the user to the specific conflict.

Limitations and Future Work

Despite its innovations, NUDGE faced several technical hurdles. FRL-0 lacked a "multiple worlds" capability, meaning it couldn't easily compare several hypothetical full calendars at once. Additionally, without hash coding, searching the frame library for specific values was computationally expensive. Future work aimed to extend NUDGE into more complex office automation tasks and to refine how the system handles multiple, overlapping inheritance paths.

Summary updated

BibTeX
@inproceedings{goldstein1977nudge,
  author = {Ira P. Goldstein and R. B. Roberts},
  title = {{NUDGE, A Knowledge-Based Scheduling Program}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1977},
}
Figure