Tractable Control for Autoregressive Language Generation
Honghua Zhang, Meihua Dang, Nanyun Peng, Guy Van den Broeck
Abstract
Despite the success of autoregressive large language models in text generation, it remains a major challenge to generate text that satisfies complex constraints: sampling from the conditional distribution is intractable for even the simplest lexical constraints . To overcome this challenge, we propose to use tractable probabilistic models (TPMs) to impose lexical constraints in autoregressive text generation models, which we refer to as GeLaTo (Generating Language with Tractable Constraints). To demonstrate the effectiveness of this framework, we use distilled hidden Markov models, where we can efficiently compute , to guide autoregressive generation from GPT2. GeLaTo achieves state-of-the-art performance on challenging benchmarks for constrained text generation (e.g., CommonGen), beating various strong baselines by a large margin. Our work not only opens up new avenues for controlling large language models but also motivates the development of more expressive TPMs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
22 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On the Relationship Between Monotone and Squared Probabilistic Circuits cites Scaling Tractable Probabilistic Circuits: A Systems Perspective
- On the Relationship Between Monotone and Squared Probabilistic Circuits cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- On the Relationship Between Monotone and Squared Probabilistic Circuits cites Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits
- Scaling Tractable Probabilistic Circuits: A Systems Perspective cites CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
- Scaling Tractable Probabilistic Circuits: A Systems Perspective cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Scaling Tractable Probabilistic Circuits: A Systems Perspective cites Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits
- Semantic Probabilistic Layers for Neuro-Symbolic Learning cites Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits
- Tailoring Self-Rationalizers with Multi-Reward Distillation cites Language Models are Few-Shot Learners
Cited by top-tier papers22
- Theoretical Benefit and Limitation of Diffusion Language ModelGuhao Feng, Yihan Geng, Jian Guan, Wei Wu et al.NeurIPS 2025 · 52 citations
- Scaling Tractable Probabilistic Circuits: A Systems PerspectiveAnji Liu, Kareem Ahmed, Guy Van den BroeckICML 2024 · 26 citations
- Tailoring Self-Rationalizers with Multi-Reward DistillationSahana Ramnath, Brihi Joshi, Skyler Hallinan, Ximing Lu et al.ICLR 2024 · 23 citations
- On the Relationship Between Monotone and Squared Probabilistic CircuitsBenjie Wang, Guy Van den BroeckAAAI 2025 · 16 citations
- Constrained Sampling for Language Models Should Be Easy: An MCMC PerspectiveEmmanuel Anaya Gonzalez, Sairam Vaidya, Kanghee Park, Ruyi Ji et al.NeurIPS 2025 · 15 citations
Builds on14
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- CommonGen: A Constrained Text Generation Challenge for Generative Commonsense ReasoningBill Yuchen Lin, Wangchunshu Zhou, Ming Shen, Pei Zhou et al.EMNLP Findings 2020 · 239 citations
- Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic CircuitsRobert Peharz, Steven Lang, Antonio Vergari, Karl Stelzner et al.ICML 2020 · 155 citations
- Semantic Probabilistic Layers for Neuro-Symbolic LearningKareem Ahmed, Stefano Teso, Kai-Wei Chang, Guy Van den Broeck et al.NeurIPS 2022 · 133 citations
- POINTER: Constrained Progressive Text Generation via Insertion-based Generative Pre-trainingYizhe Zhang, Guoyin Wang, Chunyuan Li, Zhe Gan et al.EMNLP 2020 · 68 citations
Related papers
- Control Large Language Models via Divide and ConquerBingxuan Li, Yiwei Wang, Tao Meng, Kai-Wei Chang et al.EMNLP 2024 · 1 citation
- Constraint Satisfaction Driven Natural Language Generation: A Tree Search Embedded MCMC ApproachMaosen Zhang, Nan Jiang, Lei Li, Yexiang XueEMNLP Findings 2020 · 14 citations
- Adaptable Logical Control for Large Language ModelsHonghua Zhang, Po-Nien Kung, Masahiro Yoshida, Guy Van den Broeck et al.NeurIPS 2024 · 42 citations
- Guiding LLMs The Right Way: Fast, Non-Invasive Constrained GenerationLuca Beurer-Kellner, Marc Fischer, Martin T. VechevICML 2024 · 93 citations
- Guaranteed Generation from Large Language ModelsMinbeom Kim, Thibaut Thonet, Jos Rozen, Hwaran Lee et al.ICLR 2025
