Real-Time AI Systems: A Definition and An Architecture

Rajendra T. Dodhiawala, N. S. Sridharan, Peter Raulefs, Cynthia Pickering

Introduction

In the late 1980s, as Artificial Intelligence transitioned from laboratory environments to complex real-world applications—such as NASA’s Mars Rover and autonomous manufacturing—a significant gap emerged between AI research and systems engineering. The AI community often conflated "real-time" with "fast," failing to account for the unpredictable, asynchronous nature of dynamic environments. This foundational 1989 paper from the FMC Corporate Technology Center addresses this gap by providing a formal definition of real-time AI and introducing the RT-1 architecture, designed to manage latencies and priorities predictably.

Defining Real-Time AI: The Four Pillars

The authors argue that real-time performance is not merely about raw execution speed. Instead, it is defined by four distinct pillars:

  1. Speed: The rate of execution.
  2. Responsiveness: The system's ability to remain alert to new incoming events while processing current tasks.
  3. Timeliness: The ability to meet specific deadlines.
  4. Graceful Adaptation: The capacity to reset priorities dynamically when workloads spike or resources diminish.

A central insight of the paper is the Responsiveness-Timeliness Trade-off. A system that stops to process every new event (high responsiveness) may fail to complete long-term plans on time (low timeliness). RT-1 introduces a tunable "execution margin" to allow developers to balance these competing requirements.

The RT-1 Architecture

To implement these principles, the authors proposed the RT-1 architecture, a distributed system based on the blackboard paradigm. In this model, multiple independent "knowledge sources" or modules contribute to a shared data space.

High-level distributed blackboard architecture of the RT-1 system, showing modules connected to a central blackboard.

Process Decoupling

A key technical innovation in RT-1 is the decoupling of internal module functions into three asynchronous processes. This separation ensures that high-level reasoning does not block the system's ability to receive new data or perform routine maintenance.

Internal process decoupling within an RT-1 module, separating I/O, blackboard management, and reasoning.
  • I/O Process: Manages event signaling and external communication without stalling the central reasoning logic.
  • Blackboard Process: Executes "demons" for low-level tasks such as data validation, time-stamping, and consistency checks.
  • Reasoning Process: The core "thinker" that executes AI logic, organized into prioritized event channels to ensure critical tasks are addressed first.

Performance Metrics and Results

The paper formalizes several metrics to evaluate real-time AI success beyond simple clock speed:

  • Event Response Timeliness (ERT): Calculated as Response Time - Deadline.
  • Late Weighted ERT (LW-ERT): A metric that weights late responses by task importance, mathematically penalizing missed deadlines for critical tasks more heavily than for routine logs.
  • Latency Mapping: The authors successfully decomposed "total response latency" into four measurable sub-latencies (Communication, Channel, TPS, and Execution), providing a roadmap for pinpointing system bottlenecks.

Limitations and Future Work

While RT-1 provided a robust framework, the authors identified several areas for future research. At the time of publication, the evaluation of "graceful adaptation" under resource stress was incomplete. Furthermore, the architecture relied on heuristics for scheduling; the authors suggested that future iterations would require "intelligent" schedulers capable of predicting solution quality and response times. Finally, the need for "interruptibility"—allowing a knowledge source to be paused mid-execution—was highlighted as a necessary feature for improving system reactivity.

Summary updated

BibTeX
@inproceedings{dodhiawala1989real,
  author = {Rajendra T. Dodhiawala and N. S. Sridharan and Peter Raulefs and Cynthia Pickering},
  title = {{Real-Time AI Systems: A Definition and An Architecture}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure