[Paper Review] Training Restricted Boltzmann Machines on Word Observations
This paper proposes a scalable training method for Restricted Boltzmann Machines (RBMs) on large-vocabulary word observations using Metropolis–Hastings MCMC updates, enabling computational complexity independent of vocabulary size. The approach achieves state-of-the-art sentiment classification accuracy (89.23%) on the Large Movie Review dataset without using unlabeled data, demonstrating effective learning of syntactic and semantic n-gram features.
The restricted Boltzmann machine (RBM) is a flexible tool for modeling complex data, however there have been significant computational difficulties in using RBMs to model high-dimensional multinomial observations. In natural language processing applications, words are naturally modeled by K-ary discrete distributions, where K is determined by the vocabulary size and can easily be in the hundreds of thousands. The conventional approach to training RBMs on word observations is limited because it requires sampling the states of K-way softmax visible units during block Gibbs updates, an operation that takes time linear in K. In this work, we address this issue by employing a more general class of Markov chain Monte Carlo operators on the visible units, yielding updates with computational complexity independent of K. We demonstrate the success of our approach by training RBMs on hundreds of millions of word n-grams using larger vocabularies than previously feasible and using the learned features to improve performance on chunking and sentiment classification tasks, achieving state-of-the-art results on the latter.
Motivation & Objective
- To address the computational infeasibility of training RBMs on high-dimensional multinomial word observations due to linear-time Gibbs sampling over large vocabularies.
- To enable efficient learning on word n-grams with vocabularies in the hundreds of thousands by replacing standard Gibbs sampling with MCMC operators independent of vocabulary size.
- To demonstrate that learned RBM features capture meaningful syntactic and semantic properties of words and n-grams for downstream NLP tasks.
- To achieve state-of-the-art performance on sentiment classification using only labeled data, without relying on external unsupervised pretraining.
Proposed method
- Replaces conventional block Gibbs sampling over K-ary softmax visible units with Metropolis–Hastings MCMC transitions to achieve O(1) complexity per update, independent of vocabulary size K.
- Uses a simple symmetric proposal distribution over visible unit states, allowing efficient rejection sampling without explicit normalization over all K states.
- Employs stochastic gradient descent with Monte Carlo estimates of the log-likelihood gradient, using MCMC samples to approximate the positive and negative phase expectations.
- Applies the method to train word representation RBMs on hundreds of millions of n-grams, learning distributed features capturing semantic and syntactic patterns.
- Uses class-specific WRRBMs trained on positive and negative sentiment documents to extract n-gram free energy features for sentiment classification.
- Combines learned n-gram features with bag-of-words features using weighted normalization and trains a linear SVM for final classification.
Experimental results
Research questions
- RQ1Can RBMs be efficiently trained on word observations with very large vocabularies (e.g., 100,000+ words) without incurring linear computational cost in vocabulary size?
- RQ2Do the features learned by RBMs on word n-grams capture meaningful syntactic and semantic information useful for NLP tasks?
- RQ3Can RBM-based features outperform or complement existing methods in sentiment classification, especially without using unlabeled data?
- RQ4Is it possible to achieve state-of-the-art performance in sentiment classification using only labeled data and RBM-derived n-gram representations?
Key findings
- The proposed Metropolis–Hastings-based training method enables RBM learning with computational complexity independent of vocabulary size, making large-vocabulary training feasible.
- The model successfully learns distributed representations of words and n-grams that capture syntactic and semantic properties, as evidenced by meaningful nearest-neighbor word clusters.
- On the chunking task, the learned features achieve performance competitive with other word representation induction methods.
- On the Large Movie Review sentiment classification benchmark, the method achieves 87.42% accuracy using only class-specific WRRBMs, outperforming prior methods that used more complex architectures or additional data.
- When combined with bag-of-words features, the method achieves 89.23% test accuracy, the best known result on this benchmark without using unlabeled data.
- The results demonstrate that RBM-based models can be highly effective for NLP tasks when scalable training on large vocabularies is enabled through efficient MCMC sampling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.