Language Generation via Combinatorial Constraint Satisfaction: A Tree Search Enhanced Monte-Carlo Approach

11/24/2020
by   Maosen Zhang, et al.
18

Generating natural language under complex constraints is a principled formulation towards controllable text generation. We present a framework to allow specification of combinatorial constraints for sentence generation. We propose TSMH, an efficient method to generate high likelihood sentences with respect to a pre-trained language model while satisfying the constraints. Our approach is highly flexible, requires no task-specific training, and leverages efficient constraint satisfaction solving techniques. To better handle the combinatorial constraints, a tree search algorithm is embedded into the proposal process of the Markov chain Monte Carlo (MCMC) to explore candidates that satisfy more constraints. Compared to existing MCMC approaches, our sampling approach has a better mixing performance. Experiments show that TSMH achieves consistent and significant improvement on multiple language generation tasks.

READ FULL TEXT

page 2

page 3

page 4

page 5

page 8

page 9

page 10

page 12

research
05/31/2021

Variational Combinatorial Sequential Monte Carlo Methods for Bayesian Phylogenetic Inference

Bayesian phylogenetic inference is often conducted via local or sequenti...
research
09/13/2021

Show Me How To Revise: Improving Lexically Constrained Sentence Generation with XLNet

Lexically constrained sentence generation allows the incorporation of pr...
research
09/28/2021

Generating texts under constraint through discriminator-guided MCTS

Large pre-trained language models (LM) based on Transformers allow to ge...
research
04/27/2023

Controlled Text Generation with Natural Language Instructions

Large language models generate fluent texts and can follow natural langu...
research
05/29/2020

Informed Proposal Monte Carlo

Any search or sampling algorithm for solution of inverse problems needs ...
research
07/15/2021

The Taxicab Sampler: MCMC for Discrete Spaces with Application to Tree Models

Motivated by the problem of exploring discrete but very complex state sp...
research
09/04/2019

Fractals2019: Combinatorial Optimisation with Dynamic Constraint Annealing

Fractals2019 started as a new experimental entry in the RoboCup Soccer 2...

Please sign up or login with your details

Forgot password? Click here to reset