mlsanityData to 7 Oct 2026

Structured Inference with Large Language Gibbs

arXiv 2606.19264 ↗First posted 17 Jun 2026cs.LG cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 50 references that are in the map. First posted on arXiv 17 Jun 2026.

Builds on

28 of 50 references.

References · 28

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  6. 2022Language Models are Realistic Tabular Data Generatorscited by 290
  7. 2013Learning Bayesian Networks: The Combination of Knowledge and Statistical Datacited by 185
  8. 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 184
  9. 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
  10. 2022Bayesian Structure Learning with Generative Flow Networkscited by 153
  11. 2018CGMH: Constrained Sentence Generation by Metropolis-Hastings Samplingcited by 93
  12. 2022Mix and Match: Learning-free Controllable Text Generation using Energy Language Modelscited by 66
16 more
  1. 2022Gradient-Based Constrained Sampling from Language Modelscited by 64
  2. 2025All Roads Lead to Likelihood: The Value of Reinforcement Learning in Fine-Tuningcited by 58
  3. 2023Reprompting: Automated Chain-of-Thought Prompt Inference Through Gibbs Samplingcited by 46
  4. 2021Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastingscited by 37
  5. 2020Towards Scalable Bayesian Learning of Causal DAGscited by 33
  6. 2024Large Language Models are Effective Priors for Causal Graph Discoverycited by 23
  7. 2024QUEST: Quality-Aware Metropolis-Hastings Sampling for Machine Translationcited by 16
  8. 2024AutoElicit: Using Large Language Models for Expert Prior Elicitation in Predictive Modellingcited by 15
  9. 2025Large Language Bayescited by 10
  10. 2024bnRep: A repository of Bayesian networks from the academic literaturecited by 9
  11. 2023Deriving Language Models from Masked Language Modelscited by 8
  12. 2025Flipping Against All Odds: Reducing LLM Coin Flip Bias via Verbalized Rejection Samplingcited by 7
  13. 2026The Illusion of Stochasticity in LLMscited by 7
  14. 2025Large (Vision) Language Models are Unsupervised In-Context Learnerscited by 6
  15. 2023Principled Gradient-based Markov Chain Monte Carlo for Text Generationcited by 4
  16. 2025How many patients could we save with LLM priors?cited by 2

Built on by

Not cited yet.