Structured Inference with Large Language Gibbs

Sanghyeok Choi, Henry Gouk, Esmeralda S. Whitammer
6/17/2026
cs.LGcs.CL

No official code found. Best implementation: hyeok9855/large-language-gibbs (2 stars, MIT, last commit 2026-06-18).

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.

Show full abstract

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 on arXivView PDF

Code Implementations(1)

MIT

Structured Inference with Large Language Gibbs

20Jun 15, 20265 months agoMIT

Similar Papers

Cite this paper

@article{choi2026structured,
  title  = {Structured Inference with Large Language Gibbs},
  author = {Sanghyeok Choi and Henry Gouk and Esmeralda S. Whitammer},
  year   = {2026},
  eprint = {2606.19264},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.19264v1}
}

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/2606.19264.svg)](https://codeofpaper.com/paper/2606.19264)

Discussion