Shrinkage prior for implicit generative models

Shreya Sinha-Roy, Christian P. Robert, Ritabrata DuttaarXiv 2026

TL;DR

This paper introduces a sample-efficient framework for training deep implicit generative models (simulators without a tractable likelihood) in data-scarce regimes. By combining generalized Bayesian inference (using scoring rules instead of likelihoods) with Horseshoe shrinkage priors, the authors enable high-dimensional parameter estimation ($p \gg n$) that effectively recovers sparse structures and prevents overfitting.

What Problem Does This Paper Address?

Deep generative models have transformed fields from weather forecasting to drug design, but they typically require massive datasets to train. In many scientific contexts, data is expensive or rare (the "small $n$" problem), while the models themselves remain highly complex (the "large $p$" problem).

When the number of parameters ($p$) far exceeds the number of observations ($n$), models tend to overfit noise rather than learn underlying patterns. In classical statistics, we solve this using shrinkage priors (like the Horseshoe prior) that push irrelevant parameters toward zero. However, applying these to "implicit" models—where we can generate samples but cannot evaluate the probability density (likelihood)—is mathematically challenging. Standard Bayesian tools like Approximate Bayesian Computation (ABC) simply don't scale to the thousands or millions of parameters found in neural networks.

Methods

The authors propose a three-part solution to bridge the gap between shrinkage priors and likelihood-free models:

  1. Generalized Bayes via Scoring Rules: Since the likelihood is unavailable, they replace it with a strictly proper scoring rule (specifically the Energy Score). This creates a "scoring-rule posterior" that behaves similarly to a standard Bayesian posterior but relies on comparing model simulations to observed data.
  2. Horseshoe Priors: They adopt the Horseshoe prior, a "global-local" shrinkage tool. It uses a global parameter to shrink all weights toward zero and local parameters to allow "signals" (important weights) to escape that shrinkage. This encourages the neural network to find a sparse, efficient representation.
  3. Block SGMCMC Sampler: To sample from this high-dimensional posterior, they developed a hybrid algorithm:
  4. Block 1: Updates the neural network weights using prec-adjSGLD (Preconditioned Adjusted Stochastic Gradient Langevin Dynamics). This uses gradients of the scoring rule to navigate the parameter space efficiently, similar to how Adam optimizes neural networks but in a Bayesian sampling framework.
  5. Block 2: Updates the shrinkage hyperparameters using exact conjugate updates (Inverse-Gamma distributions), ensuring the sparsity mechanism stays tuned to the weights.

Datasets

The method was evaluated on two distinct tasks:

  • High-Dimensional Sparse Linear Regression: A synthetic benchmark where $n=50$ and $p$ ranges from 500 to 3,000. This tested the sampler's ability to recover true sparse signals against traditional Gibbs samplers and frequentist methods like LASSO.
  • Hopper (Reinforcement Learning): A benchmark from the OpenAI Gymnasium. The authors modeled the dynamics of a single-legged robot (state-action pairs leading to the next state) using a conditional generative neural network with ~33,000 parameters, trained on as few as 10 to 100 observations.

Key Insights and Ideas

  • Symmetry in Complexity: The authors show that even without a likelihood, the "geometry" of the scoring rule allows for effective gradient-based MCMC. You don't need an explicit probability density to benefit from Bayesian regularization.
  • Computational Scalability: In the $p=3000$ linear regression test, the "exact" Bayesian sampler's runtime exploded, while the proposed approximate sampler remained efficient and actually achieved better predictive performance.
  • Robustness to Noise: In the Hopper environment, standard Gaussian and Student-t priors failed catastrophically when data was extremely scarce ($n=50$). The Horseshoe prior acted as a vital stabilizer, allowing the model to remain calibrated and predictive even with minimal interactions.

Key Results

  • Linear Regression: The proposed method outperformed Ridge, LASSO, and Elastic Net in predictive log-likelihood. At $p=3000$, the approximate sampler achieved a mean log-likelihood of -1.612, compared to -23.290 for the exact Gibbs sampler (which struggled to converge within the time budget).
  • Hopper Dynamics: With only $n=50$ observations, the Horseshoe prior achieved a Normalized Root Mean Squared Error (NRMSE) of 0.212. In contrast, a standard Gaussian prior resulted in an NRMSE of 16998.45—essentially a total model collapse.
  • Runtime: The overhead for using the Horseshoe prior instead of a simple Gaussian prior was minimal (e.g., 1.208s vs 1.077s per iteration for $n=1000$), proving that sophisticated shrinkage is computationally affordable.

Limitations and Future Work

  • The Learning Rate ($\omega$): The authors fixed the "learning rate" (a weight that balances the prior vs. the scoring rule) at 1. They note that tuning this parameter via cross-validation could lead to even more informative posteriors.
  • Multivariate Scaling: Future work could explore using different scaling parameters for different parts of the network rather than a single global $\omega$.
  • Model Selection: The authors suggest that comparing "marginal scoring-rule posteriors" could eventually provide a formal way to perform model selection for simulators, a notoriously difficult task in likelihood-free inference.

Summary updated

Abstract

Implicit generative models based on deep neural networks have revolutionized many scientific fields, from weather research to language generation. They successfully model complex random objects arising in real-world problems. In this work, we propose a sample-efficient training mechanism for these models. Our approach leverages regularized inference with shrinkage priors and generalized Bayes. In the large $p$ (parameter dimension) and small $n$ (sample size) setting, sparsity-inducing priors have been successfully used for linear regression when $p \gg n$. However, their application to implicit generative models remains challenging due to the intractability of the likelihood function. To address this, we adapt a scoring rule posterior based on a strictly proper scoring rule, following the generalized Bayes framework. We then propose a block SGMCMC within Gibbs sampling mechanism. This enables efficient exploration of high-dimensional parameter spaces by identifying a sparse representation of neural implicit generative models. We demonstrate the performance of our proposed method through experiments on $p \gg n$ linear regression and an application of neural generative models.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
sparse high-dimensional linear regressionHorseshoe (approximate, ours)Mean log-likelihood−1.612p-3000-n-50-p-n
Source quote
L589: −1.612 (2 × 10−5)
HopperHorseshoe-prior scoring-rule posteriorNRMSE0.212split: test · data-scarce-n-50-training-observations
Source quote
L692: 0.212 (0.070)
sparse high-dimensional linear regressionHorseshoe (approximate, ours)Mean log-likelihood−2.805p-500-n-50-p-n
Source quote
L587: −2.805 (1.486)
sparse high-dimensional linear regressionHorseshoe (approximate, ours)Mean log-likelihood−1.626p-1000-n-50-p-n
Source quote
L588: −1.626 (0.035)
HopperHorseshoe-prior scoring-rule posteriorR2-3.070split: test · data-scarce-n-50-training-observations
Source quote
L693: -3.070 (3.260)
HopperHorseshoe-prior scoring-rule posteriorEnergy score3.001split: test · data-scarce-n-50-training-observations
Source quote
L694: 3.001 (0.079)
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
sparse high-dimensional linear regressionHorseshoe (exact Gibbs) baselineMean log-likelihood−23.290p-3000-n-50-p-n
Source quote
L585: −23.290 (1.169)
BibTeX
@misc{sinharoy2026shrinkage,
  author = {Shreya Sinha-Roy and Christian P. Robert and Ritabrata Dutta},
  title = {{Shrinkage prior for implicit generative models}},
  year = {2026},
  eprint = {2611.05241},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.05241},
}
Figure