arXiv:2610.07938cs.LGOct 2026

Manuscript Offprint

arXiv:2610.07938

Generalized Matheron Variational Implicit Processes

Luis A. Ortega, Andrés R. Masegosa, Thomas D. Nielsen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

ABSTRACT

Implicit-process priors specify distributions over functions through sample-forward mechanisms such as Bayesian neural networks and stochastic simulators, but their function-space densities are typically unavailable. We introduce Generalized Matheron Variational Implicit Processes (GMVIP), a pathwise variational family for posterior inference with such priors. For Gaussian-process priors, GMVIP recovers the standard inducing-variable variational GP construction; for general implicit priors, its empirical covariance construction preserves the prior mean and covariance in the population limit. GMVIP constructs posterior samples by drawing a function from the prior and applying a correction anchored at a set of inducing inputs. The effect of this correction away from the inducing inputs is determined directly from prior samples, allowing the posterior to retain the structure and variability of the original implicit process. The (surrogate) prior and variational posterior use the same pathwise construction and differ only in the distribution of whitened inducing coefficients, yielding a tractable coefficient-space Kullback-Leibler divergence. Experiments on regression, classification, and forecasting with simulator-defined and retrieval-conditioned empirical trajectory priors show that GMVIP is broadly competitive with existing methods.

1 INTRODUCTION

Bayesian neural networks are commonly formulated by placing a prior over weights and performing posterior inference in parameter space (MacKay, 1992; Neal, 1996; Blundell et al., 2015; Hernández-Lobato and Adams, 2015; Gal and Ghahramani, 2016). Although parameter-space formulations enable familiar inference algorithms, they are high-dimensional and inherit issues such as non-identifiability—including neuron-permutation symmetries—strong posterior dependencies, multimodality, and non-injective mappings from parameters to predictors (Sun et al., 2019; Burt et al., 2020; Wild et al., 2022; Rudner et al., 2022). Since predictions depend only on the induced input-output map, it is natural to instead formulate Bayesian inference directly in function space (Sun et al., 2019; Ma et al., 2019; Ortega, 2026).

Function-space inference targets the posterior distribution over functions rather than over parameters. This perspective aligns the variational object with the predictive object, but it also introduces a central computational difficulty: for flexible functional-space priors defined by Bayesian neural networks, neural samplers, and simulator-defined stochastic processes, the density of the induced function-space prior is rarely available or tractable (Ma et al., 2019; Ortega et al., 2023). Existing approaches address the intractable process Kullback-Leibler divergence in different ways: finite measurement sets with Stein score estimates (Sun et al., 2019), local linear-Gaussian approximations at finite context sets (Rudner et al., 2022), or alternative discrepancies between Gaussian measures (Wild et al., 2022). Burt et al. (2020) analyze when process-KL objectives are ill-defined and how finite-marginal approximations behave.

Implicit processes formalize this sample-forward setting. A draw from an implicit process gives a coherent random function that can be evaluated at any finite input set, but the corresponding finite-dimensional densities are not assumed to be available (Ma et al., 2019). Variational Implicit Processes (VIPs) make inference tractable by drawing a finite collection of prior functions and forming a surrogate over linear combinations of those samples (Ma et al., 2019). Sparse Implicit

fs(⋅)=gs(⋅)+ΨZ(⋅)[μ+Das−gs(Z)]f_{s}(\cdot)=g_{s}(\cdot)+\mathbf{\Psi}_{\mathbf{Z}}(\cdot)\left[\boldsymbol{\mu}+\mathbf{D}\mathbf{a}_{s}-g_{s}(\mathbf{Z})\right]

Figure

Figure 1: Pathwise construction of a GMVIP sample. Starting from a prior draw g∼p0g \sim p_0, we evaluate the path at inducing inputs Z\mathbf{Z} and form the residual between the sampled replacement values μ+Da\mu + \mathbf{D}\mathbf{a} and g(Z)g(\mathbf{Z}). The Matheron operator ΨZ\Psi_{\mathbf{Z}} propagates this residual across the input domain. Adding the resulting smooth correction to gg yields a sample ff that matches the replacement values at Z\mathbf{Z}.

