Introduction
The Hearsay-II project at Carnegie-Mellon University represents a landmark in artificial intelligence, introducing the "Blackboard Architecture" to manage complex, multi-source knowledge integration. A central challenge in such systems is the "Focus of Attention" problem: in an environment where numerous specialized experts (Knowledge Sources) compete to process data, how does the system prioritize computations to reach a solution efficiently? This paper, published in 1977, details the heuristic scheduling mechanisms designed to navigate the massive search space inherent in speech understanding.
The Blackboard and the Focus Problem
Speech understanding is characterized by high levels of noise and ambiguity. Errors at the acoustic level propagate upward, creating a combinatorial explosion of possible interpretations. In Hearsay-II, Knowledge Sources (KSs)—ranging from phonetic to semantic modules—interact via a shared global data structure called the Blackboard.
At any given moment, hundreds of KSs might be triggered by new data. Executing every possible task is computationally infeasible. The system requires a scheduler to predict which KS execution is most likely to contribute to the final hypothesis, effectively managing the trade-off between exhaustive search and processing speed.
The Scheduling Mechanism
The authors developed a desirability-based scheduling mechanism governed by five core principles:
- Competition: Prioritizing the best local alternative among competing hypotheses.
- Validity: Focusing on the most credible data first.
- Significance: Favoring actions that move the system closer to completing a full sentence.
- Efficiency: Preferring reliable and computationally inexpensive KSs.
- Goal Satisfaction: Prioritizing tasks that address specific processing gaps or goals.
To implement these, the system calculates a Desirability Formula for each pending task. This calculation utilizes Stimulus Frames (SF) (the data triggering the KS) and Response Frames (RF) (the predicted output). By estimating the quality of a potential output before execution, the scheduler can rank tasks effectively.
A critical component of this architecture is the management of "Cognitive Fixedness." To prevent the system from becoming trapped in "false peaks"—highly-rated but ultimately incorrect paths—the scheduler employs an implicit goal mechanism. If progress stalls in a specific temporal region of the utterance, the system increases the priority of previously ignored alternatives to encourage exploration.
Experimental Evaluation
The system's performance was evaluated using 61 test utterances from a single speaker, utilizing a complex grammar designed to stress the search capabilities. The researchers compared three primary strategies:
- Algorithm A (Unfocused): A baseline control with minimal attentional focus.
- Algorithm W (Word-specific): A conservative, breadth-first approach focusing on competition at the word level.
- Algorithm P (Phrase-specific): An aggressive, depth-first approach focusing on competition at the phrase level.
Key Results
The conservative Algorithm W emerged as the most effective strategy. It achieved 70% exact recognition, a significant improvement over the 52% achieved by the unfocused control. Furthermore, Algorithm W was more than twice as fast as the baseline. While the aggressive Algorithm P was occasionally faster, it proved less robust, often following erroneous leads down "rabbit holes." The study concluded that a word-level competition provides the optimal balance of speed and reliability in error-prone domains.
Conclusion and Future Directions
The Hearsay-II focus of attention mechanism demonstrated that heuristic scheduling can successfully manage combinatorial explosions in complex AI systems. The authors noted that while their desirability formula was effective, it relied on empirical tuning. Future work suggested the need for more explicit goal-directed mechanisms (such as means-ends analysis) and rigorous mathematical models to optimize parameter setting. Despite these limitations, the principles of competition, validity, and significance remain foundational to the design of modern blackboard systems and distributed AI architectures.
Summary updated