Constrained Sampling for Language Models Should Be Easy: An MCMC Perspective
An MCMC perspective on constrained sampling for language models.
Emmanuel Anaya Gonzalez
An MCMC perspective on constrained sampling for language models.
This work extends the specification-synthesis framework from my previous paper to a more general setting. The earlier framework synthesized strongest properties for quantifier-free …
Flexible and efficient grammar-constrained decoding.
Some existing works constrain possible next tokens to ensure grammaticality of generated output. But validity alone is not enough: a decoding algorithm should also preserve the …
A framework for synthesizing useful program specifications.