4 papers
Large Language Model Meets Constraint Propagation
Alexandre Bonlarron, Florian Régin, Elisabetta De Maria +1
Large Language Models (LLMs) excel at generating fluent text but struggle to enforce external constraints because they generate tokens sequentially without explicit control mechani…
Intertwining CP and NLP: The Generation of Unreasonably Constrained Sentences
Alexandre Bonlarron, Jean-Charles Régin
Constrained text generation remains a challenging task, particularly when dealing with hard constraints. Traditional NLP approaches prioritize generating meaningful and coherent ou…
Combining Constraint Programming Reasoning with Large Language Model Predictions
Florian Régin, Elisabetta De Maria, Alexandre Bonlarron
Constraint Programming (CP) and Machine Learning (ML) face challenges in text generation due to CP's struggle with implementing "meaning'' and ML's difficulty with structural const…
Markov Constraint as Large Language Model Surrogate
Alexandre Bonlarron, Jean-Charles Régin
This paper presents NgramMarkov, a variant of the Markov constraints. It is dedicated to text generation in constraint programming (CP). It involves a set of n-grams (i.e., sequenc…