Yes, An SIMD Machine Can Be Used for AI

Ruven E. Brooks, Rosalyn LumIJCAI 1985

In the mid-1980s, AI hardware research was largely focused on complex, decentralized MIMD (Multiple Instruction, Multiple Data) architectures. However, Brooks and Lum challenged this trend, proposing a "back-to-basics" approach. They argued that SIMD (Single Instruction, Multiple Data) machines could effectively solve the most pressing bottlenecks in AI computation by treating parallel arrays as high-performance serial machines with exceptionally long data words.

The Parallelism Bottleneck in AI

By 1984, the physical limits of single-processor speeds necessitated a shift toward parallelism. While MIMD systems were theoretically powerful, they suffered from significant communication bottlenecks; processors often spent more time coordinating or waiting for shared memory than performing actual computation. The AI community largely dismissed SIMD architectures as too rigid for symbolic processing. Brooks and Lum sought to prove otherwise using the Cellular Array Processor (CAP).

The Cellular Array Processor (CAP) Architecture

The CAP, developed at the ITT Advanced Technology Center, is a general-purpose SIMD machine designed to overcome the limitations of its contemporaries.

The architecture of the Cellular Array Processor (CAP), featuring a square array of bit-slice processors and a deep vector memory structure.

The architecture consists of a square array of 1-bit "bit-slice" processors. A key innovation was the memory structure: unlike other SIMD machines with limited local memory, each row in the CAP has access to a large primary memory (up to 256K per row), creating a "stack of memory planes" beneath the processors. This allows the machine to operate on massive data words in parallel, effectively treating the entire array as a single, powerful processor.

Mapping AI Algorithms to SIMD

The authors demonstrated the CAP's utility by mapping two classic AI structures onto the hardware:

  1. OPS5/RETE Algorithm: For rule-based production systems, "tokens" are mapped to memory planes. This enables the hardware to perform many-to-one comparisons in a single cycle, accelerating the most computationally expensive parts of the algorithm.
  2. Associative (Semantic) Networks: Instead of relying on pointer-heavy lists typical of LISP, relationships are represented as bit matrices.
Representing symbolic relationships, such as family ties, as bit matrices to enable parallel querying.

By using bit matrices, the CAP can perform parallel bitwise logic to find paths or reachable nodes across an entire network simultaneously. For example, finding a "child" in a family tree—which requires traversing a list on a serial machine—becomes a simple column query in the CAP, returning all matches in one instruction.

Key Insights: Communication and Efficiency

The core philosophy behind the CAP is that reducing coordination overhead is more valuable than maximizing the theoretical degree of parallelism. In SIMD, coordination is inherent in the single instruction stream, eliminating the communication bottlenecks that plague MIMD systems. Furthermore, "masking" allows the CAP to handle irregular data structures by selectively disabling specific rows or parts of rows, providing flexibility without sacrificing SIMD performance.

Performance and Results

The theoretical projections for the CAP were significant for the era:

  • RETE Acceleration: A 32-row CAP was projected to provide a 32-fold speedup over a serial processor for two-input nodes.
  • Competitive Edge: A 64x64 CAP array was estimated to achieve roughly twice the performance of the DADO (a 1023-processor MIMD tree) while using fewer components, due to superior data bandwidth utilization.
  • Throughput: A 32x32 CAP array could achieve over 1,200 MOPS for integer tasks and approximately 10 Mflops for floating-point operations.

Limitations and Future Directions

Despite its strengths, the CAP approach faces challenges. The efficiency of associative network searches depends on network partitioning; high "cross-talk" between distant nodes can reduce effective parallelism. Additionally, the machine is driven by an external controller, meaning the time required to load and unload data could become a bottleneck for problems exceeding the array's physical size. Finally, while bit-matrices are fast, they can be memory-intensive for sparse networks, necessitating further research into efficient "blank column" detection.

Summary updated

BibTeX
@inproceedings{brooks1985yes,
  author = {Ruven E. Brooks and Rosalyn Lum},
  title = {{Yes, An SIMD Machine Can Be Used for AI}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1985},
}
Figure