mlsanityData to 14 Oct 2026

PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided MCTS Decoding

arXiv 2109.13582 ↗First posted 28 Sep 2021cs.CLcited by 33

Not on the map. Why?

Abstract (arXiv)

Large language models (LM) based on Transformers allow to generate plausible long texts. In this paper, we explore how this generation can be further controlled at decoding time to satisfy certain constraints (e.g. being non-toxic, conveying certain emotions, using a specific writing style, etc.) without fine-tuning the LM. Precisely, we formalize constrained generation as a tree exploration process guided by a discriminator that indicates how well the associated sequence respects the constraint. This approach, in addition to being easier and cheaper to train than fine-tuning the LM, allows to apply the constraint more finely and dynamically. We propose several original methods to search this generation tree, notably the Monte Carlo Tree Search (MCTS) which provides theoretical guarantees on the search efficiency, but also simpler methods based on re-ranking a pool of diverse sequences using the discriminator scores. These methods are evaluated, with automatic and human-based metrics, on two types of constraints and languages: review polarity and emotion control in French and English. We show that discriminator-guided MCTS decoding achieves state-of-the-art results without having to tune the language model, in both tasks and languages. We also demonstrate that other proposed decoding methods based on re-ranking can be really effective when diversity among the generated propositions is encouraged.

Key facts. Cited by 33 papers in the map (data through 14 Oct 2026). Builds on 20 of its 39 references that are in the map. First posted on arXiv 28 Sep 2021.

Builds on

20 of 39 references.

References · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  6. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  7. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  8. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
  9. 2019Defending Against Neural Fake Newscited by 559
  10. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 491
  11. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
  12. 2017Why We Need New Evaluation Metrics for NLGcited by 233
8 more
  1. 2020Data Augmentation using Pre-trained Transformer Modelscited by 168
  2. 2019FlauBERT: Unsupervised Language Model Pre-training for Frenchcited by 153
  3. 2018Learning to Write with Cooperative Discriminatorscited by 119
  4. 2018Language GANs Falling Shortcited by 97
  5. 2021Machine Translation Decoding beyond Beam Searchcited by 55
  6. 2020DARE: Data Augmented Relation Extraction with GPT-2cited by 43
  7. 2020Discriminative Adversarial Search for Abstractive Summarizationcited by 14
  8. 2021To Beam Or Not To Beam: That is a Question of Cooperation for Language GANscited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 3; 2023: 9; 2024: 10; 2025: 8; 2026: 3.

33 papers.

Sort:

By area:

  1. 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 223
  2. 2023Planning with Large Language Models for Code Generationcited by 182
  3. 2023Controlled Decoding from Language Modelscited by 135
  4. 2024ARGS: Alignment as Reward-Guided Searchcited by 103
  5. 2023Transformer-based Planning for Symbolic Regressioncited by 79
  6. 2023Don't throw away your value model! Generating more preferable text with Value-Guided Monte-Carlo Tree Search decodingcited by 60
  7. 2024WaterMax: breaking the LLM watermark detectability-robustness-quality trade-offcited by 54
  8. 2024When is Tree Search Useful for LLM Planning? It Depends on the Discriminatorcited by 47
  9. 2023KCTS: Knowledge-Constrained Tree Search Decoding with Token-Level Hallucination Detectioncited by 45
  10. 2024Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoningcited by 40
  11. 2024InfAlign: Inference-aware language model alignmentcited by 35
  12. 2023Discrete Prompt Optimization via Constrained Generation for Zero-shot Re-rankercited by 20
21 more
  1. 2025Training Turn-by-Turn Verifiers for Dialogue Tutoring Agents: The Curious Case of LLMs as Your Coding Tutorscited by 20
  2. 2023Faithful Question Answering with Monte-Carlo Planningcited by 16
  3. 2024Don't Rank, Combine! Combining Machine Translation Hypotheses Using Quality Estimationcited by 13
  4. 2024A Critical Look At Tokenwise Reward-Guided Text Generationcited by 12
  5. 2023Autoregressive Modeling with Lookahead Attentioncited by 7
  6. 2022Best-k Search Algorithm for Neural Text Generationcited by 6
  7. 2024Entropy-Reinforced Planning with Large Language Models for Drug Discoverycited by 6
  8. 2022Language Model Decoding as Likelihood-Utility Alignmentcited by 5
  9. 2025Towards Cost-Effective Reward Guided Text Generationcited by 5
  10. 2025How Sampling Affects the Detectability of Machine-written texts: A Comprehensive Studycited by 4
  11. 2024Monte Carlo Tree Search for Recipe Generation using GPT-2cited by 3
  12. 2025ScaffoldGPT: A Scaffold-based GPT Model for Drug Optimizationcited by 3
  13. 2025Aligning Sentence Simplification with ESL Learner's Proficiency for Language Acquisitioncited by 3
  14. 2022Which Discriminator for Cooperative Text Generation?cited by 2
  15. 2024Agentic AI: The Era of Semantic Decodingcited by 1
  16. 2025Constraints-of-Thought: A Framework for Constrained Reasoning in Language-Model-Guided Searchcited by 1
  17. 2026TruncProof: A Guardrail for LLM-based JSON Generation under Token-Length Constraintscited by 1
  18. 2023"Honey, Tell Me What's Wrong", Global Explanation of Textual Discriminative Models through Cooperative Generationcited by 0
  19. 2025Tiny Reward Modelscited by 0
  20. 2026Conversational Control with Ontologies for Large Language Models: A Lightweight Framework for Constrained Generationcited by 0
  21. 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Modelscited by 0