On Supporting Associative Access and Processing over Dynamic Knowledge Bases

TL;DR

This paper introduces a hardware co-processor designed to accelerate associative access and processing in dynamic knowledge bases, a common challenge in AI applications. By using custom VLSI "smart memory" chips that combine storage and processing, the system offers a significant performance boost over traditional software-based indexing methods, especially for rapidly changing data.

What Problem Does This Paper Address?

Artificial intelligence applications, particularly those dealing with dynamic knowledge bases (like intelligent control systems or expert systems), often rely heavily on associative operations. These operations involve matching patterns to retrieve information or activate rules. However, current software techniques for managing these dynamic knowledge bases, which often use complex indexing schemes, struggle to keep up with real-time performance demands. As knowledge bases become more complex and change frequently, the overhead of updating these software indexes becomes a bottleneck, leading to performance degradation. The paper aims to bridge this gap by proposing a hardware solution that bypasses software indexing altogether.

Methods

The core of the proposed solution is a hardware associative storage system that utilizes symbolic pattern matching as its access mechanism. This system is implemented as a co-processor, offloading associative operations from the host CPU. The co-processor is built around custom VLSI "smart memory" chips, termed Pattern Addressable Memories (PAMs). These PAM chips uniquely combine storage and search/processing logic on the same die. The system leverages parallelism both within each chip and across multiple chips to achieve high performance. The architecture is described as "cache-like" in that it provides rapid access to data, but unlike traditional caches that match on memory addresses, this system matches on complex symbolic expressions. The paper also mentions the use of a wire-wrap prototype called the "Chameleon board."

Datasets

Not discussed in the paper. The paper focuses on a general approach and provides examples of application domains rather than specific datasets used for evaluation.

Key Insights and Ideas

  • Hardware for Dynamic Data: The paper strongly argues that for dynamic and unpredictable environments, hardware solutions for associative access are not only viable but necessary to meet performance goals.
  • Bypassing Software Indexing: The core innovation is to move away from complex, performance-impacting software indexing schemes and instead use hardware to perform rapid, exhaustive associative searches directly on the data structures.
  • "Smart Memory" Chips: The concept of integrating storage and processing logic on the same VLSI chip (PAMs) is central to achieving the desired parallelism and efficiency.
  • Cache Analogy for AI: Drawing a parallel to CPU caches, the paper suggests that a similar hardware-accelerated approach can be applied to symbolic data in AI, providing fast associative access.
  • Flexibility for Complex Queries: The proposed system is designed to handle complex, non-predetermined access to expressions of varying lengths and structures, a significant advantage over traditional content-addressable memories (CAMs) that often have format restrictions.

Key Results

The paper presents a working prototype called the "Chameleon board" which acts as an associative co-processor. The prototype PAM chip contains 1024 32-bit-symbol-plus-2-bit-status slots and 64 Processing Elements (PEs). The Chameleon board can accommodate an array of up to 32 PAM chips.

Table 1 provides performance metrics for a sample scheduling application. For a query involving finding an empty palette, the match and output times were in the range of 6.4 to 15.8 microseconds, even with up to 4 responders. For a more complex query involving specific lug nuts, times ranged from 9.6 to 11.6 microseconds for matching and 0 to 2.0 microseconds for output. The paper states that such a system could sustain interleaved update and query rates of 40,000 expressions per second.

Limitations and Future Work

  • Prototype Stage: The described system is a wire-wrap prototype. A PCB version is under construction for further evaluation.
  • Capacity: While the prototype has 1Mb of storage, the paper discusses the potential for much larger capacities (e.g., 16MB with denser packaging and more advanced chips), suggesting future work in scaling up the system.
  • Generalization: While the paper demonstrates the concept with a scheduling example and discusses other application areas (Prolog, genetic algorithms, etc.), further work would involve implementing and evaluating the system in a wider range of real-world AI applications.
  • Simulator Development: A simulator is being completed to log execution times and provide a way to evaluate performance without the physical hardware.

Summary updated

BibTeX
@inproceedings{1991supporting,
  title = {{On Supporting Associative Access and Processing over Dynamic Knowledge Bases}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1991},
}
Figure