Processes introduce inducing-point structure for scalability (Rodríguez-Santana et al., 2022), and Deep Variational Implicit Processes build deeper implicit-process priors (Ortega et al., 2023). Recently, Flow-Transformed Implicit Processes (FTIP) showed that a Gaussian posterior over surrogate coefficients can smooth or collapse asymmetric, heavy-tailed, and multimodal posterior structure, and instead proposed normalizing flows over the finite surrogate variables (Ortega et al., 2026). These results suggest that posterior expressiveness is a central design choice in function-space inference.

This paper studies a complementary source of expressiveness. Instead of changing only the distribution over linear-combination coefficients, we change the pathwise construction of the surrogate itself. Conditioning jointly Gaussian variables admits a pathwise representation through a joint prior draw plus a covariance-gain correction, commonly called Matheron's rule; applying it to Gaussian-process marginals yields conditional function samples (Wilson et al., 2020). The corresponding conditional mean and covariance follow from standard Gaussian-process conditioning (Rasmussen and Williams, 2006). Sparse variational GPs introduce inducing variables and reduce the KL regularizer to KL(q(u)∥p(u))\text{KL}(q(\mathbf{u})\|p(\mathbf{u})) (Titsias, 2009; Hensman et al., 2013). We take this inducing-value viewpoint to implicit processes: sample a prior path, replace its values at inducing locations, and retain the residual path away from those locations.

For clarity, we first present the scalar-output construction; the joint multioutput form is given in Section 4. Let g∼p0g \sim p_0 be a prior function sample, let Z=(z1,…,zM)⊤\mathbf{Z} = (\mathbf{z}_1, \ldots, \mathbf{z}_M)^\top be inducing locations, and let ΨZ\Psi_{\mathbf{Z}} be a replacement operator. For a latent vector a∈RM\mathbf{a} \in \mathbb{R}^M, define

f(⋅)=g(⋅)+ΨZ(⋅)[μ+Da−g(Z)].(1)f(\cdot)=g(\cdot)+\mathbf{\Psi}_{\mathbf{Z}}(\cdot)\left[\boldsymbol{\mu}+\mathbf{D}\mathbf{a}-g(\mathbf{Z})\right]. \tag{1}

The vector μ+Da\mu + \mathbf{D}\mathbf{a} gives replacement values at the inducing locations, while gg supplies the residual path (Figure 1 shows an illustration on the idea). The surrogate prior uses a∼N(0,IM)\mathbf{a} \sim \mathcal{N}(\mathbf{0}, \mathbf{I}_M), and the variational posterior replaces this with qϕ(a)q_\phi(\mathbf{a}). Because the prior and posterior share the same conditional map from (g,a)(g, \mathbf{a}) to ff, the variational regularizer is exactly KL(qϕ(a)∥N(0,IM))\text{KL}(q_\phi(\mathbf{a}) \| \mathcal{N}(\mathbf{0}, \mathbf{I}_M)). Thus the method keeps the tractability of VIP-style coefficient inference while replacing linear aggregation with a Matheron-style inducing-value replacement. We call the resulting family Generalized Matheron Variational Implicit Processes (GMVIP). The construction is modular. The operator ΨZ\Psi_{\mathbf{Z}} can be estimated from empirical prior-sample covariance, giving the closest analogue of GP Matheron conditioning, e.g., ΨZ=K^(⋅,Z)K^(Z,Z)−1\Psi_{\mathbf{Z}} = \hat{\mathbf{K}}(\cdot, \mathbf{Z}) \hat{\mathbf{K}}(\mathbf{Z}, \mathbf{Z})^{-1} for empirical covariance K^\hat{\mathbf{K}}.

Our contributions are: (i) We introduce a general Matheron inducing-value replacement family for variational inference with implicit-process priors. The family produces coherent posterior function samples and requires only prior sampling and likelihood evaluation. (ii) We show that the augmented KL reduces exactly to a coefficient-space KL, and that under a cardinal right-inverse condition the same identity holds for the induced function marginal. We also show process coherence for arbitrary query sets. (iii) We show exact GP/SVGP recovery for Gaussian priors and population-level preservation of the original prior mean and covariance for general implicit processes.