Abstract
Rekursive Auto-Assoziative Speicher (RAAM) sind spezielle Neuronale Netze (NN), die in der Lage sind, hierarchiche Strukturen zu verarbeiten. Bei der Simulation dieser Netze gibt es einige Besonderheiten, wie z.B. die dynamische Trainingsmenge, zu beachten. In der Arbeit werden diese und die daraus resultierenden angepassten Lernalgorithmen erörtert. Außerdem wird ein normaler Backpropagation-Simulator (Xerion) um die Fähigkeiten für die Simulation von RAAMs erweitert.
Introduction
A long-standing critique of connectionist models in artificial intelligence has been their perceived inability to represent and manipulate structured, hierarchical data, such as trees or nested lists. Recursive Auto-Associative Memory (RAAM) was introduced to address this limitation. RAAM allows a neural network to encode a tree of arbitrary complexity into a fixed-length vector representation. This capability is crucial for bridging the gap between symbolic AI and connectionist architectures.
The Challenge of RAAM Simulation
The primary difficulty in simulating RAAMs lies in the nature of the training process, known as Moving Target Learning. Unlike standard feedforward networks that utilize static training data, the target patterns in RAAM training are dynamic. As the network learns to represent subtrees, the internal representation of these subtrees changes. Since the parent node's target depends on these internal representations, the training set must be updated continuously throughout the learning process. Most contemporary simulators, such as SNNS or JavaNNS, were not designed to handle such dynamic updates natively.
Methodology
To develop a robust simulation environment, several existing simulators were evaluated, including SNNS, PDP++, and Xerion. The evaluation focused on both research into their capabilities and the feasibility of implementing custom extensions.
The team ultimately selected Xerion due to its powerful TCL (Tool Command Language) interface. This interface allowed for high-level scripting to wrap the C-based core, facilitating the dynamic training set updates required for RAAM without needing to modify the underlying simulator engine extensively.
Implementation Details
The implemented system utilizes a three-layer encoder/decoder architecture. The hidden layer serves as the compressed representation of the input structure. Key technical features include:
- Dynamic Training Updates: A batch version of Pollack’s recursive update algorithm was implemented. The training set is updated level-by-level, starting from leaf nodes and moving up the hierarchy.
- The "Extra-Bit" Technique: To address the termination problem during decoding, a dedicated bit was added to the vector (following Niklasson’s approach). This bit indicates whether a decoded pattern represents a leaf or a structure requiring further recursive processing.
- Level-Sensitive Learning: The authors explored weighting errors more heavily for nodes higher in the tree hierarchy to mitigate error propagation during the decoding phase.
Results and Discussion
The primary outcome of this work is a functional software library (version 1.0) for the Xerion simulator. The system was verified using synthetic binary trees and symbolic leaf patterns. Initial tests demonstrated the successful encoding and decoding of simple structures, proving the efficacy of the "Extra-Bit" and "Cleanup" mechanisms.
While the system is functional, several limitations remain. The use of interpreted TCL scripts for training set updates introduces a performance bottleneck compared to a native C implementation. Furthermore, early tests on complex trees showed a recognition rate of approximately 40%, indicating that further refinement of learning rates and level-sensitive weighting is necessary to improve convergence and accuracy.
Conclusion and Future Work
This project successfully extended a classic backpropagation simulator to support the complex requirements of RAAM. Future work will focus on optimizing performance, implementing more robust validation mechanisms to prevent overfitting, and extending the library to support k-nary trees and more complex linguistic structures.
Summary updated