Constraints First: A New MDD-based Model to Generate Sentences Under Constraints
Not on the map. Why?
Abstract (arXiv)
This paper introduces a new approach to generating strongly constrained texts. We consider standardized sentence generation for the typical application of vision screening. To solve this problem, we formalize it as a discrete combinatorial optimization problem and utilize multivalued decision diagrams (MDD), a well-known data structure to deal with constraints. In our context, one key strength of MDD is to compute an exhaustive set of solutions without performing any search. Once the sentences are obtained, we apply a language model (GPT-2) to keep the best ones. We detail this for English and also for French where the agreement and conjugation rules are known to be more complex. Finally, with the help of GPT-2, we get hundreds of bona-fide candidate sentences. When compared with the few dozen sentences usually available in the well-known vision screening test (MNREAD), this brings a major breakthrough in the field of standardized sentence generation. Also, as it can be easily adapted for other languages, it has the potential to make the MNREAD test even more valuable and usable. More generally, this paper highlights MDD as a convincing alternative for constrained text generation, especially when the constraints are hard to satisfy, but also for many other prospects.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 10 of its 63 references that are in the map. First posted on arXiv 21 Sep 2023.
Builds on
10 of 63 references.
References · 10
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
- 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 237
- 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 182
- 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 154
- 2021Constrained Text Generation with Global Guidance -- Case Study on CommonGencited by 10
- 2023Most Language Models can be Poets too: An AI Writing Assistant and Constrained Text Generation Studiocited by 9
- 2022Peel-and-Bound: Generating Stronger Relaxed Bounds with Multivalued Decision Diagramscited by 4
Built on by
Citing papers per year: 2024: 3; 2025: 1.
4 papers.
- 2024Combining Constraint Programming Reasoning with Large Language Model Predictionscited by 8
- 2024Markov Constraint as Large Language Model Surrogatecited by 3
- 2024Intertwining CP and NLP: The Generation of Unreasonably Constrained Sentencescited by 3
- 2025Large Language Model Meets Constraint Propagationcited by 2
- 2025Large Language Model Meets Constraint Propagation29 May 2025
- 2024Combining Constraint Programming Reasoning with Large Language Model Predictions18 Jul 2024
- 2024Intertwining CP and NLP: The Generation of Unreasonably Constrained Sentences15 Jun 2024
- 2024Markov Constraint as Large Language Model Surrogate11 Jun 2024