Introduction
This paper introduces Energy-based Stochastic Ensembles (EBSEs), a novel framework for learning representations that form distributions rather than fixed points. By learning to adaptively "perturb" its own parameters based on the data, the model effectively performs a sophisticated form of data augmentation. This approach significantly improves generalization in data-scarce scenarios, such as one-shot learning.
The Problem with Deterministic Mapping
Most generative models, like standard Restricted Boltzmann Machines (RBMs) or Autoencoders, learn a deterministic mapping: a single input always maps to one specific point in the latent (hidden) space. While these representations help disentangle features, they often struggle to generalize when labeled training data is scarce.
Standard solutions involve regularization techniques like Dropout or feature corruption, which inject fixed, arbitrary noise. However, these methods do not account for the actual structure of the data manifold. The authors argue that instead of using fixed noise, we should learn the noise from the data itself. Inspired by the stochasticity of synapses in the human brain—which are highly unreliable but adaptive—they propose a model that learns a distribution over models to better capture data variance.
Methods: Energy-based Stochastic Ensembles
Unlike a standard Energy-Based Model (EBM) with fixed parameters $\theta$, an EBSE treats $\theta$ as a random variable governed by a distribution $P(\theta; \alpha)$.
Key technical contributions of this approach include:
- Restricted Boltzmann Stochastic Ensembles (RBSE): A specific implementation where the parameters (weights and biases) of an RBM are themselves stochastic.
- Two Noise Flavors: The authors experiment with Bernoulli distributed parameters (similar to an adaptive version of DropConnect) and Gaussian distributed parameters.
- Learning Algorithm: They propose an Expectation-Maximization (EM) style algorithm. In the E-step, a modified version of Contrastive Divergence (CD-k) is used to estimate expectations over the model distribution. In the M-step, the ensemble parameters $\alpha$ are optimized to maximize the log-likelihood of the data.
- Non-deterministic Mapping: To represent an input, the model does not just compute a single hidden state. Instead, it samples multiple "child" models from the learned ensemble, creating a set of diverse representations for a single input.
Key Insights and Experiments
The core insight of the paper is that learning the distribution of model perturbations is superior to injecting static noise. The model learns how to be uncertain in a way that respects the data's geometry. By sampling different models for the same input, the EBSE effectively performs an "internal" data augmentation that is more informed than simple image rotations or pixel shifts.
In synthetic 2D experiments (like the S-curve dataset), the authors found that stochastic representations of an outlier point are "attracted" toward the training data manifold. This suggests the model uses its learned stochasticity to pull noisy inputs toward known valid structures. Furthermore, the authors demonstrate that a standard RBM is simply the "deterministic limit" of an RBSE, occurring when the variance of the parameter distribution goes to zero.
Key Results
The RBSE framework demonstrated strong empirical performance across both visual and quantitative tasks:
- Visual Manifold Capture: On 2D data, the RBSE successfully mapped single test points to a cloud of points that traced the original training manifold, whereas a standard RBM could only map them back to themselves.
- One-Shot MNIST Performance: The model was tested on one-shot learning using the classic MNIST handwritten digit dataset (training a classifier with only one labeled example per class).
- Raw pixels achieved ~38% accuracy.
- Standard RBM features boosted this to ~48% due to the disentanglement effect.
- Adding standard DropConnect noise to an RBM actually slightly decreased performance.
- RBSE features achieved ~53% accuracy, a 5% absolute improvement over the standard RBM. This proves that learned stochasticity provides better regularization for one-shot tasks.
Limitations and Future Work
The primary bottleneck of EBSEs is computational complexity. Because every connection is probabilistic, the number of random variables to sample grows quadratically compared to a standard RBM.
However, the authors note that while this is slow on traditional CPUs and GPUs, neuromorphic hardware—which often natively supports stochastic synaptic connections—could potentially run these models with minimal overhead. Future work could explore scaling these stochastic ensembles to deeper architectures or Generative Stochastic Networks (GSNs), moving beyond the relatively small models (400 hidden units) tested in this study.
Summary updated