Correcting Model Bias with Sparse Implicit Processes

Simón Rodríguez Santana, Luis A. Ortega Andrés, Daniel Hernández-Lobato, Bryan ZaldivararXiv 2022 · DOI

Abstract

In Bayesian machine learning, the choice of prior often dictates the flexibility of the resulting model. Standard Gaussian Process (GP) priors can impose significant model bias, failing to capture non-Gaussian features such as bimodality or heteroscedasticity. This paper introduces Sparse Implicit Processes (SIP), a framework that leverages implicit generative models and function-space inference to overcome these limitations. We demonstrate that SIP can accurately recover complex predictive distributions even when initialized with restrictive GP priors, effectively "rescuing" the model from initial bias.

Introduction: The Challenge of Model Bias

Bayesian inference is fundamentally guided by the prior—the initial assumptions about the data's structure. However, if a prior is too restrictive, the resulting posterior often inherits this bias. For instance, a standard Gaussian Process (GP) prior assumes data follows a smooth Gaussian curve. When faced with complex phenomena like bimodality (multiple distinct data paths) or heteroscedasticity (varying noise levels), traditional GPs tend to produce overconfident or averaged predictions that fail to reflect reality.

Methodology: Sparse Implicit Processes (SIP)

To address this, the authors propose Sparse Implicit Processes (SIP). SIP differs from traditional GPs in several key ways:

  1. Implicit Processes (IPs): Instead of a fixed mathematical form, IPs are defined by a generative process, such as a neural network mapping random noise to functions. This provides immense flexibility.
  2. Function-Space Inference: SIP performs inference directly on the functions themselves rather than the weights of a neural network, avoiding common pitfalls of parameter-space optimization.
  3. Inducing Points: To maintain scalability, SIP utilizes a small set of "inducing points" to approximate the full process, similar to sparse GP techniques.
  4. α-Divergence Objective: By using a generalized α-divergence energy function instead of the standard Variational Lower Bound (ELBO), SIP can "break away" from the constraints of the prior when the data provides strong evidence for a non-Gaussian shape.

Experimental Evaluation

The model was tested against two synthetic datasets designed to highlight model bias:

  • Bimodal Dataset: Data generated from two overlapping trigonometric functions ($10 \cos(x)$ and $10 \sin(x)$).
  • Heteroscedastic Dataset: A sine wave where the noise variance fluctuates across the input space.
Comparison of Exact GP and SIP on bimodal data. While the GP averages the modes into a single Gaussian cloud, SIP captures both distinct branches.

Key Results and Insights

The most significant finding is prior independence: SIP can utilize a simple GP prior yet still output a complex, bimodal predictive distribution. It treats the prior as a flexible suggestion rather than a rigid constraint.

Quantitative Performance

SIP significantly outperformed the Exact GP in terms of Negative Log-Likelihood (NLL) and Continuous Ranked Probability Score (CRPS), particularly in the bimodal case where the GP's averaging led to poor likelihoods.

Metric Dataset Exact GP SIP (Ours)
NLL (↓) Bimodal 3.026 ± 0.001 2.093 ± 0.003
CRPS (↓) Bimodal 2.860 ± 0.089 2.429 ± 0.003
NLL (↓) Heteroscedastic 1.714 ± 0.001 1.449 ± 0.001
CRPS (↓) Heteroscedastic 0.727 ± 0.033 0.678 ± 0.001
Comparison on heteroscedastic data. SIP accurately models the varying noise levels that the Exact GP assumes are constant.

Visually, the Exact GP produces a single "cloud" of uncertainty that averages the modes. In contrast, SIP samples multiple functions that follow different paths, perfectly capturing the data's underlying complexity. Interestingly, the Root Mean Square Error (RMSE) remains similar for both models because the mean prediction for both falls between the modes; however, SIP's distributional accuracy is far superior.

Conclusion

Sparse Implicit Processes represent a robust advancement in Bayesian modeling, offering a way to mitigate the impact of poorly specified priors. By combining the flexibility of implicit models with function-space inference, SIP provides a powerful tool for capturing complex, non-Gaussian data patterns. Future work will focus on scaling these methods to high-dimensional real-world datasets and exploring their potential for adversarial robustness.

Summary updated

BibTeX
@misc{santana2022correcting,
  author = {Simón Rodríguez Santana and Luis A. Ortega Andrés and Daniel Hernández-Lobato and Bryan Zaldivar},
  title = {{Correcting Model Bias with Sparse Implicit Processes}},
  year = {2022},
  eprint = {2207.10673},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.10673},
}
Figure