Introduction
Deep Gaussian Processes (DGPs) represent a powerful class of hierarchical models that leverage the uncertainty-aware nature of Gaussian Processes within a deep learning framework. To capture complex, non-Gaussian patterns in data, these models often incorporate latent variables and are trained using Importance-Weighted Variational Inference (IWVI). In standard variational inference, increasing the number of importance samples ($K$) is expected to tighten the Evidence Lower Bound (ELBO) and provide more accurate gradient estimates. However, this work identifies a critical pathology: for the latent variables in DGPs, increasing $K$ actually degrades the quality of the gradient signal.
The SNR Pathology in DGPs
The core issue lies in the Signal-to-Noise Ratio (SNR) of the standard reparameterization gradient (REG) estimator. While more samples should theoretically improve the objective, the authors prove that for DGPs, the SNR of the REG estimator scales as $O(\sqrt{M/K})$, where $M$ is the number of Monte Carlo samples. As the number of importance samples $K$ increases, the signal in the gradient vanishes, eventually leaving only noise. This prevents the model from learning effective latent representations, particularly when the underlying data distribution is non-Gaussian or multimodal.
As shown in the histograms above, the standard REG estimator's distribution becomes increasingly centered around zero with high relative variance as $K$ grows from 1 to 100. This "vanishing signal" makes optimization nearly impossible at high sample counts.
Restoring the Signal with DREG
To address this, the authors adapt the doubly reparameterized gradient (DREG) estimator to the DGP setting. Originally proposed for Variational Autoencoders, DREG involves a clever algebraic rearrangement of the gradient terms that cancels out the components responsible for the vanishing SNR.
The DREG estimator is a "drop-in" replacement for the standard REG estimator. It requires no additional computational overhead but fundamentally changes the scaling behavior of the gradient signal. Under DREG, the SNR scales as $O(\sqrt{K})$, meaning that more importance samples actually lead to a stronger and cleaner signal for optimization.
Experimental Results
The researchers evaluated the DREG estimator against the standard REG approach across a variety of synthetic and real-world UCI regression benchmarks, including datasets like forest, solar, and winewhite.
The empirical results confirm the theoretical predictions. As seen in the figure above, the SNR for the REG estimator drops sharply as $K$ increases, while the DREG estimator shows a consistent upward trend. This restoration of the gradient signal translates directly into better model performance. On datasets with high non-Gaussianity, such as the forest dataset, DREG led to significant improvements in test log-likelihood (e.g., from 0.59 to 0.63). Across all benchmarks, DREG consistently outperformed or matched the standard approach, with a Wilcoxon signed-rank test confirming the statistical significance of these gains.
Conclusion
This research highlights a counter-intuitive "paradox of samples" in importance-weighted variational inference for DGPs. By identifying the vanishing SNR pathology and providing a robust fix via the DREG estimator, the authors enable the training of more expressive and accurate deep probabilistic models. Future work may extend these findings to deeper architectures and large-scale classification tasks, further solidifying DREG as a standard tool for hierarchical Bayesian modeling.
Summary updated