In the mid-1980s, a "folk theorem" permeated the artificial intelligence community: the belief that parallel processing could never accelerate AI programs by more than a factor of ten. This pessimistic outlook was rooted in early experiments where adding processors to heuristic searches yielded diminishing returns. However, in their seminal work, Kibler and Conery argue that this perceived limit is not a fundamental law of computation, but rather a symptom of "naive" parallel implementations. By rethinking how algorithms are mapped to hardware, they demonstrate that speedups of 100x or more are not only possible but achievable.
The Problem: The "Naive" Trap
Early attempts at parallelizing AI tasks, such as heuristic search or rule-based systems, often hit a wall. The logic was simple: if a search prunes the majority of its paths, assigning processors to explore those paths simultaneously is largely a waste of resources. This led to the conclusion that AI was inherently resistant to massive parallelism.
Kibler and Conery identify this as the "naive" trap. Most early failures occurred because researchers attempted to force-fit sequential algorithms onto parallel architectures without modification. A truly effective parallel implementation must execute the same operations as a sequential version but do so simultaneously wherever data dependencies allow. The bottleneck, they argue, wasn't the nature of AI, but a tendency to ignore the deterministic work hidden within complex tasks.
AND vs. OR Parallelism
The authors clarify the path to massive speedups by distinguishing between two types of parallelism:
- OR-Parallelism: This involves exploring different branches of a search tree simultaneously. In heuristic search, this is often inefficient because many branches are eventually pruned, leading to "fruitless" exploration.
- AND-Parallelism: This involves executing the deterministic sub-steps of a single task in parallel. For example, instead of just searching two different moves in a game, a system could parallelize the complex evaluation of a single board position.
While the community focused heavily on the limitations of OR-parallelism, Kibler and Conery highlight that AND-parallelism provides a reliable, non-wasteful avenue for scaling.
Case Studies in Scalability
1. Alpha-Beta Search
In traditional Alpha-Beta search, a naive approach might assign one processor per branch, which typically levels off at a 4-6x speedup. The authors propose a different strategy: parallelizing the terminal evaluation function. By evaluating the numerous features of a chess position (e.g., material balance, king safety, pawn structure) across 512 processors in parallel, they demonstrate a theoretical path to a 100x speedup. This allows for massive scaling without the overhead of exploring useless branches.
2. Rule Interpreters
Production systems like OPS5 traditionally follow a strict "test-select-execute" cycle. The authors critique this sequential bottleneck and point toward alternative architectures like DADO and NON-VON. These systems, along with "suspension interpreters" (STAMMER), treat rule conditions as sets of tasks to be distributed. Simulations of the NON-VON architecture showed speedups of 100x on production systems, far exceeding the 35x limit suggested by previous empirical studies.
Theoretical Framework and Metrics
To evaluate parallel potential, the authors introduce the use of computation graphs. By analyzing the ratio of a program's total size to its depth, one can determine the maximum effective parallelism. They also propose a "reasonable" metric for parallel algorithms: a speedup of $N$ should be obtained from approximately $N \log N$ processors, rather than $N^2$.
While acknowledging Amdahl’s Law—which states that the sequential portion of a program limits its total speedup—the authors argue that many "sequential" portions are actually artifacts of how the algorithm was originally conceptualized. If an algorithm is redesigned from the ground up for parallelism, the sequential fraction can often be significantly reduced.
Conclusion and Future Directions
Kibler and Conery conclude that the 10x limit is a myth born of architectural inertia. By shifting focus toward AND-parallelism and deterministic subcomputations, AI programs can achieve speedups of two orders of magnitude. However, they note that this shift is not without cost. Achieving these gains requires addressing significant engineering challenges, including communication overhead, message passing, and load balancing. Furthermore, it necessitates a fundamental shift in AI programming—moving away from sequential logic toward pure inference systems or functional languages that naturally support concurrent execution.
Summary updated