Stacking-Based Weighting for Large Language Bayes in M-Open Settings

Anant Bhide, Akarsh Gupta, Edmond Cunningham, Justin Domke
11/2/2026
cs.LGcs.AI
bayesian

No confident code implementation found for this paper.

Abstract

Large Language Bayes (LLB) transforms a natural language problem description into a collection of candidate probabilistic programs and performs inference within each model, combining their predictions using Bayesian model averaging. While this provides a flexible framework for probabilistic inference without manual model specification, the resulting candidate model set is often misspecified in practice, and likelihood-based aggregation can concentrate on a single model, under-representing uncertainty across the sampled models.

Show full abstract

We propose a stacking-based aggregation method for LLB that selects model weights by optimizing predictive performance rather than marginal likelihood, while preserving the original language-model-driven model generation and within-model inference pipeline. Because leave-one-out predictive quantities are intractable in latent-variable models, we derive a variational lower bound that yields a tractable ELBO-based stacking objective. Across real-world probabilistic inference tasks, our method achieves comparable predictive performance to Bayesian model averaging while yielding more dispersed model weights, reducing concentration on a single candidate model under misspecification.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bhide2026stackingbased,
  title  = {Stacking-Based Weighting for Large Language Bayes in M-Open Settings},
  author = {Anant Bhide and Akarsh Gupta and Edmond Cunningham and Justin Domke},
  year   = {2026},
  eprint = {2611.03966},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.03966v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.03966.svg)](https://codeofpaper.com/paper/2611.03966)

Discussion