Symbols Among the Neurons: Details of a Connectionist Inference Architecture

TL;DR

This paper presents a novel connectionist architecture for implementing production systems, demonstrating that neural networks can perform complex symbolic reasoning tasks like pattern matching and variable binding. By using distributed representations for symbols and rules, the authors show that these operations can emerge from the collective behavior of simple neuron-like elements, addressing a key criticism of connectionist approaches.

What Problem Does This Paper Address?

Traditional Artificial Intelligence (AI) systems often rely on symbolic reasoning, implemented through interpreters for languages like Lisp, theorem provers, or production systems. These systems commonly involve two core operations: pattern matching (finding similar structures) and variable binding (assigning values to variables). While these operations are straightforward on conventional, local-representation architectures, implementing them in connectionist (neural network) architectures, especially those using distributed representations (where a symbol is represented by activity across many units), has been a significant challenge. This paper tackles this challenge by proposing and implementing connectionist interpreters for production systems that successfully perform these symbolic reasoning tasks.

Methods

The authors developed two production system interpreters implemented as neural networks. Both systems utilize distributed representations for symbols and rules, moving away from the "local" representation where each unit signifies a single symbol.

  • Distributed Representations: Symbols are encoded as patterns of activity across many "neurons" (computing units), and each neuron contributes to the representation of multiple symbols. This is contrasted with local representations where one neuron equals one symbol.
  • Coarse Coding: For working memory, a coarse coding scheme is employed. This means each possible symbol triple (e.g., (F A A)) is represented by activating a set of neurons, each with a "receptive field" that covers a subset of all possible triples. This approach uses fewer units and connections than a local representation and is more biologically plausible.
  • Production System Architecture: The interpreters are structured into distinct "spaces" of cells:
  • Working Memory (WM): Stores triples of symbols.
  • Clause Cells (C1, C2): Select specific triples from WM to be matched against rule clauses.
  • Rule Cells: Represent the production rules. Rules are encoded as a population of cells, forming a "clique" where cells within the clique excite each other.
  • Bind Cells: Handle variable binding, forming another winner-take-all network.
  • Settling Process: The core mechanism for matching rules to working memory involves a "settling" process. The network is initialized in a high-energy state, and a relaxation algorithm is applied, causing the network to settle into a minimum energy state that corresponds to a successful match. This is inspired by Hopfield networks and energy minimization principles.
  • Rule Firing: Once a match is found, a "rule firing" phase occurs. Gated connections from the active Rule and Bind cells to the WM cells are opened, allowing the rule to update the working memory by adding or deleting triples.

The second interpreter extends the first by incorporating variable binding, a crucial feature for more general symbolic reasoning.

Datasets

Not discussed in the paper. The systems are described as running on small test cases involving a few rules and a small working memory, with examples provided for demonstration rather than formal dataset evaluation.

Key Insights and Ideas

  • Emergent Symbolic Reasoning: The most significant insight is that complex symbolic operations like pattern matching and variable binding can emerge from the collective behavior of simple, interconnected neuron-like units using distributed representations. This challenges the notion that connectionist models are only suited for low-level tasks.
  • Distributed Representations for Rules: Representing production rules as populations of cells (cliques) rather than single units allows for a more robust and distributed encoding. This makes the system less sensitive to the failure of individual cells.
  • Coarse Coding for Efficiency and Plausibility: The use of coarse coding for working memory is shown to be more efficient in terms of unit and connection requirements compared to local representations, while also being more biologically plausible.
  • Settling as a Matching Mechanism: The energy minimization and settling process provides an elegant way to perform pattern matching in a connectionist framework, directly mapping the problem of finding a match to finding a low-energy state.

Key Results

The paper demonstrates successful implementation of two production system interpreters on small test cases.

  • Functional Implementation: Both interpreters, including the one with variable binding, were implemented and ran on a Symbolics 3600 Lisp Machine.
  • Robustness: The system showed resilience to noise and demonstrated that memory contents could persist over multiple rule firings without significant deterioration, even in tests involving a finite state machine cycling through states.
  • Qualitative Success: The authors provide examples of how pattern matching and variable binding work within their architecture, illustrating the core functionality.

Limitations and Future Work

  • Performance on Complex Cases: While successful on small test cases, the paper acknowledges that the settling algorithm can face challenges with more complex scenarios, such as multiple possible matches or no matches at all. The system might settle into incorrect local minima.
  • No-Match Detection: Detecting when no rule successfully matches working memory is an area for improvement. The authors suggest that checking the final settling energy might help distinguish good matches from bad ones.
  • Interference: Interference between competing rules or bindings during the settling phase is a potential issue, especially when multiple rules could potentially match. The current system makes a simplifying assumption of only one successful match per cycle.
  • Simulated Annealing: To address the limitations of gradient descent in avoiding local minima, the authors suggest exploring simulated annealing (a technique from statistical physics) for future implementations, which would adopt a Boltzmann Machine-like approach.
  • Mixed Rule Types: The current system has limitations on where variables can appear. A logical extension is to develop an interpreter capable of handling mixed rule types (those with and without variables).
  • Scalability: While the paper demonstrates the principle, the scalability of this approach to larger, more complex production systems is an implicit area for future investigation.

Summary updated

BibTeX
@inproceedings{1985symbols,
  title = {{Symbols Among the Neurons: Details of a Connectionist Inference Architecture}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1985},
}
Figure