mlsanityData to 14 Oct 2026

Learning Tractable Distributions Of Language Model Continuations

arXiv 2511.16054 ↗First posted 20 Nov 2025cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Controlled generation imposes sequence-level constraints (syntax, style, safety) that depend on future tokens, making exact conditioning of an autoregressive LM intractable. Tractable surrogates such as HMMs can approximate continuation distributions and steer decoding, but standard surrogates are often weakly context-aware. We propose Learning to Look Ahead (LTLA), a hybrid method that uses base-LM embeddings to condition a globally learned tractable surrogate: a neural head predicts only a prefix-dependent latent prior, while a shared HMM answers continuation queries exactly. LTLA is designed to avoid two common efficiency traps when adding neural context. First, it avoids vocabulary-sized prefix rescoring (V extra LM evaluations) by scoring all next-token candidates via a single batched HMM forward update. Second, it avoids predicting a new HMM per prefix by learning one shared HMM and conditioning only the latent prior, which enables reuse of cached future-likelihood (backward) messages across decoding steps. Empirically, LTLA improves continuation likelihood over standard HMM surrogates, enables lookahead control for vision--language models by incorporating continuous context, achieves 100% syntactic constraint satisfaction, and improves detoxification while adding only a 14% decoding-time overhead.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 36 of its 44 references that are in the map. First posted on arXiv 20 Nov 2025.

Builds on

36 of 44 references.

References · 36

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  3. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  4. 2020The Hateful Memes Challenge: Detecting Hate Speech in Multimodal Memescited by 490
  5. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
  6. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
  7. 2022A New Generation of Perspective API: Efficient Multilingual Character-level Transformerscited by 185
  8. 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 161
  9. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 106
  10. 2023Amortizing intractable inference in large language modelscited by 97
  11. 2024Probabilistic Inference in Language Models via Twisted Sequential Monte Carlocited by 90
  12. 2023Sequential Monte Carlo Steering of Large Language Models using Probabilistic Programscited by 80
24 more
  1. 2023Tractable Control for Autoregressive Language Generationcited by 65
  2. 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 46
  3. 2022Controllable Text Generation with Neurally-Decomposed Oraclecited by 41
  4. 2023Subtractive Mixture Models via Squaring: Representation and Learningcited by 39
  5. 2022Scaling Up Probabilistic Circuits by Latent Variable Distillationcited by 35
  6. 2024Adaptable Logical Control for Large Language Modelscited by 30
  7. 2021Probabilistic Generating Circuitscited by 25
  8. 2019Conditional Sum-Product Networks: Imposing Structure on Deep Probabilistic Architecturescited by 24
  9. 2024Scaling Tractable Probabilistic Circuits: A Systems Perspectivecited by 23
  10. 2020Scaling Hidden Markov Language Modelscited by 22
  11. 2024KLay: Accelerating Arithmetic Circuits for Neurosymbolic AIcited by 16
  12. 2024On the Relationship Between Monotone and Squared Probabilistic Circuitscited by 14
  13. 2024Polynomial Semantics of Tractable Probabilistic Circuitscited by 12
  14. 2024A Compositional Atlas for Algebraic Circuitscited by 10
  15. 2025Scaling Probabilistic Circuits via Monarch Matricescited by 9
  16. 2025Decoupling Task-Solving and Output Formatting in LLM Generationcited by 9
  17. 2025TRACE Back from the Future: A Probabilistic Reasoning Approach to Controllable Language Generationcited by 8
  18. 2018On the Relative Expressiveness of Bayesian and Neural Networkscited by 7
  19. 2024Probabilistic Neural Circuitscited by 7
  20. 2024Restructuring Tractable Probabilistic Circuitscited by 7
  21. 2022Predictive Querying for Autoregressive Neural Sequence Modelscited by 5
  22. 2025Semantic Probabilistic Control of Language Modelscited by 4
  23. 2022Marginal Inference queries in Hidden Markov Models under context-free grammar constraintscited by 2
  24. 2025The Limits of Tractable Marginalizationcited by 2

Built on by

Not cited yet.