Assessment of sequential Boltmann machines on a lexical processing task.

Alberto Testolin, Alessandro Sperduti, Ivilin Stoianov, Marco ZorziESANN 2012

Abstract

This study evaluates the Recurrent Temporal Restricted Boltzmann Machine (RTRBM) in the context of symbolic sequence learning, specifically English lexical processing. While the RTRBM is traditionally applied to continuous temporal data like fluid video dynamics, this research tests its ability to learn the underlying structure of English monosyllables. Results indicate that while the model successfully learns local graphotactic rules, it struggles to form holistic, discriminable internal representations of entire words, often performing similarly to simple statistical n-gram models.

Introduction

Processing temporal data is a fundamental challenge in machine learning. While models like Elman’s Simple Recurrent Networks (SRNs) have been standard, the RTRBM offers a biologically plausible, probabilistic alternative that learns in a completely unsupervised manner. Previous successes in capturing continuous physics (e.g., bouncing balls) led researchers to question if the RTRBM could handle discrete symbolic sequences. The core objective was to determine if the network would develop "holistic" internal representations—mental snapshots of whole words—or remain limited to local letter-to-letter transitions.

Methodology

The researchers utilized the Recurrent Temporal Restricted Boltzmann Machine (RTRBM). Unlike static RBMs, the RTRBM incorporates recurrent connections, allowing the current hidden state to depend on both the current input and the hidden state from the previous timestep.

Architecture of the RTRBM showing both compact and unrolled temporal views.

Key technical implementations included:

  • Mean Field Approximation: Employed to compute hidden activations deterministically for efficient inference.
  • Generative Sampling: The model was tested as a generative engine, tasked with "dreaming up" new sequences based on learned patterns.
  • GPU Acceleration: Training was optimized using NVIDIA hardware and the Gnumpy library, resulting in a 25x speedup over CPU-based methods.

Datasets

The study focused on English monosyllables, where each letter was encoded as a 27-unit binary vector (26 letters plus a termination symbol). Two datasets were used: a Small Dataset of 300 words (lengths 3–5) for initial benchmarking, and a Large Dataset of 7,000 words (5,300 training, 1,700 testing; lengths 3–7) to evaluate scalability.

Key Insights and Results

Local vs. Global Learning

The RTRBM proved excellent at learning "graphotactic rules"—the local statistical grammar of spelling (e.g., 'q' followed by 'u'). However, it failed to "zoom out" to a global level. The model treated sequences as chains of local probabilities rather than unified objects. This led to the frequent generation of "pseudowords"—sequences like "bloat" or "stane" that follow English rules but were not in the training set.

Prediction Performance

As shown in the comparative analysis, the RTRBM's performance varied significantly based on dataset size. On the small dataset, it performed comparably to a simple bi-gram model. However, on the larger dataset, its generalization ability did not scale as effectively as baseline models like Hidden Markov Models (HMMs) or higher-order n-grams.

Comparison of prediction error across models for small and large training sets.

Internal Representations and the "Similarity Trap"

The model's internal hidden unit activations showed a correlation ($r = 0.42$) with Levenshtein (edit) distance between words. However, the researchers discovered a bimodal distribution in these representations. This suggests a lack of "discriminability": many different words produced nearly identical internal "fingerprints," making it difficult for the model to distinguish between similar words like "cat" and "bat" in its internal state.

Conclusion

The RTRBM is a powerful tool for capturing local temporal dynamics but currently lacks the mechanism to encode entire sequences into distinct, static representations. While it excels at learning the "here and now" of transitions, it is unsuited for tasks requiring perfect discriminability between global sequences. Future research may explore hierarchical or deep RTRBM architectures to capture the higher-level structures that single-layer models miss.

Summary updated

BibTeX
@inproceedings{testolin2012assessment,
  author = {Alberto Testolin and Alessandro Sperduti and Ivilin Stoianov and Marco Zorzi},
  title = {{Assessment of sequential Boltmann machines on a lexical processing task.}},
  booktitle = {ESANN},
  year = {2012},
  url = {https://openreview.net/forum?id=QPg07RZ709},
}
Figure