Abstract
This paper bridges Boolean Fourier analysis and machine learning by demonstrating that the REINFORCE gradient estimator for binary latent variables is mathematically equivalent to estimating degree-1 Fourier coefficients. Using this insight, the authors introduce a novel, low-variance, unbiased gradient estimator based on the Boolean "noise operator" to systematically suppress high-variance, higher-order terms in the objective function.
Introduction
Training neural networks with continuous stochastic variables has become standard practice via the reparameterization trick. However, models with discrete stochastic hidden variables, such as binary latent variables in Sigmoid Belief Networks (SBNs), are notoriously difficult to optimize. Because discrete samples are non-differentiable, researchers rely on the REINFORCE algorithm (score function estimator). The primary challenge with REINFORCE is its extremely high variance, which leads to slow and unstable training. This work provides a rigorous mathematical framework to understand the sources of this variance and how to optimally eliminate it.
Methodology
REINFORCE as Fourier Analysis
The authors prove that computing the REINFORCE gradient is exactly equivalent to estimating the degree-1 (singleton) Fourier coefficients of the objective function. In this framework, the variance in a Monte Carlo estimate arises entirely from the degree-0 (the mean) and the degree-2+ (higher-order interaction) Fourier coefficients. To reduce variance, an estimator must suppress these specific terms.
The Noise Operator
The paper introduces the noise operator ($T_\rho$) from harmonic analysis. When applied to a function, this operator exponentially decays its higher-order Fourier coefficients while leaving the expected value unchanged. Its hypercontractive properties allow for provable bounds and reduction of function variance.
Proposed Estimator
The authors construct a new control variate using this noise operator. By subtracting a noise-operated version of a baseline function from the standard objective, they zero out irrelevant degree-1 coefficients of the baseline while suppressing high-degree noise. The final proposed estimator, MuProp + Sample Baseline, maintains an unbiased gradient with significantly lower variance.
Experimental Results
The proposed method was evaluated on two standard benchmarks: statically binarized MNIST digits and the Omniglot character dataset, using SBNs with 1, 2, and 3 layers.
Optimization Performance
The MuProp + Sample Baseline consistently achieved tighter Evidence Lower Bounds (ELBO) than NVIL and standard MuProp. For instance, on a 3-layer SBN on MNIST, it reached an ELBO of -95.77 compared to MuProp's -96.10.
Variance Reduction
The proposed estimator demonstrated a substantial reduction in gradient variance, particularly early in the training process. This performance gap became more pronounced as model depth increased, where standard MuProp was more prone to early divergence.
Key Insights
- Fourier Equivalence: The mathematical link between REINFORCE and Boolean Fourier analysis reframes gradient estimation as a signal processing problem on the Boolean cube.
- Interpreting Baselines: Existing variance reduction techniques like NVIL and MuProp can be elegantly explained as attempts to subtract specific Fourier coefficients.
- Targeted Suppression: The noise operator is uniquely suited for variance reduction because it targets the exact source of noise (high-degree interactions) without biasing the directional signal (first-order gradients) required for learning.
Conclusion and Future Work
While the Fourier-based estimator provides significant improvements, it introduces a correlation parameter $\rho$ and requires separate learning rates for baseline networks. Future research could explore adaptive methods for hyperparameter tuning and further investigate multi-sample estimation techniques to fully leverage the noise operator's potential.
Summary updated