Skip to content

Structured Inference with Large Language Gibbs

Jun 2026 · arXiv.org · Vol abs/2606.19264 · 0 citations · 50 references
Computer Science

TL;DR

This work proposes Large Language Gibbs, a scheme for structured probabilistic inference that uses conditional distributions of an LLM as transition operators, and iteratively resample individual variables conditioned on others using an LLM's next-token conditionals to produce a stationary distribution.

Abstract

The knowledge encoded in large language models (LLMs) can serve as a substrate for structured reasoning over variables describing a complex world, but accessing this knowledge in a probabilistically coherent manner poses a difficult inference problem. We propose Large Language Gibbs, a scheme for structured probabilistic inference that uses conditional distributions of an LLM as transition operators. Rather than sampling structured objects through single-pass autoregressive generation, we iteratively resample individual variables conditioned on others using an LLM's next-token conditionals. This approach avoids order-dependent biases and produces a stationary distribution that reflects a compromise between all local conditionals. We apply this approach to sampling from synthetic distributions, consistent reasoning tasks, and Bayesian structure learning. The results suggest that the use of LLM conditionals in MCMC is a practical alternative to one-pass generation for structured probabilistic inference under a world prior accessible through noisy LLM conditionals.

View source

Similar papers

#machine learning Preprint Sep 2026

ABSOL: Aggregated Bayesian Subsampling Orchestrated with LLMs

A hybrid LLM-guided Bayesian network structure-learning framework that uses LLMs as bounded semantic guides, and shows that language-derived semantic knowledge can substantially improve scalable probabilistic structure learning when used as bounded guidance within a statistically grounded reasoning pipeline.

Jackson Hassell, Chen Shen, Estevam Hruschka · 0 citations
#artificial intelligence Preprint Sep 2026

The Probabilistic Structure of Large Language Models

This paper presents a probabilistic perspective on large language models (LLMs), developed with the aim of bringing together, in a single self-contained account, tools that are usually treated separately across the literature. LLMs are described through probability measures on the set of sequences of tokens, specified...

Adnan Aboulalaâ · 0 citations
#natural language process... Preprint Oct 2026

Test-Time Adaptation of Reasoning Strategies with Bayesian Nonparametric Memory

While modern large language models (LLMs) have been trained to reason through verbalized chains-of-thought, the generation cost grows substantially due to suboptimal paths to reach the final answer. Furthermore, as new insights are discovered while observing various input queries (e.g. through self-reflection), limited...

Keshav Ramji, Tahira Naseem, R. Astudillo · 0 citations
#machine learning Preprint Sep 2026

Large Language Models Develop Belief State Geometry In-Context

Large language models trained on next-token prediction exhibit remarkable in-context learning (ICL) abilities, yet the representations that support ICL remain poorly understood, and representation-level evidence that ICL in open-source LLMs approximates optimal Bayesian prediction over a context-inferred generative mod...

Daniel Balcells, Andrew Lee, Chirag Rastogi et al. · 1 citation · ⚡1
Open access Oct 2026

Posterior sampling of word embeddings

We study Bayesian inference for probabilistic word embedding models, including skip-gram with negative sampling (SGNS) and continuous bag-of-words (CBoW). These models are widely used for inference, but their posteriors are non-identifiable under general linear transformations, which prevents meaningful Bayesian uncert...

Väinö Yrjänäinen, Isac Boström, Johan Jonasson et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Induction and Inquiry via Probabilistic Reasoning over Language and Code

The results suggest that one way humans continually grow their knowledge is by mentally representing many hypotheses spanning language-like and program-like representations, then revising those hypotheses to approximate Bayesian updates, while a bottom-up neural mechanism (an LLM) makes inference both tractable and lea...

Wasu Top Piriyakulkij, Samuel Acquaviva, Cassidy Langenfeld et al. · 0 citations

Related blog posts

MIT News · Artificial Intelligence Aug 27, 2026

Looking beyond natural sequences

A new machine-learning framework aims to improve the success rate of computational protein design while moving away from results that reproduce sequences found in nature.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.