Introduction
In the mid-1980s, the increasing complexity of computer systems highlighted a significant flaw in user interface design: the "one-size-fits-all" approach. Users, ranging from novices to experts, possessed vastly different mental models and requirements. X-AiD was developed as an "intelligent shell" to bridge this gap, creating highly adaptive, knowledge-based interfaces that could "learn by being used."
System Architecture
The core of X-AiD is a modular architecture composed of asynchronous "Specialists"—independent software agents designed for specific tasks such as dialog management, navigation, and display.
As shown in the architecture diagram, a central Dialog-Handler coordinates these specialists. The system maintains both a Static HAL Knowledge Base (containing predefined object schemes) and a Dynamic HAL Knowledge Base (storing specific object instances and learned behaviors). This separation allows the system to maintain consistency while adapting to individual user workflows.
The HAL Representation Language
The backbone of X-AiD is the HAL (Human-computer communication Abstraction Language), an object-oriented language where every object encapsulates both data and behavioral rules.
A unique feature of HAL is its rule modularization. Every object contains four distinct sets of rules:
- SYNTAX: Defines valid inputs via context-free grammars.
- SEMANTICS: Ensures logical consistency between data fields.
- HEURISTICS: Controls dynamic interface behavior and "universals."
- DISPLAY: Manages visual and acoustic presentation.
By separating these concerns, X-AiD achieves high efficiency; it only interprets rules relevant to the current context, allowing the knowledge base to scale effectively. Furthermore, HAL employs a "recursive self-description" (HAL-in-HAL), where the language used to build the UI is itself described in HAL, blurring the line between templates and data.
Learning and Adaptation
X-AiD distinguishes itself through its ability to automate personalization. It records "semantic protocols" of user actions, logging intent rather than just keystrokes. During periods of inactivity, the system analyzes these logs using graph pattern matching to identify frequent patterns.
A key innovation is the handling of "Orphaned Instances"—data objects created by users that do not fit into predefined categories. X-AiD clusters these orphans and eventually generates new, formal HAL object schemes to represent them, effectively expanding its own knowledge base to match the user's unique needs.
Implementation and Results
The functional kernel of X-AiD was implemented using CommonLisp and Flavors on Symbolics 36xx Lisp machines. The system's versatility was demonstrated through several prototype applications, including CalcAiD (a spreadsheet), MailAiD (an email client), and AuthorAiD (a tool for academic writing).
The system successfully demonstrated a "universal syntax-directed editor" capable of handling any object scheme defined in HAL. It proved that a UI could hypothesize and learn new semantic rules based on observed user behavior, offering a path toward truly personalized computing environments.
Summary updated