Deep Boltzmann Machines (DBMs) are powerful probabilistic models, but they have historically been notoriously difficult to train. Standard training usually requires a complex, multi-stage process where individual layers (Restricted Boltzmann Machines) are trained one by one before fine-tuning the entire stack. Furthermore, while DBMs excel at learning features, they are not naturally optimized for arbitrary inference—such as predicting a missing pixel's value or determining a class label from noisy features. Often, researchers bypass this by attaching a separate classifier (like a Multi-Layer Perceptron) on top of the DBM's features, effectively abandoning the model's probabilistic nature.
The Multi-Prediction Deep Boltzmann Machine (MP-DBM) introduces a unified approach to train deep generative models without the headache of greedy, layer-wise pretraining. By treating the model's inference equations as a recurrent neural network and training it to solve "multi-prediction" tasks, the MP-DBM creates a single model that is easier to train and superior at handling incomplete data.
Core Methodology: Multi-Prediction Training
The central innovation of the MP-DBM is Multi-prediction Training (MPT). Instead of attempting to maximize the likelihood of the data directly—a mathematically grueling process for DBMs—the authors train the model to predict any subset of variables given the remaining ones.
This is achieved through several key mechanisms:
- Recurrent Net Interpretation: The standard "mean field" equations used to estimate hidden states in a DBM are reinterpreted as a recurrent neural network (RNN).
- Backpropagation through Inference: During training, parts of the input are randomly masked. The model runs the "recurrent" inference for a fixed number of steps, and backpropagation is used to update the weights so the model improves at filling in those specific masks.
- The Multi-Inference Trick: To increase robustness, the model employs a technique similar to dropout. During inference, observed values are replaced with a blend of the actual observation and the model's current guess. This effectively averages predictions from many different "sub-networks."
- State-Free Training: Unlike standard DBM training, which uses Persistent Contrastive Divergence and relies on Markov chains that can "drift," MPT is state-free. Each training step is independent, making the process much more stable and easier to monitor.
Key Insights
- Unified Probabilistic Inference: The MP-DBM eliminates the need for a separate MLP to classify images. Classification is treated as just another "prediction" task handled natively by the probabilistic framework.
- Goodbye, Greedy Pretraining: By utilizing a single-stage training process, practitioners can monitor the model's performance on the actual task (like classification) from the very first epoch, rather than waiting days for layer-wise pretraining to finish.
- DBM as a Generative Stochastic Network (GSN): An MP-DBM can be viewed as a GSN. It defines a distribution through a Markov chain of "mask and reconstruct" steps, opening up new theoretical ways to think about how these models represent data.
- Regularization Matters: The authors found that standard L2 weight decay actually hurts MP-DBMs. Instead, they utilized "norm constraints" (limiting the length of weight vectors), which successfully prevented the model from getting stuck in poor local minima.
Performance and Results
The authors evaluated the MP-DBM on two classic computer vision benchmarks: MNIST (handwritten digits) and NORB (3D object recognition under various lighting conditions and angles).
- Superior Classification: On MNIST, the MP-DBM achieved a 0.88% error rate, outperforming the standard DBM's 0.95%. On the more complex NORB dataset, it reached a 10.6% error rate, slightly better than the standard 10.8%.
- Robustness to Missing Data: Because the MP-DBM is explicitly trained to fill in blanks, it significantly outperforms standard DBMs when dealing with heavily corrupted inputs (e.g., when 50% or more of the input pixels are removed).
Limitations and Future Work
While the MP-DBM is highly effective at inference and classification, it does come with trade-offs. The authors note that the generative quality of the samples—when the model is asked to dream up entirely new images—might not look as "clean" as those from a DBM trained specifically for maximum likelihood.
Additionally, running multiple iterations of mean-field inference as a recurrent net is computationally heavier than a simple feed-forward pass. Future work will need to explore how this architecture scales to high-resolution natural images, potentially by incorporating convolutional layers to manage computational costs.
Summary updated